:root {
    --primary-blue: #4b829a;
    --accent-gold: #c08b63;
    --bg-light: #f0f0f0;
    --bg-beige: #dcd4c0;
    --bg-sage: #a9af96;
    --bg-blue-gray: #c7d7d5;
    --text-dark: #2c3e50;
    --text-white: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; scroll-behavior: smooth; }

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    line-height: 1.8;
    background-color: var(--bg-light);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden; /* Fontos a mobil menü miatt */
}

h1, h2, h3, h4 { font-family: 'Playfair Display', serif; font-weight: 700; color: var(--primary-blue); }

.container { width: 85%; max-width: 1200px; margin: 0 auto; }

/* --- NAVIGÁCIÓ --- */
nav {
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    width: 100%;
    top: 0;
    background: rgba(240, 240, 240, 0.98);
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0,0,0,0.05);
    height: 90px;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 85%;
    max-width: 1500px;
    margin: 0 auto;
}

.logo-container { display: flex; align-items: center; gap: 10px; text-decoration: none; z-index: 1001; }
.logo-img { height: 60px; width: auto; transition: transform 0.3s; }
.logo-img:hover { transform: scale(1.05); }

/* Desktop Menu */
nav ul { display: flex; list-style: none; gap: 30px; }
nav a { text-decoration: none; color: var(--primary-blue); font-size: 0.85rem; text-transform: uppercase; transition: 0.3s; font-weight: 600; }
nav a:hover { color: var(--accent-gold); }

