/* ===== Responsive Calendar ===== */
@media (max-width: 768px) {
    .calendar {
        padding: 10px;
        border-radius: 8px;
        width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }
    .weekdays, .days {
        grid-template-columns: repeat(7, 1fr);
        width: 100%;
    }
    .day {
        min-height: 20px;
        font-size: 11px;
        padding: 3px;
    }
}

@media (max-width: 480px) {
    .calendar {
        padding: 5px;
        border-radius: 6px;
        width: 100%;
        min-width: 0;
    }
    .weekdays, .days {
        grid-template-columns: repeat(7, 1fr);
        width: 100%;
    }
    .day {
        min-height: 20px;
        font-size: 10px;
        padding: 2px;
    }
}
/* ===== Announcements Section ===== */
.announcement-save-btn {
    margin: 0.5em auto 0 auto;
    display: block;
    background: #000;
    color: #fff;
    border: none;
    padding: 0.5em 1.2em;
    border-radius: 4px;
    cursor: pointer;
    min-width: 150px;
    font-size: 1em;
    font-weight: 500;
    text-align: center;
    transition: background 0.2s;
}
.announcement-save-btn:hover {
    background: #222;
}
.announcement-benefit {
    margin-top: 2em;
    color: #fff;
    text-align: center;
    font-size: 1.05em;
    background: none;
    border-radius: 0;
    padding: 0;
}
/* ===== Announcements Section ===== */
.announcement-save-btn {
    margin: 0.5em auto 0 auto;
    display: block;
    background: #000;
    color: #fff;
    border: none;
    padding: 0.5em 1.2em;
    border-radius: 4px;
    cursor: pointer;
    min-width: 150px;
    font-size: 1em;
    font-weight: 500;
    text-align: center;
    transition: background 0.2s;
}
.announcement-save-btn:hover {
    background: #222;
}
.announcement-benefit {
    margin-top: 2em;
    color: #fff;
    text-align: center;
    font-size: 1.05em;
    background: none;
    border-radius: 0;
    padding: 0;
}
/* ===== Welcome Page ===== */
.welcome-title {
    color: #fff;
    font-size: 2.2em;
    font-weight: 700;
    margin-bottom: 0.3em;
    text-align: center;
    letter-spacing: 0.5px;
}
.welcome-intro {
    color: #fff;
    font-size: 1.15em;
    margin-bottom: 1.5em;
    text-align: center;
    font-weight: 400;
}

.welcome-menu-list {
    margin: auto;
    width: 80%;
    padding: 0;
}

.welcome-menu-link {
    text-decoration: none;
    color: inherit;
    display: block;
    padding: 0.7rem 0;
}

.welcome-menu-link h2 {
    color: #ffffff;
    text-align: center;
    font-size: 1.4rem;
    transition: color 0.2s ease, transform 0.2s ease;
    display: block;
    margin: 1rem auto;
}

.welcome-menu-list .welcome-menu-link {
    text-align: center;
}

.welcome-menu-link:hover h2,
.welcome-menu-link:focus h2,
.welcome-menu-link:active h2 {
    color: #d3d3d3;
    transform: scale(1.06);
}

.welcome-menu-separator {
    border-bottom: 1px solid #000000;
    width: 100%;
}

/* ===== Blog ===== */
.blog-page {
    padding: 48px 0 72px;
}

.blog-container {
    max-width: 920px;
}

.blog-hero {
    margin-bottom: 28px;
    color: #fff;
}

