/* Reset и базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #e5e5e5;
    background: #0f0f0f;
    overflow-x: hidden;
}

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

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar.scrolled {
    background: rgba(15, 15, 15, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.8);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo span {
    font-size: 24px;
    font-weight: 700;
    color: #ff6b35;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #e5e5e5;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.nav-link:hover {
    color: #ff6b35;
    text-shadow: 0 0 8px rgba(255, 107, 53, 0.4);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #ff6b35, #d63031);
    transition: width 0.3s ease;
    box-shadow: 0 0 5px rgba(255, 107, 53, 0.5);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: #e5e5e5;
    transition: all 0.3s ease;
}

/* Главная секция */
.hero {
    min-height: 100vh;
    background: 
        linear-gradient(rgba(15, 15, 15, 0.85), rgba(15, 15, 15, 0.75)),
        url('background.webp'),
        radial-gradient(ellipse at center, #1a1a1a 0%, #0f0f0f 100%);
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
    color: #e5e5e5;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(214, 48, 49, 0.1) 0%, transparent 50%),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 98px,
            rgba(255, 255, 255, 0.02) 100px
        );
    opacity: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    min-height: 80vh;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.1;
}

.highlight {
    background: linear-gradient(45deg, #ff6b35, #d63031);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 20px rgba(255, 107, 53, 0.5);
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 20px;
    opacity: 0.9;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 40px;
    opacity: 0.8;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn {
    padding: 14px 28px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35, #d63031);
    color: #ffffff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: 2px solid transparent;
    box-shadow: 
        0 4px 15px rgba(255, 107, 53, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #d63031, #a11e20);
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(255, 107, 53, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary {
    background: transparent;
    color: #e5e5e5;
    border: 2px solid rgba(255, 107, 53, 0.5);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background: rgba(255, 107, 53, 0.1);
    border-color: #ff6b35;
    color: #ff6b35;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.2);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.trainer-photo {
    width: 320px;
    height: 420px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 
        0 15px 50px rgba(0, 0, 0, 0.7),
        0 0 30px rgba(255, 107, 53, 0.3);
    border: 3px solid rgba(255, 107, 53, 0.4);
    background: 
        linear-gradient(135deg, rgba(255, 107, 53, 0.1), rgba(214, 48, 49, 0.1)),
        rgba(26, 26, 26, 0.3);
}

.trainer-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        transparent 30%,
        rgba(255, 107, 53, 0.15) 70%,
        rgba(214, 48, 49, 0.2) 100%
    );
    z-index: 2;
    pointer-events: none;
}

.trainer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    filter: 
        contrast(1.1) 
        brightness(0.9) 
        saturate(1.1);
    transition: all 0.3s ease;
}

.trainer-photo:hover img {
    transform: scale(1.05);
    filter: 
        contrast(1.2) 
        brightness(1) 
        saturate(1.2);
}

.trainer-photo:hover {
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        0 0 40px rgba(255, 107, 53, 0.5);
    border-color: rgba(255, 107, 53, 0.6);
}

.hero-stats {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 60px;
    z-index: 2;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ff6b35;
    line-height: 1;
    text-shadow: 0 0 15px rgba(255, 107, 53, 0.6);
}

.stat-label {
    font-size: 14px;
    opacity: 0.8;
    margin-top: 5px;
}

/* Секции */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #e5e5e5;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.section-subtitle {
    font-size: 1.2rem;
    color: #999;
    max-width: 600px;
    margin: 0 auto;
}

/* О тренере */
.about {
    background: #181818;
    position: relative;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255, 107, 53, 0.05) 0%, transparent 50%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 100px,
            rgba(255, 255, 255, 0.01) 102px
        );
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 25px;
    line-height: 1.8;
    color: #c0c0c0;
}

.trainer-info {
    margin-top: 40px;
    padding: 30px;
    background: 
        linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(214, 48, 49, 0.05)),
        rgba(26, 26, 26, 0.9);
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.info-item {
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #e5e5e5;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item strong {
    color: #ff6b35;
}

/* Достижения */
.achievements {
    background: #0f0f0f;
    position: relative;
}

