/* =================================================================atia */
/* 1. GLOBÁLIS ÉS ALAPSTÍLUSOK (Minden oldalra érvényes) */
/* ================================================================= */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #faf8f5;
    color: #4a4543;
    -webkit-text-size-adjust: 100%;
}

/* Felső kép alapok */
.header-container {
    width: 100%;
    height: 350px;
    overflow: hidden; 
    display: flex;
    justify-content: center;
    align-items: center;
}

#top-image {
    width: 100%;        
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    display: block;       
}

/* Navigációs menüsor alapok */
.navbar {
    background-color: #9c8473;
    text-align: center;
    padding: 12px 0;
}

.navbar ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar li {
    display: inline;
    margin: 0 20px;
}

.navbar a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: color 0.3s;
}

.navbar a:hover, .navbar a.active {
    color: #e3c4a8;
}

/* Fő tartalom doboz */
.content {
    max-width: 600px;
    margin: 40px auto;
    background: #ffffff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.04);
    box-sizing: border-box;
}

.content h1, .content h2, .terkep-kiegeszito h3 {
    text-align: center;
    color: #6b5b53; 
    margin-bottom: 10px;
}

.content > p {
    text-align: center;
    color: #777675;
    margin-bottom: 30px;
}


/* ================================================================= */
/* 2. FŐOLDAL STÍLUSAI */
/* ================================================================= */
.tiszta-gif {
    max-width: 100%;
    width: 480px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: block;
    margin: 0 auto;
}

.content p a {
    color: #9c8473;
    font-weight: 600;
    text-decoration: underline;
    transition: color 0.3s;
}

.content p a:hover {
    color: #836d5d;
}


/* ================================================================= */
/* 3. MENETREND OLDAL STÍLUSAI */
/* ================================================================= */
body.menetrend-oldal {
    background-color: #faf8f5;
}

body.menetrend-oldal .navbar {
    background-color: #70292B; 
}

body.menetrend-oldal .navbar a:hover, 
body.menetrend-oldal .navbar a.active {
    color: #ffcccc;
}

.menetrend-kep-container {
    width: 100%;
    margin-bottom: 25px;
    text-align: center;
}

.menetrend-kep {
    width: 100%;
    max-height: 350px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: block;
}

.menetrend-lista {
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.menetrend-elem {
    display: flex;
    align-items: flex-start;
    background: #fcfbfa;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #b8977e;
}

.menetrend-elem .ido {
    font-size: 18px;
    font-weight: bold;
    color: #6b5b53 !important;
    min-width: 70px;
    padding-top: 2px;
}

.program-leiras h3 {
    margin: 0 0 5px 0;
    font-size: 18px;
    color: #333;
    text-align: left !important;
}

.program-leiras p {
    margin: 0;
    color: #666;
    font-size: 14px;
    text-align: left !important;
}


/* ================================================================= */
/* 4. HELYSZÍN OLDAL STÍLUSAI */
/* ================================================================= */
body.helyszin-oldal {
    background-color: #f4f6f0; 
}

body.helyszin-oldal .navbar {
    background-color: #6b7a59; 
}

body.helyszin-oldal .navbar a:hover, 
body.helyszin-oldal .navbar a.active {
    color: #d2dfc4;
}

.header-container-dupla {
    width: 100%;
    height: 350px;
    display: flex;
    gap: 0;
    overflow: hidden;
}

.dupla-kep {
    width: 50%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.bal-kep {
    object-position: center 4%; 
}

.jobb-kep {
    object-position: center 55%; 
}

.helyszin-kepek-nagy {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 25px 0;
    align-items: center;
}

.helyszin-kepek-nagy img {
    width: 100%;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.terkep-kiegeszito {
    margin-top: 40px;
    background: #fcfbfa;
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #b8977e !important;
}

.terkep-kiegeszito h3 {
    margin-top: 0;
    color: #6b5b53;
    font-size: 18px;
}

.terkep-container {
    width: 100%;
    margin: 15px 0;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.terkep-container iframe {
    display: block;
    width: 100%;
    height: 200px; 
}

.helyszin-link {
    text-align: center;
    margin-top: 25px;
}

.helyszin-link a {
    color: #6b5b53;
    font-weight: bold;
    text-decoration: none;
    font-size: 18px;
}

.helyszin-link a:hover {
    text-decoration: underline;
}


/* ================================================================= */
/* 5. RSVP OLDAL STÍLUSAI ÉS MOBIL-OPTIMALIZÁLÁSA */
/* ================================================================= */
body.rsvp-oldal {
    background-color: #f9f4f5; 
}

body.rsvp-oldal .navbar {
    background-color: #CB6843; 
}

body.rsvp-oldal .navbar a:hover, 
body.rsvp-oldal .navbar a.active {
    color: #f2d6e0;
}

body.rsvp-oldal #top-image {
    object-position: center 45%; 
}

.rsvp-banner-container {
    text-align: center;
    margin: 25px auto 10px auto;
    max-width: 600px;
    padding: 0 15px;
}

.rsvp-banner-img {
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: block;
}

/* Form elemek */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #555453;
}

.form-group input[type="text"], 
.form-group input[type="number"], 
.form-group textarea {
    width: 100%;
    padding: 12px; /* Kicsit nagyobb érintési felület mobilon */
    border: 1px solid #e0dcd5;
    border-radius: 4px;
    box-sizing: border-box;
    background-color: #fcfbfa;
    font-family: inherit;
    font-size: 16px; /* Megakadályozza az iOS automata zoomolását fókuszáláskor */
}

/* Radio gombok reszponzív elrendezése */
.radio-group {
    display: flex;
    flex-wrap: wrap; /* Mobilon átugorhatnak sorba ha kell */
    gap: 20px;
}

.radio-group label {
    font-weight: normal;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 16px;
}

/* Rádiógombok méretének növelése mobilos kattintáshoz */
.radio-group input[type="radio"] {
    transform: scale(1.2);
    margin: 0;
    cursor: pointer;
}

#extra-questions {
    background: #f7f5f0;
    padding: 15px;
    border-radius: 6px;
    border-left: 4px solid #b8977e;
    margin-bottom: 20px;
    display: none; /* Alapból rejtett, JS nyitja */
}

.submit-btn {
    background-color: #9c8473;
    color: white;
    border: none;
    padding: 14px 20px;
    font-size: 16px;
    font-weight: bold;
    width: 100%;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background-color: #836d5d;
}

.form-group textarea {
    resize: vertical;
}


/* ================================================================= */
/* 6. RESPONSIVE / MOBIL NÉZET (Max szélesség: 768px) */
/* ================================================================= */
@media screen and (max-width: 768px) {
    .content {
        margin: 15px 10px;
        padding: 20px 15px;
    }

    .navbar li {
        display: block;        
        margin: 8px 0;        
    }

    .navbar {
        padding: 8px 0;
    }

    .menetrend-elem {
        flex-direction: column; 
        gap: 5px;
    }

    .menetrend-elem .ido {
        min-width: auto;
    }

    .header-container-dupla {
        height: 250px; 
    }

    /* Mobilon a rádiógombok is kényelmesebben férnek el */
    .radio-group {
        gap: 15px;
    }
}