/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #fff;
    background: #000;
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Видео фон */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    overflow: hidden;
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.8) 100%);
}

/* Шапка */
.luxury-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 0;
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    z-index: 1000;
}

.header-container {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.header-brand {
    flex: 0 0 auto;
}

.luxury-logo {
    display: flex;
    flex-direction: column;
}

.logo-text {
    font-family: 'Segoe Print', 'Playfair Display', serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
}

.logo-sub {
    font-size: 10px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #D4AF37;
    margin-top: 2px;
}

.header-social {
    display: flex;
    gap: 15px;
}

.social-link {
    color: #fff;
    font-size: 16px;
    transition: color 0.3s ease;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
}

.social-link:hover {
    color: #D4AF37;
    background: rgba(212, 175, 55, 0.1);
}

.header-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #D4AF37;
    font-size: 14px;
    white-space: nowrap;
}

.header-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: #D4AF37;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #D4AF37;
}

.nav-link:hover::after {
    width: 100%;
}

.header-phones {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.phone-number {
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}

.phone-number.primary {
    color: #D4AF37;
}

.phone-number.secondary {
    color: #999;
    font-size: 13px;
}

/* Роскошный слайдер */
.luxury-slider {
    position: relative;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.77, 0, 0.175, 1);
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    pointer-events: all;
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.8) 0%,
        rgba(0, 0, 0, 0.6) 30%,
        rgba(0, 0, 0, 0.3) 70%,
        rgba(0, 0, 0, 0) 100%
    );
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    height: 100%;
    padding: 120px 80px;
    display: flex;
    align-items: center;
    color: white;
    max-width: 1400px;
    margin: 0 auto;
}

.slide-number {
    font-size: 120px;
    font-weight: 700;
    opacity: 0.1;
    position: absolute;
    left: 80px;
    top: 120px;
    font-family: 'Playfair Display', serif;
}

.slide-info {
    max-width: 600px;
    margin-left: 100px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.77, 0, 0.175, 1) 0.3s;
}

.slide.active .slide-info {
    opacity: 1;
    transform: translateY(0);
}

.slide-category {
    font-size: 14px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #D4AF37;
    margin-bottom: 20px;
    font-weight: 500;
}

.slide-title {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 30px;
    line-height: 1.2;
    font-family: 'Playfair Display', serif;
}

.slide-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 500px;
}

.slide-features {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.feature {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    color: #FFD700;
}

/* Навигация слайдера */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #FFD700;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-nav:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.slider-nav.prev {
    left: 40px;
}

.slider-nav.next {
    right: 40px;
}

.slider-nav i {
    font-size: 20px;
}

/* Индикаторы */
.slider-indicators {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.indicator.active {
    background: #FFD700;
    transform: scale(1.3);
}

.indicator:hover {
    background: rgba(255, 215, 0, 0.7);
}

/* Счетчик слайдов */
.slide-counter {
    position: absolute;
    bottom: 60px;
    right: 80px;
    color: white;
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 2px;
    z-index: 10;
}

.slide-counter .current {
    color: #FFD700;
    font-weight: 700;
    font-size: 24px;
}

.slide-counter .divider {
    margin: 0 10px;
    opacity: 0.5;
}

/* Услуги в новом стиле - Masonry сетка */
.luxury-services {
    padding: 100px 0;
    position: relative;
}

.section-header {
    margin-bottom: 80px;
    position: relative;
}

.section-number {
    position: absolute;
    left: -100px;
    top: -50px;
    font-size: 120px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.05);
    font-family: 'Playfair Display', serif;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: #D4AF37;
    letter-spacing: 2px;
}

/* Сетка услуг 3 в ряд */
.services-grid-uniform {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin: 0 -10px;
}

.service-tile-uniform {
    position: relative;
    overflow: hidden;
    height: 400px;
    text-decoration: none;
    color: inherit;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.service-tile-uniform:hover {
    transform: scale(1.02);
    z-index: 10;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.tile-image-uniform {
    position: relative;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.tile-overlay-uniform {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.4) 30%,
        rgba(0, 0, 0, 0.7) 70%,
        rgba(0, 0, 0, 0.9) 100%
    );
    z-index: 1;
}

.tile-content-uniform {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px;
    z-index: 2;
    transition: transform 0.5s ease;
}

.tile-number-uniform {
    font-size: 14px;
    color: #D4AF37;
    margin-bottom: 10px;
    letter-spacing: 2px;
    font-weight: 500;
}

.tile-title-uniform {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
    line-height: 1.2;
}

.tile-description-uniform {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
    line-height: 1.4;
}

.tile-price-uniform {
    font-size: 20px;
    font-weight: 700;
    color: #D4AF37;
}

/* Контент при наведении для равномерной сетки */
.tile-hover-content-uniform {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 40px 30px;
    background: rgba(255, 255, 235, 0);
    backdrop-filter: blur(10px);
    z-index: 3;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.service-tile-uniform:hover .tile-hover-content-uniform {
    opacity: 1;
    transform: translateY(0);
}

.hover-title-uniform {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #D4AF37;
}

.hover-description-uniform {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
    color: rgba(255, 255, 255, 0.9);
}

.hover-action-uniform {
    margin-top: auto;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #D4AF37;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 1px;
    padding-top: 20px;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
}

.hover-action-uniform i {
    transition: transform 0.3s ease;
}

.service-tile-uniform:hover .hover-action-uniform i {
    transform: translateX(5px);
}

/* Исправленная галерея работ - Masonry сетка */
.luxury-gallery {
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
    gap: 20px;
    margin-bottom: 50px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #000;
}

.gallery-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.15);
    z-index: 2;
}

