/* ==========================================================================
   1. GLOBÁLIS BEÁLLÍTÁSOK & VÁLTOZÓK (Minden oldalon aktív)
   ========================================================================== */
:root {
    --bg-dark: #121212;
    --bg-card: #1e1e1e;
    --ford-red: #d90000;
    --text-light: #f4f4f4;
    --text-gray: #aaa;
}

body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
}

main {
    padding: 2rem 1rem 160px;
    max-width: 1100px;
    margin: auto;
}

/* Alapértelmezett szakasz elrejtés a többoldalas struktúrához */
main > section {
    display: none;
}

/* Közös címsor stílus minden aloldalon */
.section-title {
    border-bottom: 2px solid var(--ford-red);
    padding-bottom: 5px;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    text-align: center; 
}


/* ==========================================================================
   2. FEJLÉC (HEADER) & LOGÓ (Minden oldalon aktív)
   ========================================================================== */
header {
    background-color: #1a1a1a;
    padding: 2.5rem 1rem;
    text-align: center;
    border-bottom: 4px solid var(--ford-red);
}

h1 {
    margin: 0;
    font-family: 'Pristina', 'Brush Script MT', cursive;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: normal;
    text-transform: none;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

/* A piros döntött doboz a "Crew" felirat körül */
h1 span {
    font-family: 'Impact', 'Arial Black', sans-serif;
    position: relative;
    color: #ffffff;
    font-size: clamp(2rem, 5vw, 3.2rem);
    padding: 2px 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    z-index: 1;
    margin: 0 15px;
}

h1 span::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--ford-red);
    border: 4px solid #000;
    transform: skewX(-18deg);
    border-radius: 14px 0 14px 0;
    z-index: -1;
}


/* ==========================================================================
   3. NAVIGÁCIÓS SÁV (MENÜ) (Minden oldalon aktív)
   ========================================================================== */
nav {
    background-color: #000;
    position: sticky;
    top: 0;
    z-index: 100;
    width: 100%;
}

.menu-btn {
    display: none; 
    color: var(--text-light);
    font-size: 28px; 
    padding: 10px;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    background-color: #111;
    border-bottom: 1px solid #333;
}

.menu-btn:hover {
    color: var(--ford-red);
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.nav-links a, .dropbtn {
    display: block;
    color: var(--text-light);
    padding: 15px 18px;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 13px;
    transition: 0.3s;
    cursor: pointer;
    text-align: center;
}

.nav-links a:hover, .dropdown:hover .dropbtn {
    background-color: var(--ford-red);
}

/* Lenyíló menük korábbi/tartalék stílusa */
.dropdown { position: relative; display: inline-block; }

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #1a1a1a;
    min-width: 200px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.8);
    border-top: 3px solid var(--ford-red);
    text-align: center;
}

.dropdown-content a { display: block; padding: 12px 16px; text-transform: none; }
.dropdown:hover .dropdown-content { display: block; }
.dropdown-content.show-drop { display: block !important; }


/* ==========================================================================
   4. KÖZÖS GOMBOK & LEBEGŐ KÖZÖSSÉGI GOMBOK (Minden oldalon aktív)
   ========================================================================== */
.btn-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
    justify-content: center;
}

.btn {
    display: inline-block;
    background-color: var(--ford-red);
    color: white;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 4px;
    text-align: center;
    font-weight: bold;
    transition: 0.2s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    font-family: inherit;
}

