:root {
    --glass-color: rgba(255, 255, 255, 0.15);
    --glass-border: 1px solid rgba(255, 255, 255, 0.2);
    --glass-blur: 12px;
    --primary-color: #4f46e5;
    --gold-color: #d4af37;
    --text-color: #ffffff;
    --text-hover: #f8f9fa;
}

body {
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

.hero-header {
    position: relative;
    height: 35vh;
    min-height: 200px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 100%),
        url('/static/img/fonlite.jpg');
    background-blend-mode: overlay;
    background-size: cover;
    background-position: center;
    color: white;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Навигация с улучшенной читаемостью */
.navbar-glass {
    background: var(--glass-color) !important;
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border-bottom: var(--glass-border);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 10px 0;
    z-index: 2000;
}

.navbar-glass.scrolled {
    background: rgba(0, 0, 0, 0.8) !important;
    backdrop-filter: blur(20px);
}

/* Улучшенные пункты меню */
.nav-item {
    margin: 0 8px;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-color) !important;
    letter-spacing: 0.5px;
    padding: 10px 18px !important;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.nav-link:hover {
    color: var(--text-hover) !important;
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.nav-link.active {
    color: var(--text-hover) !important;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.25);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 18px;
    width: calc(100% - 36px);
    height: 2px;
    background: var(--gold-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
}

/* Стиль для основного заголовка из предыдущего варианта */
.shop-title {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin: 1rem 0;
    color: white;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 1s ease-out forwards 0.3s;
}

.shop-title::before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: var(--gold-color);
    box-shadow: 0 0 10px var(--gold-color);
}

.shop-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 1.2rem;
    letter-spacing: 3px;
    margin-top: 25px;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 1s ease-out forwards 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Эффект свечения при наведении */
.shop-title:hover {
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.shop-title:hover::before {
    background: white;
    box-shadow: 0 0 15px white;
}

/* Контакты в шапке */
.header-contacts {
    display: flex;
    align-items: center;
}

.contact-item {
    margin-left: 25px;
    display: flex;
    align-items: center;
}

.contact-item i {
    margin-right: 8px;
    font-size: 1em;
    color: var(--gold-color);
}

.contact-link {
    color: white;
    text-decoration: none;
    font-size: 0.95em;
    transition: opacity 0.3s;
}

.contact-link:hover {
    opacity: 0.8;
    color: white;
}

/* Адаптивность */
@media (max-width: 992px) {
    .navbar-collapse {
        background: rgba(0, 0, 0, 0.85);
        backdrop-filter: blur(10px);
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
    }

    .nav-link {
        padding: 12px 0 !important;
        margin: 5px 0;
        display: block;
    }

    .nav-link::after {
        left: 0;
        width: 40px;
    }

    .header-contacts {
        margin-top: 15px;
        justify-content: center;
    }

    .contact-item {
        margin: 0 15px;
    }
}

@media (min-width: 768px) {
    .shop-title {
        font-size: 3.5rem;
    }

    .shop-subtitle {
        font-size: 1rem;
        letter-spacing: 2px;
    }

    .hero-header {
        height: 40vh;
        min-height: 300px;
    }
    .hero-header .d-flex {
        display: none;
    }
}