/* Main styles */
:root {
  --primary-green: #00A651;
  --bg-light: #FFF9F5;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  background-color: var(--bg-light);
  color: #333;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  font-weight: 600;
}

.navbar {
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  background-color: #fff !important;
  z-index: 1030;
  padding: 0.75rem 0;
}

.navbar.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
}

body {
  padding-top: 76px;
}

.navbar-brand {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--primary-green);
  font-size: 1.8rem;
  letter-spacing: -0.5px;
}

.nav-link {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 0.75rem 1.25rem !important;
  color: #333 !important;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  white-space: nowrap;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-green) !important;
  background-color: rgba(0, 166, 81, 0.05);
  border-radius: 8px;
}

.navbar-nav {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
}

.nav-item {
  display: flex;
  align-items: center;
}

.form-control {
  border-radius: 20px;
  border: 1px solid #ddd;
  padding: 0.5rem 1rem;
  width: 250px;
}

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(0, 166, 81, 0.25);
}

.btn-outline-success {
  border-radius: 20px;
  padding: 0.5rem 1rem;
  margin-left: -40px;
  border: none;
  background: transparent;
  color: #666;
}

.btn-outline-success:hover {
  background: transparent;
  color: var(--primary-green);
}

.btn-primary {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  border-radius: 25px;
  padding: 0.5rem 1.5rem;
  box-shadow: 0 2px 4px rgba(0, 166, 81, 0.2);
}

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

.cart-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-left: 1rem;
}

.cart-buttons button {
  background: transparent;
  border: none;
  color: #333;
  padding: 0.5rem;
  position: relative;
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.cart-buttons button:hover {
  color: var(--primary-green);
}

.snipcart-items-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: var(--primary-green);
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 600;
  line-height: 1;
}

/* Footer Styles */
.footer {
    color: #333;
    background-color: #fff !important;
    border-top: 1px solid #eee;
}

.footer h5 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}

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

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

.footer .payment-methods {
    font-size: 1.5rem;
    color: #666;
}

.company-info p {
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.company-info i {
    color: var(--primary-green);
    width: 20px;
    margin-right: 8px;
}

/* Cookie Consent Banner */
.cookie-consent {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    z-index: 1000;
}

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

.cookie-consent p {
    margin: 0;
}

.cookie-consent .btn {
    white-space: nowrap;
}
/* Hero Section Styles */
.hero-section {
    position: relative;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.carousel-item {
    height: 650px;
    background-color: var(--bg-light);
    position: relative;
}

.carousel-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
    transition: transform 0.6s ease;
}

.carousel-item:hover img {
    transform: scale(1.05);
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 166, 81, 0.1) 0%, rgba(0, 0, 0, 0.2) 100%);
    z-index: 1;
}

.carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    padding: 2rem;
}

.carousel-content {
    background: rgba(255, 255, 255, 0.95);
    padding: 3rem 2.5rem;
    border-radius: 20px;
    max-width: 650px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.8s ease;
}

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

.carousel-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.carousel-text {
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-carousel {
    padding: 0.875rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 166, 81, 0.3);
}

.btn-carousel:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 166, 81, 0.4);
}

.carousel-indicators {
    margin-bottom: 2rem;
    z-index: 3;
}

.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);
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: var(--primary-green);
    border-color: var(--primary-green);
    width: 30px;
    border-radius: 6px;
}

.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%);
    opacity: 0.8;
    transition: all 0.3s ease;
    z-index: 3;
}

.carousel-control-prev {
    left: 2rem;
}

.carousel-control-next {
    right: 2rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background-color: var(--primary-green);
}

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

.carousel-fade .carousel-item {
    opacity: 0;
    transition: opacity 0.6s ease-in-out;
}

.carousel-fade .carousel-item.active {
    opacity: 1;
}

/* Category Cards */
.category-card {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.category-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.category-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(255,255,255,0.9) 20%, white);
}

/* Product Cards */
.product-card {
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
    background: white;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* Адаптивные изображения для всех карточек */
.card-img-top,
.product-card img,
.category-card img,
.gallery-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .product-card img,
    .category-card img,
    .card-img-top,
    .gallery-image {
        height: 250px;
    }
}

@media (max-width: 576px) {
    .product-card img,
    .category-card img,
    .card-img-top,
    .gallery-image {
        height: 200px;
    }
}

.product-content {
    padding: 1.5rem;
}

.product-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.product-content .price {
    color: var(--primary-green);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Newsletter Section */
.newsletter-section {
    background: white;
}

.newsletter-form .input-group {
    max-width: 500px;
    margin: 0 auto;
}

/* About Section */
.about-section img {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

/* Contact Page Styles */
.contact-info-section .card {
    transition: transform 0.3s ease;
    background: linear-gradient(to bottom right, var(--bg-light), white);
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-info-section .card:hover {
    transform: translateY(-5px);
}

.contact-info-section .card i {
    color: var(--primary-green);
    margin-bottom: 1rem;
}

.contact-info-section .card h3 {
    font-family: 'Montserrat Alternates', sans-serif;
    color: #333;
    margin-bottom: 1rem;
}

.contact-form-section {
    background: linear-gradient(135deg, #FFF9F5 0%, #fff 100%);
}

.contact-form-section .card {
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.contact-form-section h2 {
    font-family: 'Montserrat Alternates', sans-serif;
    color: #333;
    margin-bottom: 2rem;
}

.contact-form-section .form-label {
    color: #555;
    font-weight: 500;
}

.contact-form-section .form-control,
.contact-form-section .form-select {
    border-radius: 8px;
    border: 1px solid #ddd;
    padding: 0.8rem;
    transition: all 0.3s ease;
}

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

.faq-section .accordion-button {
    font-family: 'Raleway', sans-serif;
    color: #333;
    padding: 1.2rem;
}

.faq-section .accordion-button:not(.collapsed) {
    background-color: var(--primary-green);
    color: white;
}

.faq-section .accordion-body {
    color: #666;
    line-height: 1.6;
    padding: 1.2rem;
}
