/* =========================================
   Base Styles
   ========================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

:root {
    --color-primary: #d4af37;      /* Золотой цвет для роскошного ощущения */
    --color-primary-dark: #b39030; /* Чуть темнее золотой */
    --color-primary-light: #e5c76b; /* Светло-золотой */
    --color-secondary: #1a1a1a;    /* Тёмный фон */
    --color-secondary-light: #2a2a2a; /* Светлее тёмный фон */
    --color-accent1: #800020;      /* Бордовый - дополнительный акцент */
    --color-accent2: #003366;      /* Тёмно-синий - дополнительный акцент */
    --color-text: #ffffff;         /* Белый текст */
    --color-text-muted: rgba(255, 255, 255, 0.7);
    --color-bg-dark: linear-gradient(135deg, #151B1F, #1F2E38, #182329); /* Темнее, но с синим подтоном */
    --color-bg-darker: linear-gradient(135deg, #0F1417, #182329, #12191D); /* Еще более глубокий темно-синий */
    --color-bg-light: linear-gradient(135deg, #1F2E38, #2A3B47, #25333D); /* Чуть темнее светлого варианта */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-bounce: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --shadow-sm: 0 2px 10px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 20px 40px rgba(0, 0, 0, 0.2);
    --shadow-gold: 0 5px 15px rgba(212, 175, 55, 0.15);
    --border-radius: 4px;
    --border-radius-lg: 8px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--color-text);
    background: var(--color-bg-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    position: relative;
    z-index: 2;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cinzel', serif;
    font-weight: 700;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

a {
    text-decoration: none;
    color: var(--color-text);
    transition: var(--transition-smooth);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* =========================================
   Индикатор прокрутки
   ========================================= */
.scroll-indicator-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 1000;
    pointer-events: none;
}

.scroll-indicator {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, var(--color-primary), var(--color-primary-light));
    transition: width 0.1s;
}

/* =========================================
   Анимированные формы фона
   ========================================= */
.bg-shapes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.bg-shape {
    position: absolute;
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: 50%;
}

.shape1 {
    top: 10%;
    left: 10%;
    width: 40vw;
    height: 40vw;
    opacity: 0.2;
    animation: floatingShape 25s infinite alternate ease-in-out;
}

.shape2 {
    bottom: 15%;
    right: 10%;
    width: 25vw;
    height: 25vw;
    opacity: 0.1;
    animation: floatingShape 20s infinite alternate-reverse ease-in-out;
}

.shape3 {
    top: 60%;
    left: 30%;
    width: 15vw;
    height: 15vw;
    opacity: 0.15;
    animation: floatingShape 30s infinite alternate ease-in-out;
}

@keyframes floatingShape {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    33% {
        transform: translate(2vw, -2vh) rotate(120deg);
    }
    66% {
        transform: translate(-1vw, 3vh) rotate(240deg);
    }
    100% {
        transform: translate(1vw, -1vh) rotate(360deg);
    }
}

/* =========================================
   Декоративные элементы
   ========================================= */
.title-decoration {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.title-decoration.bottom {
    margin-top: 30px;
    margin-bottom: 0;
}

.decoration-line {
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.decoration-line.left {
    background: linear-gradient(90deg, transparent, var(--color-primary));
}

.decoration-line.right {
    background: linear-gradient(90deg, var(--color-primary), transparent);
}

.decoration-diamond {
    width: 10px;
    height: 10px;
    background-color: var(--color-primary);
    transform: rotate(45deg);
    margin: 0 15px;
}

.golden-accent {
    position: absolute;
    width: 150px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    opacity: 0.5;
}

.accent-top {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.accent-bottom {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.section-decoration {
    position: relative;
    height: 30px;
    width: 100%;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-block;
    padding: 15px 40px;
    font-family: 'Cinzel', serif;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: center;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition-bounce);
    border: none;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #fff;
    transition: var(--transition-smooth);
    z-index: -1;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}

.btn-primary:hover {
    color: var(--color-secondary);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover::before {
    width: 100%;
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.1);
}

.btn-outline:hover {
    border-color: var(--color-primary);
    color: var(--color-secondary);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.2);
}

.btn-outline:hover::before {
    width: 100%;
    background-color: var(--color-primary);
}

/* =========================================
   Section Headers
   ========================================= */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header.left-aligned {
    text-align: left;
}

.section-header.light .section-title {
    color: #fff;
}

.section-title {
    font-size: 56px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    position: relative;
    background: linear-gradient(to right, #fff, var(--color-primary), #fff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: textShine 4s linear infinite;
}

@keyframes textShine {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

.section-divider {
    width: 80px;
    height: 3px;
    background: linear-gradient(to right, transparent, var(--color-primary), transparent);
    margin: 0 auto 30px;
    position: relative;
}

.section-divider::before,
.section-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--color-primary);
    transform: translateY(-50%);
}

.section-divider::before {
    left: -10px;
}

.section-divider::after {
    right: -10px;
}

.section-divider.left-aligned {
    margin-left: 0;
    background: linear-gradient(to right, var(--color-primary), transparent);
}

.section-divider.left-aligned::before {
    display: none;
}

.section-divider.left-aligned::after {
    display: none;
}

.section-subtitle {
    max-width: 800px;
    margin: 0 auto;
    font-weight: 300;
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.9;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.5);
}

/* =========================================
   Header & Navigation
   ========================================= */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    z-index: 100;
    transition: var(--transition-smooth);
}

.site-header.scrolled {
    background: rgba(26, 26, 26, 0.85);
    padding: 15px 0;
    backdrop-filter: blur(15px);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3), 0 1px 0 rgba(212, 175, 55, 0.1);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding .logo-text {
    font-family: 'Cinzel', serif;
    font-size: 28px;
    color: var(--color-primary);
    letter-spacing: 3px;
    text-transform: uppercase;
    text-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    transition: var(--transition-smooth);
}

.site-branding .logo-text:hover {
    transform: scale(1.05);
    text-shadow: 0px 4px 8px rgba(212, 175, 55, 0.3);
}

.main-navigation {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-list {
    list-style: none;
    display: flex;
    gap: 40px;
}

.nav-item {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    padding: 5px 0;
}

.nav-item::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    transition: width 0.4s cubic-bezier(0.17, 0.67, 0.83, 0.67);
    opacity: 0;
}

.nav-item:hover::after,
.nav-item.active::after {
    width: 100%;
    opacity: 1;
}

.nav-item:hover,
.nav-item.active {
    color: var(--color-primary);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-switcher {
    display: flex;
    gap: 10px;
}

.lang-btn {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius);
    cursor: pointer;
    padding: 8px 12px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition-smooth);
    color: white;
}

.lang-btn .lang-label {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
}

.lang-btn.active {
    background: rgba(212, 175, 55, 0.15);
    border-color: var(--color-primary);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--color-primary);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-primary);
    position: absolute;
    transition: var(--transition-bounce);
}

