/*
Theme Name: E-Hotel
Theme URI: https://example.com/ehotel
Author: Costin-Dorel Badici
Author URI: https://example.com
Description: Temă WordPress modernă, responsive, cu header fix și culori configurabile, proiectată pentru compatibilitate cu pluginul Platformă Hotelieri – Unități de cazare (E-Hotel).
Version: 1.1.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ehotel
Tags: custom-logo, custom-menu, featured-images, threaded-comments, translation-ready, responsive-layout
*/
:root{--eh-header-bg:#092b55;--eh-header-text:#fff;--eh-accent:#2563eb;--eh-page-bg:#f5f7fb;--eh-text:#17233b;--eh-card:#fff;--eh-radius:18px;--eh-content:1200px}
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:100px}
body{margin:0;background:var(--eh-page-bg);color:var(--eh-text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.65}
a{color:var(--eh-accent);text-decoration:none}a:hover{text-decoration:underline}
img{max-width:100%;height:auto}
.eh-container{width:min(var(--eh-content),calc(100% - 36px));margin-inline:auto}
.eh-site-header{position:sticky;top:0;z-index:999;background:var(--eh-header-bg);color:var(--eh-header-text);box-shadow:0 8px 28px #061c3826}
body.admin-bar .eh-site-header{top:0}
.eh-header-inner{min-height:76px;display:flex;align-items:center;justify-content:space-between;gap:28px}
.eh-brand{display:flex;align-items:center;gap:12px;color:var(--eh-header-text);font-weight:800;font-size:1.5rem;letter-spacing:-.035em;white-space:nowrap}
.eh-brand:hover{color:var(--eh-header-text);text-decoration:none}
.eh-brand img{max-height:48px;width:auto}
.eh-brand-copy{display:flex;flex-direction:column;line-height:1.15}
.eh-brand-copy small{font-size:.68rem;font-weight:500;opacity:.78;letter-spacing:0}
.eh-nav{display:flex;align-items:center;gap:5px}
.eh-nav ul{display:flex;align-items:center;gap:5px;list-style:none;margin:0;padding:0}
.eh-nav li{margin:0;padding:0}
.eh-nav a{display:block;padding:10px 13px;border-radius:10px;color:var(--eh-header-text);font-weight:650;font-size:.94rem}
.eh-nav a:hover,.eh-nav .current-menu-item>a{background:#ffffff20;text-decoration:none}
.eh-menu-toggle{display:none;color:var(--eh-header-text);border:1px solid #ffffff60;background:transparent;border-radius:10px;padding:8px 12px;font-size:1.25rem;cursor:pointer}
.eh-hero{position:relative;isolation:isolate;min-height:470px;display:flex;align-items:center;background:#163e69 center/cover no-repeat;color:#fff;overflow:hidden}
.eh-hero:before{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,#061a35dc 0%,#092b558c 50%,#092b551c 100%)}
.eh-hero-inner{padding-block:76px}
.eh-eyebrow{display:inline-flex;padding:6px 12px;border-radius:999px;background:#ffffff20;border:1px solid #ffffff4a;font-size:.85rem;font-weight:700}
.eh-hero h1{max-width:760px;font-size:clamp(2.25rem,5vw,4.3rem);line-height:1.06;letter-spacing:-.045em;margin:18px 0;color:inherit}
.eh-hero p{max-width:680px;font-size:clamp(1rem,1.8vw,1.22rem);margin:0 0 25px;color:#ffffffed}
.eh-hero-button,.eh-button,button.wp-block-button__link,input[type=submit]{display:inline-flex;align-items:center;justify-content:center;gap:8px;border:0;border-radius:12px;padding:12px 19px;background:var(--eh-accent);color:#fff;font-weight:750;cursor:pointer;box-shadow:0 8px 18px #061c3820}
.eh-hero-button{background:#fff;color:#092b55}
.eh-hero-button:hover,.eh-button:hover,input[type=submit]:hover{filter:brightness(1.06);color:#fff;text-decoration:none}
.eh-section{padding:58px 0}
.eh-section-heading{margin:0 0 8px;font-size:clamp(1.7rem,3vw,2.4rem);line-height:1.2;letter-spacing:-.035em}
.eh-section-intro{margin:0 0 28px;color:#63718a}
.eh-content-card,.entry-content,.eh-page-card{background:var(--eh-card);border:1px solid #e5eaf2;border-radius:var(--eh-radius);padding:clamp(20px,3vw,36px);box-shadow:0 10px 30px #18365c0b}
.eh-page-main{padding:42px 0 64px;min-height:50vh}
.eh-page-title{font-size:clamp(2rem,4vw,3rem);line-height:1.15;margin:0 0 24px;letter-spacing:-.04em}
.eh-content-card h2,.entry-content h2{line-height:1.25}
.eh-content-card input:not([type=checkbox]),.eh-content-card select,.eh-content-card textarea,.entry-content input:not([type=checkbox]),.entry-content select,.entry-content textarea{max-width:100%;border:1px solid #d6deeb;border-radius:10px;padding:11px 12px}
.eh-content-card table,.entry-content table{width:100%;border-collapse:collapse}
.eh-content-card th,.eh-content-card td,.entry-content th,.entry-content td{padding:12px;border-bottom:1px solid #e7ebf2;text-align:left}
.eh-site-footer{background:#071f3e;color:#e8eef8;padding:32px 0}
.eh-footer-inner{display:flex;align-items:center;justify-content:space-between;gap:22px;flex-wrap:wrap}
.eh-footer-inner a{color:#fff}
.eh-footer-brand{font-weight:800;font-size:1.15rem}
.eh-footer-credit{font-size:.85rem;color:#bdcbe0}
.eh-footer-menu{display:flex;gap:15px;flex-wrap:wrap}
.eh-footer-menu a{color:#e8eef8}
.eh-search-area{padding:0 0 20px}
.eh-search-area .ph-wrap,.eh-search-area .ph-app{width:min(var(--eh-content),calc(100% - 36px));margin-inline:auto}
.eh-search-area .ph-wrap{padding:26px;background:#fff;border-radius:18px;box-shadow:0 12px 36px #0b285012}
.ph-wrap{max-width:1200px}
.ph-app{color:#17233b}
.ph-app-head,.ph-app-panel,.ph-app-stat{border-radius:18px}
.ph-app-head{background:linear-gradient(120deg,#092b55,#1d4e89);color:#fff;padding:26px}
.ph-app-head h1,.ph-app-head p{color:#fff}
.ph-app-layout{gap:22px}
.ph-app-side{border-radius:16px;background:#fff;border:1px solid #e5eaf2;padding:12px}
.ph-app-side a{border-radius:10px}
.ph-app-side a.active,.ph-app-side a:hover{background:#eaf1ff;color:#092b55}
.ph-app-main{min-width:0}
.ph-app-stat,.ph-app-panel{background:#fff;border:1px solid #e5eaf2;box-shadow:0 10px 30px #18365c0b}
.ph-app-stat strong{color:#092b55}
.ph-app-table-wrap{overflow-x:auto}
.ph-app-table{min-width:760px}
.ph-btn{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:9px;padding:9px 13px;background:#174985;color:#fff;font-weight:700;cursor:pointer;text-decoration:none}
.ph-btn:hover{color:#fff;filter:brightness(1.08);text-decoration:none}
.ph-btn-secondary{background:#eaf0f8;color:#16365e}
.ph-btn-danger{background:#9d2540}
.ph-note{border-radius:12px;padding:14px 16px;background:#edf4ff;border:1px solid #d6e5ff;color:#15375e}
@media(max-width:900px){
 .eh-header-inner{min-height:68px;gap:12px}
 .eh-menu-toggle{display:block}
 .eh-nav{display:none;position:absolute;top:100%;left:0;right:0;padding:10px 18px 18px;background:var(--eh-header-bg);box-shadow:0 15px 20px #061c3820}
 .eh-nav.is-open{display:block}
 .eh-nav ul{display:flex;align-items:stretch;flex-direction:column;gap:3px}
 .eh-nav a{padding:12px 14px}
 .eh-hero{min-height:420px}
 .eh-hero-inner{padding-block:58px}
 .eh-app-layout,.ph-app-layout{display:block}
 .ph-app-side{display:flex;overflow:auto;gap:6px;margin-bottom:18px}
 .ph-app-side a{white-space:nowrap}
}
@media(max-width:600px){
 .eh-container{width:calc(100% - 24px)}
 .eh-brand{font-size:1.22rem;gap:8px}
 .eh-brand img{max-height:40px}
 .eh-brand-copy small{font-size:.62rem}
 .eh-hero{min-height:390px;background-position:60% center}
 .eh-hero:before{background:linear-gradient(90deg,#061a35e8 0%,#092b55a8 100%)}
 .eh-hero-inner{padding-block:48px}
 .eh-hero h1{font-size:clamp(2rem,10vw,3rem)}
 .eh-section{padding:38px 0}
 .eh-footer-inner{align-items:flex-start;flex-direction:column}
 .eh-search-area .ph-wrap,.eh-search-area .ph-app{width:calc(100% - 24px)}
 .eh-app-head{padding:20px}
}
/* Galerie și pagină de detalii a locației */
.eh-home-main{padding-top:0}
.eh-home-main>.eh-container{width:100%;max-width:none}
.eh-home-main .ph-wrap{width:min(var(--eh-content),calc(100% - 36px));margin:0 auto}
.eh-property-detail{background:#fff;border:1px solid #e4eaf3;border-radius:22px;padding:clamp(18px,3vw,38px);box-shadow:0 14px 40px #10284b0d}
.eh-property-heading{margin-bottom:24px}
.eh-property-kicker{margin:0 0 8px;color:#2c5b91;font-weight:800;text-transform:uppercase;letter-spacing:.08em;font-size:.78rem}
.eh-property-location{color:#63718a;margin-top:-12px}
.eh-gallery{margin:24px 0 34px}
.eh-gallery-main{position:relative;aspect-ratio:16/9;max-height:620px;background:#e9eef5;border-radius:18px;overflow:hidden;display:grid;place-items:center}
.eh-gallery-image{display:none;width:100%;height:100%;max-height:620px;object-fit:cover}
.eh-gallery-image.is-active{display:block}
.eh-gallery-prev,.eh-gallery-next{position:absolute;top:50%;transform:translateY(-50%);border:1px solid #ffffff99;background:#071f3ecc;color:#fff;width:46px;height:46px;border-radius:50%;font-size:30px;line-height:1;cursor:pointer;display:grid;place-items:center}
.eh-gallery-prev{left:14px}.eh-gallery-next{right:14px}
.eh-gallery-count{position:absolute;bottom:14px;right:14px;background:#071f3ecc;color:#fff;padding:5px 10px;border-radius:999px;font-size:.85rem}
.eh-gallery-thumbs{display:flex;gap:10px;overflow-x:auto;padding:12px 2px 4px}
.eh-gallery-thumb{flex:0 0 92px;width:92px;height:68px;padding:0;border:2px solid transparent;border-radius:10px;overflow:hidden;background:#e9eef5;cursor:pointer}
.eh-gallery-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.eh-gallery-thumb.is-active{border-color:#2563eb}
.eh-property-columns{display:grid;grid-template-columns:minmax(0,1fr) minmax(240px,320px);gap:28px;align-items:start}
.eh-property-description,.eh-property-sidebar,.eh-facilities{border:1px solid #e6ebf3;border-radius:16px;padding:22px}
.eh-property-sidebar{background:#f7f9fc}
.eh-property-sidebar h2,.eh-property-description h2,.eh-facilities h2{margin-top:0;font-size:1.25rem}
.eh-phone-link{display:inline-block;margin-left:6px;font-weight:800}
.eh-facilities{margin-top:24px}
.eh-facilities ul{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.eh-facilities li{display:flex;gap:10px;align-items:center;background:#f5f8fc;border-radius:10px;padding:11px 13px}
.eh-facilities li span{color:#18794e;font-weight:900}
.eh-not-sticky{position:relative}
@media(max-width:700px){.eh-property-columns{grid-template-columns:1fr}.eh-facilities ul{grid-template-columns:1fr}.eh-gallery-main{aspect-ratio:4/3}.eh-gallery-prev,.eh-gallery-next{width:40px;height:40px}.eh-property-detail{padding:15px}.eh-home-main .ph-wrap{width:calc(100% - 24px)}}