.blog-hero h2 {
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.blog-hero p {
    font-size: 1.05rem;
    color: #d6d6d6;
    max-width: 760px;
}

.blog-flash {
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 20px;
    font-size: 0.98rem;
}

.blog-flash-success {
    background: #d8f5d0;
    color: #173b14;
}

.blog-flash-error {
    background: #ffe1e1;
    color: #5a1111;
}

.blog-compose-card,
.blog-list-section {
    background: #ffffff;
    border-radius: 18px;
    padding: 24px;
    box-shadow: 0 14px 34px rgba(0, 0, 0, 0.18);
}

.blog-compose-card {
    margin-bottom: 28px;
}

.blog-compose-card h3,
.blog-list-section h3 {
    font-size: 1.35rem;
    margin-bottom: 18px;
}

.blog-compose-form {
    display: grid;
    gap: 16px;
}

.blog-form-group {
    display: grid;
    gap: 8px;
}

.blog-form-group label {
    font-weight: 600;
}

.blog-form-group input,
.blog-form-group textarea {
    width: 100%;
    border: 1px solid #cfd4dc;
    border-radius: 12px;
    padding: 12px 14px;
    font: inherit;
    background: #fafafa;
}

.blog-form-group textarea {
    min-height: 240px;
    resize: vertical;
    line-height: 1.7;
}

.blog-submit-btn {
    justify-self: start;
    background: #000;
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 12px 20px;
    font: inherit;
    cursor: pointer;
}

.blog-submit-btn:hover {
    background: #202020;
}

.blog-empty-state {
    padding: 24px;
    border-radius: 14px;
    background: #f6f6f6;
    color: #666;
    text-align: center;
}

.blog-articles-list {
    display: grid;
    gap: 16px;
}

.blog-article-card {
    border: 1px solid #d9dee5;
    border-radius: 16px;
    overflow: hidden;
    background: #fcfcfc;
}

.blog-article-summary {
    list-style: none;
    cursor: pointer;
    padding: 18px 20px;
    background: linear-gradient(180deg, #ffffff 0%, #f3f5f7 100%);
}

.blog-article-summary-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.blog-article-summary-link:hover .blog-article-title {
    text-decoration: underline;
}

.blog-article-summary::-webkit-details-marker {
    display: none;
}

.blog-article-summary-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-bottom: 10px;
    font-size: 0.9rem;
    color: #666;
}

.blog-article-author {
    font-weight: 700;
    color: #1c1c1c;
}

.blog-article-title {
    font-size: 1.25rem;
    line-height: 1.35;
    font-weight: 700;
    color: #111;
}

.blog-article-excerpt {
    margin-top: 10px;
    color: #4d4d4d;
    line-height: 1.6;
}

.blog-article-read-more {
    display: inline-block;
    margin-top: 12px;
    font-weight: 700;
    color: #111;
}

.blog-article-content-wrap {
    padding: 22px 20px 24px;
    border-top: 1px solid #e2e7ee;
    background: #fff;
}

.blog-article-content-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-bottom: 18px;
    font-size: 0.92rem;
    color: #666;
}

.blog-article-content {
    font-size: 1.02rem;
    line-height: 1.9;
    color: #1c1c1c;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.blog-article-editor {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #e2e7ee;
}

.blog-article-editor h4 {
    margin-bottom: 14px;
    font-size: 1.05rem;
}

.blog-article-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.blog-delete-form {
    margin-top: 14px;
}

.blog-delete-btn {
    background: #b42318;
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 11px 18px;
    font: inherit;
    cursor: pointer;
}

.blog-delete-btn:hover {
    background: #8f1b12;
}

.blog-article-detail-card {
    display: grid;
    gap: 18px;
}

.blog-article-detail-content {
    margin-top: 6px;
}

.blog-back-link {
    justify-self: start;
    color: #111;
    font-weight: 700;
    text-decoration: none;
}

.blog-back-link:hover {
    text-decoration: underline;
}

.blog-not-found-text {
    color: #555;
}

@media (max-width: 768px) {
    .blog-page {
        padding: 28px 0 48px;
    }

    .blog-compose-card,
    .blog-list-section {
        padding: 18px;
        border-radius: 14px;
    }

    .blog-hero h2 {
        font-size: 1.8rem;
    }

    .blog-article-summary,
    .blog-article-content-wrap {
        padding: 16px;
    }

    .blog-article-title {
        font-size: 1.08rem;
    }

    .blog-form-group textarea {
        min-height: 180px;
    }
}
/* ===== Reset & base ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html, body {
    height: 100%;
    min-height: 100vh;
    width: 100%;
    min-width: 100%;
    margin: 0;
    padding: 0;
}

:root {
    --color-bg: #000000;
    --color-text: #111111;
    --color-accent: #ffffff;
    --color-card: #ffffff;
    --color-muted: #666666;
    --color-border: #d3d3dd;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
}

/* ===== Layout ===== */
main {
    flex: 1 0 auto;
    width: 100%;
}

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

/* ===== Header ===== */
header {
    background: #000000;
    color: #ffffff;
    padding: 14px 20px;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--color-accent);
}