/* Hamburger Menu Stílus */
.burger {
    display: none;
    cursor: pointer;
    z-index: 1002;
}
.burger div {
    width: 25px;
    height: 3px;
    background-color: var(--primary-blue);
    margin: 5px;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* --- HERO --- */
.hero {
    height: 85vh;
    display: flex;
    align-items: center;
    background: linear-gradient(rgba(240, 240, 240, 0.7), rgba(240, 240, 240, 0.7)), url('images/hangulatkep6_5D2A5686-Edit.jpg');
    background-size: cover;
    background-position: center;
    text-align: center;
    padding-top: 80px;
}
.hero-content { margin: 0 auto; max-width: 800px; padding: 0 20px; }
.hero h1 { font-size: 3.5rem; margin-bottom: 20px; }
.hero p { font-size: 1.2rem; color: var(--text-dark); margin-bottom: 30px; font-style: italic; }

/* --- GOMBOK --- */
.btn { 
    display: inline-block;
    background: var(--accent-gold); 
    color: white; 
    padding: 12px 30px; 
    border: none; 
    border-radius: 4px; 
    cursor: pointer; 
    font-weight: 600; 
    transition: 0.3s; 
    text-decoration: none;
    text-transform: uppercase;
    font-size: 0.9rem;
}
.btn:hover { background: var(--primary-blue); }
.btn:disabled { background: #ccc; cursor: not-allowed; }

.btn-small {
    display: inline-block;
    border: 2px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: 6px 15px; /* Kicsit kisebb padding */
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.75rem; /* Kicsit kisebb betű */
    font-weight: 600;
    text-transform: uppercase;
    transition: 0.3s;
    margin-top: auto;
}
.btn-small:hover { background: var(--accent-gold); color: white; }

/* --- RÓLUNK --- */
.about { padding: 100px 0; background: var(--bg-blue-gray); }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text h2 { color: var(--primary-blue); margin-bottom: 25px; font-size: 2.2rem; }
.about-text p { margin-bottom: 20px; color: var(--text-dark); font-size: 1.05rem; }
.about-img img { width: 100%; border-radius: 4px; }

/* --- SZOLGÁLTATÁSOK --- */
.services { padding: 100px 0; background: var(--bg-light); }
.section-title { text-align: center; margin-bottom: 60px; }
.section-title h2 { font-size: 2.5rem; margin-bottom: 15px; }
.gold-line { width: 60px; height: 3px; background: var(--accent-gold); margin: 0 auto; }

.service-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.service-item { 
    background: white; padding: 35px; border-radius: 8px; transition: 0.3s; 
    border-bottom: 3px solid var(--bg-beige); display: flex; flex-direction: column; 
    align-items: center; text-align: center; flex: 0 1 300px; min-height: 400px; 
}
.service-item:hover { transform: translateY(-5px); border-color: var(--accent-gold); box-shadow: 0 10px 30px rgba(0,0,0,0.08); }
.service-icon { height: 60px; width: 60px; margin-bottom: 20px; }
.service-item h3 { font-size: 1.3rem; margin-bottom: 15px; min-height: 50px; display: flex; align-items: center; justify-content: center;}
.service-item p { font-size: 0.95rem; color: #555; margin-bottom: 20px; }

/* --- TI MONDTÁTOK (INFINITE SLIDER) --- */
.testimonials { padding: 100px 0; background: var(--bg-beige); position: relative; overflow: hidden; }
.testimonial-container { max-width: 800px; margin: 0 auto; position: relative; }
.slider-wrapper { overflow: hidden; position: relative; border-radius: 10px; background: rgba(255,255,255,0.7); box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.slider-track { display: flex; transition: transform 0.5s ease-in-out; }
.slide { min-width: 100%; padding: 60px 40px; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.stars { color: var(--accent-gold); font-size: 1.5rem; margin-bottom: 15px; letter-spacing: 2px; }
.review-text { font-size: 1.1rem; font-style: italic; color: var(--text-dark); margin-bottom: 20px; max-width: 600px; }
.reviewer-name { font-weight: 700; color: var(--primary-blue); font-family: 'Playfair Display', serif; font-size: 1.2rem; }

.slider-btn {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: var(--primary-blue); color: white; border: none;
    width: 40px; height: 40px; border-radius: 50%; cursor: pointer; z-index: 10;
    display: flex; align-items: center; justify-content: center; transition: 0.3s;
}
.slider-btn:hover { background: var(--accent-gold); }
.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* --- BLOG --- */
.blog-section { padding: 80px 0; background: white; }
/* Kisebb elemek miatt a gap is kisebb lehet */
.blog-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 25px; min-height: 400px; }

/* KOMPAKTER BLOG KÁRTYA STÍLUSOK */
.blog-card { 
    flex: 0 1 300px; /* Keskenyebb kártya */
    background: var(--bg-light); 
    border-radius: 8px; 
    overflow: hidden; 
    box-shadow: 0 5px 15px rgba(0,0,0,0.05); 
    transition: 0.3s; 
    display: flex; 
    flex-direction: column; 
}
.blog-card:hover { transform: translateY(-5px); box-shadow: 0 10px 25px rgba(0,0,0,0.1); }

.blog-img-container { 
    height: 160px; /* Alacsonyabb kép */
    width: 100%; 
    background-color: var(--bg-blue-gray); 
    overflow: hidden; 
}
.blog-img { width: 100%; height: 100%; object-fit: cover; }

.blog-content { 
    padding: 15px; /* Kisebb padding */
    flex-grow: 1; 
    display: flex; 
    flex-direction: column; 
}
.blog-content h3 { 
    font-size: 1.1rem; /* Kisebb cím */
    margin-bottom: 8px; 
    line-height: 1.3; 
    min-height: 40px; 
}
.blog-content p { 
    font-size: 0.85rem; /* Kisebb szöveg */
    color: #555; 
    margin-bottom: 15px; 
    flex-grow: 1; 
    line-height: 1.6;
}
.blog-btn { 
    align-self: flex-start; 
    color: var(--primary-blue); 
    font-weight: 600; 
    text-decoration: none; 
    font-size: 0.8rem; 
}
.blog-btn:hover { color: var(--accent-gold); text-decoration: underline; }

/* --- PAGINATION --- */
.pagination-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 10px;
}
.page-btn {
    background: transparent;
    border: 1px solid var(--primary-blue);
    color: var(--primary-blue);
    width: 35px; /* Kisebb gomb */
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.page-btn:hover, .page-btn.active {
    background: var(--primary-blue);
    color: white;
}
.page-btn:disabled {
    border-color: #ccc;
    color: #ccc;
    cursor: not-allowed;
    background: transparent;
}

/* --- KAPCSOLATI ŰRLAP --- */
.contact-section { padding: 100px 0; background: var(--bg-blue-gray); }
.contact-card { max-width: 700px; margin: 0 auto; background: white; padding: 40px; border-radius: 15px; box-shadow: 0 15px 35px rgba(0,0,0,0.1); }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; color: var(--primary-blue); }
.form-control { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 6px; font-family: inherit; transition: 0.3s; }
.form-control:focus { outline: none; border-color: var(--accent-gold); box-shadow: 0 0 0 3px rgba(192, 139, 99, 0.2); }
.checkbox-group { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 15px; font-size: 0.85rem; }
.checkbox-group input { margin-top: 4px; }

/* --- LÁBLÉC --- */
footer { background: var(--primary-blue); color: rgba(255,255,255,0.9); padding: 60px 0; text-align: center; }
.footer-info { margin-bottom: 25px; font-weight: 400; }
.footer-info a { color: white; text-decoration: none; margin: 0 15px; transition: 0.3s; }
.footer-info a:hover { color: var(--accent-gold); }
.social-links { margin-bottom: 20px; }
.social-icon { color: white; font-size: 1.8rem; margin: 0 15px; transition: 0.3s; text-decoration: none; display: inline-block; }
.social-icon:hover { color: var(--accent-gold); transform: scale(1.1); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 25px; font-size: 0.85rem; }

/* --- MOBIL RESPONSIVE --- */
@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.2rem; }
    .logo-img { height: 50px; }
    .service-item, .blog-card { flex: 0 1 100%; }
    .container { width: 90%; }
    
    /* Hamburger megjelenítése */
    .burger { display: block; }

    /* Menü átalakítása mobilra */
    nav ul {
        position: fixed;
        right: 0px;
        top: 0px;
        height: 100vh;
        background-color: var(--bg-light);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 70%;
        transform: translateX(100%);
        transition: transform 0.4s ease-in-out;
        box-shadow: -2px 0 10px rgba(0,0,0,0.1);
        padding-top: 60px;
    }

    /* Aktív menü állapot */
    nav ul.nav-active {
        transform: translateX(0%);
    }

    nav ul li {
        margin: 20px 0;
        opacity: 0;
    }

    nav a {
        font-size: 1.1rem;
    }
}

/* Hamburger Animáció osztályok */
.toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
}
.toggle .line2 {
    opacity: 0;
}
.toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Menü elemek beúszása */
@keyframes navLinkFade {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* --- DINAMIKUS POPUP ABLAK --- */
.popup-overlay {
    display: none; /* Alapból rejtve */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999; /* Legyen minden felett */
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.popup-overlay.active {
    opacity: 1;
}

.popup-content {
    background: white;
    padding: 40px;
    border-radius: 10px;
    position: relative;
    max-width: 500px;
    width: 90%;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.3);
    transform: scale(0.8);
    transition: transform 0.3s ease;
    border-top: 5px solid var(--accent-gold);
}

.popup-overlay.active .popup-content {
    transform: scale(1);
}

.popup-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 28px;
    cursor: pointer;
    color: #888;
    transition: 0.3s;
    line-height: 1;
}

.popup-close:hover {
    color: var(--primary-blue);
}

/* Tartalom formázása a popupban */
.popup-body h3 {
    color: var(--primary-blue);
    margin-bottom: 15px;
    font-size: 1.8rem;
}
.popup-body p {
    margin-bottom: 20px;
    color: var(--text-dark);
}
.popup-img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin-bottom: 15px;
}