.btn:hover { background-color: #b30000; }

.btn-fb { background-color: #1877F2; }
.btn-fb:hover { background-color: #145dbf; }

.btn-call { background-color: #28a745; }
.btn-call:hover { background-color: #218838; }

/* Univerzális szürke "Vissza" gomb az aloldalak fejlécében */
.btn-back {
    display: inline-block;
    background-color: #333;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    margin-bottom: 20px;
    transition: 0.3s;
}

.btn-back:hover { background-color: var(--ford-red); }

/* Jobb alsó lebegő Facebook és YouTube ikonok */
.fb-floating {
    position: fixed;
    bottom: 80px;
    right: 20px;
    background-color: #1877F2;
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    z-index: 1000;
    transition: 0.2s;
}

.fb-floating:hover {
    transform: scale(1.05);
}

.yt-floating {
    position: fixed;
    bottom: 20px; 
    right: 20px;
    background-color: #FF0000; 
    color: white;
    padding: 12px 20px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    z-index: 1000;
    transition: 0.2s;
}

.yt-floating:hover {
    transform: scale(1.05);
}


/* ==========================================================================
   5. INDEX.HTML (Rendezvények főoldal) & RÉSZLETES ESEMÉNYEK
   ========================================================================== */
.event-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.event-card {
    background-color: var(--bg-card);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 1.5rem;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.3s;
}

.event-card h3 {
    margin-top: 0;
    color: var(--text-light);
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.event-card p {
    margin: 8px 0;
}

.event-btn-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 15px;
    justify-content: center;
}

/* Szöveges blokk konténer az eseményekhez, házirendhez és jótékonysági leírásokhoz */
.event-details {
    display: none;
    text-align: center;
}


/* ==========================================================================
   6. SHOP.HTML, GALERIA.HTML & SEGITSEG.HTML (Mappás/Kártyás választók)
   ========================================================================== */
.folder-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center; 
    width: 100%;
}

.folder-card {
    background-color: var(--bg-card);
    padding: 20px;
    border-radius: 8px;
    border-left: 5px solid var(--ford-red);
    cursor: pointer;
    font-size: 1.3rem;
    font-weight: bold;
    transition: 0.2s;
    display: flex;
    justify-content: center; 
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 600px; 
    text-align: center;
    box-sizing: border-box;
}

.folder-card:hover {
    background-color: #2a2a2a;
    transform: scale(1.02); 
}

.folder-title {
    margin-top: 0;
    color: var(--text-light);
    font-size: 1.5rem;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 1.5rem;
    text-align: center;
}

.gallery-content {
    display: none;
    text-align: center; 
}


/* ==========================================================================
   7. TÁMOGATÓK, SZAKEMBEREK & BONTÓSOK KÁRTYÁI (tamogatok.html, stb.)
      + TERMÉK- ÉS ESEMÉNY KÉPGALÉRIÁK
   ========================================================================== */
.gallery-grid, .card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px; 
    justify-content: center; 
}

.gallery-item, .card {
    background-color: var(--bg-card);
    border: 1px solid #2a2a2a;
    border-radius: 6px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}

.card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    box-sizing: border-box;
    flex-grow: 1; 
    justify-content: center;
}

.gallery-item:hover, .card:hover, .event-card:hover { 
    transform: scale(1.02); 
}

.gallery-item img, .card img {
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3; 
    object-fit: contain; 
    background-color: #0a0a0a; 
    display: block;
    cursor: pointer;
    border-bottom: 1px solid #2a2a2a;
}

/* Egyedül álló, középre zárt képek (pl. plakátok, támogatói igazolások) */
.gallery-item.centered-single {
    grid-column: 1 / -1;
    max-width: 550px;
    width: 100%;
    margin: 0 auto;
}


/* ==========================================================================
   8. LIGHTBOX (KÉPNAGYÍTÓ MODAL) (Minden képet tartalmazó oldalon)
   ========================================================================== */
#lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

#lightbox img {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    border-bottom: none;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    font-size: 50px;
    color: white;
    cursor: pointer;
    transition: 0.2s;
    line-height: 1;
}

.close-btn:hover { color: var(--ford-red); }


/* ==========================================================================
   9. SHOP ALOLDALAK (matricak.html, ajandekok.html) - ÁRLISTÁK ÉS ELÉRHETŐSÉGEK
   ========================================================================== */
.shop-contact {
    background-color: #161616;
    border-left: 4px solid var(--ford-red);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center; 
    text-align: center;
    gap: 12px;
    transition: 0.2s;
}

.shop-contact:hover {
    background-color: #2a2a2a;
    transform: scale(1.02);
}

.shop-contact p {
    margin: 0;
    font-size: 1.1rem;
    color: var(--text-light);
}

.shop-contact-btn {
    background-color: #1877F2; 
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: 0.3s;
}

.shop-contact-btn:hover {
    background-color: #145dbf;
}

.price {
    font-size: 1.3rem;
    color: var(--ford-red);
    font-weight: bold;
    margin: 0.5rem 0;
}

.price-list-container {
    background-color: var(--bg-card);
    border: 1px solid #2a2a2a;
    border-radius: 8px;
    padding: 2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.price-list-title {
    text-align: center;
    color: var(--text-light);
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 1.5rem;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
}

.price-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed #333;
    font-size: 1.1rem;
}

.price-list-item:last-of-type {
    border-bottom: none;
}

.price-value {
    color: var(--ford-red);
    font-weight: bold;
    font-size: 1.2rem;
    white-space: nowrap;
    margin-left: 15px;
}

.price-list-note {
    margin-top: 2rem;
    text-align: center;
    font-style: italic;
    color: var(--text-gray);
    font-size: 0.95rem;
    background-color: #1a1a1a;
    padding: 15px;
    border-radius: 6px;
    border-left: 3px solid var(--ford-red);
}


/* ==========================================================================
   10. BUSZKESEGEINK.HTML (Amikre büszkék vagyunk oldal)
   ========================================================================== */
.pride-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 14px 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 1rem;
    color: #eee;
}

