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

/* Topbar - Felső információs sáv */
.topbar {
    background-color: #c0992f; /* Aranybarna szín */
    padding: 8px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1001;
}

.topbar-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 50px;
}

.topbar-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: white;
    font-size: 16px;
    font-weight: bold;
}

.topbar-item.email {
    flex: 1;
    justify-content: flex-start;
}

.topbar-item.phone {
    flex: 1;
    color: rgb(0, 0, 0);
    justify-content: center;
}

.topbar-spacer {
    flex: 1;
}

.topbar-item i {
    color: rgb(0, 0, 0);
}

.topbar-item a {
    color: rgb(0, 0, 0);
    text-decoration: none;
    transition: color 0.3s ease;
}

.topbar-item a:hover {
    color: rgb(255, 235, 200);
}

a.footer_link:link {color:rgb(255, 255, 255); text-decoration: none;}
a.footer_link:visited {color:rgb(255, 255, 255); text-decoration: none;}
a.footer_link:hover {color: rgb(230,222,179);}

body {
    font-family: 'Montserrat'/*'Segoe UI', Tahoma, Geneva, Verdana, sans-serif*/;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

ul.b {list-style-type: disc; margin-left: 40px;}

ol.g {list-style-type: decimal; margin-left: 40px;}

.button {
    /* Ez a stílus vonatkozik minden elemre, aminek class="button" */
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: background-color 0.2s;
}

.button:hover {
    background-color: #0056b3;
}

.submit-button {
    /* Ez egy kiegészítő stílus, ami csak a küldés gombra érvényes */
    background-color: #28a745;
}

.submit-button:hover {
    background-color: #218838;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 40px;
    padding-top: 30px;
    margin-bottom: 20px;
    color: #333;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.5s forwards;
}

.section-subtitle {
    text-align: justify;
    font-size: 16px;
    margin-bottom: 20px;
    color: #666;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.7s forwards;
}

.section-subtitle-center {
    text-align: center;
    font-size: 18px;
    margin-bottom: 30px;
    color: #666;
    opacity: 0;
    animation: fadeInUp 1s ease-out 0.7s forwards;
}

/* Hero Section */
.hero {
    height: 140vh;
    background: linear-gradient(rgba(54, 37, 5, 0.397), rgba(0, 0, 0, 0.3)),
                url('./images/pexels-mo-ismail-2130628-3763190.jpg');
    /*background-color: rgba(153, 0, 0, 0.5);*/
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content {
    color: white;
    max-width: 800px;
    padding: 0 20px;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,1);
    background: linear-gradient(20deg, rgb(230,222,179), rgb(219,208,149));
    -webkit-background-clip: text;
    /*-webkit-text-fill-color: transparent;*/
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.cta-button {
    background: rgba(26, 13, 0, 0.95);
    color: white;
    padding: 15px 40px;
    font-size: 1.1rem;
    border: 2px solid  rgba(230, 223, 196, 0.774);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    /*box-shadow: 0 8px 20px rgba(201,176,42,0.3);*/
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(182, 180, 169, 0.568);
}

/* --- ÚJ GOMB --- */
.scroll-down-arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 100px auto 0; /* 100px felül, auto oldalt (középre igazít), 0 alul */
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.scroll-down-arrow:hover {
    background-color: rgba(230, 222, 179, 0.2);
}

.scroll-down-arrow span {
    display: block;
    width: 25px;
    height: 25px;
    border-bottom: 3px solid white;
    border-right: 3px solid white;
    transform: rotate(45deg);
    margin-top: -10px;
    animation: bounce 2s infinite;
    box-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

/* --- ÚJ ANIMÁCIÓ --- */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) rotate(45deg);
    }
    40% {
        transform: translateY(10px) rotate(45deg);
    }
    60% {
        transform: translateY(5px) rotate(45deg);
    }
}

/* Navigation */
nav {
    position: fixed;
    top: 65px; /* A topbar magassága alatt kezdődjön */
    width: 100%;
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1px 0;
    transition: all 0.3s ease;
}

nav.scrolled {
    background: rgba(75, 72, 59, 0.95);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.logo {
    flex: none;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 7px 0px 0px;
}

.logo-image {
    height: 75px;
    width: auto;
}

.logo-cont {
    color: rgba(214, 171, 102);
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    vertical-align: middle;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: rgb(230,222,179);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    color: rgb(230,222,179);
    font-size: 1.2rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: rgb(201,176,42);
    transform: scale(1.2);
}

/* Services Section */
.services {
    padding: 100px 0;
    background: linear-gradient(135deg, rgb(247, 244, 226), rgb(214, 210, 185));
    position: relative;
}

.services-grid-container {
    position: relative;
    margin: 50px 0;
    max-width: 1200px;
    margin: 0 auto;
    justify-items: center;
}

.services-filter {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid rgb(143,120,41,0.52);
    color: rgb(201,176,42);
    padding: 10px 25px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
    font-weight: 500;
}

.filter-btn:hover,
.filter-btn.active {
    background: rgb(193 166 84);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201,176,42,0.3);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px;
    justify-items: center;
}