.achievements::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 70% 80%, rgba(214, 48, 49, 0.08) 0%, transparent 50%),
        linear-gradient(135deg, transparent 40%, rgba(255, 107, 53, 0.02) 100%);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 2;
}

.achievement-card {
    background: 
        linear-gradient(135deg, rgba(255, 107, 53, 0.08), rgba(214, 48, 49, 0.05)),
        rgba(26, 26, 26, 0.9);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 107, 53, 0.15);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.achievement-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(255, 107, 53, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 107, 53, 0.3);
}

.achievement-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.achievement-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ff6b35;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.achievement-card p {
    color: #c0c0c0;
    line-height: 1.6;
}

/* Услуги */
.services {
    background: #181818;
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 107, 53, 0.06) 0%, transparent 50%),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 150px,
            rgba(255, 255, 255, 0.01) 152px
        );
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 2;
}

/* Контейнер для каждой услуги */
.service-item {
    text-align: center;
}

/* Заголовок услуги - отдельно над блоком */
.service-title {
    margin: 0 0 20px 0;
    font-size: 1.4rem;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Основной блок услуги */
.service-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    overflow: hidden;
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
    border-color: rgba(255, 107, 53, 0.5);
}

/* Блок изображения */
.service-image {
    height: 250px;
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    transition: transform 0.3s ease;
    position: relative;
}

.service-image[data-bg="IMG_6464_1.jpg.webp"] {
    background-image: url('IMG_6464_1.jpg.webp');
    height: 320px;
}

.service-image[data-bg="2025-10-03_11-25.png"] {
    background-image: url('2025-10-03_11-25.png');
}

.service-image[data-bg="9402b59d-9b51-455d-8e85-930445c5c10f.jpeg"] {
    background-image: url('9402b59d-9b51-455d-8e85-930445c5c10f.jpeg');
}

/* Контент услуги */
.service-content {
    padding: 30px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
}

.service-card:hover .service-image {
    transform: scale(1.05);
}


.service-content p {
    margin-bottom: 20px;
    color: #e5e5e5;
    line-height: 1.6;
    font-size: 1rem;
}

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

.service-content li {
    padding: 6px 0;
    color: #e5e5e5;
    position: relative;
    padding-left: 25px;
    font-size: 0.95rem;
}

.service-content li::before {
    content: '▶';
    position: absolute;
    left: 0;
    color: #ff6b35;
    font-weight: bold;
    font-size: 12px;
}

/* Цена услуги */
.service-price {
    margin-top: 20px;
    padding: 15px 20px;
    background: linear-gradient(135deg, rgba(255, 107, 53, 0.8), rgba(214, 48, 49, 0.8));
    border-radius: 10px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

/* Общая информация о ценах */
.services-info {
    margin-top: 30px;
    text-align: center;
    position: relative;
    z-index: 10;
}

.services-info a {
    color: #ff6b35;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
    cursor: pointer;
    display: inline-block;
    padding: 5px 10px;
}

.services-info a:hover {
    color: #ffffff;
    border-bottom-color: #ff6b35;
    text-shadow: 0 0 8px rgba(255, 107, 53, 0.5);
}

/* Контакты */
.contact {
    background: 
        linear-gradient(rgba(15, 15, 15, 0.85), rgba(15, 15, 15, 0.85)),
        url('634888e8-e62f-46be-bfe0-93fc92c0b652.jpeg') center/cover no-repeat;
    position: relative;
    background-attachment: fixed;
}

.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 60% 40%, rgba(255, 107, 53, 0.1) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(214, 48, 49, 0.05) 100%);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 2;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    font-size: 1.5rem;
    margin-top: 5px;
}

.contact-item h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ff6b35;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contact-item p {
    color: #c0c0c0;
    line-height: 1.6;
}

.contact-link {
    color: #ff6b35;
    text-decoration: none;
    transition: all 0.3s ease;
    border-bottom: 1px solid transparent;
}

.contact-link:hover {
    color: #ff8c5a;
    border-bottom-color: #ff6b35;
    text-shadow: 0 0 8px rgba(255, 107, 53, 0.3);
}

