/* --- ALAP BEÁLLÍTÁSOK --- */
:root {
    --primary-green: #1a4731;
    --light-green: #2d6a4f;
    --accent-gold: #c5a059;
    --text-dark: #333333;
    --text-light: #555555;
    --bg-light: #f9f9f9;
    --white: #ffffff;
    --border-radius: 6px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Lato', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

a, img, br, iframe {
    user-select: none;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-green);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* --- GOMBOK --- */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 12px 30px;
    background-color: var(--accent-gold);
    color: var(--white);
    border-radius: var(--border-radius);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid var(--accent-gold);
    cursor: pointer;
    white-space: nowrap;
    transition: var(--transition);
}

.btn:hover {
    background-color: transparent;
    color: var(--accent-gold);
}

.btn-outline {
    background-color: transparent;
    border: 2px solid var(--white);
    color: var(--white);
    padding: 12px 30px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--primary-green);
}

/* --- SZEKCIÓK --- */
.section-padding {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.section-title .line {
    width: 80px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 0 auto;
}

/* --- HEADER --- */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.top-bar {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-contact {
    display: flex;
    align-items: center;
}

.top-contact a {
    color: var(--white);
    margin-right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-contact a svg {
    width: 16px;
    height: 16px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    min-height: 80px;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-green);
    font-family: 'Playfair Display', serif;
}

.nav-links {
    display: flex;
    gap: 25px;
    align-items: center;
}

.nav-links a.nav-item {
    font-weight: 600;
    color: var(--primary-green);
    position: relative;
    padding: 5px 0;
}

.nav-links a.nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--accent-gold);
    bottom: 0;
    left: 0;
    transition: var(--transition);
}

.nav-links a.nav-item:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    cursor: pointer;
    font-size: 1.8rem;
    color: var(--primary-green);
}

/* MOBIL MENÜ EXTRA ELEMEI (Alapból rejtve) */
.mobile-menu-header {
    display: none;
}

.close-btn {
    display: none;
}