.service-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.4s ease;
    border: 1px solid rgb(201,176,42);
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }

.service-card.hidden { display: none; }

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(201,176,42,0.2);
}

.service-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .service-image { transform: scale(1.1); }

.service-content { padding: 25px; }
.service-title { font-size: 1.4rem; margin-bottom: 10px; color: #333; font-weight: 600; }
.service-description { color: #666; margin-bottom: 20px; line-height: 1.6; }

.service-features { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }

.service-feature {
    background: rgba(192, 182, 125, 0.26);
    color: rgb(95, 84, 21);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 500;
}

.service-button {
    background: linear-gradient(45deg, rgb(80, 67, 42), rgb(199,183,95));
    color: white; padding: 12px 30px; border: none; border-radius: 20px; cursor: pointer;
    transition: all 0.3s ease; position: relative; overflow: hidden; width: 100%;
    font-size: 1rem; font-weight: 500;
}

.service-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 5px rgb(143, 129, 49);
}

.price-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, rgb(199,183,95), rgb(201,176,42));
    display: flex; align-items: center; justify-content: center;
    opacity: 0; transition: opacity 0.3s ease; font-weight: bold; font-size: 1.1rem;
}

.service-button:hover .price-overlay { opacity: 1; }

/* --- ÚJ VIDEÓ SZEKCIÓ --- */
.video-section {
    padding: 100px 0;
    background: #f4f4f4;
    text-align: center;
}
.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
    border-radius: 15px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}
