/* Fonts */
@font-face {
    font-family: 'Aeroport';
    src: url('../fonts/Aeroport-light-trial.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aeroport';
    src: url('../fonts/Aeroport-regular-trial.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Aeroport';
    src: url('../fonts/Aeroport-bold-trial.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* Variables */
:root {
    /* Основные цвета */
    --color-primary: #000cb3;
    --color-black: #000000;
    --color-white: #ffffff;
    --color-gray: #f5f5f5;
    
    /* Замена gold на синий */
    --accent-color: #000cb3;
    --accent-hover: #0009a0;
    
    /* Текст */
    --text-primary: var(--color-black);
    --text-secondary: rgba(0, 0, 0, 0.7);
    --text-light: var(--color-white);
    
    /* Фоны */
    --bg-primary: var(--color-white);
    --bg-secondary: var(--color-gray);
    --bg-dark: var(--color-black);
    
    /* Границы */
    --border-light: rgba(255, 255, 255, 0.1);
    --border-dark: rgba(0, 0, 0, 0.1);
    
    /* Тени */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.1);
    
    /* Header Colors */
    --header-dark: rgba(0, 0, 0, 0.7);
    --header-light: rgba(255, 255, 255, 0.7);
    
    /* Dimensions */
    --header-height: 100px;
    --header-height-mobile: 80px;
    --container-width: 1400px;
    --container-padding: 40px;
    --container-padding-mobile: 20px;
    
    /* Light Theme Colors */
    --light-bg: #FFFFFF;
    --light-text: #000000;
    --light-text-secondary: rgba(0, 0, 0, 0.7);
    
    /* Dark Theme Colors */
    --dark-bg: #000000;
    --dark-text: #FFFFFF;
    --dark-text-secondary: rgba(255, 255, 255, 0.7);

    /* Icon Sizes */
    --icon-size: 44px;
    --icon-size-mobile: 40px;
    --icon-size-small: 36px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Aeroport', sans-serif;
    font-size: 1.6rem;
    background: var(--color-black);
    color: var(--color-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    block-size: var(--header-height);
    background: #000000;
    z-index: 100;
    transition: all 0.3s ease;
    padding: 20px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.logo {
    display: block;
    height: 50px;
    position: relative;
    z-index: 2;
}

.logo img {
    height: 100%;
    width: auto;
    max-height: 44px;
    object-fit: contain;
    opacity: 1;
    filter: none;
    mix-blend-mode: normal;
    transition: opacity 0.3s ease;
}

/* Медиа-запросы для мобильной версии */
@media screen and (max-width: 768px) {
    .header {
        height: 70px;
        background: #000000;
    }

    .header__logo {
        height: 50px;
    }

    .header__logo img {
        height: 100%;
    }
}

@media screen and (max-width: 480px) {
    .header {
        height: 70px;
        background: #000000;
    }

    .header__logo {
        height: 44px;
    }

    .header__logo img {
        height: 100%;
    }
}

.light-theme-logo {
    display: block;
    opacity: 1;
}

.dark-theme-logo {
    display: none;
    opacity: 0;
}

[data-theme="dark"] .light-theme-logo {
    display: none;
    opacity: 0;
}

[data-theme="dark"] .dark-theme-logo {
    display: block;
    opacity: 1;
}

.header__nav {
    max-width: var(--container-width);
    width: 100%;
    height: 100%;
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
    gap: 60px;
}

.header__logo {
    block-size: 60px;
    transition: transform 0.3s ease;
}

.header__logo:hover {
    transform: scale(1.05);
}

.header__logo img {
    block-size: 100%;
    inline-size: auto;
}

/* Menu */
.header__menu {
    display: flex;
    gap: 30px;
    margin-inline-start: auto;
}

.header__menu a {
    position: relative;
    color: var(--color-white);
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.header__menu a::before {
    content: '';
    position: absolute;
    inset-block-end: -2px;
    inset-inline-start: 0;
    inline-size: 100%;
    block-size: 2px;
    background-color: var(--color-primary);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.header__menu a:hover {
    color: var(--color-primary);
}

.header__menu a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

/* Actions */
.header__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.action-btn {
    position: relative;
    inline-size: 44px;
    block-size: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    border-radius: 50%;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.action-btn:hover::before {
    transform: scale(1);
}

.action-btn i {
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease;
}

.action-btn:hover {
    color: var(--color-primary);
}

.action-btn:hover i {
    transform: scale(1.1);
}

/* Location Button */
.location-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    cursor: pointer;
    padding: 8px 16px;
    border-radius: 20px;
    overflow: hidden;
}

.location-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.location-btn:hover::before {
    transform: scaleX(1);
}

.location-btn i {
    position: relative;
    z-index: 1;
    color: #DE4032;
    transition: transform 0.3s ease;
}

.location-btn span {
    position: relative;
    z-index: 1;
}

.location-btn:hover i {
    transform: translateX(3px);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    inline-size: var(--icon-size);
    block-size: var(--icon-size);
    position: relative;
    cursor: pointer;
    padding: 10px;
    background: none;
    border: none;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.mobile-toggle span {
    display: block;
    inline-size: 24px;
    block-size: 2px;
    background: var(--color-white);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

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

.mobile-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    inset-block-start: var(--header-height);
    inset-inline-start: 0;
    inset-inline-end: 0;
    inset-block-end: 0;
    background: #000000;
    z-index: 99;
    padding: 40px 20px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
}

.mobile-menu__nav a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 2.4rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
}

.mobile-menu__nav a:hover {
    color: var(--color-primary);
}

/* Light Theme */
body.light .header {
    background: #ffffff;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

body.light .mobile-toggle span {
    background: var(--light-text);
}

body.light .mobile-menu {
    background: #ffffff;
}

body.light .mobile-menu__nav a {
    color: var(--light-text);
}

body.light .mobile-menu__nav a:hover {
    color: var(--color-primary);
}

/* Location */
.header__location {
    position: relative;
}

.location-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    cursor: pointer;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.location-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.location-btn i {
    color: #DE4032;
}

/* Main Content Layout */
.main {
    margin-top: var(--header-height);
    flex: 1;
    display: flex;
    flex-direction: column;
}

/* Page Sections */
.page-section {
    padding: 6rem 0;
}

/* Hero Section */
.hero {
    position: relative;
    inline-size: 100%;
    block-size: calc(100vh - var(--header-height));
    margin-top: 0; /* Убираем дублирующий отступ */
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
}

.hero__slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.hero__slide.active {
    opacity: 1;
}

.hero__slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.7));
    z-index: 1;
}

.hero__controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    z-index: 2;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
}

.hero__control {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    color: var(--color-white);
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.hero__control:hover {
    background: rgba(0, 0, 0, 0.8);
    color: var(--color-primary);
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0;
    margin-bottom: 120px;
}

.hero__title {
    font-size: 6rem;
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 0.02em;
    max-width: 800px;
}

.hero__subtitle {
    font-size: 2.4rem;
    font-weight: 400;
    color: var(--color-white);
    margin-bottom: 40px;
    line-height: 1.4;
    max-width: 600px;
    opacity: 0.9;
}

.hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    background: var(--color-primary);
    color: var(--color-black);
    font-size: 1.8rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hero__button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.hero__footer {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 80px;
    padding: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
}

.hero__footer .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ticker {
    width: 100%;
    height: 40px;
    position: relative;
    overflow: hidden;
    background: transparent;
}

.ticker__track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    height: 100%;
    will-change: transform;
    animation: marquee 30s linear infinite;
}

.ticker__content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding-right: 50px;
}

.ticker__content span {
    display: inline-flex;
    align-items: center;
    padding: 0 30px;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--accent-color);
    text-transform: uppercase;
}

.ticker__divider {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
}

.ticker__divider img {
    width: 30px;
    height: 30px;
    filter: brightness(0) invert(1);
    opacity: 0.8;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.ticker:hover .ticker__track {
    animation-play-state: paused;
}

.socials {
    display: flex;
    gap: 24px;
    margin-left: 24px;
}

.social-link {
    color: var(--color-white);
    font-size: 2rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--color-primary);
}

/* Socials */
.socials {
    display: flex;
    gap: 24px;
}

.social-link {
    color: var(--color-white);
    font-size: 2rem;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: var(--color-primary);
}

/* Animations */
@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
/* Theme Styles */
body.light {
    background: var(--light-bg);
    color: var(--light-text);
}

body.light .header {
    background: #ffffff;
}

body.light .header__menu a {
    color: var(--light-text);
}

body.light .action-btn {
    color: var(--light-text);
}

body.light .location-btn {
    color: var(--light-text);
}

body.light .action-btn:hover,
body.light .location-btn:hover {
    background: rgba(0, 0, 0, 0.05);
}

body.light .hero::before {
    background: rgba(0, 0, 0, 0.5) !important;
}

body.light .hero__subtitle {
    color: rgba(255, 255, 255, 0.7) !important;
}

body.light .hero__footer {
    background: var(--header-dark) !important;
}

body.light .ticker__content span {
    color: rgba(255, 255, 255, 0.7) !important;
}

body.light .ticker__divider {
    color: var(--color-primary) !important;
}

body.light .social-link {
    color: var(--color-white) !important;
}

body.light .social-link:hover {
    color: var(--color-primary) !important;
}

/* Search Modal */
.search-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-modal.active {
    opacity: 1;
    visibility: visible;
}

.search-modal__content {
    width: 100%;
    max-width: 800px;
    padding: 0 var(--container-padding);
    position: relative;
}

.search-modal__input {
    width: 100%;
    background: none;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 4rem 2rem 0;
    color: var(--color-white);
    font-family: inherit;
    font-size: 3.2rem;
    font-weight: 300;
    transition: all 0.3s ease;
}

.search-modal__input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.search-modal__input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.search-modal__close {
    position: absolute;
    top: 50%;
    right: var(--container-padding);
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 2.4rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-modal__close:hover {
    color: var(--color-primary);
}

/* Light Theme Search Modal */
body.light .search-modal {
    background: rgba(255, 255, 255, 0.98);
}

body.light .search-modal__input {
    color: var(--light-text);
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

body.light .search-modal__input::placeholder {
    color: rgba(0, 0, 0, 0.3);
}

body.light .search-modal__close {
    color: var(--light-text);
}

/* Location Menu */
.location-menu {
    position: absolute;
    top: calc(100% + 12px);
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
    background: #000000;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.location-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.location-option {
    padding: 16px 24px;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-white);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 0.1em;
}

.location-option:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--color-primary);
}

.location-option:not(:last-child) {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Location Button */
.location-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: none;
    color: var(--color-white);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    cursor: pointer;
    padding: 10px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.location-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.location-btn i {
    color: #DE4032;
}

/* Our Brands Section */
.our-brands {
    padding: 6rem 0;
    background-color: var(--color-black);
    transition: background-color 0.3s ease;
}

body.light .our-brands {
    background-color: var(--light-bg);
}

body.light .brand-card {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.light .brand-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Стили для первой карточки */
.brand-card:first-child {
    flex: 2;
}

.brand-card:first-child .brand-card__info {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.brand-card:first-child .brand-card__arrow {
    right: 2.5rem;
    transform: translateX(0) rotate(-45deg);
    background-color: var(--color-primary);
}

.brand-card:first-child .brand-card__overlay {
    opacity: 1;
}

/* При наведении на другие карточки, первая сжимается */
.brands-grid:hover .brand-card:first-child:not(:hover) {
    flex: 1;
}

.brands-grid:hover .brand-card:first-child:not(:hover) .brand-card__info {
    transform: translateY(30px);
    opacity: 0;
    visibility: hidden;
}

.brands-grid:hover .brand-card:first-child:not(:hover) .brand-card__arrow {
    right: 50%;
    transform: translateX(50%) rotate(-45deg);
    background-color: rgba(20, 37, 53, 0.8);
}

.brands-grid:hover .brand-card:first-child:not(:hover) .brand-card__overlay {
    opacity: 0.7;
}

.section-title {
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.02em;
    margin-bottom: 4rem;
    width: 100%;
}

body.light .section-title {
    background: #285AEB;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

.brands-grid {
    display: flex;
    gap: clamp(1rem, 2vw, 2rem);
    height: 600px;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.brand-card {
    position: relative;
    border-radius: clamp(2rem, 3vw, 3.125rem);
    overflow: hidden;
    flex: 1;
    transition: all 0.5s ease-out;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer;
}

.brand-card:hover {
    flex: 2;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.brand-card__link {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: white;
}

.brand-card__image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: scale(1.01);
    transition: transform 0.5s ease-out;
}

.brand-card:hover .brand-card__image {
    transform: scale(1.05);
}

.brand-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.brand-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.2) 30%,
        rgba(0, 0, 0, 0.6) 60%,
        rgba(0, 0, 0, 0.8) 100%
    );
    opacity: 0.7;
    transition: opacity 0.5s ease-out;
}

.brand-card:hover .brand-card__overlay {
    opacity: 1;
}

.brand-card__content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: clamp(2rem, 3vw, 3rem);
    z-index: 2;
}

.brand-card__info {
    transform: translateY(20px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-out;
}

.brand-card:hover .brand-card__info {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.brand-card__title {
    font-size: clamp(2rem, 3vw, 3.4375rem);
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0.02em;
    color: var(--color-white);
}

.brand-card__location {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: clamp(1.4rem, 1.5vw, 2rem);
    color: rgba(255, 255, 255, 0.9);
}

.brand-card__location i {
    color: #DE4032;
}

.brand-card__arrow {
    position: absolute;
    bottom: 2rem;
    right: 50%;
    transform: translateX(50%) rotate(-45deg);
    width: 3.5rem;
    height: 3.5rem;
    background-color: rgba(20, 37, 53, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-card:hover .brand-card__arrow {
    right: 2.5rem;
    transform: translateX(0) rotate(-45deg);
    background-color: var(--color-primary);
}

.brand-card__arrow:hover {
    transform: translateX(0) rotate(-135deg);
    background-color: #FFFFFF;
    transition: all 0.3s ease-out;
}

.brand-card__arrow i {
    font-size: 1.875rem;
    color: white;
    transition: color 0.3s ease-out;
}

/* Light Theme Location Menu */
body.light .location-menu {
    background: #ffffff;
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body.light .location-option {
    color: var(--light-text);
}

body.light .location-option:hover {
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-primary);
}

body.light .location-option:not(:last-child) {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* Светлая тема для мобильного меню */
body.light .mobile-toggle span {
    background: var(--light-text);
}

body.light .mobile-menu {
    background: #ffffff;
}

body.light .mobile-menu__nav a {
    color: var(--light-text);
}

/* Мобильное меню города */
.mobile-menu__location {
    margin-bottom: 30px;
    padding: 0 20px;
}

.mobile-menu__location-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--color-white);
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-menu__location-btn i {
    color: #DE4032;
    transition: transform 0.3s ease;
}

.mobile-menu__location-btn.active i {
    transform: rotate(180deg);
}

.mobile-menu__cities {
    display: none;
    flex-direction: column;
    gap: 8px;
    margin-top: 10px;
    padding: 0 5px;
}

.mobile-menu__cities.active {
    display: flex;
}

.mobile-menu__city {
    padding: 12px 20px;
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--color-white);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 0.1em;
}

.mobile-menu__city.active {
    background: rgba(0, 12, 179, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.mobile-menu__city:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Light Theme */
body.light .mobile-menu__location-btn {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--light-text);
}

body.light .mobile-menu__city {
    color: var(--light-text);
    background: rgba(0, 0, 0, 0.03);
    border-color: rgba(0, 0, 0, 0.1);
}

body.light .mobile-menu__city.active {
    background: rgba(0, 12, 179, 0.1);
    border-color: var(--color-primary);
    color: var(--color-primary);
}

body.light .mobile-menu__city:hover {
    background: rgba(0, 0, 0, 0.08);
}

/* Brands Section */
.brands {
    padding: 140px 0;
    background: var(--color-black);
    min-height: calc(100vh - var(--header-height));
}

.brands__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

@media (max-width: 768px) {
    .brands {
        padding: 32px 0;
        width: 100%;
        overflow: hidden;
        position: relative;
        min-height: fit-content;
    }

    .brands__grid {
        padding: 0 16px;
        gap: 16px;
    }
}

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

    .brands__grid {
        padding: 0 12px;
        gap: 12px;
    }
}

/* Brand Card */
.brand-card {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: var(--header-dark);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    cursor: pointer;
    aspect-ratio: 1/1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.brand-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.brand-card__image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.brand-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.brand-card:hover .brand-card__image img {
    transform: scale(1.1);
}

.brand-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg, 
        transparent 0%, 
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.95) 100%
    );
    opacity: 0.8;
    transition: opacity 0.4s ease;
}

.brand-card:hover .brand-card__overlay {
    opacity: 1;
}

.brand-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 2;
}

.brand-card__title {
    color: var(--color-white);
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    letter-spacing: 0.02em;
}

.brand-card__location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.4rem;
}

.brand-card__location i {
    color: #DE4032;
}

.brand-card a {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
}

/* Light Theme */
body.light .brands {
    background-color: var(--light-bg);
}

body.light .section-title {
    color: #285AEB;
}

body.light .brand-card {
    background: var(--header-light);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

body.light .brand-card:hover {
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

body.light .brand-card__overlay {
    background: linear-gradient(
        180deg, 
        transparent 0%, 
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.9) 100%
    );
}

body.light .brand-card__title {
    color: var(--color-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Brand Detail Page */
.brand-detail {
    padding: 6rem 0;
    background: var(--color-black);
    margin-top: var(--header-height);
}

body.light .brand-detail {
    background: var(--light-bg);
}

.brand-section {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.brand-top-section {
    margin-bottom: 60px;
}

.brand-info {
    max-width: 800px;
    margin: 0 auto;
}

.category-stars {
    margin-bottom: 20px;
    font-size: 24px;
}

.brand-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
}

body.light .brand-title {
    color: var(--light-text);
}

.brand-subtitle {
    font-size: 24px;
    color: var(--color-primary);
    margin-bottom: 30px;
}

body.light .brand-subtitle {
    color: var(--light-text);
}

.brand-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 40px;
}

body.light .brand-description {
    color: var(--light-text);
}

/* Добавляем медиа-запросы для мобильной версии */
@media screen and (max-width: 768px) {
    .brand-title,
    .brand-subtitle,
    .brand-description {
        text-align: center;
    }

    .brand-title {
        font-size: 36px;
    }

    .brand-subtitle {
        font-size: 20px;
    }

    .brand-description {
        font-size: 16px;
        text-align: left;
    }

    .brand-top-section {
        margin-bottom: 40px;
    }

    .brand-info {
        padding: 0 20px;
    }
}

@media screen and (max-width: 480px) {
    .brand-title {
        font-size: 28px;
    }

    .brand-subtitle {
        font-size: 18px;
    }
}

.brand-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.brand-links > div {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.brand-links i {
    font-size: 24px;
    color: var(--color-primary);
}

/* История бренда */
.brand-history {
    max-width: 800px;
    margin: 80px auto;
    text-align: center;
}

.brand-history h1 {
    font-size: 36px;
    margin-bottom: 40px;
}

.brand-history p {
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Особенности */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin: 4rem 0;
    padding: 0 var(--container-padding);
    max-width: var(--container-width);
    margin: 4rem auto;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
}

body.light .feature-item {
    background: rgba(0, 0, 0, 0.03);
}

.feature-item h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--color-primary);
}

/* Специальные предложения */
.special-offers {
    max-width: var(--container-width);
    width: 100%;
    margin: 4rem auto;
    padding: 0 var(--container-padding);
}

.special-offers h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    color: var(--color-white);
}

body.light .special-offers h2 {
    color: var(--light-text);
}

.offer-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

body.light .offer-item {
    background: rgba(0, 0, 0, 0.03);
}

.offer-item h3 {
    font-size: 24px;
    color: var(--color-primary);
    margin-bottom: 10px;
}

/* Brand Info */
.brand-info {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.brand-info .brand-title {
    color: var(--color-white);
    margin-bottom: 2rem;
}

body.light .brand-info .brand-title {
    color: var(--light-text);
}

.brand-info .brand-description {
    color: var(--color-white);
    opacity: 0.9;
}

body.light .brand-info .brand-description {
    color: var(--light-text);
}

/* Brand Gallery */
.brand-gallery {
    width: 100%;
    margin-bottom: 30px;
}

.gallery-swiper {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.swiper-button-next,
.swiper-button-prev {
    color: var(--color-primary);
}

.swiper-pagination-bullet {
    background: var(--color-primary);
}

.swiper-pagination-bullet-active {
    background: var(--color-primary);
}

@media (max-width: 768px) {
    .gallery-swiper {
        height: 300px;
    }
}

@media (max-width: 576px) {
    .gallery-swiper {
        height: 250px;
    }
}

/* Ticker для страницы бренда */
.brand-ticker {
    flex: 1;
    height: 40px;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.5s ease forwards;
}

.brand-ticker__wrapper {
    position: absolute;
    display: flex;
    align-items: center;
    width: max-content;
    height: 100%;
    animation: tickerAnimation 180s linear infinite;
    will-change: transform;
    left: 0;
    top: 0;
}

.brand-ticker__content {
    display: flex;
    align-items: center;
    white-space: nowrap;
    padding-right: 50px;
}

.brand-ticker__content span {
    display: inline-block;
    padding: 0 30px;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--accent-color);
}

@keyframes tickerAnimation {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-50%, 0, 0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Общие стили для бегущей строки */
.ticker-container {
    width: 100%;
    height: 80px;
    background: var(--header-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--container-padding);
    margin-top: auto;
}

.ticker, .brand-ticker {
    width: 100%;
    overflow: hidden;
    position: relative;
    background: transparent;
    display: flex;
    align-items: center;
    height: 100%;
}

.ticker__track {
    display: flex;
    align-items: center;
    white-space: nowrap;
    height: 100%;
    will-change: transform;
    animation: marquee 30s linear infinite;
}

.ticker__item {
    flex-shrink: 0;
    padding: 0 30px;
    display: flex;
    align-items: center;
    height: 100%;
}

.ticker__text {
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--accent-color);
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.ticker:hover .ticker__track {
    animation-play-state: paused;
}

/* Brands Header */
.brands-header {
    height: 80px;
    background: var(--header-dark);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    margin-top: var(--header-height);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.brands-header__content {
    height: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--container-padding);
    display: flex;
    align-items: center;
}

.brands-header__ticker {
    flex: 1;
    height: 40px;
    position: relative;
    overflow: hidden;
}
/* Brands Hero Section */
.brands-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
                url('../images/brands-hero.jpg') center/cover no-repeat;
    height: calc(100vh - var(--header-height));
    margin-top: var(--header-height);
    display: flex;
    flex-direction: column;
    position: relative;
}

.brands-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.5) 50%,
        rgba(0, 0, 0, 0.8) 100%
    );
    z-index: 1;
}

