:root {
  --primary-color: #F6C1B6;
  --secondary-color: #E8DCC4;
  --bg-color: #FDF8F5;
  --text-color: #2C3E50;
  --border-color: #E2E8F0;
}

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  padding-top: 80px; /* Отступ для закрепленного меню */
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
}

.navbar {
  padding: 1.2rem 0;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-nav {
  flex: 1;
  justify-content: center;
  display: flex;
  margin: 0 2rem;
}

.nav-item {
  flex: 1;
  text-align: center;
  max-width: 150px;
  min-width: 120px;
}

@media (min-width: 1200px) {
  .nav-item {
    max-width: 180px;
  }
}

.navbar-brand {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  color: var(--text-color);
  font-size: 1.8rem;
  letter-spacing: 0.5px;
}

.nav-link {
  font-family: 'Montserrat', sans-serif;
  color: var(--text-color);
  font-weight: 400;
  padding: 0.8rem 1rem;
  transition: all 0.3s ease;
  position: relative;
  display: block;
  text-align: center;
  white-space: nowrap;
  font-size: 0.9rem;
}

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

.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
}

.nav-link:hover::after {
  width: 80%;
  left: 10%;
}

.search-input {
  border: 1px solid var(--border-color);
  border-radius: 20px;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  width: 200px;
  transition: all 0.3s ease;
}

.search-input:focus {
  width: 250px;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(246, 193, 182, 0.25);
}

.btn-search {
  background: none;
  border: none;
  color: var(--text-color);
  padding: 0.5rem;
  margin-left: -40px;
  z-index: 1;
}

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

.cart-btn {
  background: none;
  border: none;
  color: #333;
  padding: 0.8rem 1rem;
  transition: all 0.3s ease;
  position: relative;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.cart-btn:hover {
  color: var(--primary-color);
  background-color: rgba(246, 193, 182, 0.1);
}

.cart-count {
  background-color: var(--primary-color);
  color: white;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 600;
  min-width: 24px;
  line-height: 1;
}

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

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

.breadcrumb-item.active {
  color: #666;
}

/* Footer Styles */
.footer {
  box-shadow: 0 -2px 4px rgba(0,0,0,0.05);
}

.footer h5 {
  color: #333;
  font-family: 'Raleway', sans-serif;
  font-weight: 600;
}

.footer a {
  color: #666;
  transition: color 0.3s ease;
}

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

.newsletter-form .btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.newsletter-form .btn-primary:hover {
  background-color: darken(var(--primary-color), 10%);
  border-color: darken(var(--primary-color), 10%);
}

.payment-methods {
  height: 24px;
  opacity: 0.8;
}

.payment-icons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.payment-icon {
  font-size: 1.5rem;
  color: #666;
  transition: all 0.3s ease;
  opacity: 0.8;
}

.payment-icon:hover {
  color: var(--primary-color);
  opacity: 1;
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .payment-icons {
    gap: 0.8rem;
    margin-top: 1rem;
  }
  
  .payment-icon {
    font-size: 1.3rem;
  }
}

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

/* Contact Page Styles */
.contact-info-section .card {
  transition: transform 0.3s ease;
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  border: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

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

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

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

.contact-form-section .form-control,
.contact-form-section .form-select {
  border-radius: 8px;
  border: 1px solid var(--border-color);
  padding: 0.8rem;
  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(246, 193, 182, 0.25);
}

.contact-form-section .btn-primary {
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-weight: 500;
  letter-spacing: 0.5px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #f8d0c8 100%);
  border: none;
  transition: all 0.3s ease;
}

.contact-form-section .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(246, 193, 182, 0.4);
}

.faq-section .accordion-button {
  background: linear-gradient(145deg, #ffffff 0%, #f8f9fa 100%);
  border: none;
  padding: 1.2rem;
  font-weight: 500;
}

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

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

/* Modern Carousel Styles */
.modern-carousel {
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.modern-carousel .carousel-item {
  transition: transform 0.8s ease-in-out;
}

.modern-carousel .carousel-item img {
  height: 500px;
  object-fit: cover;
  filter: brightness(0.9);
}

.modern-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 2rem 3rem;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-width: 600px;
  width: 90%;
}

.caption-content {
  animation: fadeInUp 0.8s ease-out;
}

.caption-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-color);
  margin-bottom: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

.modern-btn {
  background: linear-gradient(135deg, var(--primary-color) 0%, #f8d0c8 100%);
  border: none;
  padding: 0.8rem 2.5rem;
  border-radius: 30px;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(246, 193, 182, 0.3);
}

.modern-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(246, 193, 182, 0.4);
  background: linear-gradient(135deg, #f8d0c8 0%, var(--primary-color) 100%);
}

.modern-control {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  border: none;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(10px);
}

.modern-control:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.modern-control .carousel-control-prev-icon,
.modern-control .carousel-control-next-icon {
  width: 20px;
  height: 20px;
  background-color: var(--text-color);
}

.modern-control:hover .carousel-control-prev-icon,
.modern-control:hover .carousel-control-next-icon {
  background-color: var(--primary-color);
}

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

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

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

/* Responsive adjustments */
@media (max-width: 768px) {
  .navbar-nav {
    flex-direction: column;
    width: 100%;
  }
  
  .nav-item {
    flex: none;
    max-width: none;
    width: 100%;
    text-align: left;
  }
  
  .nav-link {
    padding: 1rem 1.5rem;
    text-align: left;
    border-bottom: 1px solid rgba(0,0,0,0.1);
  }
  
  .modern-caption {
    padding: 1.5rem 2rem;
    margin: 0 1rem;
  }
  
  .caption-title {
    font-size: 2rem;
  }
  
  .caption-text {
    font-size: 1rem;
  }
  
  .modern-btn {
    padding: 0.7rem 2rem;
    font-size: 0.9rem;
  }
  
  .modern-control {
    width: 50px;
    height: 50px;
  }
  
  .carousel-control-prev {
    left: 15px;
  }
  
  .carousel-control-next {
    right: 15px;
  }
  
  .modern-carousel .carousel-item img {
    height: 400px;
  }
}

@media (max-width: 576px) {
  .modern-caption {
    padding: 1rem 1.5rem;
  }
  
  .caption-title {
    font-size: 1.5rem;
  }
  
  .modern-carousel .carousel-item img {
    height: 350px;
  }
}

/* Hero Section Styles */
.hero-section {
  margin-top: -80px; /* Компенсируем отступ body */
  padding-top: 80px; /* Добавляем отступ для закрепленного меню */
  position: relative;
}

.modern-alert {
  background: rgba(13, 202, 240, 0.1);
  border: 1px solid rgba(13, 202, 240, 0.2);
  border-radius: 15px;
  color: #0c5460;
  font-size: 0.9rem;
  margin-top: 1rem;
  backdrop-filter: blur(5px);
}
