/* =========================================
   ALAPBEÁLLÍTÁSOK & VÁLTOZÓK
   ========================================= */
:root {
    --gold: #c5a059;
    --dark: #1a1a1a;
    --light: #f9f9f9;
    --white: #ffffff;
    --transition: all 0.4s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden; 
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
}

/* =========================================
   PULZÁLÓ HÍVÓGOMB (Lebegő)
   ========================================= */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--gold);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(197, 160, 89, 0.4);
    z-index: 9999;
    text-decoration: none;
    animation: pulse 2s infinite;
    transition: var(--transition);
}

.floating-btn:hover {
    background-color: #111;
    transform: scale(1.1);
    color: var(--gold);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(197, 160, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0); }
}

/* =========================================
   NAVIGÁCIÓ (Desktop & Mobil)
   ========================================= */
.navbar {
    position: fixed;
    top: 40px; 
    width: 100%;
    display: flex;
    align-items: center;
    padding: 1rem 10%;
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    height: 80px;
}

.logo {
    font-size: 1.4rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--dark);
    text-decoration: none;
    margin-right: auto;
}

.logo span {
    color: var(--gold);
}

.mobile-break {
    display: none; 
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    margin-right: 30px; 
}

.nav-links li a {
    text-decoration: none;
    color: var(--dark);
    margin: 0 1.2rem;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-links li a:hover {
    color: var(--gold);
}

.btn-nav {
    background: var(--gold);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* --- Lenyíló Nyelvválasztó --- */
.custom-lang-selector {
    position: relative;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    user-select: none;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--dark);
    padding: 5px 10px;
    transition: var(--transition);
}

.lang-current:hover { color: var(--gold); }

.lang-options {
    position: absolute;
    top: 150%;
    right: 0;
    background: var(--white);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
    border-radius: 8px;
    min-width: 110px;
    display: flex;
    flex-direction: column;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 8px 0;
}

.custom-lang-selector.active .lang-options {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-options a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 20px;
    color: var(--dark);
    text-decoration: none;
    transition: var(--transition);
}

.lang-options a:hover { background: var(--light); color: var(--gold); }

.fi { border-radius: 2px; }

/* --- Hamburger Ikon --- */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: var(--dark);
    transition: all 0.3s ease;
}

/* =========================================
   HERO & SZEKCIÓK
   ========================================= */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), 
                url('hero.webp') center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    padding: 0 5%;
}

.hero-content h1 { font-size: 4rem; margin-bottom: 1rem; animation: fadeInUp 1s ease; }
.hero-content p { font-size: 1.2rem; margin-bottom: 2rem; }

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gold);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    border: 2px solid var(--gold);
    font-weight: bold;
    transition: var(--transition);
}

.btn-primary:hover { background: transparent; color: var(--white); }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 4rem 0;
    position: relative;
}

.section-title::after {
    content: ''; width: 50px; height: 3px; background: var(--gold);
    position: absolute; bottom: -10px; left: 50%; transform: translateX(-50%);
}

.services-grid, .rooms-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 0 10%;
    margin-bottom: 5rem;
}

.service-card {
    text-align: center;
    padding: 3rem;
    background: var(--light);
    border-radius: 10px;
    transition: var(--transition);
}

.service-card:hover { transform: translateY(-10px); background: var(--white); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.service-card i { font-size: 3rem; color: var(--gold); margin-bottom: 1.5rem; }

.room-card { background: var(--white); overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.1); border-radius: 10px; }
.room-img { height: 250px; background-size: cover; background-position: center; }
.room-info { padding: 1.5rem; }
.price { display: block; margin-top: 1rem; color: var(--gold); font-weight: bold; font-size: 1.2rem; }

/* Swiper Képlapozó a szobákhoz */
.room-swiper { height: 250px; }
.room-swiper .swiper-button-next, .room-swiper .swiper-button-prev { color: white; transform: scale(0.6); }

/* =========================================
   VENDÉGÉRTÉKELÉSEK (Folyamatos úszás)
   ========================================= */
.reviews { background-color: var(--light); padding: 2rem 0 4rem; overflow: hidden; }

.reviews-swiper .swiper-wrapper {
    transition-timing-function: linear !important;
}

.review-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    height: 100%;
}