.hamburger {
    top: 50%;
    transform: translateY(-50%);
}

.hamburger::before {
    content: '';
    top: -8px;
}

.hamburger::after {
    content: '';
    bottom: -8px;
}

.nav-toggle.active .hamburger {
    background: transparent;
}

.nav-toggle.active .hamburger::before {
    top: 0;
    transform: rotate(45deg);
}

.nav-toggle.active .hamburger::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* =========================================
   Hero Section
   ========================================= */
.hero-section {
    position: relative;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    filter: brightness(0.9) contrast(1.1) saturate(1.2);
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, 
                rgba(0, 0, 0, 0.4), 
                rgba(10, 10, 10, 0.6),
                rgba(20, 20, 20, 0.8));
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    padding: 0 20px;
}

.hero-title {
    font-size: 84px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.6), 0 0 40px rgba(212, 175, 55, 0.2);
    letter-spacing: 2px;
    position: relative;
    animation: fadeInTitle 1.2s ease-out forwards;
}

@keyframes fadeInTitle {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 26px;
    font-weight: 300;
    margin-bottom: 40px;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    animation: fadeInSubtitle 1.2s ease-out 0.3s forwards;
    opacity: 0;
}

@keyframes fadeInSubtitle {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-section .btn {
    animation: fadeInButton 1.2s ease-out 0.6s forwards;
    opacity: 0;
}

@keyframes fadeInButton {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10; /* Увеличиваем z-index */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0.8;
    transition: var(--transition-smooth);
    animation: fadeInUp 1s 1.5s forwards, bounce 2s infinite 2.5s;
    margin-top: 60px; /* Добавляем отступ от кнопки */
}

.scroll-circle-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: -599px;
}

.scroll-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.scroll-icon {
    width: 30px;
    height: 50px;
    border: 2px solid var(--color-primary);
    border-radius: 15px;
    display: flex;
    justify-content: center;
    position: relative;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.scroll-arrow {
    position: absolute;
    top: 8px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--color-primary);
    border-bottom: 2px solid var(--color-primary);
    transform: rotate(45deg);
    animation: scrollAnim 2s infinite;
}