header h1 {
    font-size: 22px;
    letter-spacing: 1px;
}

.header-row {
    margin-top: 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

header nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

header nav a {
    color: #ffffff;
    text-decoration: none;
    padding-bottom: 2px;
    border-bottom: 2px solid transparent;
}

header nav a:hover {
    color: var(--color-accent);
    border-bottom-color: var(--color-accent);
}

.lang-switcher {
    margin-left: auto;
    font-size: 12px;
    color: var(--color-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-switcher a {
    color: var(--color-muted);
    text-decoration: none;
}

.lang-switcher a:hover {
    color: var(--color-accent);
}

.header-icons {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-icon {
    color: #ffffff;
    text-decoration: none;
    transition: opacity 0.2s ease;
    cursor: pointer;
    background: transparent;
    border: 0;
    padding: 0;
    line-height: 0;
}

@media (hover: hover) {
    .profile-icon:hover {
        opacity: 0.8;
    }
}

.profile-icon img,
img.profile-icon {
    width: 40px;
    height: 40px;
    display: block;
}

.profile-dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-menu {
    display: none;
    position: absolute;
    right: 0;
    top: 100%;
    background: white;
    color: black;
    min-width: 120px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    border-radius: 4px;
    overflow: hidden;
}

.dropdown-menu a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: black;
    font-size: 14px;
}

.dropdown-menu a:hover {
    background: #f0f0f0;
}

.user-name {
    padding: 10px 15px;
    font-size: 14px;
    font-weight: bold;
    color: black;
    background: #f8f8f8;
    border-bottom: 1px solid #e0e0e0;
}

.dropdown-separator {
    margin: 0;
    border: 0;
    border-top: 1px solid #e0e0e0;
}

.profile-dropdown.open .dropdown-menu {
    display: block;
}

.language-dropdown {
    position: relative;
    display: inline-block;
    margin-right: 10px;
}

.language-icon {
    display: inline-block;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.3s;
}

.language-icon:hover {
    background: rgba(255, 255, 255, 0.2);
}

.language-dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu .active {
    background: #667eea;
    color: white;
}

/* ===== Footer ===== */
footer {
    background: #000000;
    color: #ffffff;
    text-align: center;
    padding: 20px;
    border-top: 1px solid var(--color-accent);
    margin-top: auto;
}

footer p {
    margin: 0;
    font-size: 14px;
    color: var(--color-muted);
}

/* ===== Hero Slideshow ===== */
.hero-slideshow {
    position: relative;
    height: 90vh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0;
    width: 100%;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.slide.active {
    opacity: 1;
}

.slideshow-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 520px;
    color: #ffffff;
    text-align: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.slideshow-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 3;
}

.slide-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.slide-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.8);
}

.slide-indicators {
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: background 0.2s ease;
}

.indicator.active {
    background: white;
}

.indicator:hover {
    background: rgba(255, 255, 255, 0.8);
}

/* ===== Sections ===== */
section {
    margin: 20px auto;
    width: 80%;
    padding: 20px 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #666666 0%, #222222 100%);
    border: 1px solid #333333;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    color: #ffffff;
}

section p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #ffffff;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2rem;
}

section p a {
    color: #87ceeb;
    text-decoration: none;
}

section p a:hover {
    color: #add8e6;
    text-decoration: underline;
}

/* ===== Rules Page ===== */
.rules-page,
.rules-page p,
.rules-page ol,
.rules-page li,
.rules-page strong {
    color: #ffffff;
}

/* ===== Selima Section ===== */
.selima {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.selima-logo {
    max-width: 450px;
    width: 70%;
    height: auto;
    display: block;
    margin: 0 auto 4px;
}

.selima-text p {
    text-align: left;
    margin: 0 auto 0.75rem;
    color: #ffffff;
}

/* ===== Kompava Section ===== */
.kompava {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
}

.kompava-logo {
    max-width: 450px;
    width: 70%;
    height: auto;
    display: block;
    margin: 0 auto 4px;
}

.kompava-text p {
    text-align: left;
    margin: 0 auto 0.75rem;
    color: #ffffff;
}

/* ===== Partners Section ===== */
.partners-logos {
    display: flex;
    gap: 40px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.partner-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.partner-logo:hover {
    opacity: 0.8;
}

.partner-logo img {
    max-width: 250px;
    height: auto;
}


/* ===== Contact Section ===== */
#contact {
    padding: 40px 0;
}

#contact h2 {
    margin-bottom: 1.5rem;
}