.map-container {
    background: 
        linear-gradient(135deg, rgba(255, 107, 53, 0.05), rgba(214, 48, 49, 0.05)),
        rgba(26, 26, 26, 0.9);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 107, 53, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.map-container h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 30px;
    color: #e5e5e5;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.map-wrapper {
    margin-bottom: 25px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid rgba(255, 107, 53, 0.2);
}

.map-info {
    text-align: center;
}

.map-info p {
    color: #c0c0c0;
    margin-bottom: 10px;
    line-height: 1.6;
}

.map-info p strong {
    color: #ff6b35;
    font-size: 1.1rem;
}


/* Футер */
.footer {
    background: #1a1a1a;
    color: white;
    padding: 60px 0 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff6b35;
    text-shadow: 0 0 10px rgba(255, 107, 53, 0.3);
}

.footer-logo p {
    margin-top: 5px;
    opacity: 0.7;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #ff6b35;
    text-shadow: 0 0 8px rgba(255, 107, 53, 0.4);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    opacity: 0.7;
}

/* Адаптивность */
@media (max-width: 768px) {
        .nav-menu {
            position: fixed;
            top: 70px;
            left: -100%;
            width: 100%;
            height: calc(100vh - 70px);
            background: rgba(15, 15, 15, 0.98);
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            padding-top: 50px;
            transition: left 0.3s ease;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.8);
            backdrop-filter: blur(10px);
        }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

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

    .hero-stats {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin-top: 40px;
        justify-content: center;
        flex-wrap: wrap;
        gap: 30px;
    }

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

    .achievements-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }

    .contact {
        background-attachment: scroll;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-content {
        flex-direction: column;
        gap: 30px;
        text-align: center;
    }

    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .btn {
        padding: 12px 24px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .nav-container {
        padding: 0 15px;
    }

    .hero {
        background-attachment: scroll;
    }

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

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

    .section-title {
        font-size: 1.8rem;
    }

    .achievement-card,
    .service-card {
        padding: 25px;
    }

    .map-container {
        padding: 25px;
    }

    .trainer-photo {
        width: 280px;
        height: 350px;
    }


    .stat-number {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content > * {
    animation: fadeInUp 0.8s ease forwards;
}

.hero-text > * {
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.hero-title {
    animation-delay: 0.2s;
}

.hero-subtitle {
    animation-delay: 0.4s;
}

.hero-description {
    animation-delay: 0.6s;
}

.hero-buttons {
    animation-delay: 0.8s;
}

/* Улучшения для accessibility */
.nav-link:focus,
.btn:focus {
    outline: 2px solid #ff6b35;
    outline-offset: 2px;
}

/* Дополнительные стили для лучшей типографики */
.hero-description,
.about-text p,
.achievement-card p,
.service-card p {
    text-align: left;
}

@media (max-width: 768px) {
    .hero {
        background-attachment: scroll;
    }
    
    .hero-description {
        text-align: center;
    }
}

/* Галерея */
.gallery {
    padding: 100px 0;
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    position: relative;
}

.gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 107, 53, 0.03) 0%, rgba(214, 48, 49, 0.03) 100%);
    pointer-events: none;
}

.gallery .container {
    position: relative;
    z-index: 2;
}

.gallery-grid {
    display: flex;
    gap: 30px;
    margin-top: 60px;
    overflow-x: auto;
    padding-bottom: 20px;
    scroll-behavior: smooth;
}

.gallery-grid::-webkit-scrollbar {
    height: 8px;
}

.gallery-grid::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.gallery-grid::-webkit-scrollbar-thumb {
    background: #ff6b35;
    border-radius: 4px;
}

.gallery-grid::-webkit-scrollbar-thumb:hover {
    background: #ff5722;
}

.gallery-item {
    flex: 0 0 350px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.3);
}

.gallery-image {
    position: relative;
    overflow: hidden;
    height: 280px;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.02);
}

.gallery-description {
    padding: 25px;
}

