@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', 'Open Sans', 'helvetica-light', Arial, sans-serif;
    background-color: #ffffff;
    color: #000000;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.5;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 32px;
}

#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.6s ease-out, visibility 0.6s ease-out;
}

#preloader.hide {
    opacity: 0;
    visibility: hidden;
}

.preloader-content {
    text-align: center;
}

.preloader-logo {
    font-family: 'Montserrat', 'Open Sans', 'helvetica-light', Arial, sans-serif;
    font-weight: 400;
    font-size: 72px;
    color: #ffffff;
    opacity: 0;
    transform: scale(1);
    transition: opacity 0.2s ease-out;
}

.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 24px 0;
    transition: 0.3s;
}

.header.scrolled {
    position: fixed;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(12px);
    padding: 16px 0;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    flex-shrink: 0;
}

.logo a {
    font-family: 'Montserrat', 'Open Sans', 'helvetica-light', Arial, sans-serif;
    font-weight: 400;
    font-size: 28px;
    line-height: 33.6px;
    color: #ffffff;
    text-decoration: none;
}

nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 36px;
    align-items: center;
    margin-left: 20px;
}

.nav-menu a {
    font-family: 'Montserrat', 'Open Sans', 'helvetica-light', Arial, sans-serif;
    font-weight: 400;
    font-size: 18px;
    line-height: 55px;
    color: #ffffff;
    text-decoration: none;
}

.nav-menu a:hover {
    opacity: 0.7;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 40px;
    flex: 1;
    justify-content: flex-end;
}

.theme-switch-wrapper {
    display: flex;
    align-items: center;
}

.theme-switch {
    position: relative;
    display: inline-block;
    width: 48px;
    height: 24px;
}

.theme-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: 0.3s;
    border-radius: 34px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 20px;
    width: 20px;
    left: 2px;
    bottom: 2px;
    background-color: white;
    transition: 0.3s;
    border-radius: 50%;
    z-index: 2;
}

input:checked + .slider {
    background-color: #3a3a3a;
}

input:checked + .slider:before {
    transform: translateX(24px);
}

.theme-icons {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 6px;
    pointer-events: none;
    z-index: 1;
}

.theme-icon-dark,
.theme-icon-light {
    font-size: 11px;
    line-height: 1;
    transition: opacity 0.2s;
}

.theme-icon-dark {
    color: #fff;
    opacity: 0.7;
}

.theme-icon-light {
    color: #000;
    opacity: 0.5;
}

.user-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: opacity 0.2s;
}

.user-icon svg {
    width: 24px;
    height: 24px;
    color: #ffffff;
}

.user-icon:hover {
    opacity: 0.7;
}

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.burger span {
    width: 28px;
    height: 2px;
    background: #000000;
    transition: 0.3s;
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    color: white;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.45);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin-left: 8%;
    text-align: left;
}

.hero h1,
.hero p,
.hero-tag {
    color: white !important;
}

.hero h1 {
    font-size: 72px;
    line-height: 1.1;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
}

.hero p {
    font-size: 20px;
    line-height: 1.5;
    margin-bottom: 40px;
}

.hero-tag {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: rgba(255,255,255,0.2);
    display: inline-block;
    padding: 6px 14px;
    border-radius: 40px;
    margin-bottom: 24px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
}

.btn-primary {
    background: #ffffff;
    color: #000000 !important;
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 18px;
    text-decoration: none;
    transition: 0.2s;
    display: inline-block;
}

.btn-primary:hover {
    background: #e0e0e0;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid white;
    color: white !important;
    padding: 14px 32px;
    border-radius: 40px;
    font-weight: 500;
    font-size: 18px;
    text-decoration: none;
    display: inline-block;
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.hero-scroll span {
    display: block;
    width: 28px;
    height: 45px;
    border: 2px solid white;
    border-radius: 20px;
    position: relative;
}

.hero-scroll span::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: white;
    border-radius: 2px;
    animation: scrollAnim 2s infinite;
}