@keyframes scrollAnim {
    0% { transform: rotate(45deg) translate(0, 0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: rotate(45deg) translate(8px, 8px); opacity: 0; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================
   Projects Section
   ========================================= */
.projects-section {
    position: relative;
    background: var(--color-bg-light);
    padding: 120px 0;
    overflow: hidden;
}

.projects-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23d4af37' fill-opacity='0.03' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
    z-index: 0;
}

.projects-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.projects-description {
    font-size: 18px;
    margin-bottom: 40px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.85);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition-smooth);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15), 0 0 15px rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.2);
}

.stat-number {
    font-family: 'Cinzel', serif;
    font-size: 42px;
    background: linear-gradient(45deg, var(--color-primary), #fff, var(--color-primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: textShine 4s linear infinite;
    margin-bottom: 15px;
    position: relative;
}

.stat-number::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
}

.stat-label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.8);
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.project-card {
    position: relative;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    transition: var(--transition-bounce);
    transform: translateZ(0);
    perspective: 1000px;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(212, 175, 55, 0.3), transparent);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.6s ease;
}

.project-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--border-radius-lg);
    opacity: 0;
    z-index: 2;
    transition: opacity 0.6s ease;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: brightness(0.95) contrast(1.05);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 30px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.2), transparent);
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 3;
}

.project-caption {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    color: #fff;
    position: relative;
    padding-bottom: 8px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.project-caption::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color-primary);
    transition: width 0.3s ease;
}

.project-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(-5deg);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(212, 175, 55, 0.1);
}

.project-card:hover::before,
.project-card:hover::after {
    opacity: 1;
}

.project-card:hover .project-img {
    transform: scale(1.1);
}

.project-card:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-card:hover .project-caption::after {
    width: 60px;
}

/* =========================================
   About Section
   ========================================= */
.about-section {
    position: relative;
    padding: 120px 0;
    overflow: hidden;
    color: #fff;
}

/* Верхняя часть - фото слева, текст справа */
.about-top-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 80px;
    align-items: center;
}

.about-image-column {
    position: relative;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    height: 100%;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-smooth);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: brightness(1.05) contrast(1.05);
}

.about-image::before,
.about-image::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    z-index: 1;
    transition: all 0.4s ease;
}

.about-image::before {
    top: -10px;
    left: -10px;
    border-top: 2px solid var(--color-primary);
    border-left: 2px solid var(--color-primary);
}

.about-image::after {
    bottom: -10px;
    right: -10px;
    border-bottom: 2px solid var(--color-primary);
    border-right: 2px solid var(--color-primary);
}

.about-description-column {
    padding: 30px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius-lg);
    border-left: 3px solid var(--color-primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), 0 0 20px rgba(212, 175, 55, 0.05);
    transition: var(--transition-smooth);
}

.about-description-column:hover {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(212, 175, 55, 0.1);
    transform: translateY(-5px);
}

.about-description {
    font-size: 18px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-left: 20px;
    margin-bottom: 0;
}

.about-description::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    width: 3px;
    height: calc(100% - 20px);
    background: linear-gradient(to bottom, var(--color-primary), transparent);
}

/* Нижняя часть - три колонки с функциями */
.about-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    border-left: 2px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition-smooth);
    height: 100%;
}

.about-feature:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2), 0 0 20px rgba(212, 175, 55, 0.07);
    border-color: var(--color-primary);
}

.feature-icon {
    flex: 0 0 50px;
    height: 50px;
    padding: 10px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(212, 175, 55, 0.2);
    transition: var(--transition-smooth);
}

.about-feature:hover .feature-icon {
    transform: rotate(10deg) scale(1.1);
    background: rgba(212, 175, 55, 0.2);
}

.feature-icon svg {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.feature-text h3 {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.feature-text p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.about-cta {
    text-align: center;
    margin-top: 40px;
}

/* Адаптивность */
@media (max-width: 991px) {
    .about-top-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .about-features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-image-column {
        order: -1; /* Фото первым на мобильных */
    }
}

@media (max-width: 767px) {
    .about-section {
        padding: 80px 0;
    }
    
    .about-feature {
        padding: 20px;
    }
}


.about-bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.about-bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4) contrast(1.1) saturate(1.2);
    transform: scale(1.05);
}

.about-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
                rgba(10, 10, 10, 0.85),
                rgba(20, 20, 20, 0.7), 
                rgba(30, 30, 30, 0.6));
    z-index: 0;
}

