/* ============================================
   FERIENHAUS ZENTRAL – Ultra-Modern Onepager
   Dark Luxury Theme with Gold Accents
   ============================================ */
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Inter:wght@300;400;500;600;700&display=swap');

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --gold: #c8a55a;
    --gold-light: #dfc88a;
    --gold-dim: rgba(200,165,90,0.12);
    --bg: #0c0c0c;
    --bg-card: #151515;
    --bg-card-hover: #1a1a1a;
    --text: #f0ece4;
    --text-muted: #8a8580;
    --border: rgba(255,255,255,0.06);
    --radius: 20px;
    --radius-sm: 12px;
    --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

html { scroll-behavior: smooth; overflow-x: hidden; }
body { font-family: 'Inter', -apple-system, sans-serif; background: var(--bg); color: var(--text); line-height: 1.7; overflow-x: hidden; -webkit-font-smoothing: antialiased; max-width: 100vw; }
h1,h2,h3,h4 { font-family: 'Playfair Display', Georgia, serif; font-weight: 600; line-height: 1.25; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 120px 0; position: relative; }

/* ============ NAVBAR ============ */
nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 0 24px; backdrop-filter: blur(24px); background: rgba(12,12,12,0.8); border-bottom: 1px solid var(--border); transition: var(--transition); }
nav.scrolled { background: rgba(12,12,12,0.95); }
.nav-inner { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav-logo { font-family: 'Playfair Display', serif; font-size: 1.35rem; font-weight: 700; color: var(--gold); text-decoration: none; letter-spacing: -0.5px; }
.nav-logo img { height: 50px; }
.nav-links { display: flex; gap: 32px; align-items: center; list-style: none; }
.nav-links a { color: var(--text-muted); text-decoration: none; font-size: 0.88rem; font-weight: 400; letter-spacing: 0.3px; transition: var(--transition); }
.nav-links a:hover { color: var(--gold); }
.nav-cta { background: var(--gold) !important; color: #0c0c0c !important; padding: 10px 24px; border-radius: 50px; font-weight: 600 !important; font-size: 0.85rem !important; }
.nav-cta:hover { background: var(--gold-light) !important; box-shadow: 0 4px 20px rgba(200,165,90,0.25); transform: translateY(-1px); }

.hamburger { display: none; cursor: pointer; background: none; border: none; padding: 5px; }
.hamburger span { display: block; width: 24px; height: 1.5px; background: var(--text); margin: 5px 0; transition: 0.3s; }

/* ============ HERO ============ */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; filter: brightness(0.35) saturate(0.8); }
.hero-gradient { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12,12,12,0.3) 0%, rgba(12,12,12,0.6) 60%, var(--bg) 100%); }
.hero-content { position: relative; z-index: 2; max-width: 750px; }
.hero-badge { display: inline-block; padding: 6px 16px; border: 1px solid var(--gold); border-radius: 50px; color: var(--gold); font-size: 0.75rem; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 24px; }
.hero h1 { font-size: clamp(2.8rem, 5.5vw, 4.5rem); margin-bottom: 20px; font-weight: 700; letter-spacing: -1px; }
.hero h1 em { font-style: italic; color: var(--gold); }
.hero p { font-size: 1.15rem; color: var(--text-muted); max-width: 550px; margin-bottom: 36px; line-height: 1.8; }
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 30px; border-radius: 50px; font-size: 0.92rem; font-weight: 600; text-decoration: none; transition: var(--transition); cursor: pointer; border: none; font-family: 'Inter', sans-serif; }
.btn-gold { background: var(--gold); color: #0c0c0c; }
.btn-gold:hover { background: var(--gold-light); box-shadow: 0 6px 24px rgba(200,165,90,0.3); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,0.2); }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

/* ============ SECTION HEADERS ============ */
.sh { margin-bottom: 50px; }
.sh.center { text-align: center; }
.sh-label { display: inline-block; color: var(--gold); font-size: 0.75rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; margin-bottom: 12px; }
.sh h2 { font-size: clamp(2rem, 3.5vw, 2.8rem); letter-spacing: -0.5px; }
.sh p { color: var(--text-muted); font-size: 1.05rem; margin-top: 12px; max-width: 550px; }
.sh.center p { margin: 12px auto 0; }