.review-card .stars { color: var(--gold); margin-bottom: 1rem; font-size: 1.1rem; }
.review-card p { font-style: italic; color: #555; margin-bottom: 1rem; font-size: 0.95rem; }
.review-card h4 { color: var(--dark); font-weight: bold; font-size: 0.85rem; }

/* =========================================
   GYIK & FOGLALÁS
   ========================================= */
.faq-section { padding: 2rem 0 5rem; }
.faq-container { max-width: 800px; margin: 0 auto; padding: 0 5%; }
.faq-item { background: var(--white); margin-bottom: 1rem; border-radius: 8px; box-shadow: 0 2px 10px rgba(0,0,0,0.05); overflow: hidden; }
.faq-item summary { padding: 1.5rem; font-weight: bold; font-size: 1.1rem; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::after { content: '\f0d7'; font-family: 'Font Awesome 5 Free'; font-weight: 900; color: var(--gold); }
.faq-content { padding: 0 1.5rem 1.5rem; color: #555; border-top: 1px solid #eee; padding-top: 1rem; }

.booking-section { background: var(--dark); color: var(--white); padding: 5rem 10%; }
.booking-wrapper { display: flex; background: #ffffff; border-radius: 20px; overflow: hidden; box-shadow: 0 25px 50px rgba(0,0,0,0.15); margin-top: 2rem; }
.form-side { flex: 1; padding: 40px; background: #fff; text-align: left; color: #333; }
.calendar-side { flex: 1.2; background: #f8f9fa; padding: 20px; display: flex; flex-direction: column; align-items: center; justify-content: center; }

.input-row { display: flex; gap: 1rem; }
.input-group { margin-bottom: 1.2rem; flex: 1; }
.input-group label { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; margin-bottom: 0.4rem; color: #666; }
.input-group input, .input-group select { width: 100%; padding: 12px; border: 2px solid #eee; border-radius: 8px; font-family: inherit; }
.input-group input:focus, .input-group select:focus { border-color: var(--gold); outline: none; }

.date-badge { padding: 12px; background: var(--light); border-radius: 8px; color: var(--gold); font-weight: bold; border: 1px dashed var(--gold); text-align: center; }
.btn-book-final { width: 100%; padding: 1.2rem; background: var(--dark); color: white; border: none; border-radius: 8px; font-weight: bold; cursor: pointer; display: flex; justify-content: space-between; align-items: center; margin-top: 1rem; }
.btn-book-final:hover { background: var(--gold); }

/* =========================================
   TÉRKÉP
   ========================================= */
.map-section { width: 100%; padding: 0; line-height: 0; display: block; }
.map-container { position: relative; width: 100%; height: 450px; background-color: #eee; }
.map-container iframe { width: 100%; height: 100%; border: none; display: block; }
.map-overlay-btn { position: absolute; bottom: 30px; left: 10%; background-color: var(--gold); color: white; padding: 12px 25px; border-radius: 50px; text-decoration: none; font-weight: bold; box-shadow: 0 10px 20px rgba(0,0,0,0.2); display: flex; align-items: center; gap: 10px; z-index: 10; }

/* =========================================
   FOOTER
   ========================================= */
footer { padding: 4rem 10% 2rem; background: #111; color: #888; }
.footer-content { display: flex; justify-content: space-between; margin-bottom: 2rem; }
.footer-social a { color: var(--white); font-size: 1.5rem; margin-left: 1rem; transition: var(--transition); }
.footer-social a:hover { color: var(--gold); }

/* =========================================
   LUXUS NAPTÁR (FLATPICKR) - JAVÍTOTT
   ========================================= */
.flatpickr-calendar { 
    font-family: 'Montserrat', sans-serif !important; 
    background: transparent !important; 
    box-shadow: none !important; 
    border: none !important; 
}

span.flatpickr-weekday { 
    color: var(--gold) !important; 
    font-weight: 700 !important; 
}

.flatpickr-day.selected, 
.flatpickr-day.startRange, 
.flatpickr-day.endRange { 
    background: var(--gold) !important; 
    border-color: var(--gold) !important; 
    color: white !important; 
    border-radius: 50% !important; 
}

.flatpickr-day.inRange { 
    background: rgba(197, 160, 89, 0.15) !important; 
    box-shadow: -5px 0 0 rgba(197, 160, 89, 0.15), 5px 0 0 rgba(197, 160, 89, 0.15) !important; 
}

.calendar-side {
    flex: 1.2;
    background: #f8f9fa;
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

/* =========================================
   SÜTI (COOKIE) SÁV
   ========================================= */
.cookie-container {
    position: fixed;
    bottom: -100px;
    left: 0;
    width: 100%;
    background: var(--dark);
    color: white;
    padding: 15px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 10000;
    transition: bottom 0.5s ease;
    box-shadow: 0 -5px 15px rgba(0,0,0,0.3);
}

.cookie-container.show {
    bottom: 0;
}

.btn-gold-small {
    background: var(--gold);
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
}

/* =========================================
   DEMÓ SÁV (Értékesítési banner)
   ========================================= */
.demo-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(90deg, #1a1a1a, #333333); 
    color: white;
    text-align: center;
    padding: 8px 5%;
    z-index: 100000; 
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 0.85rem;
    flex-wrap: wrap;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.demo-banner span {
    font-weight: 500;
    line-height: 1.3;
}

.demo-banner span strong {
    color: var(--gold);
}

.mobile-break-demo {
    display: none;
}

.demo-btn {
    background: var(--gold);
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-family: inherit;
    font-weight: bold;
    font-size: 0.8rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    animation: pulse-soft 2s infinite; 
}

.demo-btn:hover {
    background: white;
    color: var(--dark);
    transform: scale(1.05);
}

@keyframes pulse-soft {
    0% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(197, 160, 89, 0); }
    100% { box-shadow: 0 0 0 0 rgba(197, 160, 89, 0); }
}

/* =========================================
   ÉRTÉKESÍTÉSI FELUGRÓ ABLAK (MODAL)
   ========================================= */
.pricing-modal-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 999999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.pricing-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.pricing-modal-box {
    background: white;
    width: 90%;
    max-width: 450px;
    border-radius: 20px;
    overflow-y: auto;
    max-height: 90vh; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    position: relative;
    transform: translateY(30px);
    transition: all 0.4s ease;
}

.pricing-modal-overlay.active .pricing-modal-box {
    transform: translateY(0);
}

.close-modal {
    position: absolute;
    top: 15px; right: 20px;
    font-size: 1.8rem;
    color: white;
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover { color: var(--gold); }

.modal-header {
    background: var(--dark);
    color: white;
    padding: 30px 20px 20px;
    text-align: center;
}

.modal-header h2 { margin: 0; font-family: 'Playfair Display', serif; font-size: 1.8rem; }
.modal-header h2 span { color: var(--gold); }
.modal-header p { margin: 5px 0 0; color: #aaa; font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; }

.modal-body { padding: 30px 40px; text-align: center; }

.price-tag { margin-bottom: 25px; }
.price-title { display: block; color: var(--text-gray); font-weight: bold; text-transform: uppercase; font-size: 0.85rem; letter-spacing: 1px; }
.price-amount { font-size: 3rem; font-weight: 800; color: var(--dark); margin: 5px 0; line-height: 1; }
.price-amount span { font-size: 1.2rem; color: var(--text-gray); font-weight: 600; }
.price-sub { display: block; color: var(--gold); font-weight: bold; font-size: 0.9rem; }

.feature-list { list-style: none; padding: 0; margin: 0 0 20px; text-align: left; }
.feature-list li { margin-bottom: 12px; font-size: 0.95rem; color: #555; display: flex; align-items: flex-start; gap: 10px; }
.feature-list li i { color: #10b981; margin-top: 4px; }

.monthly-fee { background: var(--light); padding: 10px; border-radius: 8px; font-size: 0.85rem; font-weight: bold; color: #555; border: 1px dashed #ccc; }

.modal-footer { background: #f8f9fa; padding: 20px; text-align: center; border-top: 1px solid #eee; }
.modal-footer p { margin: 0 0 10px; font-weight: bold; color: var(--dark); }
.dev-phone { display: inline-block; background: var(--gold); color: white; padding: 12px 25px; border-radius: 50px; font-weight: bold; font-size: 1.1rem; text-decoration: none; transition: 0.3s; box-shadow: 0 5px 15px rgba(197, 160, 89, 0.3); }
.dev-phone:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(197, 160, 89, 0.4); }
.dev-email { display: block; margin-top: 15px; color: #666; text-decoration: none; font-size: 0.9rem; }
.dev-email:hover { color: var(--gold); text-decoration: underline; }

/* =========================================
   MOBIL NÉZET (900px alatt) - JAVÍTVA A CÍMSOR
   ========================================= */
@media screen and (max-width: 900px) {
    /* Süti sáv elrejtése mobilon */
    .cookie-container, .cookie-container.show {
        display: none !important;
    }

    .demo-banner {
        padding: 8px 10px;
        gap: 10px;
        font-size: 0.8rem; 
        flex-direction: column; 
    }
    
    .mobile-break-demo {
        display: block;
        margin-top: 2px;
    }
    
    .demo-btn {
        padding: 5px 15px;
        font-size: 0.8rem;
    }
    
    .navbar { 
        top: 80px; 
        padding: 0.5rem 5%; 
        justify-content: flex-start; 
    }

    .logo { 
        margin-right: auto; 
        text-align: left;
        font-size: 1rem;
        line-height: 1.1;
    }

    .mobile-break { display: block; }

    .nav-right {
        display: flex;
        align-items: center;
        gap: 15px; 
    }

    .hamburger { display: flex; }

    .nav-links {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: 0.4s ease-in-out;
        margin-right: 0;
        z-index: 1000;
    }

    .nav-links.active { right: 0; }
    .nav-links li { margin: 1.2rem 0; }
    .nav-links li a { font-size: 1.1rem; }

    /* FŐOLDAL HERO JAVÍTÁSA MOBILRA */
    .hero {
        padding-top: 150px; /* Szöveg letolása a menü alól */
    }
    .hero-content h1 { 
        font-size: 2.1rem; /* Kicsit kisebb, hogy ne törjön annyi sorba */
        line-height: 1.3;
    }
    
    .booking-wrapper { flex-direction: column; }
    .calendar-side { order: 2; padding: 20px; }
    .form-side { order: 1; padding: 30px 20px; }
    .input-row { flex-direction: column; gap: 0; }

    .map-container { height: 350px; }
    .map-overlay-btn { left: 5%; bottom: 20px; font-size: 0.9rem; }
    
    .footer-content { flex-direction: column; text-align: center; gap: 2rem; }
    .footer-social { margin-top: 1rem; }
    
    html { scroll-padding-top: 160px; }

    /* Modal mobil finomítások a böngésző sávok miatt */
    .pricing-modal-box {
        max-height: 80vh; 
        padding-bottom: 10px;
    }
    .modal-header { padding: 20px 15px 15px; }
    .modal-header h2 { font-size: 1.4rem; }
    .modal-header p { font-size: 0.85rem; }
    .modal-body { padding: 20px 20px; }
    .price-amount { font-size: 2.2rem; }
    .feature-list li { font-size: 0.85rem; margin-bottom: 8px; }
    .monthly-fee { font-size: 0.8rem; margin-top: 10px; }
    .modal-footer { padding: 15px; margin-top: 15px; }
    .modal-footer p { font-size: 0.85rem; }
    .dev-phone { padding: 10px 20px; font-size: 1rem; }
}

/* =========================================
   SIKERES FOGLALÁS MODAL (OVERLAY)
   ========================================= */
.success-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 255, 255, 0.98);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
}

.success-overlay.active {
    opacity: 1;
    visibility: visible;
}

.success-box {
    text-align: center;
    padding: 40px 30px;
    max-width: 500px;
    width: 90%;
}

.success-icon {
    font-size: 5rem;
    color: #2ecc71;
    margin-bottom: 20px;
    animation: scaleUp 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-box h2 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 10px;
}

.success-box p {
    color: #555;
    margin-bottom: 20px;
    font-size: 1.05rem;
}

.next-steps {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
    text-align: left;
    margin-bottom: 30px;
    border-left: 5px solid var(--gold);
}

.next-steps ul {
    margin-top: 10px;
    padding-left: 20px;
    font-size: 0.9rem;
}

.btn-success-close {
    background: var(--dark);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-success-close:hover {
    background: var(--gold);
}

@keyframes scaleUp {
    from { transform: scale(0); }
    to { transform: scale(1); }
}

/* Mobil finomítás a sikeres modalhoz */
@media screen and (max-width: 600px) {
    .success-box { padding: 20px; }
    .success-icon { font-size: 4rem; }
    .success-box h2 { font-size: 1.6rem; }
}

/* =========================================
   KÜLÖN VÉDELEM A NAGYON KIS TELEFONOKRA
   ========================================= */
@media screen and (max-width: 400px) {
    .hero {
        padding-top: 160px;
    }
    .hero-content h1 { 
        font-size: 1.8rem; 
    }
    .hero-content p {
        font-size: 1rem;
    }
}