.about-section::before,
.about-section::after {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15), transparent 70%);
    z-index: 0;
    pointer-events: none;
}

.about-section::before {
    top: -100px;
    right: -100px;
}

.about-section::after {
    bottom: -100px;
    left: -100px;
}

.about-content {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
}

.about-intro {
    text-align: center;
    margin-bottom: 70px;
}

.about-tagline {
    font-size: 22px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    align-items: center;
}

.about-image-column {
    position: relative;
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    height: 100%;
    transform: perspective(1000px) rotateY(-5deg) rotateX(5deg);
    transition: var(--transition-smooth);
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.03);
    transition: transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
    filter: brightness(1.05) contrast(1.05);
}

.about-image:hover {
    transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.2);
}

.about-image:hover .about-img {
    transform: scale(1.05);
}

.about-image::before,
.about-image::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 80px;
    z-index: 1;
    transition: all 0.4s ease;
}

.about-image::before {
    top: -10px;
    left: -10px;
    border-top: 2px solid var(--color-primary);
    border-left: 2px solid var(--color-primary);
}

.about-image::after {
    bottom: -10px;
    right: -10px;
    border-bottom: 2px solid var(--color-primary);
    border-right: 2px solid var(--color-primary);
}

.about-text-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-text-content {
    padding: 40px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius-lg);
    border-left: 3px solid var(--color-primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), 0 0 20px rgba(212, 175, 55, 0.05);
    transition: var(--transition-smooth);
}

.about-text-content:hover {
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3), 0 0 30px rgba(212, 175, 55, 0.1);
    transform: translateY(-5px);
}

.about-description {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
    padding-left: 20px;
}

.about-description::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    width: 3px;
    height: calc(100% - 20px);
    background: linear-gradient(to bottom, var(--color-primary), transparent);
}

.about-features {
    display: grid;
    gap: 30px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--border-radius);
    border-left: 2px solid rgba(212, 175, 55, 0.3);
    transition: var(--transition-smooth);
}

.about-feature:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1), 0 0 15px rgba(212, 175, 55, 0.05);
}

.feature-icon {
    flex: 0 0 50px;
    height: 50px;
    padding: 10px;
    background: rgba(212, 175, 55, 0.15);
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2), 0 0 10px rgba(212, 175, 55, 0.2);
    transition: var(--transition-smooth);
}

.about-feature:hover .feature-icon {
    transform: rotate(10deg) scale(1.1);
    background: rgba(212, 175, 55, 0.2);
}

.feature-icon svg {
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.5));
}

.feature-text h3 {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: var(--color-primary);
    margin-bottom: 8px;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.feature-text p {
    font-size: 15px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.about-cta {
    text-align: center;
    margin-top: 40px;
}

.about-cta .btn {
    position: relative;
    z-index: 1;
}

.about-cta .btn::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2), transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    opacity: 0;
    transition: all 0.5s ease;
}

.about-cta .btn:hover::after {
    width: 200px;
    height: 200px;
    opacity: 1;
}

.about-accent-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-primary), transparent);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* =========================================
   Services Section (Accordion)
   ========================================= */
.services-section {
    position: relative;
    padding: 120px 0;
    background: var(--color-bg-dark);
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(135deg, rgba(212, 175, 55, 0.03) 25%, transparent 25%), 
        linear-gradient(225deg, rgba(212, 175, 55, 0.03) 25%, transparent 25%), 
        linear-gradient(315deg, rgba(212, 175, 55, 0.03) 25%, transparent 25%), 
        linear-gradient(45deg, rgba(212, 175, 55, 0.03) 25%, transparent 25%);
    background-size: 40px 40px;
    opacity: 0.4;
}

.services-accordion {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.services-accordion::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05), transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.accordion-item {
    margin-bottom: 20px;
    background: rgba(30, 30, 30, 0.5);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.accordion-item:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3), 0 0 20px rgba(212, 175, 55, 0.1);
    transform: translateY(-5px);
}

.accordion-item.active {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 30px rgba(212, 175, 55, 0.15);
    background: rgba(40, 40, 40, 0.6);
    border-left: 3px solid var(--color-primary);
}

.accordion-header {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: background-color 0.3s ease;
}

.accordion-header:hover {
    background-color: rgba(255, 255, 255, 0.03);
}

.accordion-title {
    font-family: 'Cinzel', serif;
    font-size: 22px;
    font-weight: 500;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
}