@keyframes scrollAnim {
    0% { opacity: 1; transform: translateX(-50%) translateY(0); }
    100% { opacity: 0; transform: translateX(-50%) translateY(20px); }
}

.directions, .about, .trainers, .schedule, .contacts {
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.directions {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-family: 'Montserrat', 'Open Sans', 'helvetica-light', Arial, sans-serif;
    font-weight: 600;
    font-size: 44px;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #000000;
    margin-bottom: 16px;
}

.section-tag {
    font-family: 'Montserrat', 'Open Sans', 'helvetica-light', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8b5cf6;
    display: inline-block;
    margin-bottom: 12px;
}

.about {
    padding: 100px 0;
    background: #ffffff;
}

.about-grid {
    display: flex;
    gap: 80px;
    align-items: center;
}

.about-text {
    flex: 1;
}

.about-text .section-tag {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #8b5cf6;
    display: inline-block;
    margin-bottom: 16px;
}

.about-text h2 {
    font-family: 'Montserrat', 'Open Sans', 'helvetica-light', Arial, sans-serif;
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: #000;
}

.about-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #000;
    margin-bottom: 24px;
}

.about-list {
    list-style: none;
    margin-top: 0;
}

.about-list li {
    font-size: 18px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #000;
}

.about-image {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

.trainers {
    padding: 80px 0;
}

.trainers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 20px;
}

.trainer-card {
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.trainer-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px rgba(0,0,0,0.12);
}

.trainer-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.trainer-card h3 {
    font-family: 'Montserrat', 'Open Sans', 'helvetica-light', Arial, sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin: 20px 20px 8px;
    color: #000;
}

.trainer-spec {
    font-family: 'Montserrat', 'Open Sans', 'helvetica-light', Arial, sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #8b5cf6;
    margin: 0 20px 12px;
}

.trainer-desc {
    font-family: 'Montserrat', 'Open Sans', 'helvetica-light', Arial, sans-serif;
    font-size: 15px;
    font-weight: 300;
    line-height: 1.5;
    color: #000;
    margin: 0 20px 20px;
}

.schedule {
    padding: 80px 0;
    background: #ffffff;
}

.schedule-table-wrapper {
    overflow-x: auto;
    margin-top: 40px;
}

.schedule-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.schedule-table th, .schedule-table td {
    padding: 18px 20px;
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid #000;
}

.schedule-table th {
    background: #000;
    color: white;
    font-weight: 600;
    font-size: 18px;
}

.schedule-table td {
    font-size: 16px;
    line-height: 1.6;
    color: #000;
}

.day-cell {
    font-weight: 700;
    background-color: transparent;
    color: #000;
}

.contacts {
    padding: 80px 0;
    background: #ffffff;
}

.contacts-grid {
    display: flex;
    gap: 60px;
    margin-top: 40px;
}

.contacts-info {
    flex: 1;
}

.contacts-info h3 {
    font-family: 'Montserrat', 'Open Sans', 'helvetica-light', Arial, sans-serif;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #000;
}

.contacts-info p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 12px;
    color: #000;
}

.contacts-info a {
    color: #000;
    text-decoration: underline;
}

.contacts-info a:hover {
    opacity: 0.7;
}