.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* About Section */
.about { padding: 100px 0; background: white; }
.about-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-text { opacity: 0; animation: fadeInLeft 1s ease-out 0.5s forwards; }
.about-image { opacity: 0; animation: fadeInRight 1s ease-out 0.5s forwards; }
.about-image img { width: 100%; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.accordion { margin-top: 40px; }
.accordion-item { margin-bottom: 15px; border: 1px solid rgb(201,176,42); border-radius: 10px; overflow: hidden; }
.accordion-header {
    background: linear-gradient(45deg, rgb(230,222,179), rgb(219,208,149));
    padding: 20px; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
    transition: all 0.8s ease;
}
.accordion-header:hover { background: linear-gradient(45deg, rgb(219,208,149), rgb(199,183,95)); }
.accordion-content { padding: 0 20px; max-height: 0; overflow: hidden; transition: max-height 0.5s ease; background: white; }
.accordion-content.active { max-height: 200px; padding: 20px; }

/* Footer */
footer { background: linear-gradient(135deg, #333, #222); color: white; padding: 80px 0 40px; }
.footer-content { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; margin-bottom: 40px; }
.footer-info h2 { color: rgb(230,222,179); margin-bottom: 20px; }
.footer-info p { display: block; text-align: justify; color: rgb(230,222,179); margin-bottom: 20px; }
.footer-elerheto { color: rgb(230,222,179);}
.footer-social { display: flex; gap: 20px; margin-top: 20px; }
.footer-social .social-icon { font-size: 1.5rem; }
.footer-table { width:100%; }

.footer-links a:link {
    color: white;
    text-decoration: none;
}

.footer-links a:hover {
    color: rgb(230,222,179);
}

/* --- ÚJ RÉSZ: MODÁLIS ABLAK STÍLUSAI --- */

.modal-overlay {
    position: fixed; /* A teljes képernyőt lefedi */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Fekete, áttetsző háttér */
    backdrop-filter: blur(5px); /* Elhomályosítja a hátteret */
    z-index: 2000; /* Minden más felett legyen */
    display: none; /* Alapból rejtett */
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    display: flex; /* Ha aktív, akkor láthatóvá tesszük */
    opacity: 1;
}

.modal-content {
    background: white;
    padding: 30px 40px;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

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

.modal-close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 2.5rem;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: #333;
}

#modal-title {
    margin-bottom: 20px;
    color: #333;
    font-family: 'Ubuntu', sans-serif;
}

#modal-description {
    color: #666;
    line-height: 1.7;
    max-height: 60vh; /* A maximális magasság a képernyő magasságának 60%-a */
    overflow-y: auto; /* Csak akkor jelenik meg függőleges görgetősáv, ha szükséges */
    padding-right: 15px; /* Egy kis hely a görgetősávnak, hogy ne tapadjon a szövegre */
}

/* Ez megakadályozza, hogy a háttérben lévő oldal görgethető legyen, amíg a modal nyitva van */
body.modal-open {
    overflow: hidden;
}

/* --- MÓDOSÍTOTT KAPCSOLATI ŰRLAP --- */
.contact-form {
    background: linear-gradient(45deg, rgb(230,222,179), rgb(219,208,149));
    padding: 40px; border-radius: 15px; box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
.contact-form h3 { color: #333; margin-bottom: 30px; text-align: center; }

.form-group { margin-bottom: 20px; position: relative; }

/* Stílus a hibaüzenetnek */
.form-group .error-message {
    color: #d93025; /* Egy jól látható piros szín */
    font-size: 0.8rem;
    font-weight: bold;
    display: none; /* Alapból rejtett */
    padding-left: 15px;
    margin-top: 5px;
}

/* Stílus a hibás beviteli mezőnek */
.form-group input.input-error {
    border-color: #d93025 !important; /* Felülírja a normál keretszínt */
    box-shadow: 0 0 5px rgba(217, 48, 37, 0.5);
}

.form-group i { position: absolute; left: 15px; top: 15px; color: rgb(129,123,90); }
.form-group input, .form-group textarea {
    width: 100%; padding: 15px 15px 15px 40px; border: 1px solid rgb(161, 157, 138);
    border-radius: 10px; font-size: 1rem; transition: all 0.3s ease;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    outline: none; border-color: rgb(177, 166, 102); box-shadow: 0 0 10px rgb(163, 157, 121);
}
.form-group textarea { height: 120px; resize: vertical; }

.people-group {
    display: flex;
    gap: 60px;
}

.people-group .form-group {
    flex: 1;
}

.people-group select {
    width: 100%;
    padding: 15px 15px 15px 35px; border: 1px solid rgb(161, 157, 138);
    border-radius: 10px; background-color: rgba(255, 255, 255);
    color: #333; font-weight: 500; margin-bottom: 10px;
    margin-right: 15px; color: #333; font-size: 1rem; transition: all 0.3s ease;
}

.date-group { display: flex; gap: 20px; }
.date-group .form-group { flex: 1; }
.form-group-options {
    padding: 10px 20px; border: 1px solid rgb(161, 157, 138);
    border-radius: 10px; background-color: rgba(255, 255, 255, 0.5);
}
.form-group-options p { color: #333; font-weight: 500; margin-bottom: 10px; }
.form-group-options label { margin-right: 15px; color: #333; font-size: 0.95rem; cursor: pointer; }
.form-group-options input { width: auto; margin-right: 5px; }

.submit-button {
    background: linear-gradient(45deg, rgb(110, 105, 86), rgb(145, 138, 102));
    color: white; padding: 15px 40px; border: none; border-radius: 10px;
    cursor: pointer; font-size: 1.1rem; width: 100%; transition: all 0.3s ease;
}
.submit-button:hover {
    transform: translateY(-2px); /*box-shadow: 0 8px 20px rgba(201,176,42,0.3);*/
}
.submit-button:disabled { background: #aaa; cursor: not-allowed; }

/* Animations */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-30px); } to { opacity: 1; transform: translateX(0); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(30px); } to { opacity: 1; transform: translateX(0); } }

/* Hamburger Gomb Stílusa */
.hamburger {
    display: none; /* Alapból rejtett (desktop nézet) */
    font-size: 1.8rem;
    color: rgb(230,222,179);
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1001; /* Biztosítjuk, hogy a menü felett legyen */
}

/* Responsive Design */
@media (max-width: 768px) { /* Csak a szélességet figyeljük */
    .hero h1 { font-size: 2.5rem; }

    /* Topbar mobil nézet */
    .topbar {
        padding: 5px 0;
    }
    
    .topbar-container {
        flex-direction: column;
        gap: 0px;
    }
    
    .topbar-item.email,
    .topbar-item.phone {
        justify-content: center;
    }
    
    .topbar-item {
        font-size: 14px;
    }
    
    .topbar-spacer {
        display: none;
    }

    nav {
        top: 60px; /* A topbar tényleges mobil magasságához igazítva */
    }

    /* A menüt átalakítjuk slide-in menüvé */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%; /* Kezdetben a képernyőn kívül van */
        width: 70%;
        height: 100vh;
        background: rgba(0,0,0,0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: right 0.4s ease-in-out;
    }

    /* Amikor a menü aktív (nyitva van), behozzuk a képernyőre */
    .nav-links.active {
        right: 0;
    }

    .logo {
    flex: none;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 5px 0px;
    }

    .logo-image {
    height: 40px;
    width: auto;
    }

    /* A hamburger gombot megjelenítjük mobilon */
    .hamburger {
        display: block;
    }

    /* A többi meglévő mobil stílusod */
    .about-content, .footer-content { grid-template-columns: 1fr; }
    .service-card { min-width: 250px; }
    .date-group { flex-direction: column; gap: 0; }
    .people-group { display: flex; gap: 20px; }
}