/* Overlay a mobil menü mögé */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998; /* Header alatt (ami 1000), de tartalom felett */
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* --- HERO --- */
.hero {
    height: 85vh;
    min-height: 600px;
    background: linear-gradient(rgba(26, 71, 49, 0.65), rgba(26, 71, 49, 0.5)), url('images/hero-bg.webp');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: var(--white);
    margin-top: 115px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    color: var(--white);
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

.btn-container {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* --- BEMUTATKOZÁS --- */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.about-img {
    position: relative;
}

.about-img img {
    border-radius: var(--border-radius);
    box-shadow: 15px 15px 0px var(--accent-gold);
    width: 100%;
}

.about-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.quote-box {
    background-color: var(--bg-light);
    border-left: 4px solid var(--primary-green);
    padding: 20px;
    margin: 25px 0;
    font-style: italic;
    color: #555;
}

/* --- SZOLGÁLTATÁSOK --- */
.services {
    background-color: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    padding: 35px;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border-bottom: 4px solid transparent;
    height: 100%;
}

.service-card:hover {
    transform: translateY(-5px);
    border-bottom: 4px solid var(--accent-gold);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.service-icon {
    font-size: 2rem;
    color: var(--primary-green);
    display: flex;
    align-items: center;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.service-card h4 {
    font-size: 1.3rem;
    margin: 0;
}

.service-list {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 0.95rem;
    color: var(--text-light);
    line-height: 1.8;
}

/* --- GALÉRIA --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

/* --- ÁRAZÁS --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.price-card {
    background: var(--white);
    border: 1px solid #e0e0e0;
    padding: 40px 20px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.price-card .btn-outline {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.price-card .btn-outline:hover {
    background-color: var(--primary-green);
    color: var(--white);
}

.price-card.featured {
    background-color: var(--primary-green);
    color: var(--white);
    transform: scale(1.05);
    border: none;
    box-shadow: 0 15px 30px rgba(26, 71, 49, 0.2);
    position: relative;
    z-index: 2;
}

.price-card.featured h3,
.price-card.featured p {
    color: var(--white);
}

.price-card.featured .btn {
    background-color: var(--white);
    color: var(--primary-green);
    border: 2px solid var(--white);
}

.price-card.featured .btn:hover {
    background-color: transparent;
    color: var(--white);
}

.price-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin: 20px 0;
    font-family: 'Playfair Display', serif;
}

/* --- VÉLEMÉNYEK --- */
.testimonials {
    background-color: var(--primary-green);
    color: var(--white);
    overflow: hidden;
}

.testimonials .section-title h2 {
    color: var(--white);
}

.testimonial-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.review-card {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
    flex: 1 1 300px;
    max-width: 500px;
    border-left: 3px solid var(--accent-gold);
}

.review-text {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.9;
}

.review-author {
    font-weight: 700;
    color: var(--accent-gold);
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
}

/* --- KAPCSOLAT --- */
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius);
    overflow: hidden;
    background: var(--white);
}

.contact-info {
    background-color: var(--primary-green);
    color: var(--white);
    padding: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info h3 {
    color: var(--white);
    margin-bottom: 30px;
    font-size: 1.8rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    gap: 20px;
}

.info-item svg {
    width: 24px;
    height: 24px;
    min-width: 24px;
    fill: var(--accent-gold);
    margin-top: 3px;
}

.info-content strong {
    display: block;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.info-content a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.9;
}

.info-content a:hover {
    opacity: 1;
    text-decoration: underline;
}

.opening-hours {
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.opening-hours h4 {
    color: var(--accent-gold);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.map-container {
    position: relative;
    min-height: 450px;
    height: 100%;
}

iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

/* --- FOOTER --- */
footer {
    background-color: #111;
    color: #888;
    margin-top: 40px;
    padding: 60px 0;
    text-align: center;
    font-size: 0.9rem;
}

footer .container p {
    margin-bottom: 20px;
}

footer p {
    margin-bottom: 10px;
}

footer a {
    color: #ccc;
    transition: 0.3s;
}

footer a:hover {
    color: var(--white);
}

.footer-credit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 15px;
    font-size: 0.85rem;
    opacity: 0.8;
    color: #888;
}

.footer-credit img {
    height: 20px;
    width: auto;
    vertical-align: middle;
    transition: opacity 0.3s;
}

.footer-credit a:hover img {
    opacity: 1;
}

/* --- POPUP --- */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.popup-overlay.show {
    display: flex;
    opacity: 1;
}

.popup-content {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    position: relative;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    border-top: 5px solid var(--accent-gold);
    transform: translateY(20px);
    transition: transform 0.4s ease;
}

.popup-overlay.show .popup-content {
    transform: translateY(0);
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 2rem;
    background: none;
    border: none;
    color: #999;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.popup-close:hover {
    color: var(--primary-green);
}

.popup-header h3 {
    font-size: 2rem;
    color: var(--primary-green);
    margin-bottom: 10px;
}

.popup-line {
    width: 60px;
    height: 3px;
    background-color: var(--accent-gold);
    margin: 0 auto 20px auto;
}

.popup-text {
    font-size: 1.1rem;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.popup-feature {
    background-color: #f0f7f4;
    padding: 15px;
    border-radius: var(--border-radius);
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: var(--primary-green);
    font-size: 1.05rem;
}

.popup-feature svg {
    width: 24px;
    height: 24px;
    fill: var(--primary-green);
}

.popup-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* --- RESPONSIVE --- */
@media (max-width: 1100px) {
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .section-padding {
        padding: 50px 0;
    }

    /* FELSŐ SÁV ELREJTÉSE MOBILON */
    .top-bar {
        display: none;
    }

    /* ÚJ SIDEBAR (OLDALSÓ MENÜ) STÍLUSOK */
    .nav-links {
        display: block;
        position: fixed;
        top: 0;
        right: -300px; /* Kezdetben a képernyőn kívül */
        width: 280px;
        height: 100vh;
        background-color: var(--white);
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        padding: 0;
        transition: right 0.3s ease-in-out; /* Animáció */
        z-index: 2000;
        overflow-y: auto;
        flex-direction: column;
        align-items: flex-start;
    }

    .nav-links.active {
        right: 0; /* Beúszik */
    }

    /* Mobil Menü Header (Cím, Elérhetőség) */
    .mobile-menu-header {
        display: block;
        background-color: var(--primary-green);
        color: var(--white);
        padding: 25px 20px;
        position: relative;
    }

    .mobile-menu-header h3 {
        color: var(--white);
        font-size: 1.2rem;
        margin-bottom: 15px;
    }

    .mobile-contact-item {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 12px;
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .mobile-contact-item svg {
        min-width: 16px;
        width: 16px;
        height: 16px;
        fill: var(--accent-gold);
        margin-top: 3px;
    }

    .mobile-contact-item a {
        color: var(--white);
    }

    /* Bezárás gomb */
    .close-btn {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
        color: var(--white);
        font-size: 2rem;
        cursor: pointer;
        line-height: 1;
    }

    /* Linkek a menüben */
    .nav-links a.nav-item {
        display: block;
        padding: 15px 25px;
        border-bottom: 1px solid #eee;
        width: 100%;
        color: var(--text-dark);
        font-weight: 600;
        text-align: left;
    }
    
    .nav-links a.nav-item::after {
        display: none; /* Hover vonal kikapcsolása */
    }

    .nav-links .btn {
        margin: 20px auto;
        width: 80%;
        display: flex;
    }

    .hamburger {
        display: flex;
        align-items: center;
        height: 100%;
    }

    .hero {
        margin-top: 80px; /* Kisebb margin, mert nincs top-bar */
        height: auto;
        padding: 60px 0;
    }

    .hero-content h1 {
        font-size: 2.2rem;
    }

    .btn-container {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
    }

    .btn,
    .btn-outline {
        width: 80%;
        max-width: 300px;
    }

    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-img {
        margin-bottom: 30px;
    }

    .price-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 480px) {
    .popup-content {
        padding: 30px 20px;
    }

    .popup-actions {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        width: 100%;
    }

    .popup-actions .btn,
    .popup-actions .btn-outline {
        width: 100%;
        max-width: 280px;
        display: flex;
        justify-content: center;
        text-align: center;
    }
}