#contact p {
    margin-bottom: 0.75rem;
    font-size: 1rem;
}

#contact .container > div:last-child {
    margin-top: 20px;
}

#contact iframe {
    height: 350px;
}

/* ===== Social Links ===== */
.social-links {
    display: flex;
    gap: 15px;
    margin-bottom: 1.5rem;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.social-link:hover {
    opacity: 0.8;
}

.social-icon {
    width: 35px;
    height: 35px;
    object-fit: contain;
}

/* ===== Buttons ===== */
.btn-primary {
    display: inline-block;
    padding: 10px 22px;
    border-radius: 4px;
    background: #000000;
    color: var(--color-accent);
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.1em;
    border: 1px solid var(--color-accent);
    transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease,
        transform 0.1s ease, box-shadow 0.18s ease;
}

.btn-primary:hover {
    background: var(--color-accent);
    color: #000000;
    border-color: var(--color-accent);
    box-shadow: 0 4px 10px rgba(255, 19, 240, 0.3);
    transform: translateY(-1px);
}

/* ===== Trainers ===== */
.trainer-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 14px 10px;
    border-radius: 12px;
    background: #000000;
    border: 2px solid #ffffff;
    text-decoration: none;
    color: #ffffff;
    transition: transform 0.12s ease, box-shadow 0.18s ease, border-color 0.18s ease;
    width: 45%;
}

.trainer-tile img {
    width: 90%;
    aspect-ratio: 1;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    margin-bottom: 8px;
}

.trainer-tile h3 {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.trainer-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    border-color: var(--color-accent);
}

.trainer-grid {
    width: 95%;
    margin: 0 auto;
    display: flex;
    gap: 25px;
    justify-content: center;
    flex-wrap: wrap;
}

.trainer-tabs {
    width: 95%;
    margin: 20px auto 0;
    display: flex;
    gap: 0;
    justify-content: center;
    background: linear-gradient(135deg, #666666 0%, #222222 100%);
    border: 1px solid #333333;
    border-radius: 8px 8px 0 0;
    padding: 0;
    position: relative;
}

.trainer-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 20px;
    background: transparent;
    border: none;
    border-right: 1px solid #333333;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    color: #ffffff;
    position: relative;
    flex: 1;
    min-width: 150px;
}

.trainer-tab:last-child {
    border-right: none;
}

.trainer-tab img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    margin-bottom: 8px;
    transition: all 0.2s ease;
}

.trainer-tab .trainer-name {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: center;
    font-weight: 500;
}