.brands-hero .hero__content {
    position: relative;
    z-index: 2;
    flex: 1;
}

.brands-hero .hero__footer {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 80px;
    background: var(--header-dark);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--container-padding);
}

.brands-hero .ticker {
    flex: 1;
    height: 40px;
    position: relative;
    overflow: hidden;
}

.brands-hero .ticker__track {
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
    will-change: transform;
    animation: marquee 240s linear infinite;
}

.brands-hero .ticker__item {
    flex-shrink: 0;
    padding: 0 30px;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--accent-color);
}

/* Recent Events Section */
.recent-events {
    padding: 6rem 0;
    background-color: var(--color-black);
    transition: background-color 0.3s ease;
}

body.light .recent-events {
    background-color: var(--light-bg);
}

.recent-events .container {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.recent-events .section-title {
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: var(--color-white);
    letter-spacing: 0.02em;
    padding: 0;
    max-width: var(--container-width);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 225px;
    gap: 20px;
    width: 100%;
    margin: 0;
    padding: 0;
}

.event-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    transition: transform 0.3s ease;
}

/* Расположение карточек в сетке */
.event-card:nth-child(1) {
    grid-column: 1;
    grid-row: 1 / 3;
}

.event-card:nth-child(2) {
    grid-column: 2;
    grid-row: 1;
}

