:root {
    --primary-bg: #F5F0EA;
    --secondary-bg: #E6DACE;
    --accent-color: #A67C52;
    --text-color: #333333;
    --light-text: #666666;
    --border-color: #DDD5CC;
}

/* Fixed header styles */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: var(--secondary-bg);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Add padding to body to prevent content from being hidden under fixed header */
body {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: var(--primary-bg);
    color: var(--text-color);
    padding-top: 120px; /* Adjust this value based on your header height */
}

.navbar {
    background-color: transparent;
    box-shadow: none;
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: var(--accent-color) !important;
    font-size: 1.5rem;
    letter-spacing: 1px;
}

.nav-link {
    color: var(--text-color) !important;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-color) !important;
}

.btn-link {
    color: var(--accent-color);
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.btn-link:hover {
    opacity: 0.8;
    color: var(--accent-color);
}

.breadcrumb {
    background-color: transparent;
    padding: 0.5rem 0;
}

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

.breadcrumb-item.active {
    color: var(--accent-color);
}

@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--secondary-bg);
        padding: 1rem;
        border-radius: 0.5rem;
        margin-top: 1rem;
    }
}

.footer {
    background-color: var(--secondary-bg);
    color: var(--text-color);
}

/* Search styles */
.search-input {
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 0.5rem 1rem;
    background-color: white;
    width: 250px;
}

.btn-search {
    background: none;
    border: none;
    color: var(--accent-color);
    margin-left: -40px;
}

.btn-search:hover {
    color: var(--text-color);
}

/* Footer styles */
.footer-heading {
    font-family: 'Playfair Display', serif;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

/* Cart icon styles */
.snipcart-items-count {
    background-color: var(--accent-color);
    color: white;
    border-radius: 50%;
    padding: 0.2rem 0.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 0.5rem;
    min-width: 1.2rem;
    text-align: center;
    display: inline-block;
}

.snipcart-checkout {
    position: relative;
    display: flex;
    align-items: center;
}

/* Hero Carousel Styles */
.hero-section {
    margin-top: -120px; /* Компенсируем фиксированный header */
    padding-top: 120px;
}

#heroCarousel {
    max-height: 500px; /* Ограничиваем высоту карусели */
    overflow: hidden;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.carousel-item {
    height: 500px;
    position: relative;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.carousel-caption {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 2rem;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    max-width: 600px;
    backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.carousel-caption h1,
.carousel-caption h2 {
    color: var(--text-color) !important;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.carousel-caption p {
    color: var(--light-text) !important;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.carousel-caption .btn {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.carousel-caption .btn:hover {
    background-color: var(--text-color);
    border-color: var(--text-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.carousel-indicators {
    bottom: 1rem;
}

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

.carousel-indicators button.active {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: scale(1.2);
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(255,255,255,0.9);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    margin: 0 1rem;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: var(--accent-color);
    transform: translateY(-50%) scale(1.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
    width: 24px;
    height: 24px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #heroCarousel {
        max-height: 400px;
    }
    
    .carousel-item {
        height: 400px;
    }
    
    .carousel-caption {
        padding: 1.5rem;
        bottom: 1rem;
        width: 90%;
    }
    
    .carousel-caption h1,
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
}

.footer-description {
    line-height: 1.6;
    color: var(--text-color);
}

.footer-links li {
    margin-bottom: 0.75rem;
}

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

.footer-links a:hover {
    color: var(--accent-color);
}

.company-info {
    margin-top: 1.5rem;
    font-style: normal;
    color: var(--light-text);
}

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

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

.social-links a {
    font-size: 1.2rem;
    color: var(--accent-color);
}

.social-links a:hover {
    opacity: 0.8;
}

.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--secondary-bg);
    padding: 1rem 0;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 1000;
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.cookie-content p {
    margin: 0;
}

.cookie-content .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    padding: 0.5rem 2rem;
}

.cookie-content .btn-primary:hover {
    opacity: 0.9;
}

/* Contact page styles */
.contact-info .card {
    background: linear-gradient(to bottom right, var(--primary-bg), var(--secondary-bg));
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.contact-info .card-body {
    padding: 2rem;
}

.contact-info address {
    font-style: normal;
    line-height: 1.8;
}

.contact-info .fas {
    color: var(--accent-color);
}

.map-section iframe {
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.faq-section .accordion-button {
    background: linear-gradient(to right, var(--primary-bg), var(--secondary-bg));
    border: none;
    color: var(--text-color);
    font-weight: 500;
}

.faq-section .accordion-button:not(.collapsed) {
    color: var(--accent-color);
    background: linear-gradient(to right, var(--secondary-bg), var(--primary-bg));
}

.faq-section .accordion-body {
    background-color: white;
    padding: 1.5rem;
    line-height: 1.6;
}
