@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&family=Playfair+Display:wght@400;700&display=swap');

:root {
    --primary-blue: #0B132B; /* Sötét "éjszakai" kék háttér */
    --secondary-blue: #16223F; /* Egy fokkal világosabb sötétkék a kártyáknak/menünek */
    --accent-red: #38E4B7; /* MENTA ZÖLD */
    
    --bg-body: #0B132B; 
    --light-bg: #16223F; 
    --text-color: #F8F9FA; /* Tiszta fehér szöveg */
    --text-grey: #B0C4DE; /* Világos kékesszürke a bekezdéseknek */
    --white: #16223F; /* Dobozok sötét háttere */
    
    --shadow-soft: 0 5px 20px rgba(0,0,0,0.4); 
    --shadow-hover: 0 15px 35px rgba(56, 228, 183, 0.15); /* Mentazöldes derengés */
    --border-light: 1px solid #233559; 
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Lato', sans-serif;
    margin: 0; padding: 0;
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--bg-body);
    font-size: 15px;
}

/* ==========================================================================
   KÖZÖS TIPOGRÁFIA
   ========================================================================== */
.site-title, .site-subtitle, h2, h3, .quote-text, .intro-title, .committee-title, 
.member-name, .card-info h3, .modal-name, .about-hero-text h2, .info-card h3, 
.hero-question, .hero-email-link, .card-name, .location-title, .program-title {
    font-family: 'Playfair Display', serif;
}

h2 {
    color: var(--accent-red); font-size: 26px; /* JAVÍTVA: Mentazöld h2 címek */
    border-bottom: 2px solid #233559; padding-bottom: 10px;
    margin: 0 0 25px 0;
}
h3 { color: var(--accent-red); font-size: 20px; margin: 30px 0 15px 0; }
h4 { color: var(--text-color); font-size: 16px; margin-bottom: 5px; } /* JAVÍTVA */
p { margin-bottom: 15px; text-align: justify; color: var(--text-grey); }

hr {
    border: 0; height: 1px;
    background-image: linear-gradient(to right, transparent, rgba(56, 228, 183, 0.4), transparent);
    margin: 50px 0;
}

/* ==========================================================================
   ALAP ELRENDEZÉS & HEADER
   ========================================================================== */
.container {
    max-width: 1250px; margin: 0 auto;
    background: var(--bg-body); box-shadow: var(--shadow-soft);
    min-height: 100vh; display: flex; flex-direction: column;
}

header {
    background: var(--secondary-blue); padding: 20px 40px; /* JAVÍTVA */
    border-bottom: 3px solid var(--accent-red); /* JAVÍTVA */
    position: sticky; top: 0; z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}
.header-content { display: flex; justify-content: space-between; align-items: center; }

.site-title { margin: 0; color: var(--text-color); font-size: 28px; font-weight: 700; text-transform: uppercase; } /* JAVÍTVA */
.site-subtitle { margin: 5px 0 0 0; color: var(--text-grey); font-size: 14px; font-style: italic; } /* JAVÍTVA */

/* ==========================================================================
   GOMBOK
   ========================================================================== */
.header-login-btn, .btn-simple, .custom-btn, .pay-btn-small {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    text-decoration: none; font-weight: 900; border: none; cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--accent-red); color: #0B132B !important; /* JAVÍTVA: Kontrasztos fekete szöveg a mentán */
    padding: 10px 20px; border-radius: 4px; font-size: 14px; text-transform: uppercase;
}
.header-login-btn:hover, .btn-simple:hover, .custom-btn:hover, .pay-btn-small:hover { 
    background-color: #2BCCA1; 
    transform: translateY(-2px); 
    box-shadow: 0 5px 15px rgba(56, 228, 183, 0.4); 
}