.event-card:nth-child(3) {
    grid-column: 3;
    grid-row: 1;
}

.event-card:nth-child(4) {
    grid-column: 1;
    grid-row: 3;
}

.event-card:nth-child(5) {
    grid-column: 2;
    grid-row: 2 / 4;
}

.event-card:nth-child(6) {
    grid-column: 3;
    grid-row: 2 / 4;
}

.event-card__link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: var(--color-white);
}

.event-card__image {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.event-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.event-card:hover .event-card__image img {
    transform: scale(1.05);
}

.event-card__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    background: linear-gradient(to top, rgba(0,0,0,0.9), rgba(0,0,0,0.5) 50%, transparent);
    z-index: 1;
}

.event-card__location {
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.event-card__title {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 8px;
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.event-card__date {
    font-size: 1.4rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

@media screen and (max-width: 1024px) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 768px) {
    .events-grid {
        grid-template-columns: 1fr;
    }
    
    .event-card.wide,
    .event-card.tall {
        grid-column: auto;
        grid-row: auto;
    }
}

/* Announcements Section */
.announcements {
    padding: 60px 0;
    background: var(--color-black);
}

.announcements__list {
    display: flex;
    flex-direction: column;
    gap: 3.2rem;
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.announcement-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 1rem;
    padding: 2rem 2.4rem;
    display: flex;
    align-items: center;
    gap: 2.4rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.announcement-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.03), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.announcement-card:hover {
    background: rgba(255, 255, 255, 0.03);
    transform: translateY(-1px);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.announcement-card__icon {
    width: 6.5rem;
    min-width: 6.5rem;
    height: 6.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    background: rgba(0, 12, 179, 0.03);
    border-radius: 0.8rem;
    padding: 1rem;
}

.announcement-card:hover .announcement-card__icon {
    transform: scale(1.02);
}

.announcement-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.announcement-card:hover .announcement-card__icon img {
    opacity: 1;
}

.announcement-card__content {
    flex: 1;
}

.announcement-card__title {
    font-size: 24px;
    font-weight: 700;
    color: var(--color-black);
    margin-bottom: 15px;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.announcement-card:hover .announcement-card__title {
    color: var(--color-black);
}

.announcement-card__description {
    font-size: 16px;
    line-height: 1.6;
    color: rgba(0, 0, 0, 0.7);
    transition: color 0.3s ease;
}

.announcement-card:hover .announcement-card__description {
    color: rgba(0, 0, 0, 0.7);
}

/* Light Theme */
body.light .announcements {
    background: var(--light-bg);
}

body.light .announcement-card {
    background: rgba(0, 0, 0, 0.03);
}

body.light .announcement-card:hover {
    background: rgba(0, 0, 0, 0.05);
}

body.light .announcement-card__title {
    color: var(--color-black);
}

body.light .announcement-card__description {
    color: rgba(0, 0, 0, 0.7) !important;
}

body.light .announcement-card:hover .announcement-card__description {
    color: rgba(0, 0, 0, 0.7) !important;
}

/* Dark Theme */
body:not(.light) .announcement-card__title {
    color: var(--color-white);
}

body:not(.light) .announcement-card__description {
    color: rgba(255, 255, 255, 0.7) !important;
}

body:not(.light) .announcement-card:hover .announcement-card__description {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* About Section */
.about {
    padding: 8rem 0;
    background: var(--color-black);
    position: relative;
}

body.light .about {
    background: var(--light-bg);
}

.about__content {
    display: flex;
    gap: 6rem;
    align-items: flex-start;
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

.about__image {
    flex: 0 0 45%;
    border-radius: 2rem;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

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

.about__text {
    flex: 1;
}

.about__title {
    font-size: 4.2rem;
    font-weight: 700;
    margin-bottom: 3rem;

    letter-spacing: 0.02em;
    line-height: 1.2;
    max-width: var(--container-width);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.about__description {
    font-size: 1.8rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 4rem;
}

.about__contacts {
    border-top: 2px solid rgba(0, 12, 179, 0.2);
    padding-top: 3rem;
}

.about__contacts h4 {
    font-size: 2.4rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    color: var(--color-white);
    letter-spacing: 0.02em;
}

.about__contact-item {
    display: flex;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.about__contact-item i {
    font-size: 2.4rem;
    color: var(--accent-color);
}

.about__contact-item a {
    font-size: 1.8rem;
    color: var(--color-white);
    text-decoration: none;
    transition: color 0.3s ease;
    letter-spacing: 0.05em;
}

.about__contact-item a:hover {
    color: var(--accent-color);
}


body.light .about__description {
    color: rgba(0, 0, 0, 0.8);
}

body.light .about__contacts {
    border-color: rgba(0, 12, 179, 0.2);
}

body.light .about__contacts h4 {
    color: var(--light-text);
}

body.light .about__contact-item a {
    color: var(--light-text);
}

.announcements__media {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.announcements__media-item {
    position: relative;
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

.announcements__media-item img,
.announcements__media-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.announcements__media-item video {
    background: #000;
}

/* Photo Albums Page */
.photo-albums {
    padding: 60px 0;
}

.photo-albums__filters {
    margin-bottom: 40px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-group label {
    font-size: 1.4rem;
    color: var(--color-white);
    font-weight: 600;
}

.filter-select {
    padding: 10px 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(0, 0, 0, 0.3);
    color: var(--color-white);
    border-radius: 8px;
    font-size: 1.4rem;
    min-width: 200px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-select:hover {
    border-color: var(--accent-color);
}

.albums-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.album-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.album-card:hover {
    transform: translateY(-5px);
}

.album-cover {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.album-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.album-card:hover .album-cover img {
    transform: scale(1.05);
}

.album-info {
    padding: 20px;
}

.album-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 10px;
}

.album-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--color-white);
    opacity: 0.7;
    font-size: 1.4rem;
}

.album-brand {
    color: var(--accent-color);
    font-weight: 500;
}

.album-date {
    font-size: 1.3rem;
}

.album-description {
    margin-top: 10px;
    font-size: 1.4rem;
    color: var(--color-white);
    opacity: 0.8;
    line-height: 1.4;
}

@media screen and (max-width: 768px) {
    .photo-albums {
        padding: 40px 0;
    }

    .albums-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .album-info {
        padding: 15px;
    }

    .album-title {
        font-size: 1.6rem;
    }
}

@media screen and (max-width: 480px) {
    .photo-albums {
        padding: 30px 0;
    }

    .photo-albums__filters {
        flex-direction: column;
        gap: 15px;
    }

    .filter-select {
        width: 100%;
    }

    .albums-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

.recent-events .section-title {
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: 4rem;
    color: var(--color-white);
    letter-spacing: 0.02em;
    padding: 0;
    max-width: var(--container-width);
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.recent-events .container {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

/* Общие стили для всех секций */
.recent-events,
.our-brands,
.announcements,
.about {
    width: 100%;
}

.recent-events .container,
.our-brands .container,
.announcements .container,
.about .container {
    max-width: var(--container-width);
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--container-padding);
}

/* Убираем дублирующиеся паддинги */
.recent-events .section-title,
.our-brands .section-title,
.announcements .section-title,
.about .section-title {
    padding: 0;
}

.events-grid,
.brands-grid,
.announcements__list,
.about__content {
    padding: 0;
}

/* Контент внутри контейнера */
.container > * {
    max-width: 100%;
    width: 100%;
}

/* Заголовки секций */
.section-title {
    font-size: 3.6rem;
    font-weight: 700;
    color: var(--color-white);
    letter-spacing: 0.02em;
    margin-bottom: 4rem;
    width: 100%;
}

/* Футер героя */
.hero__footer .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
}

@supports (padding: max(0px)) {
    .header,
    .mobile-menu,
    .hero__content,
    .hero__footer,
    .footer {
        padding-left: max(var(--container-padding-mobile), env(safe-area-inset-left));
        padding-right: max(var(--container-padding-mobile), env(safe-area-inset-right));
    }
}

body:not(.light) .header.scrolled {
    background: #000000;
}

/* Footer Styles */
.footer {
    padding: 30px 0;
    background: var(--color-black);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: auto;
}

body.light .footer {
    background: var(--light-bg);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.footer__content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer__links {
    display: flex;
    gap: 20px;
}

.footer__links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer__links a:hover {
    opacity: 1;
}

.footer__copyright {
    color: var(--text-color);
    font-size: 14px;
    opacity: 0.8;
}

@media (max-width: 768px) {
    .footer {
        padding: 20px 0;
        margin-top: 40px;
    }

    .footer__content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .footer__links {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .footer {
        padding: 15px 0;
        margin-top: 30px;
    }
}

/* Специальные стили для страниц с фиксированной высотой */
.brand-detail .footer,
.photo-gallery .footer,
.album-detail .footer {
    margin-top: auto;
}

/* Для страниц с динамическим контентом */
.brands .footer,
.home .footer {
    margin-top: auto;
    padding-top: 60px;
}

/* Light Theme */
body.light .announcement-card__icon {
    background: rgba(0, 12, 179, 0.03);
}

body.light .announcement-card__icon img {
    filter: none;
    opacity: 1;
}

body.light .announcement-card:hover .announcement-card__icon {
    background: rgba(0, 12, 179, 0.05);
}

body.light .announcement-card:hover .announcement-card__icon img {
    filter: none;
    opacity: 1;
}

/* Добавляем стили для темной темы */
body:not(.light) .announcement-card__icon img {
    filter: none;
    opacity: 0.9;
}

body:not(.light) .announcement-card:hover .announcement-card__icon img {
    opacity: 1;
}

body.light .announcements__header-text {
    color: rgba(0, 0, 0, 0.8);
}