.contacts-map {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contacts-map img {
    width: 100%;
    height: auto;
    display: block;
}

.footer {
    padding: 32px 0;
    text-align: center;
    border-top: 1px solid #000;
    color: #000;
    font-size: 16px;
}

.dashboard-container {
    padding-top: 110px;
    padding-bottom: 60px;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.dashboard-header h1 {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

.welcome-card {
    background: #f5f5f5;
    padding: 15px 25px;
    border-radius: 60px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
}

.welcome-avatar {
    width: 48px;
    height: 48px;
    background: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 24px;
}

.welcome-text {
    font-size: 18px;
    font-weight: 500;
}

.welcome-text small {
    display: block;
    font-size: 14px;
    font-weight: 300;
    color: #666;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: #fff;
    border: 1px solid #000;
    border-radius: 20px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.stat-card h3 {
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    color: #000;
}

.stat-card .stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #000;
}

.stat-icon {
    font-size: 32px;
    margin-bottom: 12px;
}

.admin-menu {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    background: #000;
    color: #fff;
    padding: 12px 24px;
    border-radius: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid #000;
}

.btn:hover {
    background: #fff;
    color: #000;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: #000;
    border: 1px solid #000;
}

.btn-outline:hover {
    background: #000;
    color: #fff;
}

.table-wrapper {
    overflow-x: auto;
    margin-top: 20px;
}

.filter-bar {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 1px solid #ddd;
    padding: 8px 18px;
    border-radius: 40px;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
}

.filter-btn.active {
    background: #000;
    border-color: #000;
    color: #fff;
}

.filter-btn:hover {
    border-color: #000;
}

body.dark-theme {
    background-color: #000000;
    color: #ffffff;
}

body.dark-theme .logo a,
body.dark-theme .nav-menu a,
body.dark-theme .user-icon svg {
    color: #ffffff !important;
}

body.dark-theme .slider {
    background-color: #ffffff;
}

body.dark-theme input:checked + .slider {
    background-color: #ffffff;
}

body.dark-theme input:checked + .slider:before {
    background-color: #000000;
}

body.dark-theme .theme-icon-dark {
    opacity: 1;
}

body.dark-theme .theme-icon-light {
    opacity: 0.3;
}

body.dark-theme .section-header h2,
body.dark-theme .dashboard-header h1,
body.dark-theme .stat-card h3,
body.dark-theme .stat-card .stat-number {
    color: #ffffff;
}

body.dark-theme .about,
body.dark-theme .schedule,
body.dark-theme .contacts {
    background-color: #000000;
}

body.dark-theme .about-text h2,
body.dark-theme .about-text p,
body.dark-theme .about-list li,
body.dark-theme .schedule-table td,
body.dark-theme .day-cell,
body.dark-theme .contacts-info h3,
body.dark-theme .contacts-info p {
    color: #ffffff;
}

body.dark-theme .trainer-card {
    background: #000000;
    border: 1px solid #ffffff;
}

body.dark-theme .trainer-card h3,
body.dark-theme .trainer-desc {
    color: #ffffff;
}

body.dark-theme .schedule-table {
    background-color: #000000;
    border: 1px solid #ffffff;
}

body.dark-theme .schedule-table th {
    background-color: #ffffff;
    color: #000000;
}

body.dark-theme .schedule-table td {
    border-bottom-color: #ffffff;
}

body.dark-theme .footer {
    border-top-color: #ffffff;
    color: #ffffff;
}

body.dark-theme .directions,
body.dark-theme .about,
body.dark-theme .trainers,
body.dark-theme .schedule,
body.dark-theme .contacts {
    border-bottom: 1px solid rgba(255,255,255,0.15);
}

body.dark-theme .stat-card {
    background: #000000;
    border-color: #ffffff;
}

body.dark-theme .btn-outline {
    color: #ffffff;
    border-color: #ffffff;
}

body.dark-theme .btn-outline:hover {
    background: #ffffff;
    color: #000000;
}

body.dark-theme .welcome-text {
    color: #aaa;
}

body:not(.dark-theme) .header {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: relative;
}

body:not(.dark-theme) .header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
}

body:not(.dark-theme) .logo a {
    color: #000000;
}

body:not(.dark-theme) .nav-menu a {
    color: #000000;
}

body:not(.dark-theme) .user-icon svg {
    color: #000000;
}

body:not(.dark-theme) .burger span {
    background: #000000;
}

.directions-hero {
    position: relative;
    height: 90vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.directions-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.directions-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    object-position: center 20%;
}

.directions-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 1;
}

.directions-hero-content {
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 20px;
}

.directions-hero-content .section-tag {
    color: #8b5cf6;
    background: rgba(0,0,0,0.4);
    display: inline-block;
    padding: 4px 12px;
    border-radius: 40px;
}

.directions-hero-content h2,
.directions-hero-content p {
    color: #fff;
}

.directions-hero-content h2 {
    font-size: 48px;
    margin-bottom: 20px;
}

.directions-hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
}

