/* Modern CSS with enhanced design */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root {
  --dark-green: #1a2f1e;
  --medium-green: #2C3A2F;
  --light-green: #4ade80;
  --bright-green: #22c55e;
  --terracotta: #f97316;
  --mint: #10b981;
  --beige: #fefce8;
  --cream: #fef3c7;
  --button-green: #059669;
  --accent-orange: #ea580c;
  --text-dark: #1f2937;
  --text-light: #f9fafb;
  --shadow-light: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-heavy: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  --gradient-primary: linear-gradient(135deg, #059669 0%, #10b981 100%);
  --gradient-secondary: linear-gradient(135deg, #1a2f1e 0%, #2C3A2F 100%);
  --gradient-accent: linear-gradient(135deg, #f97316 0%, #ea580c 100%);
  --gradient-hero: linear-gradient(135deg, rgba(26, 47, 30, 0.9) 0%, rgba(44, 58, 47, 0.8) 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 60px; /* Отступ для фиксированной навигации */
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  line-height: 1.2;
}

/* Enhanced Navbar */
.navbar {
  background: rgba(26, 47, 30, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.5rem 0;
  border-bottom: 2px solid var(--light-green);
  box-shadow: var(--shadow-medium);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar-brand {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: all 0.3s ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
}

.nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  position: relative;
  padding: 0.75rem 1.5rem !important;
  transition: all 0.3s ease;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  text-align: center;
}

.navbar-nav {
  display: flex;
  width: 100%;
  justify-content: space-between;
  align-items: center;
}

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

.nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 1rem !important;
  transition: all 0.3s ease;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  text-align: center;
  width: 100%;
  font-size: 0.9rem;
}

.nav-link:hover {
  color: var(--light-green) !important;
  background: rgba(74, 222, 128, 0.1);
  transform: translateY(-2px);
}

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

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

/* Enhanced Search Form */
.search-form {
  position: relative;
  width: 250px;
}

.search-form .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(74, 222, 128, 0.3);
  color: var(--text-light);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.search-form .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--light-green);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.1);
  transform: scale(1.02);
}

.search-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.btn-search {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--gradient-primary);
  border: none;
  color: white;
  padding: 0.4rem;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  font-size: 0.8rem;
}

.btn-search:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: var(--shadow-medium);
}

/* Enhanced Cart Buttons */
.cart-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.cart-buttons button {
  background: var(--gradient-primary);
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-light);
  position: relative;
  overflow: hidden;
  font-size: 0.9rem;
}

.cart-buttons button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.cart-buttons button:hover::before {
  left: 100%;
}

.cart-buttons button:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
}



.cart-buttons button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Section Enhancement */
.hero-section {
  background: var(--gradient-hero), url('/img/banners/hauptbanner-topfpflanzen.png');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(26, 47, 30, 0.8) 0%, rgba(44, 58, 47, 0.6) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--text-light);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-btn {
  background: var(--gradient-primary);
  color: white;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-medium);
  animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-btn:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
  color: white;
  text-decoration: none;
}

.hero-features {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 2rem;
  z-index: 3;
}

.hero-features .feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  color: var(--text-light);
  font-weight: 500;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.hero-features .feature:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-3px);
}

.hero-features .feature i {
  color: var(--light-green);
  font-size: 1.2rem;
}

/* Enhanced Categories Section */
.categories-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
}

.categories-section h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3rem;
  position: relative;
}

.categories-section h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.category-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all 0.4s ease;
  border: none;
  position: relative;
}

.category-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.category-card:hover::before {
  transform: scaleX(1);
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
}

.category-card img {
  transition: all 0.4s ease;
}

.category-card:hover img {
  transform: scale(1.05);
}

.category-card .card-body {
  padding: 2rem;
}

.category-card .card-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.category-card .card-text {
  color: #6b7280;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

/* Enhanced Featured Products */
.featured-products {
  padding: 5rem 0;
  background: white;
}

.featured-products h2 {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 3rem;
  position: relative;
}

.featured-products h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.featured-products .card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: all 0.4s ease;
  border: none;
  position: relative;
}

.featured-products .card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.featured-products .card:hover::before {
  transform: scaleX(1);
}

.featured-products .card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
}

.featured-products .card img {
  transition: all 0.4s ease;
}

.featured-products .card:hover img {
  transform: scale(1.05);
}

.featured-products .card-body {
  padding: 1.5rem;
}

.featured-products .card-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.featured-products .card-title a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.featured-products .card-title a:hover {
  color: var(--mint);
}

.featured-products .card-text {
  color: #6b7280;
  font-size: 0.9rem;
  margin-bottom: 1rem;
  line-height: 1.5;
}

.featured-products .price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--mint);
  margin-bottom: 1rem;
}

/* Enhanced Buttons */
.btn-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-light);
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
  background: var(--gradient-primary);
}

/* Enhanced Newsletter Section */
.newsletter-section {
  padding: 4rem 0;
  background: var(--gradient-secondary);
  color: var(--text-light);
}