/* Распределение элементов по сетке - ИСПРАВЛЕННАЯ ВЕРСИЯ */
.gallery-item:nth-child(1) {  /* Большая горизонтальная - Фото 1 */
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item:nth-child(2) {  /* Маленькая квадратная - Фото 2 */
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item:nth-child(3) {  /* Высокая вертикальная - Фото 3 */
    grid-column: span 1;
    grid-row: span 2;
}

.gallery-item:nth-child(4) {  /* Маленькая квадратная - Фото 4 */
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item:nth-child(5) {  /* Большая горизонтальная - Фото 5 */
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-item:nth-child(6) {  /* Маленькая квадратная - Фото 6 */
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item:nth-child(7) {  /* Высокая вертикальная - Фото 7 */
    grid-column: span 1;
    grid-row: span 2;
}

.gallery-item:nth-child(8) {  /* Маленькая квадратная - Фото 8 */
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item:nth-child(9) {  /* Маленькая квадратная - Фото 9 */
    grid-column: span 1;
    grid-row: span 1;
}

.gallery-item:nth-child(10) { /* Большая горизонтальная - Фото 10 */
    grid-column: span 2;
    grid-row: span 1;
}

.gallery-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.gallery-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item:hover .gallery-image img {
    transform: scale(1.08);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(212, 175, 55, 0) 0%,
        rgba(212, 175, 55, 0.05) 50%,
        rgba(212, 175, 55, 0.15) 100%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.zoom-icon {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 24px;
    transform: scale(0.8);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.gallery-item:hover .zoom-icon {
    transform: scale(1);
}

.gallery-load-more {
    text-align: center;
    margin-top: 40px;
}

.load-more-btn {
    background: transparent;
    border: 2px solid rgba(212, 175, 55, 0.5);
    color: #D4AF37;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.load-more-btn:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #D4AF37;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

/* Модальное окно для галереи */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-modal.active {
    display: block;
    opacity: 1;
}

.modal-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: #D4AF37;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(212, 175, 55, 0.4);
    transform: rotate(90deg);
}

.modal-image-container {
    max-width: 90%;
    max-height: 90%;
    position: relative;
}

.modal-image {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: #D4AF37;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    transition: all 0.3s ease;
}

.modal-nav:hover {
    background: rgba(212, 175, 55, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.modal-nav.prev {
    left: 20px;
}

.modal-nav.next {
    right: 20px;
}

/* О компании */
.luxury-about {
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 500px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.about-feature {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.about-feature i {
    color: #D4AF37;
    font-size: 24px;
    margin-top: 5px;
}

.about-feature h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.about-feature p {
    color: #999;
    font-size: 14px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.stat-card {
    text-align: center;
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #D4AF37;
    margin-bottom: 10px;
}

.stat-text {
    font-size: 14px;
    letter-spacing: 1px;
    color: #999;
}

/* Контакты */
.luxury-contact {
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
}

.contact-details {
    margin: 40px 0;
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #D4AF37;
    font-size: 18px;
    flex-shrink: 0;
}

.contact-item h4 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #D4AF37;
}

.contact-item p {
    color: #999;
    font-size: 14px;
    line-height: 1.6;
}

.location-map {
    background: rgba(15, 15, 15, 0.8);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.map-header {
    padding: 25px 30px;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.map-header h3 {
    color: #D4AF37;
    font-size: 22px;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.map-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.map-image {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.map-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.map-image:hover img {
    transform: scale(1.03);
}

.map-info {
    position: absolute;
    bottom: 20px;
    left: 20px;
    z-index: 3;
}

.info-card {
    background: rgba(10, 10, 10, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 20px;
    border-radius: 8px;
    max-width: 250px;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.5s ease;
}

.map-image:hover .info-card {
    transform: translateY(0);
    opacity: 1;
}

.info-card h4 {
    color: #D4AF37;
    font-size: 16px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-card p {
    color: #fff;
    font-size: 14px;
    margin-bottom: 15px;
}

.info-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.info-features span {
    font-size: 12px;
    padding: 4px 10px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    gap: 5px;
}

.map-actions {
    padding: 20px 30px;
    display: flex;
    gap: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.map-btn {
    flex: 1;
    padding: 12px 20px;
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.4);
    color: #D4AF37;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
}

.map-btn:hover {
    background: rgba(212, 175, 55, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.map-btn.secondary {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.map-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Слайдер с отзывами */
.luxury-testimonials {
    padding: 100px 0;
    background: rgba(10, 10, 10, 0.7);
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonials-container {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.77, 0, 0.175, 1);
    pointer-events: none;
}

.testimonial-slide.active {
    opacity: 1;
    pointer-events: all;
}

.testimonial-content {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.3);
    padding: 40px;
    border-radius: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 25px;
    color: #FFD700;
    font-size: 18px;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
    font-style: italic;
    position: relative;
    padding-left: 30px;
}

.testimonial-text:before {
    content: '"';
    position: absolute;
    left: 0;
    top: -15px;
    font-size: 60px;
    color: rgba(212, 175, 55, 0.3);
    font-family: 'Playfair Display', serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: auto;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    border: 2px solid #D4AF37;
}

.author-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #fff;
}

.author-info span {
    font-size: 14px;
    color: #D4AF37;
    font-weight: 500;
}

.testimonial-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 215, 0, 0.3);
    color: #FFD700;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.testimonial-nav:hover {
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.testimonial-nav.prev {
    left: -70px;
}

.testimonial-nav.next {
    right: -70px;
}

.testimonial-nav i {
    font-size: 18px;
}

.testimonial-indicators {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.testimonial-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.testimonial-indicator.active {
    background: #FFD700;
    transform: scale(1.3);
}

.testimonial-indicator:hover {
    background: rgba(255, 215, 0, 0.7);
}

.testimonial-counter {
    position: absolute;
    bottom: -40px;
    right: 0;
    color: white;
    font-size: 16px;
    font-weight: 300;
    letter-spacing: 2px;
    z-index: 10;
}

.testimonial-current {
    color: #FFD700;
    font-weight: 700;
    font-size: 18px;
}

.testimonial-divider {
    margin: 0 8px;
    opacity: 0.5;
}

/* Минималистичный футер */
.minimal-footer {
    padding: 60px 0 30px;
    background: rgba(5, 5, 5, 0.95);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 40px;
}

.footer-brand {
    margin-bottom: 30px;
}

.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 15px;
}

.footer-logo .logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #fff;
    margin-bottom: 5px;
}

.footer-logo .logo-sub {
    font-size: 12px;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: #D4AF37;
}

.footer-tagline {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
}

.footer-social {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.footer-social .social-link {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.7);
    font-size: 18px;
    transition: all 0.3s ease;
}

.footer-social .social-link:hover {
    background: rgba(212, 175, 55, 0.1);
    border-color: #D4AF37;
    color: #D4AF37;
    transform: translateY(-3px);
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: center;
}

.footer-phone {
    font-size: 18px;
    font-weight: 600;
    color: #D4AF37;
    letter-spacing: 0.5px;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
}

.copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.location {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.3);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Кнопка наверх */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    text-decoration: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top.visible {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background: #FFD700;
    transform: translateY(-5px);
}

/* Адаптивность для галереи */
@media (max-width: 1200px) {
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(10) {
        grid-column: span 2;
    }
    
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(7) {
        grid-column: span 1;
    }
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
    }
    
    .gallery-item:nth-child(1),
    .gallery-item:nth-child(5),
    .gallery-item:nth-child(10) {
        grid-column: span 2;
        grid-row: span 1;
    }
    
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(7) {
        grid-column: span 1;
        grid-row: span 2;
    }
}

@media (max-width: 768px) {
    .luxury-gallery {
        padding: 80px 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 150px;
        gap: 15px;
    }
    
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(7) {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .zoom-icon {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .modal-content {
        padding: 20px;
    }
    
    .modal-close {
        width: 40px;
        height: 40px;
        font-size: 20px;
        top: 10px;
        right: 10px;
    }
    
    .modal-nav {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    
    .gallery-item:nth-child(n) {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .load-more-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .modal-image-container {
        max-width: 95%;
    }
}

/* Общая адаптивность */
@media (max-width: 1200px) {
    .services-grid-uniform {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .header-container {
        padding: 0 20px;
        gap: 20px;
    }
    
    .slide-content {
        padding: 100px 40px;
    }
    
    .slide-number {
        left: 40px;
        top: 100px;
        font-size: 100px;
    }
    
    .slide-info {
        margin-left: 80px;
    }
    
    .slide-title {
        font-size: 48px;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .testimonial-nav.prev {
        left: -50px;
    }
    
    .testimonial-nav.next {
        right: -50px;
    }
}

@media (max-width: 992px) {
    .luxury-header {
        padding: 10px 0;
    }
    
    .header-container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }
    
    .header-nav {
        order: 1;
        width: 100%;
        justify-content: center;
        gap: 20px;
    }
    
    .testimonials-slider {
        max-width: 90%;
    }
    
    .testimonial-content {
        padding: 30px;
    }
    
    .testimonial-text {
        font-size: 16px;
        padding-left: 25px;
    }
    
    .testimonial-text:before {
        font-size: 50px;
    }
    
    .testimonial-nav.prev {
        left: -40px;
    }
    
    .testimonial-nav.next {
        right: -40px;
    }
}

@media (max-width: 768px) {
    .services-grid-uniform {
        grid-template-columns: 1fr;
    }
    
    .service-tile-uniform {
        height: 350px;
    }
    
    .tile-title-uniform {
        font-size: 22px;
    }
    
    .luxury-slider {
        height: 80vh;
        min-height: 600px;
    }
    
    .slide-content {
        padding: 80px 20px;
        justify-content: center;
        text-align: center;
    }
    
    .slide-number {
        display: none;
    }
    
    .slide-info {
        margin-left: 0;
        max-width: 100%;
    }
    
    .slide-title {
        font-size: 36px;
    }
    
    .slide-description {
        font-size: 16px;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
    }
    
    .slider-nav.prev {
        left: 20px;
    }
    
    .slider-nav.next {
        right: 20px;
    }
    
    .slider-indicators {
        bottom: 40px;
    }
    
    .slide-counter {
        bottom: 40px;
        right: 20px;
        font-size: 16px;
    }
    
    .slide-counter .current {
        font-size: 20px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .map-image {
        height: 350px;
    }
    
    .map-actions {
        flex-direction: column;
    }
    
    .luxury-testimonials {
        padding: 80px 0;
    }
    
    .testimonials-container {
        height: 450px;
    }
    
    .testimonial-content {
        padding: 25px;
    }
    
    .testimonial-text {
        font-size: 15px;
        padding-left: 20px;
    }
    
    .testimonial-text:before {
        font-size: 40px;
        top: -10px;
    }
    
    .testimonial-nav {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-nav.prev {
        left: -30px;
    }
    
    .testimonial-nav.next {
        right: -30px;
    }
    
    .author-avatar {
        width: 50px;
        height: 50px;
    }
    
    .author-info h4 {
        font-size: 16px;
    }
    
    .author-info span {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .service-tile-uniform {
        height: 300px;
    }
    
    .tile-content-uniform {
        padding: 20px;
    }
    
    .tile-title-uniform {
        font-size: 20px;
    }
    
    .tile-description-uniform {
        font-size: 13px;
    }
    
    .luxury-slider {
        height: 70vh;
        min-height: 500px;
    }
    
    .slide-title {
        font-size: 28px;
    }
    
    .slide-features {
        justify-content: center;
    }
    
    .feature {
        font-size: 12px;
        padding: 6px 15px;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .map-image {
        height: 300px;
    }
    
    .info-card {
        max-width: 180px;
        padding: 12px;
    }
    
    .info-card h4 {
        font-size: 14px;
    }
    
    .info-card p {
        font-size: 12px;
    }
    
    .info-features span {
        font-size: 10px;
        padding: 3px 8px;
    }
    
    .testimonials-container {
        height: 500px;
    }
    
    .testimonial-text {
        font-size: 14px;
        padding-left: 15px;
    }
    
    .testimonial-text:before {
        font-size: 35px;
        top: -8px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .author-info {
        text-align: center;
    }
    
    .testimonial-nav {
        width: 35px;
        height: 35px;
    }
    
    .testimonial-nav.prev {
        left: -20px;
    }
    
    .testimonial-nav.next {
        right: -20px;
    }
    
    .testimonial-indicators {
        bottom: -50px;
    }
    
    .testimonial-counter {
        bottom: -50px;
    }
    
    .footer-logo .logo-text {
        font-size: 24px;
    }
    
    .footer-logo .logo-sub {
        font-size: 10px;
        letter-spacing: 4px;
    }
    
    .footer-phone {
        font-size: 16px;
    }
    
    .copyright {
        font-size: 12px;
    }
    
    .location {
        font-size: 11px;
    }
}

/* Стили для страниц услуг - ОСТАВЛЯЕМ ДЛЯ ДОПОЛНИТЕЛЬНЫХ СТРАНИЦ */

/* секция услуги */
.service-hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    margin-top: 80px;
    overflow: hidden;
}

.service-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.service-hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.7);
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(0, 0, 0, 0.9) 0%,
        rgba(0, 0, 0, 0.7) 50%,
        rgba(0, 0, 0, 0.3) 100%
    );
}

.service-hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
    padding: 40px 0;
}

.breadcrumbs {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    font-size: 14px;
}

.breadcrumbs a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumbs a:hover {
    color: #D4AF37;
}

.breadcrumbs span {
    color: #D4AF37;
    font-weight: 500;
}

.breadcrumbs i {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.4);
}

.service-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
    font-family: 'Playfair Display', serif;
}

.service-subtitle {
    font-size: 18px;
    max-width: 600px;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
}

/* Детальное описание услуги */
.service-details {
    padding: 80px 0;
    background: rgba(10, 10, 10, 0.9);
}

.service-description h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #fff;
}

.service-description p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    max-width: 800px;
}

.description-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 40px;
}

.feature-list h3 {
    font-size: 20px;
    margin-bottom: 20px;
    color: #D4AF37;
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-list ul {
    list-style: none;
}

.feature-list li {
    font-size: 16px;
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

.feature-list li:before {
    content: "•";
    position: absolute;
    left: 0;
    color: #D4AF37;
    font-size: 20px;
}

/* Галерея работ по услуге */
.service-gallery {
    padding: 80px 0;
    background: rgba(15, 15, 15, 0.9);
}

.service-gallery h2 {
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #fff;
    text-align: center;
}

.gallery-subtitle {
    font-size: 18px;
    color: #D4AF37;
    margin-bottom: 50px;
    letter-spacing: 1px;
    text-align: center;
}

.service-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-gallery .gallery-item {
    position: relative;
    height: 300px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    background: #000;
}

.service-gallery .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-gallery .gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.service-gallery .gallery-item:hover .gallery-caption {
    transform: translateY(0);
}

.gallery-caption h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.gallery-caption p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

/* Адаптивность для страниц услуг */
@media (max-width: 1200px) {
    .service-gallery .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .description-features {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .service-hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .service-title {
        font-size: 36px;
    }
    
    .service-subtitle {
        font-size: 16px;
    }
    
    .service-description h2,
    .service-gallery h2 {
        font-size: 28px;
    }
    
    .service-gallery .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .service-gallery .gallery-item {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .service-title {
        font-size: 28px;
    }
    
    .service-subtitle {
        font-size: 14px;
    }
    
    .service-description h2,
    .service-gallery h2 {
        font-size: 24px;
    }
    
    .feature-list h3 {
        font-size: 18px;
    }
    
    .feature-list li {
        font-size: 14px;
    }
    
    .gallery-caption h4 {
        font-size: 16px;
    }
    
    .gallery-caption p {
        font-size: 12px;
    }
}



/* ==================== YOUTUBE SHORTS - ИСПРАВЛЕННЫЙ ==================== */
.shorts-section {
    padding: 80px 0;
    background: rgba(20, 20, 20, 0.9);
}

.shorts-title {
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-size: 36px;
    margin-bottom: 10px;
    color: #fff;
}

.shorts-subtitle {
    text-align: center;
    color: #D4AF37;
    margin-bottom: 50px;
    font-size: 18px;
}

/* Адаптивный контейнер для шортсов */
.shorts-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto 40px;
}

/* Вертикальный шортс (9:16 соотношение) */
.short-video {
    position: relative;
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #000;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.short-video:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.3);
}

/* Превью видео - ВЕРТИКАЛЬНОЕ 9:16 */
.video-preview {
    position: relative;
    width: 100%;
    padding-top: 177.78%; /* 9:16 = 16/9*100 */
    overflow: hidden;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.short-video:hover .video-thumbnail {
    transform: scale(1.05);
}

/* Оверлей с кнопкой воспроизведения */
.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: background 0.3s ease;
}

.short-video:hover .play-overlay {
    background: linear-gradient(
        to bottom,
        rgba(212, 175, 55, 0.1) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
}

/* Кнопка воспроизведения */
.play-button {
    width: 60px;
    height: 60px;
    background: rgba(212, 175, 55, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000;
    font-size: 24px;
    margin-bottom: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
}

.short-video:hover .play-button {
    background: #FFD700;
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

/* Информация о видео */
.video-info {
    text-align: center;
    padding: 0 20px;
    width: 100%;
}

.video-info h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #fff;
}

.video-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.5;
}

/* Контейнер для встроенного видео */
.video-player {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 10;
    display: none;
}

.video-player.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.video-player iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 16px;
}

/* Кнопка закрытия видео */
.close-video {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    z-index: 20;
    transition: all 0.3s ease;
    border: none;
}

.close-video:hover {
    background: rgba(212, 175, 55, 0.9);
    transform: rotate(90deg);
}

/* Анимация появления */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Ссылка на YouTube канал */
.youtube-channel {
    text-align: center;
    margin-top: 60px;
}

.channel-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 32px;
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid rgba(255, 0, 0, 0.3);
    color: #fff;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
}

.channel-link:hover {
    background: rgba(255, 0, 0, 0.2);
    border-color: #FF0000;
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.2);
}

.channel-link i:first-child {
    color: #FF0000;
    font-size: 22px;
}

.channel-link i:last-child {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.channel-link:hover i:last-child {
    transform: translateX(5px);
}


/* ==================== ЛОКАЛЬНЫЕ ВИДЕО ==================== */
.local-video .video-player video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
}

/* Контролы для локального видео */
.local-video .video-controls {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    padding: 0 20px;
    z-index: 20;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.local-video .video-player:hover .video-controls {
    opacity: 1;
}

.video-controls button {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
}

.video-controls button:hover {
    background: rgba(212, 175, 55, 0.9);
    transform: scale(1.1);
}

/* Индикатор загрузки */
.video-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.video-loading i {
    font-size: 40px;
    color: #D4AF37;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Адаптивность для локальных видео */
@media (max-width: 768px) {
    .local-video .video-controls {
        opacity: 1; /* Всегда показывать на мобильных */
        bottom: 10px;
    }
    
    .video-controls button {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
}

/* Стиль для локальных видео */
.local-video .play-overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(212, 175, 55, 0.1) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

.local-video .play-button {
    background: rgba(212, 175, 55, 0.95);
}

.local-video:hover .play-button {
    background: #FFD700;
}
/* ==================== АДАПТИВНОСТЬ ДЛЯ SHORTS ==================== */

/* Для планшетов - 2 колонки */
@media (max-width: 1024px) {
    .shorts-container {
        grid-template-columns: repeat(2, 1fr);
        max-width: 700px;
    }
    
    .shorts-title {
        font-size: 32px;
    }
    
    .shorts-subtitle {
        font-size: 16px;
    }
}

/* Для мобильных - 1 колонка */
@media (max-width: 768px) {
    .shorts-container {
        grid-template-columns: 1fr;
        max-width: 320px;
        gap: 15px;
    }
    
    .short-video {
        max-width: 320px;
        margin: 0 auto;
    }
    
    .shorts-title {
        font-size: 28px;
    }
    
    .shorts-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .video-info h3 {
        font-size: 16px;
    }
    
    .video-info p {
        font-size: 13px;
    }
    
    .channel-link {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* Для очень маленьких телефонов */
@media (max-width: 375px) {
    .shorts-container {
        max-width: 280px;
        gap: 10px;
    }
    
    .short-video {
        max-width: 280px;
    }
    
    .play-button {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .video-info h3 {
        font-size: 15px;
    }
    
    .video-info p {
        font-size: 12px;
    }
}

/* Стили для полноэкранного режима на мобильных */
@media (max-width: 768px) {
    .short-video.fullscreen {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 9998 !important;
        background: #000 !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }
    
    .short-video.fullscreen .video-player {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        z-index: 9999 !important;
    }
    
    .short-video.fullscreen .close-video {
        position: fixed !important;
        top: 20px !important;
        right: 20px !important;
        width: 44px !important;
        height: 44px !important;
        background: rgba(0,0,0,0.7) !important;
        border: 1px solid rgba(255,255,255,0.3) !important;
        color: #fff !important;
        z-index: 10000 !important;
        font-size: 20px !important;
    }
}

/* Touch-friendly элементы */
@media (max-width: 768px) {
    .short-video {
        -webkit-tap-highlight-color: transparent;
    }
    
    .play-button {
        min-width: 44px;
        min-height: 44px;
    }
    
    .close-video {
        min-width: 44px;
        min-height: 44px;
    }
}

/* Адаптивность для шортсов */
@media (max-width: 1200px) {
    .shorts-container {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
    }
}

@media (max-width: 768px) {
    .shorts-container {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
    
    .shorts-title {
        font-size: 28px;
    }
    
    .shorts-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .short-video {
        max-width: 320px;
        margin: 0 auto;
    }
}

@media (max-width: 480px) {
    .shorts-container {
        gap: 15px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .video-info h3 {
        font-size: 16px;
    }
    
    .video-info p {
        font-size: 13px;
    }
    
    .channel-link {
        padding: 12px 24px;
        font-size: 14px;
    }
}

/* ==================== ИСПРАВЛЕНИЯ АДАПТИВНОСТИ ==================== */

/* 1. ШАПКА НА МОБИЛЬНЫХ */
@media (max-width: 1200px) {
    .header-container {
        padding: 0 20px;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 15px;
    }
    
    .header-nav {
        order: 1;
        width: 100%;
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: 15px;
    }
    
    .header-phones {
        flex-direction: row;
        gap: 15px;
    }
}

/* Гамбургер-меню для мобильных */
@media (max-width: 768px) {
    .luxury-header {
        padding: 10px 0;
    }
    
    .header-container {
        display: grid;
        grid-template-columns: auto auto auto;
        grid-template-rows: auto auto;
        gap: 10px;
        padding: 0 15px;
    }
    
    .header-brand {
        grid-column: 1;
        grid-row: 1;
    }
    
    .header-social {
        grid-column: 2;
        grid-row: 1;
        justify-self: center;
    }
    
    .header-location {
        grid-column: 3;
        grid-row: 1;
        justify-self: end;
    }
    
    .header-phones {
        grid-column: 1 / -1;
        grid-row: 2;
        flex-direction: row;
        justify-content: center;
        text-align: center;
        gap: 20px;
    }
    
    .header-nav {
        display: none; /* Скрываем обычное меню */
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(15px);
        padding: 20px;
        flex-direction: column;
        z-index: 9999;
        border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    }
    
    .header-nav.active {
        display: flex;
    }
    
    .nav-link {
        padding: 15px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        text-align: center;
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    /* Кнопка гамбургер меню */
    .hamburger-menu {
        display: block;
        position: absolute;
        top: 15px;
        right: 15px;
        width: 30px;
        height: 20px;
        background: none;
        border: none;
        cursor: pointer;
        z-index: 10001;
    }
    
    .hamburger-menu span {
        display: block;
        width: 100%;
        height: 2px;
        background: #D4AF37;
        margin: 5px 0;
        transition: all 0.3s ease;
    }
    
    .hamburger-menu.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* Уменьшаем логотип */
    .logo-text {
        font-size: 18px;
    }
    
    .logo-sub {
        font-size: 8px;
        letter-spacing: 4px;
    }
    
    /* Уменьшаем социальные иконки */
    .social-link {
        width: 32px;
        height: 32px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .header-container {
        grid-template-columns: auto auto;
    }
    
    .header-phones {
        flex-direction: column;
        gap: 5px;
    }
    
    .phone-number {
        font-size: 12px;
    }
}

/* 2. СЛАЙДЕР НА МОБИЛЬНЫХ */
@media (max-width: 768px) {
    .luxury-slider {
        height: 70vh;
        min-height: 500px;
    }
    
    .slide-content {
        padding: 80px 20px;
        justify-content: center;
        text-align: center;
    }
    
    .slide-number {
        display: none;
    }
    
    .slide-info {
        margin-left: 0;
        max-width: 100%;
        text-align: center;
    }
    
    .slide-title {
        font-size: 32px;
        line-height: 1.2;
    }
    
    .slide-description {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .slide-category {
        font-size: 12px;
        margin-bottom: 15px;
    }
    
    .slide-features {
        justify-content: center;
    }
    
    .feature {
        font-size: 11px;
        padding: 5px 12px;
    }
    
    .slider-nav {
        width: 40px;
        height: 40px;
    }
    
    .slider-nav.prev {
        left: 10px;
    }
    
    .slider-nav.next {
        right: 10px;
    }
    
    .slider-indicators {
        bottom: 30px;
        gap: 10px;
    }
    
    .indicator {
        width: 8px;
        height: 8px;
    }
    
    .slide-counter {
        bottom: 30px;
        right: 15px;
        font-size: 14px;
    }
    
    .slide-counter .current {
        font-size: 16px;
    }
}

/* 3. УСЛУГИ НА МОБИЛЬНЫХ */
@media (max-width: 768px) {
    .luxury-services {
        padding: 60px 0;
    }
    
    .services-grid-uniform {
        grid-template-columns: 1fr;
    }
    
    .service-tile-uniform {
        height: 300px;
        border-right: none;
    }
    
    .tile-content-uniform {
        padding: 20px;
    }
    
    .tile-title-uniform {
        font-size: 20px;
    }
    
    .tile-description-uniform {
        font-size: 13px;
    }
    
    .hover-title-uniform {
        font-size: 20px;
    }
    
    .hover-description-uniform {
        font-size: 13px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
}

/* 4. ГАЛЕРЕЯ НА МОБИЛЬНЫХ - ВАЖНОЕ ИСПРАВЛЕНИЕ! */
@media (max-width: 768px) {
    .luxury-gallery {
        padding: 60px 0;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: 150px;
        gap: 15px;
    }
    
    /* СБРАСЫВАЕМ ВСЕ РАНЕЕ ЗАДАННЫЕ ПРАВИЛА */
    .gallery-item:nth-child(n) {
        grid-column: span 1 !important;
        grid-row: span 1 !important;
    }
    
    /* Делаем каждый 3-й элемент на 2 колонки */
    .gallery-item:nth-child(3n) {
        grid-column: span 2 !important;
    }
}

@media (max-width: 480px) {
    .gallery-grid {
        grid-template-columns: 1fr !important;
    }
    
    .gallery-item:nth-child(n) {
        grid-column: span 1 !important;
    }
}

/* 5. О КОМПАНИИ НА МОБИЛЬНЫХ */
@media (max-width: 768px) {
    .luxury-about {
        padding: 60px 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .stat-card {
        padding: 20px 10px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .stat-text {
        font-size: 12px;
    }
}

/* 6. КОНТАКТЫ НА МОБИЛЬНЫХ */
@media (max-width: 768px) {
    .luxury-contact {
        padding: 60px 0;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .map-image {
        height: 300px;
    }
    
    .map-actions {
        flex-direction: column;
    }
    
    .contact-item {
        margin-bottom: 20px;
    }
}

/* 7. ОТЗЫВЫ НА МОБИЛЬНЫХ */
@media (max-width: 768px) {
    .luxury-testimonials {
        padding: 60px 0;
    }
    
    .testimonials-container {
        height: 500px;
    }
    
    .testimonial-content {
        padding: 20px;
    }
    
    .testimonial-text {
        font-size: 15px;
        padding-left: 20px;
    }
    
    .testimonial-text:before {
        font-size: 40px;
        top: -10px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .author-info {
        text-align: center;
    }
    
    .testimonial-nav {
        width: 40px;
        height: 40px;
        top: 50%;
    }
    
    .testimonial-nav.prev {
        left: -30px;
    }
    
    .testimonial-nav.next {
        right: -30px;
    }
}

/* 8. ФУТЕР НА МОБИЛЬНЫХ */
@media (max-width: 768px) {
    .minimal-footer {
        padding: 40px 0 20px;
    }
    
    .footer-logo .logo-text {
        font-size: 22px;
    }
    
    .footer-logo .logo-sub {
        font-size: 10px;
        letter-spacing: 4px;
    }
    
    .footer-social {
        gap: 15px;
    }
    
    .footer-social .social-link {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .footer-phone {
        font-size: 16px;
    }
    
    .copyright {
        font-size: 12px;
        margin-bottom: 8px;
    }
    
    .location {
        font-size: 11px;
    }
}

/* 9. ВСТРАИВАЕМЫЕ ВИДЕО НА МОБИЛЬНЫХ (film.html) */
@media (max-width: 768px) {
    .shorts-container {
        grid-template-columns: 1fr;
        max-width: 320px;
    }
    
    .shorts-title {
        font-size: 28px;
    }
    
    .shorts-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }
    
    .video-info h3 {
        font-size: 16px;
    }
    
    .video-info p {
        font-size: 13px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* 10. ТЕКСТЫ НА ОЧЕНЬ МАЛЕНЬКИХ ЭКРАНАХ */
@media (max-width: 360px) {
    body {
        font-size: 14px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .slide-title {
        font-size: 26px;
    }
    
    .logo-text {
        font-size: 16px;
    }
    
    .footer-logo .logo-text {
        font-size: 20px;
    }
}

/* 11. КНОПКА "НАВЕРХ" НА МОБИЛЬНЫХ */
@media (max-width: 768px) {
    .back-to-top {
        width: 40px;
        height: 40px;
        bottom: 20px;
        right: 20px;
        overflow-y: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }
    .header-nav::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
        background: transparent;
    }
}
    .back-to-top i {
        font-size: 16px;
    }


/* 12. ПРЕДУПРЕЖДЕНИЕ О ГОРИЗОНТАЛЬНОЙ ОРИЕНТАЦИИ */
@media (max-height: 500px) and (orientation: landscape) {
    .orientation-warning {
        display: flex !important;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.95);
        z-index: 99999;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 20px;
        
    }
    
    .orientation-warning i {
        font-size: 48px;
        color: #D4AF37;
        margin-bottom: 20px;
    }
    
    .orientation-warning h3 {
        font-size: 22px;
        margin-bottom: 10px;
        color: #fff;
    }
    
    .orientation-warning p {
        font-size: 16px;
        color: rgba(255, 255, 255, 0.8);
        max-width: 300px;
    }
}


/* ==================== АДАПТИВНОСТЬ ГАЛЕРЕИ ДЛЯ FILM.HTML ==================== */

/* Галерея для страницы услуг */
.service-gallery .gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

/* Для больших планшетов */
@media (max-width: 1200px) {
    .service-gallery .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Для планшетов */
@media (max-width: 992px) {
    .service-gallery .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-gallery .gallery-item {
        height: 220px;
    }
}

/* Для мобильных */
@media (max-width: 768px) {
    .service-gallery .gallery-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .service-gallery .gallery-item {
        height: 200px;
    }
    
    .service-gallery h2 {
        font-size: 28px;
    }
    
    .gallery-subtitle {
        font-size: 16px;
    }
}

/* Для маленьких телефонов */
@media (max-width: 480px) {
    .service-gallery .gallery-item {
        height: 180px;
    }
    
    .service-gallery h2 {
        font-size: 24px;
    }
}

















/* Контейнер для ссылок */
.hover-links-menu {
    display: flex;
    flex-direction: column;
    gap: 8px; /* Отступ между ссылками */
    margin-top: 15px;
}

/* Стили самих ссылок */
.hover-links-menu a {
    color: #ffffff; /* Цвет текста */
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
    display: block; /* Делаем всю строку кликабельной */
}

/* Эффект при наведении на конкретную услугу */
.hover-links-menu a:hover {
    color: #ffcc00; /* Цвет подсветится при наведении */
    text-decoration: underline;
}