.trainer-tab.active {
    background: linear-gradient(135deg, #222222 0%, #111111 100%);
    border-bottom: 3px solid var(--color-accent);
    margin-bottom: -1px;
    z-index: 2;
}

.trainer-tab.active img {
    border-color: var(--color-accent);
    transform: scale(1.05);
}

.trainer-tab.active .trainer-name {
    color: var(--color-accent);
    font-weight: 600;
}

.trainer-tab:hover:not(.active) {
    background: rgba(255, 255, 255, 0.05);
}

.trainer-tab:hover:not(.active) img {
    border-color: rgba(255, 255, 255, 0.8);
    transform: scale(1.02);
}

.trainer-content {
    width: 95%;
    margin: 0 auto;
    min-height: 100px;
    background: linear-gradient(135deg, #222222 0%, #111111 100%);
    border: 1px solid #333333;
    border-top: none;
    border-radius: 0 0 8px 8px;
    position: relative;
    z-index: 1;
    display: none;
}

.trainer-content.visible {
    display: block;
}

.trainer-bio {
    display: none;
    padding: 30px 25px;
    background: transparent;
    border: none;
    border-radius: 0;
}

.trainer-bio.active {
    display: block;
    justify-items: center;
}

.trainer-bio p {
    font-size: 16px;
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
    text-align: center;
}

/* ===== Gallery ===== */
#gallery-page {
    background: linear-gradient(135deg, #666666 0%, #222222 100%);
    min-height: 100vh;
}

/* Center the intro paragraph on trainers page */
#trainers-page > p {
    text-align: center;
    max-width: 800px;
    margin: 0.5rem auto 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    border: 1px solid var(--color-accent);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ===== Gallery Modal ===== */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.gallery-modal-content {
    position: relative;
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    top: 50%;
    transform: translateY(-50%);
}

.gallery-modal-content img {
    width: 100%;
    height: auto;
    display: block;
    margin: auto;
}

.gallery-modal-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.gallery-modal-close:hover {
    color: var(--color-accent);
}

/* ===== Auth ===== */
.auth-section {
    max-width: 420px;
    margin: 40px auto 0;
    background: #ffffff;
    border-radius: 16px;
    padding: 24px 24px 28px;
    border: 1px solid var(--color-border);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.04);
}

.auth-section h2 {
    font-size: 20px;
    margin-bottom: 10px;
}

.auth-section p {
    font-size: 14px;
    color: var(--color-muted);
    margin-bottom: 18px;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.form-group label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #444444;
}

.form-group input,
.form-group select {
    padding: 8px 10px;
    border-radius: 4px;
    border: 1px solid var(--color-border);
    background: #ffffff;
    color: #111111;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 1px rgba(255, 19, 240, 0.2);
}

.alert-error {
    margin-bottom: 10px;
    padding: 8px 10px;
    border-radius: 4px;
    background: #ffe6ea;
    border: 1px solid #ff4d6a;
    color: #8a0020;
    font-size: 13px;
}

/* ===== Animations ===== */
.section-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Gallery modal navigation arrows */
.gallery-modal .gallery-nav {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none;
}
.gallery-modal .gallery-nav button {
    pointer-events: auto;
    background: rgba(0,0,0,0.5);
    border: none;
    color: #fff;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: background 0.15s ease;
}
.gallery-modal .gallery-nav button:hover {
    background: rgba(0,0,0,0.7);
}

/* ===== Media Queries ===== */
@media (max-width: 768px) {
    .header-row {
        flex-wrap: wrap;
    }

    .lang-switcher {
        margin-left: 0;
        margin-top: 10px;
        justify-content: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-slideshow {
        height: 92vh;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .slideshow-controls {
        bottom: 20px;
    }

    .slide-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    .indicator {
        width: 10px;
        height: 10px;
    }

    section {
        padding: 30px 5px;
        width: 97%;
    }

    .welcome-menu-list {
        width: 97%;
        padding: 0 5px;
        margin: 20px auto;
    }

    section h2 {
        font-size: 2rem;
    }

    #contact {
        padding: 30px 0;
    }

    #contact h2 {
        margin-bottom: 1rem;
        font-size: 1.8rem;
    }

    #contact p {
        margin-bottom: 0.5rem;
        font-size: 0.95rem;
    }

    #contact iframe {
        height: 280px;
    }

    .trainer-tabs {
        gap: 0;
        margin: 20px auto 0;
    }

    .trainer-tab .trainer-name {
        font-size: 12px;
    }

    .trainer-bio p {
        font-size: 14px;
    }

    /* Center trainers about text */
    .trainer-bio {
        text-align: center;
    }

    .trainer-tab:last-child {
        border-right: none;
    }

    .trainer-tab.active {
        border-bottom: 3px solid var(--color-accent);
        margin-bottom: -1px;
        z-index: 2;
    }

    .trainer-content {
        margin: 0 auto;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .container {
        padding: 0 10px;
    }
}

@media (max-width: 480px) {
    header {
        padding: 10px 15px;
    }

    header h1 {
        font-size: 18px;
    }

    header nav {
        font-size: 12px;
        gap: 8px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-content {
        padding: 0 15px;
    }

    .slideshow-controls {
        bottom: 15px;
    }

    .slide-btn {
        width: 35px;
        height: 35px;
        font-size: 18px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .trainer-grid {
        gap: 10px;
    }

    .trainer-tab .trainer-name {
        font-size: 11px;
    }

    .trainer-bio p {
        font-size: 13px;
    }

    #contact {
        padding: 25px 0;
    }

    #contact h2 {
        margin-bottom: 0.75rem;
        font-size: 1.6rem;
    }

    #contact p {
        margin-bottom: 0.4rem;
        font-size: 0.9rem;
    }

    #contact iframe {
        height: 250px;
    }

    .gallery-modal-close {
        font-size: 30px;
        top: -45px;
    }
}