.pride-item:last-child {
    border-bottom: none;
}

.pride-item-clickable {
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
    background: rgba(217, 0, 0, 0.05);
    border-left: 3px solid var(--ford-red, #d90000);
    border-radius: 4px;
    transition: all 0.2s ease;
    gap: 10px;
}

.pride-item-clickable:hover {
    background: rgba(217, 0, 0, 0.12);
    padding-left: 22px;
}

.pride-header-row {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
}

.year-badge {
    display: inline-block;
    background-color: #1e1e1e;
    color: var(--ford-red, #ff4444);
    border: 1px solid rgba(217, 0, 0, 0.4);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 20px;
    flex-shrink: 0;
    letter-spacing: 1px;
}

.details-btn-sub {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ford-red, #ff4444);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding-top: 2px;
}


/* ==========================================================================
   11. RADIO-KOD.HTML (Rádió kód generálás oldal)
   ========================================================================== */
.radio-content-box {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    color: #fff;
    text-align: left;
    line-height: 1.8;
}

.action-btn {
    display: inline-block;
    background: #ff0000;
    color: #fff;
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 5px;
    font-family: Arial, sans-serif;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.action-btn:hover {
    background-color: #cc0000;
    transform: scale(1.05);
}

.back-btn-small {
    display: inline-block;
    background-color: #222;
    color: #fff;
    padding: 8px 16px;
    text-decoration: none;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    font-size: 14px;
    margin-top: 30px;
    transition: background-color 0.3s ease;
}

.back-btn-small:hover {
    background-color: #ff0000;
}


/* ==========================================================================
   12. RESZPONZIVITÁS & MOBILNÉZET (Minden oldalon aktív mobilon)
   ========================================================================== */
@media (max-width: 1024px) {
    h1 {
        font-size: 1.8rem;
        flex-wrap: nowrap; 
        white-space: nowrap;
    }

    h1 span {
        font-size: 1.3rem;
        padding: 2px 8px;
        margin-left: 12px; 
        margin-right: 6px; 
        letter-spacing: 1px;
    }

    nav {
        position: static !important;
    }

    .menu-btn {
        display: block; 
    }

    .nav-links {
        display: none; 
        background-color: #0a0a0a;
    }

    /* Kinyitott menü: pontosan akkora, amekkora a menüpontok összessége, nulla üres hellyel */
    .nav-links.show {
        display: flex !important;
        flex-direction: column !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .nav-links a, .dropbtn {
        width: 100%;
        text-align: center;
        box-sizing: border-box;
        border-bottom: 1px solid #222;
        display: block;
        margin-bottom: 0 !important; /* eltünteti az alsó nagy fekete rést */
    }

    .dropdown { width: 100%; }
    .dropdown-content { position: static; width: 100%; }

    .gallery-grid, .card-grid {
        grid-template-columns: 1fr;
    }

    .folder-card {
        font-size: 1.1rem;
        padding: 15px;
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    nav {
        position: static !important;
    }
    .nav-links a, .dropbtn {
        margin-bottom: 0 !important;
    }
}


/* --- Kiemelt figyelmeztetés (pl. regisztráció szükséges) --- */
.alert-notice {
    color: #ff3333;
    background-color: rgba(217, 0, 0, 0.15);
    border: 2px solid var(--ford-red, #d90000);
    padding: 12px 20px;
    border-radius: 6px;
    font-size: 1.25rem;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    margin: 20px auto;
    max-width: fit-content;
    box-shadow: 0 0 15px rgba(217, 0, 0, 0.35);
}

/* ==========================================================================
   NINCS KÖZELGŐ RENDEZVÉNY BLOKK
   ========================================================================== */
.no-event-banner {
    max-width: 620px;
    margin: 40px auto;
    padding: 30px;
    background-color: var(--bg-card);
    border-left: 6px solid var(--ford-red);
    border-radius: 6px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
    text-align: center;
}

.no-event-badge {
    display: inline-block;
    background-color: #222;
    color: var(--ford-red);
    border: 1px solid rgba(217, 0, 0, 0.4);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 2px;
    padding: 4px 14px;
    border-radius: 4px;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.no-event-title {
    font-size: 1.6rem;
    color: #fff;
    margin: 0 0 10px;
    font-weight: 700;
}

.no-event-desc {
    color: #aaa;
    margin: 0 0 20px;
    font-size: 1rem;
}

.event-info-box {
    background-color: var(--bg-card);
    padding: 20px;
    border-left: 4px solid var(--ford-red);
    border-radius: 6px;
    margin: 25px 0;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.event-info-box:hover {
    background-color: #2a2a2a;
    transform: scale(1.02);
}