.gallery-description p {
    color: #e5e5e5;
    margin-bottom: 12px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.gallery-date {
    color: #999;
    font-style: italic;
    font-size: 0.85rem;
    margin-bottom: 0 !important;
}

@media (max-width: 768px) {
    .gallery {
        padding: 60px 0;
    }
    
    .gallery-item {
        flex: 0 0 280px;
    }
    
    .gallery-image {
        height: 220px;
    }
    
    .gallery-description {
        padding: 20px;
    }
    
    .gallery-description p {
        font-size: 0.9rem;
    }
}

/* Модальное окно галереи */
.gallery-modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.gallery-modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2001;
    transition: color 0.3s ease;
}

.gallery-modal-close:hover {
    color: #ff6b35;
}

#gallery-modal-image {
    max-width: 100%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.gallery-modal-description {
    margin-top: 20px;
    color: #e5e5e5;
    text-align: center;
    max-width: 800px;
    line-height: 1.6;
    font-size: 1rem;
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    transform: translateY(-50%);
    pointer-events: none;
}

.gallery-nav-btn {
    background: rgba(255, 107, 53, 0.8);
    border: none;
    color: white;
    font-size: 24px;
    font-weight: bold;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.3s ease;
    pointer-events: auto;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-nav-btn:hover {
    background: #ff6b35;
    transform: scale(1.1);
}

.gallery-nav-btn:disabled {
    background: rgba(255, 255, 255, 0.2);
    cursor: not-allowed;
    transform: none;
}

/* Курсор для кликабельных изображений */
.gallery-image {
    cursor: pointer;
}

.gallery-image:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .gallery-modal-content {
        padding: 10px;
    }
    
    .gallery-modal-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
    
    #gallery-modal-image {
        max-height: 70vh;
    }
    
    .gallery-modal-description {
        font-size: 0.9rem;
        margin-top: 15px;
    }
    
    .gallery-nav-btn {
        font-size: 20px;
        padding: 12px 16px;
        width: 50px;
        height: 50px;
    }
    
    .gallery-modal-nav {
        padding: 0 10px;
    }
}

/* Форма записи */
.booking-form-container {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-form-container h3 {
    color: #ff6b35;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 10px;
    text-align: center;
}

.booking-subtitle {
    color: #e5e5e5;
    text-align: center;
    margin-bottom: 30px;
    font-size: 1rem;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group label {
    color: #e5e5e5;
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input {
    padding: 15px 20px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    color: #e5e5e5;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #ff6b35;
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder {
    color: rgba(229, 229, 229, 0.5);
}

.booking-btn {
    margin-top: 10px;
    padding: 18px 30px;
    font-size: 1.1rem;
    font-weight: 600;
}

.privacy-notice {
    color: rgba(229, 229, 229, 0.7);
    font-size: 0.85rem;
    text-align: center;
    margin-top: 15px;
    line-height: 1.4;
}

.booking-success {
    text-align: center;
    padding: 30px;
    background: rgba(16, 185, 129, 0.1);
    border: 2px solid rgba(16, 185, 129, 0.3);
    border-radius: 15px;
}

.success-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.booking-success h4 {
    color: #10b981;
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.booking-success p {
    color: #e5e5e5;
    font-size: 1rem;
}

/* Секция карты */
.map-section {
    padding: 100px 0;
    background: #1a1a1a;
}

.map-section .map-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 60px;
    background: none;
    padding: 0;
    border: none;
    box-shadow: none;
}

.map-section .map-wrapper {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.map-section .map-info {
    display: flex;
    align-items: center;
}

.map-details {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-details h4 {
    color: #ff6b35;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.map-details p {
    color: #e5e5e5;
    margin-bottom: 12px;
    line-height: 1.6;
}

.map-details strong {
    color: #ff6b35;
    font-weight: 600;
}

/* Адаптивные стили для формы и карты */
@media (max-width: 768px) {
    .booking-form-container {
        padding: 25px;
    }
    
    .booking-form-container h3 {
        font-size: 1.5rem;
    }
    
    .map-section {
        padding: 60px 0;
    }
    
    .map-section .map-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .map-details {
        padding: 25px;
    }
}