/* ============ FEATURES ============ */
.features-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fcard { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 35px 25px; text-align: center; transition: var(--transition); position: relative; overflow: hidden; }
.fcard::before { content:''; position:absolute; inset:0; background:linear-gradient(135deg, rgba(200,165,90,0.05), transparent); opacity:0; transition:var(--transition); }
.fcard:hover { transform: translateY(-6px); border-color: rgba(200,165,90,0.2); }
.fcard:hover::before { opacity:1; }
.fcard-icon { font-size: 2rem; margin-bottom: 14px; display: block; }
.fcard h3 { font-size: 1.05rem; margin-bottom: 8px; font-family: 'Inter', sans-serif; font-weight: 600; }
.fcard p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; }

/* ============ ROOMS ============ */
.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.room { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: var(--transition); }
.room:hover { transform: translateY(-6px); border-color: rgba(200,165,90,0.2); box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.room-img { height: 200px; background: linear-gradient(135deg, #1a1a1a, #222); display: flex; align-items: center; justify-content: center; font-size: 3rem; position: relative; overflow: hidden; }
.room-img::after { content:''; position:absolute; bottom:0; left:0; right:0; height:60px; background:linear-gradient(transparent, var(--bg-card)); }
.room-body { padding: 24px; }
.room h3 { font-size: 1.1rem; margin-bottom: 8px; }
.room p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 12px; }
.room-cap { display: inline-flex; align-items: center; gap: 5px; padding: 5px 14px; background: var(--gold-dim); border-radius: 50px; font-size: 0.78rem; font-weight: 600; color: var(--gold); }

/* ============ AMENITIES ============ */
.amenity-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.amenity { display: flex; align-items: center; gap: 10px; padding: 14px 18px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-sm); font-size: 0.9rem; transition: var(--transition); }
.amenity:hover { border-color: rgba(200,165,90,0.2); }
.amenity::before { content: '✓'; font-weight: 700; color: var(--gold); }

/* ============ GALLERY ============ */
.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.gallery-item { border-radius: var(--radius-sm); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; position: relative; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.6s; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after { content:''; position:absolute; inset:0; background:linear-gradient(transparent 50%, rgba(0,0,0,0.5)); opacity:0; transition:0.4s; pointer-events:none; }
.gallery-item:hover::after { opacity:1; }

.lightbox { display:none; position:fixed; inset:0; z-index:9999; background:rgba(0,0,0,0.95); align-items:center; justify-content:center; }
.lightbox.show { display:flex; }
.lightbox img { max-width:90%; max-height:85vh; border-radius:10px; object-fit:contain; }
.lb-btn { position:absolute; background:rgba(255,255,255,0.08); border:none; color:#fff; cursor:pointer; transition:0.3s; border-radius:50%; width:50px; height:50px; font-size:1.4rem; display:flex; align-items:center; justify-content:center; }
.lb-btn:hover { background:rgba(200,165,90,0.2); }
.lb-close { top:25px; right:30px; }
.lb-prev { left:25px; top:50%; transform:translateY(-50%); }
.lb-next { right:25px; top:50%; transform:translateY(-50%); }

/* ============ REVIEWS ============ */
.reviews-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.review { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: var(--transition); }
.review:hover { border-color: rgba(200,165,90,0.15); }
.review-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.review-name { font-weight: 600; font-size: 0.95rem; }
.review-date { color: var(--text-muted); font-size: 0.78rem; }
.review-stars { color: var(--gold); font-size: 0.85rem; margin-bottom: 12px; letter-spacing: 2px; }
.review-text { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; font-style: italic; }

/* ============ FAQ ============ */
.faq-list { max-width: 750px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 8px; overflow: hidden; background: var(--bg-card); transition: var(--transition); }
.faq-item:hover { border-color: rgba(200,165,90,0.15); }
.faq-q { width:100%; display:flex; justify-content:space-between; align-items:center; padding:18px 22px; background:none; border:none; cursor:pointer; font-family:'Inter',sans-serif; font-size:0.95rem; font-weight:500; color:var(--text); text-align:left; transition:0.3s; }
.faq-q:hover { color:var(--gold); }
.faq-arrow { transition:0.3s; font-size:0.7rem; color:var(--gold); }
.faq-item.open .faq-arrow { transform:rotate(180deg); }
.faq-a { max-height:0; overflow:hidden; transition:max-height 0.4s ease; }
.faq-a-inner { padding:0 22px 18px; color:var(--text-muted); font-size:0.9rem; line-height:1.7; }

/* ============ BOOKING / CONTACT FORMS ============ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.form-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 36px; }
.form-card h3 { font-size: 1.3rem; margin-bottom: 6px; }
.form-card .sub { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.fg { margin-bottom: 14px; }
.fg label { display: block; font-size: 0.82rem; font-weight: 500; margin-bottom: 5px; color: var(--text-muted); letter-spacing: 0.3px; }
.fg input, .fg select, .fg textarea { width:100%; padding:12px 16px; background:rgba(255,255,255,0.04); border:1px solid var(--border); border-radius:var(--radius-sm); color:var(--text); font-size:0.9rem; font-family:'Inter',sans-serif; outline:none; transition:0.3s; }
.fg input:focus, .fg select:focus, .fg textarea:focus { border-color:var(--gold); box-shadow:0 0 0 3px var(--gold-dim); }
.fg select option { background:var(--bg-card); }
.fg textarea { resize:vertical; min-height:90px; }

.btn-submit { width:100%; padding:14px; background:var(--gold); color:#0c0c0c; border:none; border-radius:50px; font-size:0.95rem; font-weight:600; cursor:pointer; transition:var(--transition); font-family:'Inter',sans-serif; }
.btn-submit:hover { background:var(--gold-light); box-shadow:0 4px 20px rgba(200,165,90,0.25); }

/* Contact info */
.contact-items { margin-top: 30px; }
.ci { display: flex; gap: 14px; margin-bottom: 22px; align-items: flex-start; }
.ci-icon { width:44px; height:44px; border-radius:12px; background:var(--gold-dim); display:flex; align-items:center; justify-content:center; font-size:1.2rem; flex-shrink:0; }
.ci h4 { font-size:0.88rem; font-family:'Inter',sans-serif; font-weight:600; margin-bottom:2px; }
.ci p { color:var(--text-muted); font-size:0.85rem; }

/* Booking sidebar */
.booking-side { background:var(--bg-card); border:1px solid var(--border); border-radius:var(--radius); padding:30px; height:fit-content; position:sticky; top:100px; }
.price-big { font-size:2.2rem; font-weight:700; color:var(--gold); }
.price-unit { font-size:0.85rem; color:var(--text-muted); font-weight:400; }
.info-row { display:flex; justify-content:space-between; padding:10px 0; border-bottom:1px solid var(--border); font-size:0.88rem; }
.info-row:last-child { border:none; }
.info-row span:first-child { color:var(--text-muted); }

/* ============ SCROLL TO TOP ============ */
.scroll-top-btn { position:fixed; bottom:30px; right:30px; width:48px; height:48px; border-radius:50%; background:var(--gold); color:#0c0c0c; border:none; cursor:pointer; font-size:1.3rem; font-weight:700; z-index:999; opacity:0; visibility:hidden; transition:0.4s; box-shadow:0 4px 16px rgba(200,165,90,0.3); display:flex; align-items:center; justify-content:center; }
.scroll-top-btn.visible { opacity:1; visibility:visible; }
.scroll-top-btn:hover { background:var(--gold-light); transform:translateY(-3px); }

/* ============ WHATSAPP ============ */
.whatsapp-btn { position:fixed; bottom:30px; left:30px; width:52px; height:52px; border-radius:50%; background:#25D366; display:flex; align-items:center; justify-content:center; z-index:999; box-shadow:0 4px 16px rgba(37,211,102,0.4); transition:0.3s; }
.whatsapp-btn:hover { transform:scale(1.1); box-shadow:0 6px 24px rgba(37,211,102,0.5); }

/* ============ GALLERY TOGGLE ============ */
.gallery-hidden { display:none !important; }

/* ============ COOKIE BANNER ============ */
.cookie-banner { position:fixed; inset:0; z-index:99999; background:rgba(0,0,0,0.6); display:flex; align-items:center; justify-content:center; padding:20px; backdrop-filter:blur(6px); }
.cookie-inner { background:rgba(21,21,21,0.92); backdrop-filter:blur(20px); border:1px solid rgba(255,255,255,0.08); border-radius:24px; padding:40px 36px; max-width:480px; width:100%; text-align:center; box-shadow:0 20px 60px rgba(0,0,0,0.5); }
.cookie-inner h3 { font-size:1.3rem; margin-bottom:12px; }
.cookie-inner p { color:var(--text-muted); font-size:0.88rem; line-height:1.7; }
.cookie-btns { display:flex; gap:10px; margin-top:22px; justify-content:center; }
.cookie-btns .btn { font-size:0.85rem; padding:12px 24px; }

/* ============ FOOTER ============ */
footer { background:#080808; border-top:1px solid var(--border); padding:60px 0 30px; }
.footer-grid { display:grid; grid-template-columns:2fr 1fr 1fr 1.5fr; gap:35px; }
.footer-col h4 { color:var(--gold); font-size:0.95rem; font-family:'Inter',sans-serif; font-weight:600; margin-bottom:16px; letter-spacing:0.5px; }
.footer-col p { color:var(--text-muted); font-size:0.85rem; line-height:1.7; }
.footer-col a { display:block; color:var(--text-muted); text-decoration:none; font-size:0.85rem; margin-bottom:8px; transition:0.3s; }
.footer-col a:hover { color:var(--gold); }
.footer-bottom { text-align:center; margin-top:35px; padding-top:20px; border-top:1px solid var(--border); }
.footer-bottom p { color:rgba(255,255,255,0.3); font-size:0.8rem; margin-bottom:6px; }
.footer-legal { display:flex; gap:18px; justify-content:center; margin-top:8px; }
.footer-legal a { color:rgba(255,255,255,0.3); text-decoration:none; font-size:0.8rem; transition:0.3s; }
.footer-legal a:hover { color:var(--gold); }

/* Legal popup */
.legal-popup { display:none; position:fixed; inset:0; z-index:9999; background:rgba(0,0,0,0.7); align-items:center; justify-content:center; padding:20px; }
.legal-popup.show { display:flex; }
.popup-content { background:var(--bg-card); max-width:700px; width:100%; max-height:80vh; overflow-y:auto; border-radius:var(--radius); padding:36px; position:relative; border:1px solid var(--border); }
.popup-close { position:absolute; top:12px; right:18px; background:none; border:none; font-size:1.4rem; cursor:pointer; color:var(--text-muted); }

/* ============ DIVIDER ============ */
.divider { width:60px; height:2px; background:linear-gradient(90deg, var(--gold), transparent); margin:0 auto; }
.bg-alt { background:#0a0a0a; }

/* ============ ANIMATIONS ============ */
.ao { opacity:0; transform:translateY(25px); transition: 0.7s cubic-bezier(0.25,0.46,0.45,0.94); }
.ao.visible { opacity:1; transform:translateY(0); }
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }

/* ============ RESPONSIVE ============ */
@media(max-width:768px) {
    .nav-links { display:none; position:absolute; top:var(--nav-h, 72px); left:0; right:0; flex-direction:column; background:rgba(12,12,12,0.85); backdrop-filter:blur(20px); padding:24px; gap:16px; border-bottom:1px solid var(--border); }
    .nav-links.active { display:flex; }
    .hamburger { display:block; }
    .features-grid, .amenity-grid { grid-template-columns: 1fr 1fr; }
    .room-grid { grid-template-columns: 1fr; }
    .form-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap:25px; }
    .section { padding:80px 0; }
    .hero h1 { font-size: 2.5rem; }
    .details-cards { gap:12px !important; }
    .form-card { padding:24px 18px; }
    .info-row { font-size:0.82rem; padding:8px 0; }
    .price-big { font-size:1.6rem; }
    .ci { gap:10px; }
    .ci-icon { width:36px; height:36px; font-size:1rem; }
}
@media(max-width:480px) {
    .features-grid, .amenity-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .reviews-grid { grid-template-columns: 1fr; }
}

/* ============ WIDGETS ============ */
.widget-section { padding: 80px 0; }
.widget-text { max-width: 800px; margin: 0 auto; }
.widget-text h2 { font-size: 1.8rem; margin-bottom: 16px; color: var(--gold); }
.widget-text-content { color: var(--text-muted); font-size: 1rem; line-height: 1.8; }
.widget-spacer { background: transparent; }
.widget-video { max-width: 900px; margin: 0 auto; }
.widget-video iframe { border-radius: var(--radius-sm); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.widget-cta { font-size: 1.1rem !important; padding: 16px 40px !important; }
.btn-dark { background: #222; color: var(--text); }
.btn-dark:hover { background: #333; }
.widget-map iframe { box-shadow: 0 8px 30px rgba(0,0,0,0.3); }
.social-icon { display: inline-flex; align-items: center; gap: 8px; padding: 12px 24px; background: var(--bg-card); border: 1px solid var(--border); border-radius: 50px; color: var(--text); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: var(--transition); }
.social-icon:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }
.widget-download .btn { font-size: 1rem; }
.widget-faq-block .faq-item { max-width: 750px; margin: 0 auto; }