.accordion-item.active .accordion-title,
.accordion-header:hover .accordion-title {
    color: var(--color-primary);
}

.accordion-icon {
    position: relative;
    width: 18px;
    height: 18px;
    transition: transform 0.3s ease;
}

.accordion-icon::before,
.accordion-icon::after {
    content: '';
    position: absolute;
    background-color: var(--color-primary);
    transition: all 0.3s ease;
}

.accordion-icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

.accordion-icon::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

.accordion-item.active .accordion-icon {
    transform: rotate(45deg);
}

.accordion-content {
    padding: 0 30px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    opacity: 0;
}

.accordion-item.active .accordion-content {
    padding: 0 30px 30px;
    max-height: 300px;
    opacity: 1;
}

.accordion-content p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    font-size: 16px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* =========================================
   Gallery Section
   ========================================= */
.gallery-section {
    position: relative;
    padding: 70px 0;
    background: var(--color-bg-darker);
    overflow: hidden;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.gallery-main {
    position: relative;
    width: 100%;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
    aspect-ratio: 16/9;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(212, 175, 55, 0.1);
    transition: var(--transition-bounce);
}

.gallery-main:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(212, 175, 55, 0.15);
}

.gallery-main::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: var(--border-radius-lg);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.gallery-main:hover::after {
    opacity: 1;
}

.gallery-main-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-main-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease, transform 0.5s ease;
    filter: brightness(0.95) contrast(1.05);
}

.gallery-main-img.active {
    opacity: 1;
    animation: zoomIn 5s ease-out forwards;
}

@keyframes zoomIn {
    0% { transform: scale(1); }
    100% { transform: scale(1.05); }
}

.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
    opacity: 0.6;
}

.gallery-main:hover .gallery-arrow {
    opacity: 1;
}

.gallery-prev {
    left: 20px;
}

.gallery-next {
    right: 20px;
}

.gallery-arrow:hover {
    background: var(--color-primary);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.gallery-fullscreen-toggle {
    position: absolute;
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    z-index: 2;
    opacity: 0.6;
    transition: all 0.3s ease;
}

.gallery-main:hover .gallery-fullscreen-toggle {
    opacity: 1;
}

.gallery-fullscreen-toggle:hover {
    background: var(--color-primary);
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}

.gallery-thumbs {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding: 10px 0;
    scrollbar-width: thin;
    scrollbar-color: var(--color-primary) rgba(255, 255, 255, 0.1);
}

.gallery-thumbs::-webkit-scrollbar {
    height: 6px;
}

.gallery-thumbs::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.gallery-thumbs::-webkit-scrollbar-thumb {
    background-color: var(--color-primary);
    border-radius: 10px;
}

.gallery-thumb {
    flex: 0 0 150px;
    height: 100px;
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    opacity: 0.6;
    position: relative;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-thumb:hover {
    opacity: 0.9;
    transform: translateY(-3px);
}

.gallery-thumb:hover img {
    transform: scale(1.05);
}

.gallery-thumb.active {
    opacity: 1;
    box-shadow: 0 0 0 3px var(--color-primary);
}

/* Модальное окно для полноэкранного просмотра */
.gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
}

.gallery-modal-close:hover {
    background: var(--color-primary);
    transform: rotate(90deg);
}

.gallery-modal-content {
    width: 90%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-modal-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.gallery-modal-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 20px;
}

.gallery-modal-prev,
.gallery-modal-next {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-modal-prev:hover,
.gallery-modal-next:hover {
    background: var(--color-primary);
    transform: scale(1.1);
}

@media (max-width: 767px) {
    /* Стили для миниатюр на мобильных устройствах */
    .gallery-thumbs {
        display: grid;
        grid-template-columns: repeat(4, 1fr); /* 4 миниатюры в ряд */
        gap: 10px;
        padding: 15px 0;
    }
    
    .gallery-thumb {
        flex: none;
        height: 60px; /* Фиксированная высота */
        width: 100%; /* Полная ширина ячейки */
        border-radius: 4px;
    }
    
    /* Для совсем маленьких экранов */
    @media (max-width: 480px) {
        .gallery-thumbs {
            grid-template-columns: repeat(3, 1fr); /* 3 миниатюры в ряд для очень маленьких экранов */
        }
        
        .gallery-thumb {
            height: 50px; /* Еще более компактный размер */
        }
    }
}

/* =========================================
   Contact Section
   ========================================= */
.contact-section {
    position: relative;
    padding: 120px 0;
    background: var(--color-bg-light);
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23d4af37' fill-opacity='0.02'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    position: relative;
    z-index: 1;
}

.contact-info {
    padding-right: 40px;
}

.contact-details {
    margin-top: 60px;
}

.contact-location {
    margin-bottom: 40px;
    position: relative;
}

.contact-location::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -10px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent 70%);
    border-radius: 50%;
    z-index: -1;
}