.directions-hero-btn .btn-primary {
    background: #fff;
    color: #000;
    padding: 12px 32px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 600;
    transition: 0.2s;
    display: inline-block;
}

.directions-hero-btn .btn-primary:hover {
    background: #8b5cf6;
    color: #fff;
    transform: translateY(-3px);
}

.promo-section {
    padding: 80px 0;
    background: transparent;
}

.promo-carousel {
    margin-top: 40px;
}

.carousel-container {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 28px;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-slide {
    flex: 0 0 100%;
}

.carousel-slide img {
    width: 100%;
    height: auto;
    max-height: 700px;
    object-fit: contain;
    background: none !important;
    display: block;
    border-radius: 28px;
}

body.dark-theme .carousel-slide img {
    background: #1e1e1e;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    transition: 0.2s;
    z-index: 10;
}

.carousel-btn:hover {
    background: rgba(0,0,0,0.8);
}

.prev {
    left: 20px;
}

.next {
    right: 20px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 25px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ccc;
    cursor: pointer;
    transition: 0.2s;
}

.dot.active {
    background: #8b5cf6;
    width: 30px;
    border-radius: 20px;
}

.reviews-section {
    padding: 80px 0;
    background: #ffffff;
}

body.dark-theme .reviews-section {
    background: #000000;
}

.reviews-widget-wrapper {
    max-width: 760px;
    margin: 40px auto;
    border-radius: 28px;
    overflow: hidden;
    background: transparent;
}

.reviews-widget-wrapper iframe {
    display: block;
    width: 100%;
    height: 750px;
    border: none;
    background: transparent;
}

.reviews-link {
    text-align: center;
}

.reviews-link .btn-outline {
    display: inline-block;
    background: transparent;
    color: #000;
    border: 1px solid #000;
    padding: 12px 28px;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
}

body.dark-theme .reviews-link .btn-outline {
    color: #fff;
    border-color: #fff;
}

.reviews-link .btn-outline:hover {
    background: #000;
    color: #fff;
}

body.dark-theme .reviews-link .btn-outline:hover {
    background: #fff;
    color: #000;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 15px 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s ease;
    border-top: 1px solid rgba(255,255,255,0.2);
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cookie-content p {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
    color: #ddd;
}

.cookie-content a {
    color: #8b5cf6;
    text-decoration: underline;
}

.cookie-content a:hover {
    color: #fff;
}

.cookie-btn {
    background: #8b5cf6;
    color: #fff;
    border: none;
    padding: 8px 24px;
    border-radius: 40px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
    white-space: nowrap;
}

.cookie-btn:hover {
    background: #6d28d9;
    transform: scale(1.02);
}

@media (max-width: 1024px) {
    .trainers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .burger {
        display: flex;
    }
    
    .nav-wrapper {
        justify-content: space-between;
        gap: 15px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        justify-content: center;
        transition: 0.3s;
        gap: 30px;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        z-index: 1000;
        padding: 40px;
        margin-left: 0;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu a {
        color: #000000 !important;
    }
    
    body.dark-theme .nav-menu {
        background: #000000;
    }
    
    body.dark-theme .nav-menu a {
        color: #ffffff !important;
    }
    
    .hero h1 {
        font-size: 48px;
    }
    
    .hero-content {
        margin-left: 5%;
    }
    
    .trainers-grid {
        grid-template-columns: 1fr !important;
    }
    
    .about-grid,
    .contacts-grid {
        flex-direction: column;
    }
    
    .section-header h2 {
        font-size: 32px;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .directions-hero {
        min-height: 500px;
        height: auto;
    }
    
    .directions-hero-content h2 {
        font-size: 32px;
    }
    
    .directions-hero-content p {
        font-size: 16px;
    }
    
    .carousel-slide img {
        max-height: 400px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 22px;
    }
    
    .reviews-widget-wrapper iframe {
        height: 500px;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-btn {
        width: 100%;
        padding: 10px;
    }
}

@media (max-width: 600px) {
    .hero h1 {
        font-size: 36px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        padding: 10px 24px;
        font-size: 16px;
    }
    
    .schedule-table th, 
    .schedule-table td {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .stat-card {
        padding: 15px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .trainer-card img {
        aspect-ratio: 4 / 5;
    }
    
    .trainer-card h3 {
        font-size: 18px;
        margin: 15px 15px 5px;
    }
    
    .trainer-spec, .trainer-desc {
        margin: 0 15px 10px;
        font-size: 13px;
    }
    
    .section-header h2 {
        font-size: 28px;
    }
    
    .about-text h2 {
        font-size: 28px;
    }
    
    .contacts-info h3 {
        font-size: 24px;
    }
    
    .reviews-widget-wrapper iframe {
        height: 450px;
    }
    
    .carousel-slide img {
        max-height: 300px;
    }
}
/* === МОБИЛЬНАЯ АДАПТАЦИЯ (УНИВЕРСАЛЬНАЯ) === */

@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    /* Шапка */
    .burger {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        justify-content: center;
        transition: 0.3s;
        gap: 25px;
        z-index: 1000;
        padding: 40px;
        margin-left: 0;
        box-shadow: -5px 0 15px rgba(0,0,0,0.1);
    }
    .nav-menu.active {
        right: 0;
    }
    body.dark-theme .nav-menu {
        background: #000;
    }
    .nav-menu a {
        font-size: 18px;
        color: #000 !important;
    }
    body.dark-theme .nav-menu a {
        color: #fff !important;
    }
    
    /* Сетки */
    .trainers-grid,
    .directions-grid,
    .news-grid,
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
    }
    
    /* Карточки */
    .trainer-card img {
        height: auto;
        aspect-ratio: 4/5;
    }
    
    /* Таблицы */
    .schedule-table-wrapper,
    .table-wrapper {
        overflow-x: auto;
    }
    .schedule-table,
    .admin-table {
        min-width: 600px;
    }
    .schedule-table th,
    .schedule-table td,
    .admin-table th,
    .admin-table td {
        padding: 10px 12px;
        font-size: 12px;
        white-space: nowrap;
    }
    
    /* Модальные окна */
    .modal-container {
        width: 95%;
        padding: 20px;
        max-height: 90vh;
        overflow-y: auto;
    }
    .modal-container h2 {
        font-size: 22px;
    }
    
    /* Кнопки */
    .btn, .btn-primary, .btn-secondary {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    /* Hero секция */
    .hero h1 {
        font-size: 36px;
    }
    .hero p {
        font-size: 16px;
    }
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    /* Направления танцев (блоки с картинками) */
    .direction-item {
        flex-direction: column !important;
        margin-bottom: 40px;
    }
    .direction-img {
        width: 100%;
        min-height: auto;
        padding: 15px;
    }
    .direction-img img {
        max-height: 250px;
    }
    .direction-text {
        padding: 20px;
    }
    .direction-text h2 {
        font-size: 24px;
    }
    
    /* Отзывы */
    .reviews-widget-wrapper iframe {
        height: 450px;
    }
    
    /* Карусель акций */
    .carousel-slide img {
        max-height: 300px;
    }
    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    /* Статистика в панелях */
    .dashboard-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .stat-number {
        font-size: 28px;
    }
    
    /* Формы */
    input, select, textarea {
        font-size: 16px;
    }
}