:root {
    --primary-color: #7B61FF;
    --accent-gold: #FFD700;
    --accent-blue: #87CEEB;
    --bg-light: #F8F9FA;
    --bg-lavender: #E6E6FA;
}

.footer {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lavender) 100%);
}

.footer h5 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
}

.footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: var(--primary-color) !important;
}

.cookie-consent {
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
}

@import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:wght@400;500;600&family=Playfair+Display:wght@400;700&display=swap');

body {
    font-family: 'Montserrat Alternates', sans-serif;
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-lavender) 100%);
    padding-top: 80px; /* Отступ для закрепленного меню */
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--primary-color), var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

.navbar {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    width: 100%;
}

.nav-link {
    color: var(--primary-color) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.75rem 1rem !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 2.5rem;
    text-align: center;
}

.nav-link:hover {
    color: var(--accent-gold) !important;
    transform: translateY(-2px);
}

/* Равномерное распределение пунктов меню */
.navbar-nav {
    display: flex;
    flex: 1;
    justify-content: space-around;
    align-items: center;
}

.nav-item {
    flex: 1;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 25px;
    padding: 0.5rem 1.5rem;
    box-shadow: 0 4px 6px rgba(123, 97, 255, 0.2);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #6548FF;
    border-color: #6548FF;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(123, 97, 255, 0.3);
}

.breadcrumb {
    background: transparent;
    font-size: 0.9rem;
}

.breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: #6c757d;
}

/* Animation for product cards */
.product-card {
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(123, 97, 255, 0.15);
}

/* Shopping cart icon animation */
.snipcart-checkout:hover i {
    animation: shake 0.5s ease-in-out;
}

@keyframes shake {
    0% { transform: translateX(0); }
    25% { transform: translateX(-3px); }
    75% { transform: translateX(3px); }
    100% { transform: translateX(0); }
}
/* Contact Page Styles */
.contact-info-section .card,
.contact-form-section .card {
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(123, 97, 255, 0.1);
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-info-section .card:hover,
.contact-form-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(123, 97, 255, 0.2);
}

.contact-info-section .card-title,
.contact-form-section .card-title {
    color: var(--primary-color);
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.contact-info-section .list-group-item,
.contact-form-section .list-group-item {
    background: transparent;
    border-color: rgba(123, 97, 255, 0.1);
}

.contact-form-section .form-control,
.contact-form-section .form-select {
    border-radius: 10px;
    border: 1px solid rgba(123, 97, 255, 0.2);
    padding: 0.75rem;
    transition: all 0.3s ease;
}

.contact-form-section .form-control:focus,
.contact-form-section .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(123, 97, 255, 0.25);
}

.faq-section .accordion-button {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    color: var(--primary-color);
    font-family: 'Montserrat Alternates', sans-serif;
    font-weight: 500;
}

.faq-section .accordion-button:not(.collapsed) {
    background: linear-gradient(135deg, var(--primary-color) 0%, #6548FF 100%);
    color: #ffffff;
}

.faq-section .accordion-item {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1px solid rgba(123, 97, 255, 0.2);
}

.contact-info-section a {
    color: var(--primary-color);
    transition: color 0.3s ease;
}

.contact-info-section a:hover {
    color: #6548FF;
    text-decoration: none;
}

/* Стили для карусели */
.hero-section {
    margin-top: 0;
    position: relative;
}

.carousel {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(123, 97, 255, 0.2);
    border: 3px solid rgba(123, 97, 255, 0.1);
}

.carousel-item {
    position: relative;
    transition: all 0.6s ease-in-out;
}

.carousel-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(123, 97, 255, 0.1) 0%, rgba(135, 206, 235, 0.1) 100%);
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 249, 250, 0.95) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px 20px 0 0;
    z-index: 2;
    text-align: center;
    box-shadow: 0 -10px 30px rgba(123, 97, 255, 0.15);
}

.carousel-caption h1,
.carousel-caption h2 {
    color: var(--primary-color) !important;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(123, 97, 255, 0.1);
}

.carousel-caption p {
    color: #6c757d !important;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.carousel-caption .btn {
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(123, 97, 255, 0.3);
    transition: all 0.3s ease;
}

.carousel-caption .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(123, 97, 255, 0.4);
}

/* Индикаторы карусели */
.carousel-indicators {
    bottom: 20px;
    z-index: 3;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(123, 97, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(123, 97, 255, 0.5);
}

.carousel-indicators button:hover {
    background-color: var(--accent-gold);
    transform: scale(1.1);
}

/* Кнопки навигации карусели */
.carousel-control-prev,
.carousel-control-next {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    border: 2px solid rgba(123, 97, 255, 0.2);
    transition: all 0.3s ease;
    z-index: 3;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 5px 15px rgba(123, 97, 255, 0.3);
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    filter: brightness(0) invert(1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 20px 20px;
    filter: brightness(0) saturate(100%) invert(27%) sepia(51%) saturate(2878%) hue-rotate(246deg) brightness(104%) contrast(97%);
}

/* Анимация появления текста */
.carousel-caption h1,
.carousel-caption h2 {
    animation: slideInUp 0.8s ease-out;
}

.carousel-caption p {
    animation: slideInUp 0.8s ease-out 0.2s both;
}

.carousel-caption .btn {
    animation: slideInUp 0.8s ease-out 0.4s both;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .carousel-caption {
        padding: 2rem 1rem;
        border-radius: 15px 15px 0 0;
    }
    
    .carousel-caption h1,
    .carousel-caption h2 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 50px;
        height: 50px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
}