.contact-location h3,
.contact-method h3 {
    font-family: 'Cinzel', serif;
    font-size: 26px;
    color: var(--color-primary);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
    position: relative;
    display: inline-block;
}

.contact-location h3::after,
.contact-method h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 40px;
    height: 2px;
    background: var(--color-primary);
}

.location-item,
.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: var(--transition-smooth);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.location-item:hover,
.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2), 0 0 15px rgba(212, 175, 55, 0.1);
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.2);
}

.location-icon,
.contact-icon {
    flex: 0 0 50px;
    height: 50px;
    margin-right: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    padding: 12px;
    transition: var(--transition-smooth);
}

.location-item:hover .location-icon,
.contact-item:hover .contact-icon {
    background: rgba(212, 175, 55, 0.2);
    transform: rotate(10deg);
}

.location-text h4,
.contact-text h4 {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    color: #fff;
    margin-bottom: 8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.location-text p,
.contact-text p {
    margin-bottom: 0;
    font-size: 16px;
    color: var(--color-text-muted);
}

.contact-form-container {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border-radius: var(--border-radius-lg);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2), 0 0 30px rgba(212, 175, 55, 0.05);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.contact-form-container:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3), 0 0 40px rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.1);
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.05), transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;
    z-index: 1;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    color: #fff;
    font-family: 'Roboto', sans-serif;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23D4AF37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 40px;
}

.form-group select option {
    color: #000; /* This sets the dropdown text to black */
    background-color: #fff; /* Optional: ensures background is white */
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 767px) {
    .form-group select {
        width: 100%;
        padding: 12px;
        font-size: 14px; /* Уменьшенный размер шрифта для мобильных */
    }
    
    .form-group select option {
        padding: 10px;
        font-size: 14px;
    }
    
    /* При необходимости уменьшаем высоту выпадающего списка */
    .form-group {
        margin-bottom: 15px;
    }
}

/* Для совсем маленьких экранов */
@media (max-width: 480px) {
    .form-group select {
        padding: 10px;
        font-size: 13px;
    }
}

.contact-form .btn {
    align-self: flex-start;
    margin-top: 10px;
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
    position: relative;
    padding: 80px 0 30px;
    background: linear-gradient(to bottom, #1a1a1a, #101010);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23d4af37' fill-opacity='0.02' fill-rule='evenodd'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 1.4l2.83 2.83 1.41-1.41L1.41 0H0v1.41zM38.59 40l-2.83-2.83 1.41-1.41L40 38.59V40h-1.41zM40 1.41l-2.83 2.83-1.41-1.41L38.59 0H40v1.41zM20 18.6l2.83-2.83 1.41 1.41L21.41 20l2.83 2.83-1.41 1.41L20 21.41l-2.83 2.83-1.41-1.41L18.59 20l-2.83-2.83 1.41-1.41L20 18.59z'/%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
    position: relative;
    z-index: 1;
}

.footer-brand {
    margin-bottom: 30px;
}

.footer-logo .logo-text {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.footer-logo:hover .logo-text {
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.footer-tagline {
    font-size: 16px;
    color: var(--color-text-muted);
    margin-top: 15px;
    padding-left: 3px;
}

.footer-nav h3,
.footer-social h3 {
    font-size: 22px;
    color: #fff;
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.footer-nav h3::after,
.footer-social h3::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--color-primary);
}

.footer-nav ul {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px 30px;
}

.footer-nav li {
    margin-bottom: 5px;
}

.footer-nav a {
    color: var(--color-text-muted);
    transition: all 0.3s ease;
    position: relative;
    padding-left: 20px;
    font-size: 15px;
}

.footer-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 6px;
    background-color: var(--color-primary);
    border-radius: 50%;
    transform: translateY(-50%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-primary);
    transform: translateX(5px);
}

.footer-nav a:hover::before {
    opacity: 1;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

.social-icons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-primary);
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: -1;
}

.social-icon:hover {
    color: #000;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(212, 175, 55, 0.3);
    border-color: var(--color-primary);
}

.social-icon:hover::before {
    transform: translateY(0);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    position: relative;
    z-index: 1;
}

.copyright p {
    font-size: 14px;
    color: var(--color-text-muted);
    margin: 0;
}