.newsletter-section .card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 3rem;
}

.newsletter-section .card-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--light-green);
}

.newsletter-section .card-text {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.newsletter-form .form-control {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(74, 222, 128, 0.3);
  color: var(--text-light);
  padding: 1rem 1.5rem;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.newsletter-form .form-control:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--light-green);
  box-shadow: 0 0 0 4px rgba(74, 222, 128, 0.1);
  transform: scale(1.02);
}

.newsletter-form .form-control::placeholder {
  color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .btn {
  background: var(--gradient-primary);
  border: none;
  padding: 1rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-light);
}

.newsletter-form .btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
}

/* Enhanced Contact Section */
.contact-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, #fefce8 0%, #fef3c7 100%);
}

.contact-section h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.contact-info {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
}

.contact-info p {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  color: var(--text-dark);
}

.contact-info i {
  color: var(--mint);
  font-size: 1.2rem;
  margin-right: 1rem;
  width: 20px;
}

.contact-section form {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow-light);
}

.contact-section .form-control {
  background: #f9fafb;
  border: 2px solid #e5e7eb;
  padding: 1rem;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.contact-section .form-control:focus {
  background: white;
  border-color: var(--mint);
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
  transform: scale(1.02);
}

/* Enhanced Footer */
.footer {
  background: var(--gradient-secondary);
  color: var(--text-light);
  padding: 4rem 0 2rem;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.footer h5 {
  color: var(--light-green);
  font-weight: 600;
  margin-bottom: 1.5rem;
  font-size: 1.2rem;
}

.footer-links {
  list-style: none;
  padding: 0;
}

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

.footer-links a {
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  display: inline-block;
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--light-green);
  transform: translateX(5px);
}

.footer-links a:hover::after {
  width: 100%;
}

.company-info p {
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  color: var(--text-light);
}

.company-info i {
  color: var(--light-green);
  width: 20px;
  margin-right: 1rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 3rem;
  padding-top: 2rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
}

/* Enhanced Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(26, 47, 30, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.5rem;
  border-radius: 15px;
  box-shadow: var(--shadow-heavy);
  z-index: 1000;
  border: 1px solid rgba(74, 222, 128, 0.3);
  max-width: 500px;
  margin: 0 auto;
  opacity: 1;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.cookie-banner.hidden {
  opacity: 0 !important;
  transform: translateY(100%) !important;
  pointer-events: none !important;
}

.cookie-banner.hidden .container {
  display: none !important;
}

.cookie-banner p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

.cookie-banner a {
  color: var(--light-green);
  text-decoration: underline;
  font-weight: 500;
}

.cookie-banner button {
  background: var(--gradient-primary);
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-light);
}

.cookie-banner button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

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

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .categories-section h2,
  .featured-products h2 {
    font-size: 2rem;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .search-form {
    width: 100%;
    margin-top: 1rem;
  }
  
  .cart-buttons {
    flex-direction: column;
    gap: 0.5rem;
  }
  
  .cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;
  }
  
  .hero-features {
    flex-direction: column;
    gap: 1rem;
    bottom: 1rem;
  }
  
  .hero-features .feature {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
  }
  
  .navbar-nav {
    flex-direction: column;
    width: 100%;
  }
  
  .navbar-nav .nav-item {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.5rem 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    justify-content: flex-start;
    font-size: 0.9rem;
  }
  
  .navbar-nav .nav-link:last-child {
    border-bottom: none;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .hero-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .category-card .card-body,
  .featured-products .card-body {
    padding: 1rem;
  }
  
  .newsletter-section .card {
    padding: 2rem 1rem;
  }
  
  .contact-section {
    padding: 3rem 0;
  }
}

/* Additional Enhancements */
.snipcart-add-item {
  background: var(--gradient-primary) !important;
  border: none !important;
  color: white !important;
  padding: 0.75rem 1.5rem !important;
  border-radius: 25px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  box-shadow: var(--shadow-light) !important;
}

.snipcart-add-item:hover {
  transform: translateY(-3px) !important;
  box-shadow: var(--shadow-heavy) !important;
  background: var(--gradient-primary) !important;
}

/* Scroll to top button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: var(--gradient-primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-medium);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-heavy);
}

/* Loading animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: white;
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Замена долларов на евро в корзине Snipcart */
.snipcart-modal__container *,
.snipcart-modal *,
.snipcart * {
  font-family: inherit !important;
}



/* Наследование шрифтов в корзине Snipcart */
.snipcart-modal__container *,
.snipcart-modal *,
.snipcart * {
  font-family: inherit !important;
}

/* CSS замена символа доллара на евро */
.snipcart-modal__container,
.snipcart-modal,
.snipcart {
  font-family: inherit !important;
}

/* Принудительная замена через CSS (резервный вариант) */
.snipcart-modal__container *:contains("$"),
.snipcart-modal *:contains("$"),
.snipcart *:contains("$") {
  font-family: inherit !important;
}