.hero-btn {
    background: var(--accent-red); color: #0B132B; /* JAVÍTVA */
    padding: 15px 40px; border-radius: 50px; text-transform: uppercase; font-weight: 900;
    box-shadow: 0 5px 15px rgba(56, 228, 183, 0.3);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; transition: all 0.3s ease;
}
.hero-btn:hover { background: #2BCCA1; transform: translateY(-3px) scale(1.02); box-shadow: 0 8px 25px rgba(56, 228, 183, 0.5); }

.admin-gomb {
    background: linear-gradient(135deg, #2BCCA1, var(--accent-red)); color: #0B132B !important; /* JAVÍTVA */
    padding: 8px 20px; border-radius: 30px; font-size: 13px; text-transform: uppercase; font-weight: 900;
    box-shadow: 0 4px 6px rgba(56, 228, 183, 0.2);
    display: inline-flex; align-items: center; justify-content: center; gap: 8px; text-decoration: none; transition: all 0.3s ease;
}
.admin-gomb:hover { transform: translateY(-2px); box-shadow: 0 6px 12px rgba(56, 228, 183, 0.4); }

/* ==========================================================================
   NAVIGÁCIÓ & NYELVVÁLASZTÓ
   ========================================================================== */
nav { background-color: var(--primary-blue); width: 100%; border-bottom: 1px solid #233559; }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
nav ul li { flex: 1; text-align: center; border-right: 1px solid #233559; }
nav ul li:last-child { border-right: none; }
nav ul li a {
    display: block; color: var(--text-color); padding: 15px 8px; /* JAVÍTVA: fehér szöveg a menüben */
    text-decoration: none; font-weight: 700; font-size: 12px; text-transform: uppercase;
    position: relative; white-space: nowrap; transition: background 0.3s;
}
nav ul li a::after {
    content: ''; position: absolute; width: 0; height: 3px; bottom: 0; left: 50%;
    background-color: var(--accent-red); transition: all 0.3s ease; transform: translateX(-50%);
}
nav ul li a:hover::after, nav ul li a.active::after { width: 100%; }
nav ul li a:hover, nav ul li a.active { background-color: rgba(255, 255, 255, 0.03); }

.lang-dropdown { position: relative; display: inline-block; }
.lang-dropbtn {
    background-color: var(--secondary-blue); color: var(--text-color); padding: 8px 15px; /* JAVÍTVA */
    font-size: 14px; font-weight: 600; border: 2px solid #233559; border-radius: 30px;
    cursor: pointer; transition: all 0.3s ease; display: flex; align-items: center; gap: 8px;
}
.lang-dropbtn:hover { background-color: var(--primary-blue); border-color: var(--accent-red); transform: translateY(-2px); }
.lang-dropdown-content {
    display: none; position: absolute; right: 0; background-color: var(--secondary-blue); /* JAVÍTVA */
    min-width: 160px; box-shadow: var(--shadow-soft); border-radius: 8px;
    overflow: hidden; z-index: 2000; border: var(--border-light); margin-top: 5px;
}
.lang-dropdown-content.show { display: block; }
.lang-dropdown-content a { color: var(--text-grey); padding: 10px 15px; text-decoration: none; display: flex; gap: 10px; border-bottom: 1px solid #233559; }
.lang-dropdown-content a:hover, .active-lang { background-color: var(--primary-blue); color: var(--accent-red); font-weight: bold; }

/* ==========================================================================
   KÁRTYÁK
   ========================================================================== */
.trainer-card, .contact-item, .business-card, .info-card, .doc-card, .member-card, .therapist-card {
    background: var(--secondary-blue); border: var(--border-light); border-radius: 12px; /* JAVÍTVA */
    box-shadow: var(--shadow-soft); transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s;
    position: relative; overflow: hidden;
}
.trainer-card:hover, .contact-item:hover, .business-card:hover, .info-card:hover, .doc-card:hover, .member-card:hover, .therapist-card:hover {
    transform: translateY(-6px); box-shadow: var(--shadow-hover); border-color: var(--accent-red);
}

.trainer-card, .therapist-card { display: flex; gap: 20px; align-items: center; padding: 25px; }
.business-card { padding: 30px; background-image: linear-gradient(to bottom right, var(--secondary-blue), var(--primary-blue)); }
.business-card::before { content: ''; position: absolute; left: 0; top: 20px; bottom: 20px; width: 4px; background: var(--accent-red); border-radius: 0 2px 2px 0; }
.info-card { padding: 35px; }
.info-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; }
.card-1::before { background: var(--accent-red); } .card-2::before { background: var(--text-color); } .card-3::before { background: var(--text-grey); }
.doc-card { padding: 20px; display: flex; align-items: center; gap: 15px; }
.member-card { display: flex; flex-direction: column; height: 100%; }

/* ==========================================================================
   SZEKCIÓK & GRID-ek
   ========================================================================== */
section { padding: 40px; flex: 1; background: var(--primary-blue); }

.contact-grid, .info-grid, .doc-grid, .therapist-grid, .members-grid { display: grid; gap: 25px; }
.contact-grid { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.info-grid { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.doc-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.therapist-grid { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
.members-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ==========================================================================
   MODALOK
   ========================================================================== */
.custom-modal, .profile-modal-overlay, .viewer-modal {
    display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(5, 10, 20, 0.85); backdrop-filter: blur(6px); /* JAVÍTVA */
    z-index: 9999; justify-content: center; align-items: center; padding: 20px; box-sizing: border-box;
}

.custom-modal-box, .profile-modal-content, .viewer-content {
    background: var(--secondary-blue); border-radius: 12px; position: relative; /* JAVÍTVA */
    border: 1px solid #233559;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5); animation: modalPop 0.3s ease-out;
}
.custom-modal-box { padding: 40px; width: 100%; max-width: 380px; }
.profile-modal-content { max-width: 900px; display: flex; max-height: 90vh; overflow-y: auto; }
.viewer-content { width: 90%; max-width: 1000px; height: 85vh; display: flex; flex-direction: column; overflow: hidden; }

@keyframes modalPop { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.close-x, .close-profile, .close-viewer {
    position: absolute; top: 15px; right: 20px; cursor: pointer;
    font-size: 24px; color: var(--text-grey); transition: color 0.2s; z-index: 10;
}
.close-x:hover, .close-profile:hover { color: var(--accent-red); }

/* ==========================================================================
   EGYEDI KOMPONENSEK
   ========================================================================== */
.hero-section {
    background: linear-gradient(135deg, #111D3B, #1C2E5C); color: var(--white); /* JAVÍTVA */
    padding: 80px 40px; border-radius: 12px; margin-bottom: 50px; text-align: center;
    position: relative; overflow: hidden; box-shadow: var(--shadow-soft);
    border: 1px solid #233559;
}
.hero-section h2 { font-size: 42px; border: none; color: var(--accent-red); margin-bottom: 20px; animation: fadeInUp 0.5s ease forwards; } /* JAVÍTVA */
.hero-section p { font-size: 18px; max-width: 800px; margin: 0 auto 30px; opacity: 0.9; color: var(--text-color); animation: fadeInUp 0.7s ease forwards; } /* JAVÍTVA */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

.quote-box {
    background: linear-gradient(to right, var(--secondary-blue), var(--primary-blue)); /* JAVÍTVA */
    border-left: 4px solid var(--accent-red); padding: 40px; margin: 50px 0;
    border-radius: 0 12px 12px 0; position: relative; box-shadow: var(--shadow-soft);
}
.quote-text { font-family: 'Georgia', serif; font-size: 19px; font-style: italic; color: var(--text-color); } /* JAVÍTVA */

.date-accordion { background: var(--secondary-blue); border: var(--border-light); border-radius: 12px; margin-bottom: 20px; overflow: hidden; transition: all 0.3s; box-shadow: var(--shadow-soft); } /* JAVÍTVA */
.date-accordion:hover { box-shadow: var(--shadow-hover); border-color: var(--accent-red); }
.accordion-header { display: flex; cursor: pointer; }
.date-badge { background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue)); color: var(--accent-red); width: 100px; padding: 20px 10px; text-align: center; display: flex; flex-direction: column; justify-content: center; font-weight: bold; border-right: 1px solid #233559; } /* JAVÍTVA */

.card-avatar, .trainer-img { width: 90px; height: 90px; border-radius: 50%; object-fit: cover; border: 3px solid #233559; } /* JAVÍTVA */
.modal-avatar { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 5px solid var(--secondary-blue); box-shadow: var(--shadow-soft); } /* JAVÍTVA */

/* ==========================================================================
   EGYÉB APRÓSÁGOK
   ========================================================================== */
.custom-input { width: 100%; padding: 12px; margin-bottom: 15px; border: var(--border-light); border-radius: 4px; box-sizing: border-box; background: var(--primary-blue); color: var(--text-color); } /* JAVÍTVA */
.switch-link { display: block; text-align: center; margin-top: 15px; font-size: 14px; color: var(--text-grey); cursor: pointer; text-decoration: underline; } /* JAVÍTVA */
.switch-link:hover { color: var(--accent-red); }

footer { background-color: #050A14; color: var(--text-grey); text-align: center; padding: 25px; font-size: 13px; margin-top: auto; border-top: 1px solid #233559; } /* JAVÍTVA */

#myBtn {
    display: none; position: fixed; bottom: 30px; right: 30px; z-index: 99;
    background-color: var(--accent-red); color: #0B132B; cursor: pointer; /* JAVÍTVA */
    width: 50px; height: 50px; border-radius: 50%; border: none; font-size: 20px; font-weight: bold;
    box-shadow: 0 4px 15px rgba(0,0,0,0.4); transition: all 0.3s;
}
#myBtn:hover { background-color: var(--text-color); transform: translateY(-5px); }

@media (max-width: 1000px) {
    .header-content { flex-direction: column; text-align: center; gap: 20px; }
    .title-area, .login-area { max-width: 100%; width: 100%; justify-content: center; }
    nav ul { flex-direction: column; }
    nav ul li { border-right: none; border-bottom: 1px solid #233559; }
    .profile-modal-content { flex-direction: column; overflow-y: auto; }
    .modal-sidebar, .modal-main { width: 100%; padding: 25px; }
    .about-hero { flex-direction: column-reverse; text-align: center; }
    .about-image-wrapper { width: 100%; max-width: 300px; }
}

@media (max-width: 768px) {
    section { padding: 20px 15px; }
    header { padding: 15px 20px; }
    .about-hero { padding: 20px 15px; gap: 20px; }
    .about-img-styled { transform: rotate(0deg) !important; width: 100%; height: auto; border-width: 3px; }
    .site-title { font-size: 22px; }
    h2, .about-hero-text h2, .intro-title, .committee-title { font-size: 24px; }
    .hero-section h2 { font-size: 28px; }
    .hero-section { padding: 40px 20px; }
    .contact-grid, .info-grid, .doc-grid, .therapist-grid, .members-grid { grid-template-columns: 1fr; }
    .info-card, .business-card, .trainer-card, .therapist-card, .contact-hero-card { padding: 20px; }
    .doering-images { flex-direction: column; width: 100%; }
    .doering-images img { width: 100%; max-width: 100%; height: auto; margin-bottom: 10px; }
    .header-info { padding: 15px; flex-direction: column; align-items: flex-start; gap: 10px; }
    .toggle-icon { position: absolute; right: 15px; top: 25px; }
    .date-badge { width: 80px; padding: 15px 5px; }
    .accordion-content { padding: 20px 15px; }
    .custom-modal-box { padding: 25px 20px; }
}

/* ==========================================================================
   KAPCSOLAT SZEKCIÓ EXTRÁK
   ========================================================================== */
.contact-hero-card {
    background: var(--secondary-blue); max-width: 800px; margin: 0 auto 60px auto; padding: 50px 40px; text-align: center; border-radius: 12px; box-shadow: var(--shadow-soft); border-top: 5px solid var(--accent-red); position: relative; /* JAVÍTVA */
}
.hero-icon { font-size: 45px; display: block; margin-bottom: 15px; filter: drop-shadow(0 4px 6px rgba(56,228,183,0.2)); }
.hero-question { font-family: 'Playfair Display', serif; font-size: 26px; color: var(--text-color); margin: 0 0 15px 0; font-weight: 700; } /* JAVÍTVA */
.hero-email-link { font-family: 'Lato', sans-serif; font-size: 24px; color: var(--accent-red); font-weight: 900; text-decoration: none; transition: color 0.3s ease; display: inline-block; padding-bottom: 5px; border-bottom: 2px solid transparent; }
.hero-email-link:hover { color: var(--text-color); border-bottom-color: var(--text-color); }

.card-role { font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--text-grey); font-weight: 700; display: block; margin-bottom: 8px; } /* JAVÍTVA */
.card-name { font-family: 'Playfair Display', serif; font-size: 22px; color: var(--accent-red); margin: 0 0 15px 0; font-weight: 700; } /* JAVÍTVA */
.card-email { display: inline-block; padding: 8px 15px; background: var(--primary-blue); color: var(--text-color); text-decoration: none; border-radius: 6px; font-size: 13px; font-weight: 800; transition: all 0.3s ease; border: 1px solid #233559; } /* JAVÍTVA */
.card-email:hover { background: var(--accent-red); color: #0B132B; border-color: var(--accent-red); transform: translateY(-2px); box-shadow: 0 4px 10px rgba(56,228,183,0.3); }

.location-plaque {
    background: linear-gradient(135deg, var(--secondary-blue) 0%, var(--primary-blue) 100%); color: white; padding: 50px 40px; border-radius: 16px; text-align: center; max-width: 800px; margin: 60px auto 0 auto; box-shadow: var(--shadow-soft); position: relative; overflow: hidden; border: 1px solid #233559; /* JAVÍTVA */
}
.location-plaque::before { content: '📍'; position: absolute; font-size: 180px; opacity: 0.05; top: -20px; right: -20px; pointer-events: none; }
.location-title { font-family: 'Playfair Display', serif; font-size: 30px; color: var(--accent-red); margin-bottom: 10px; border: none; position: relative; z-index: 2; } /* JAVÍTVA */
.location-address { font-size: 18px; opacity: 0.9; margin-bottom: 25px; font-weight: 300; position: relative; z-index: 2; color: var(--text-color); }
.map-btn { display: inline-block; color: #0B132B; background: var(--accent-red); text-decoration: none; font-size: 15px; font-weight: bold; padding: 12px 25px; border-radius: 30px; transition: all 0.3s ease; position: relative; z-index: 2; border: none; } /* JAVÍTVA */
.map-btn:hover { background: #2BCCA1; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(56,228,183,0.4); }