.footer-links {
    display: flex;
    gap: 30px;
}

.footer-links a {
    font-size: 14px;
    color: var(--color-text-muted);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--color-primary);
}

/* =========================================
   Responsive Styles
   ========================================= */
@media (max-width: 1200px) {
    .hero-title {
        font-size: 72px;
    }
    
    .section-title {
        font-size: 48px;
    }
    
    .projects-grid {
        gap: 40px;
    }
    
    .footer-main {
        gap: 40px;
    }
}

@media (max-width: 991px) {
    .site-header {
        padding: 20px 0;
    }
    
    .main-navigation {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(10px);
        z-index: 100;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .main-navigation.active {
        display: flex;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 30px;
        align-items: center;
    }
    
    .nav-toggle {
        display: block;
        z-index: 101;
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .hero-subtitle {
        font-size: 20px;
    }
    
    .projects-grid,
    .about-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .about-image-column {
        order: -1;
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .contact-info {
        padding-right: 0;
    }
}

@media (max-width: 767px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .project-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-container {
        padding: 30px 20px;
    }
    
    .gallery-thumbs {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .gallery-thumb {
        flex: 0 0 calc(50% - 10px);
    }
    .header-wrapper {
        padding: 0 10px; /* Добавляем небольшие отступы */
    }
    
    .header-actions {
        gap: 10px; /* Уменьшаем расстояние между элементами */
    }
    
    .lang-btn {
        padding: 6px 8px; /* Уменьшаем размер кнопок языка */
        height: 30px;
        color: white;
    }
    
    .nav-toggle {
        margin-right: 5px; /* Добавляем отступ справа */
    }
    
    .site-branding .logo-text {
        font-size: 14px; /* Уменьшаем размер логотипа */
    }

}

@media (max-width: 480px) {
    .hero-title {
        font-size: 36px;
    }
    .header-actions {
        margin-left: auto; /* Прижимаем элементы вправо */
    }
    
    .language-switcher {
        display: flex;
        margin-right: 10px;
    }
    
    .container {
        padding: 0 15px; /* Уменьшаем боковые отступы контейнера */
    }
    
    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }
    
    .accordion-header {
        padding: 15px 20px;
    }
    
    .accordion-title {
        font-size: 18px;
    }
    
    .accordion-item.active .accordion-content {
        padding: 0 20px 20px;
    }
    
    .gallery-thumb {
        flex: 0 0 100%;
    }
    
    .social-icons {
        justify-content: center;
    }
}

/* Стили для новых карточек партнерств */
.section-subtitle-heading {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    color: var(--color-primary);
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.about-partnerships-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 30px 0 60px;
}

.partnership-card {
    height: 300px;
    perspective: 1000px;
}

.partnership-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.partnership-card:hover .partnership-card-inner {
    transform: rotateY(180deg);
}

.partnership-card-front, .partnership-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 30px;
    border-radius: var(--border-radius-lg);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.partnership-card-front {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(0, 0, 0, 0.2));
}

.partnership-card-front::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1), transparent 70%);
    opacity: 0;
    z-index: -1;
    transition: opacity 0.5s ease;
}

.partnership-card:hover .partnership-card-front::before {
    opacity: 1;
}

.partnership-card-back {
    background: linear-gradient(145deg, rgba(212, 175, 55, 0.05), rgba(0, 0, 0, 0.3));
    transform: rotateY(180deg);
}

.partnership-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 15px rgba(212, 175, 55, 0.2);
}

.partnership-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.partnership-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 24px;
    color: var(--color-primary);
    margin-bottom: 15px;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.partnership-card-back h3 {
    margin-bottom: 20px;
}

.partnership-card-back p {
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: rgba(255, 255, 255, 0.9);
}

.partnership-link {
    display: inline-block;
    padding: 8px 15px;
    background: rgba(212, 175, 55, 0.15);
    color: var(--color-primary);
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius);
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.partnership-link:hover {
    background: var(--color-primary);
    color: var(--color-secondary);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2), 0 0 15px rgba(212, 175, 55, 0.2);
}

/* Медиа-запросы для адаптивности */
@media (max-width: 991px) {
    .about-partnerships-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .partnership-card {
        height: auto;
        perspective: none;
    }
    
    .partnership-card-inner {
        transform-style: flat;
        position: static;
        transform: none !important;
        box-shadow: none;
        height: auto;
    }
    
    /* Скрываем переднюю часть карточки */
    .partnership-card-front {
        display: none;
    }
    
    /* Показываем сразу заднюю часть */
    .partnership-card-back {
        position: static;
        transform: none;
        height: auto;
        backface-visibility: visible;
    }
}

/* Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    z-index: 1000;
    transform: translateY(100%);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    box-shadow: 0 -5px 25px rgba(0, 0, 0, 0.3);
}

.cookie-banner.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.cookie-text {
    flex: 1;
    min-width: 280px;
}

.cookie-text p {
    margin: 0;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.cookie-actions {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cookie-policy-link {
    color: var(--color-primary);
    font-size: 14px;
    text-decoration: underline;
    transition: var(--transition-smooth);
}

.cookie-policy-link:hover {
    color: var(--color-primary-light);
    text-decoration: none;
}

.cookie-accept {
    background-color: var(--color-primary);
    color: var(--color-secondary);
    border: none;
    padding: 10px 20px;
    border-radius: var(--border-radius);
    font-family: 'Cinzel', serif;
    font-size: 14px;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition-bounce);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.cookie-accept:hover {
    background-color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
}

/* Responsive styles for cookie banner */
@media (max-width: 767px) {
    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
        padding: 15px 20px;
        gap: 15px;
    }
    
    .cookie-actions {
        justify-content: space-between;
        width: 100%;
    }
    
    .cookie-text p {
        font-size: 14px;
    }
}

/* Плавающая кнопка чата */
.floating-chat-container {
    position: fixed;
    right: 25px;
    bottom: 25px;
    z-index: 99;
}

.floating-chat-button {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--color-primary);
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3), 0 0 15px rgba(212, 175, 55, 0.3);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
    position: relative;
    z-index: 2;
}

.floating-chat-button svg {
    color: var(--color-secondary);
    width: 28px;
    height: 28px;
    transition: var(--transition-smooth);
}

.floating-chat-button:hover {
    transform: scale(1.05) translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4), 0 0 20px rgba(212, 175, 55, 0.4);
}

.floating-chat-button:hover svg {
    transform: scale(1.1);
}

/* Опции мессенджеров */
.messenger-options {
    position: absolute;
    bottom: 30px;
    right: 60px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    opacity: 0;
    transform: translateY(20px);
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.messenger-options.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: all;
}
.messenger-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    border-radius: 30px;
    background: rgba(26, 26, 26, 0.85);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition-smooth);
    transform: translateY(0);
}
.messenger-option svg {
    width: 24px;
    height: 24px;
}
.messenger-option.whatsapp:hover {
    background: #25D366;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}
.messenger-option.telegram:hover {
    background: #0088cc;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 136, 204, 0.3);
}
.messenger-option.phone:hover {
    background: #4CAF50;
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.3);
}
.messenger-option.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(220, 39, 67, 0.3);
}
/* Адаптивность для мобильных устройств */
@media (max-width: 767px) {
    .floating-chat-container {
        right: 15px;
        bottom: 15px;
    }
    
    .floating-chat-button {
        width: 50px;
        height: 50px;
    }
    
    .floating-chat-button svg {
        width: 24px;
        height: 24px;
    }
    
    .messenger-options {
        right: 47px;
    }
}

/* Стили для группы с капчей */
.captcha-group {
    margin-bottom: 1.5rem;
}

.captcha-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-image-container {
    display: flex;
    align-items: center;
    gap: 5px;
}

#captcha {
    flex: 1;
    width: auto;
    max-width: calc(100% - 170px);
}

#captcha-frame {
    background-color: #f9f9f9;
    border: 1px solid rgba(212, 175, 55, 0.5);
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

#refresh-captcha {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border: none;
    background-color: transparent;
    color: var(--color-primary);
    cursor: pointer;
    transition: transform 0.3s ease;
}

#refresh-captcha:hover {
    transform: rotate(90deg);
    color: var(--color-primary-dark, #b8941e);
}

/* Стили для полей с ошибками */
.contact-form input.error,
.contact-form textarea.error,
.contact-form select.error {
    border-color: #ff3860;
    box-shadow: 0 0 0 1px #ff3860;
}

.captcha-error {
    color: #ff3860;
    font-size: 0.8rem;
    margin-top: 5px;
}

/* Адаптивность для мобильных устройств */
@media screen and (max-width: 768px) {
    .captcha-container {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    #captcha {
        max-width: 100%;
        width: 100%;
    }
    
    .captcha-image-container {
        width: 100%;
        justify-content: space-between;
    }
    
    #captcha-frame {
        width: calc(100% - 50px);
    }
}