/* Base styles */
* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  color: #1a1a1a;
  background: #ffffff;
}

:root {
  --primary: #2f4a3a; /* erdiges Grün */
  --sidebar-bg: #2f4a3a; /* erdiges Grün */
  --sidebar-fg: #e9efe9;
  --content-bg: #ffffff;
  --text: #1a1a1a;
  --muted: #6b6b6b;
  --accent: #8B4513; /* Brown accent color */
  --svg-height: 19vw; /* Default full height */
}

.header-wrapper { isolation: isolate; }

/* Hero */
.hero {
  position: relative;
  min-height: 58vh;
  display: grid;
  place-items: center;
  overflow: hidden; /* ensures content stays contained */
}

.hero-slides { position: absolute; inset: 0; }

.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 600ms ease; }
.hero-slide.is-active { opacity: 1; }

.hero-img { width: 100%; height: 100%; object-fit: cover; display: block; }

.hero-overlay {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(0,0,0,0.6);
  padding-inline: 1rem;
  transform: translateY(calc(-6vh + 20px)); /* Moved down by 20px */
}

.hero-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-weight: 700;
  font-size: clamp(1.6rem, 2.6vw + 1rem, 3.2rem);
  letter-spacing: 0.3px;
  margin: 0 0 1rem 0;
  opacity: 0; transform: translateY(calc(-6vh + 10px));
  animation: fadeSlideIn 900ms ease-out 120ms forwards;
}

.hero-subtitle {
  font-weight: 400;
  font-size: clamp(0.95rem, 0.9vw + 0.7rem, 1.25rem);
  letter-spacing: 1.2px;
  text-transform: none; /* Remove uppercase for HOCHauthentisch styling */
  margin: 0;
  color: #f0f3f0;
  opacity: 0; transform: translateY(calc(-6vh + 10px));
  animation: fadeSlideIn 900ms ease-out 260ms forwards;
}

.hero-wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: calc(-4.3vw - 20px); /* Responsive positioning based on viewport width */
  width: 100%;
  height: var(--svg-height);
  display: block;
  min-width: 100vw; /* Ensure full width coverage */
}

@keyframes fadeSlideIn {
  to { opacity: 1; transform: translateY(calc(-6vh + 20px)); } /* Updated final position */
}

/* Logo separator */
.logo-separator {
  position: relative;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden; /* Prevents horizontal scrolling */
  background: var(--content-bg);
  z-index: 1;
}

.logo-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.separator-logo {
  max-width: none;
  margin: -5px -5px 0 -5px;
  height: 6.2vh;
}

/* Layout with horizontal navbar */
.layout {
  display: block;
  min-height: 60vh;
}

.sidebar {
  position: absolute;
  z-index: 3;
  left: 1rem;
  top: calc(58vh - 60px);
  width: 50%;
  max-width: 600px;
  border-radius: 8px;
  padding-top: 10px;
}

.nav {
  display: block;
}
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: clamp(0.75rem, 2.5vw, 2rem); /* Responsive gap */ }
.nav li { margin: 0; }
.nav a { color: var(--sidebar-fg); text-decoration: none; padding: 0.5rem 0.75rem; display: inline-block; border-radius: 4px; }
.nav a:hover, .nav a:focus { background: rgba(255,255,255,0.08); outline: none; }

/* Content */
.content { 
  background: var(--content-bg); 
  padding: clamp(1rem, 2.5vw, 2.5rem) 5rem; 
}

.intro h2 { font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-size: clamp(1.25rem, 1.2vw + 1rem, 2rem); margin-top: 0; }
.intro p { color: var(--muted); line-height: 1.6; }

.footer { padding: 2rem 1rem; text-align: center; color: #8a8a8a; }

/* Responsive */
@media (min-width: 1400px) {
  :root { --svg-height: 13vw; } /* svg height on large screens */
}

@media (max-width: 1399px) and (min-width: 1250px) {
  :root { --svg-height: 14vw; } /* svg height on medium screens */
}

@media (max-width: 1249px) and (min-width: 1150px) {
  :root { --svg-height: 15vw; } /* svg height on medium screens */
}

@media (max-width: 1149px) and (min-width: 1050px) {
  :root { --svg-height: 16vw; } /* svg height on medium screens */
}

@media (max-width: 1049px) and (min-width: 950px) {
  :root { --svg-height: 17vw; } /* svg height on medium screens */
}

@media (max-width: 949px) and (min-width: 900px) {
  :root { --svg-height: 18vw; } /* svg height on medium screens */
}

/* Hamburger menu styles */
.hamburger {
  display: none;
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  background: var(--sidebar-bg);
  border: none;
  border-radius: 8px;
  padding: 0.75rem;
  cursor: pointer;
  width: 48px;
  height: 48px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--sidebar-fg);
  border-radius: 1px;
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(2.5px, 6px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(2.5px, -6px);
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: min(320px, 70vw);
  height: 100vh;
  background: var(--sidebar-bg);
  z-index: 999;
  padding: 5rem 2rem 2rem;
  transform: translateX(-100%);
  transition: transform 0.3s ease;
  box-shadow: 2px 0 10px rgba(0,0,0,0.1);
}

.mobile-menu.active {
  transform: translateX(0);
}

.mobile-menu nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-menu nav li {
  margin: 1rem 0;
}

.mobile-menu nav a {
  color: var(--sidebar-fg);
  text-decoration: none;
  font-size: 1.25rem;
  padding: 0.75rem 0;
  display: block;
  border-radius: 4px;
}

.mobile-menu nav a:hover {
  background: rgba(255,255,255,0.08);
}

@media (max-width: 899px) {
  :root { --svg-height: 14vw; } /* SVG height for mobile view */
  
  .hero-overlay { transform: translateY(calc(-4vh + 20px)); } /* Mobile overlay position */
  @keyframes fadeSlideIn { to { opacity: 1; transform: translateY(calc(-4vh + 20px)); } } /* Mobile animation */
  .layout { grid-template-columns: 1fr; }
  
  /* Hide desktop navbar, show hamburger */
  .sidebar { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 1ms !important; animation-iteration-count: 1 !important; transition-duration: 1ms !important; }
}

/* Shop styles */
.shop-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  align-items: center;
  min-height: 300px;
}

.product-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.product-image-container {
  flex-shrink: 0;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.product-placeholder {
  width: 100%;
  height: 100%;
  background: #e0e0e0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  font-size: 0.9rem;
}

.product-info {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.5rem 0;
  color: var(--text);
}

.product-vineyard {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  font-style: italic;
}

.product-details {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--muted);
}

.product-description {
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.product-footer {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: auto;
}

.product-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 1rem;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid var(--sidebar-bg);
}

.quantity-btn {
  background: var(--sidebar-bg);
  color: var(--sidebar-fg);
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  transition: background 0.2s ease;
}

.quantity-btn:hover {
  background: #1a2e22;
}

.quantity-display {
  background: white;
  color: var(--text);
  width: 40px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 1rem;
}

.product-price {
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--accent);
}

.add-to-cart {
  background: var(--sidebar-bg);
  color: var(--sidebar-fg);
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease;
}

.add-to-cart:hover {
  background: #1a2e22;
}

.cart-sidebar {
  position: fixed;
  top: 0;
  right: -400px;
  width: 400px;
  height: 100vh;
  background: white;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
  transition: right 0.3s ease;
  z-index: 1002;
  padding: 2rem;
  overflow-y: auto;
}

.cart-sidebar.open {
  right: 0;
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.cart-header h2 {
  margin: 0;
}

.cart-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #666;
  cursor: pointer;
  padding: 0;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.cart-close:hover {
  background: #f0f0f0;
  color: #333;
}

.content {
  position: relative;
}

.cart-toggle {
  position: sticky;
  top: 1rem;
  align-self: flex-end;
  margin-left: auto;
  margin-top: -30px;
  margin-bottom: 1rem;
  width: fit-content;
  background: var(--sidebar-bg);
  color: var(--sidebar-fg);
  border: none;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  z-index: 1001;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
  font-weight: 600;
}

.cart-toggle svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.cart-toggle-text {
  display: inline;
}

.cart-count-mobile {
  display: none;
}

.cart-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.cart-total {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1rem 0;
  padding: 1rem 0;
  border-top: 2px solid #eee;
}

.checkout-btn {
  width: 100%;
  background: var(--accent);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 1rem;
}

/* Checkout Modal Styles */
.checkout-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.checkout-modal.active {
  opacity: 1;
  visibility: visible;
}

.checkout-content {
  background: white;
  border-radius: 8px;
  max-width: 900px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.checkout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #eee;
  background: #f8f9fa;
  border-radius: 8px 8px 0 0;
}

.checkout-header h2 {
  margin: 0;
  font-size: 1.5rem;
  color: var(--primary);
}

.checkout-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: #666;
  cursor: pointer;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s;
}

.checkout-close:hover {
  background: #e0e0e0;
  color: #333;
}

.checkout-body {
  padding: 2rem;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 2rem;
}

.checkout-summary {
  background: #f8f9fa;
  padding: 1.5rem;
  border-radius: 8px;
  height: fit-content;
}

.checkout-summary h3 {
  margin-top: 0;
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

.checkout-item {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid #ddd;
}

.checkout-item:last-child {
  border-bottom: none;
}

.checkout-total {
  font-weight: bold;
  font-size: 1.3rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 2px solid var(--accent);
  color: var(--primary);
}

.checkout-form h3 {
  margin-top: 0;
  color: var(--primary);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
}

.form-group textarea {
  resize: vertical;
}

.form-actions {
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  margin-top: 2rem;
}

.btn-secondary,
.btn-primary {
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary {
  background: #e0e0e0;
  color: #333;
}

.btn-secondary:hover {
  background: #d0d0d0;
}

.btn-primary {
  background: var(--accent);
  color: white;
}

.btn-primary:hover {
  background: #c89400;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--primary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  font-weight: 600;
  z-index: 20000;
  opacity: 0;
  transition: all 0.3s ease;
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 768px) {
  .checkout-content {
    width: 95%;
    max-height: 95vh;
  }
  
  .checkout-body {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  
  .checkout-summary {
    order: 2;
  }
  
  .checkout-form {
    order: 1;
  }
  
  .form-actions {
    flex-direction: column-reverse;
  }
  
  .btn-secondary,
  .btn-primary {
    width: 100%;
  }
}

@media (max-width: 899px) {
  .cart-sidebar {
    width: 100vw;
    right: -100vw;
  }
  
  .cart-toggle {
    padding: 0.5rem 0.75rem;
    border-radius: 25px;
    width: auto;
    min-width: 70px;
    height: 50px;
    justify-content: center;
  }
  
  .cart-toggle svg {
    width: 18px;
    height: 18px;
  }
  
  .cart-toggle-text {
    display: none;
  }
  
  .cart-count-mobile {
    display: inline;
    font-size: 0.9rem;
    margin-left: 0.25rem;
  }
  
  /* Mobile product card layout */
  .product-card {
    flex-direction: column;
    min-height: auto;
  }
  
  .product-image-container {
    width: 100%;
    height: 250px;
    flex-shrink: 0;
  }
  
  .product-info {
    padding: 1rem;
  }
  
  .product-name {
    font-size: 1.25rem;
  }
  
  .product-vineyard {
    font-size: 1rem;
  }
  
  .product-description {
    font-size: 0.9rem;
  }
  
  .product-price {
    font-size: 1.5rem;
  }
  
  .add-to-cart {
    padding: 0.6rem 1.25rem;
    font-size: 0.9rem;
  }
}



/* Region page basic styles */
.region-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 3vw, 3.5rem);
  color: var(--sidebar-bg);
  font-weight: 700;
  margin-top: 0;
}

.region-nav {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.region-nav a {
  color: var(--sidebar-bg);
  text-decoration: none;
  font-weight: 600;
  padding: 0.4rem 0.6rem;
  border-radius: 4px;
}

@media (max-width: 899px) {
  .region-nav {
    gap: 0.25rem;
    flex-wrap: nowrap;
    overflow-x: auto;
  }
  
  .region-nav a {
    padding: 0.3rem 0.4rem;
    font-size: 0.9rem;
    white-space: nowrap;
  }
}

.region-nav a:hover {
  background-color: rgba(47, 74, 58, 0.1);
}

.region-nav .separator {
  color: var(--muted);
}

.region-section h2 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(1.5rem, 2vw, 2.5rem);
  color: var(--sidebar-bg);
  font-weight: 600;
}

.section-text p {
  color: var(--muted);
  line-height: 1.6;
}

.thumbnail {
  width: 240px;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  cursor: pointer;
  max-width: 100%;
  flex-shrink: 0;
}

@media (max-width: 899px) {
  .thumbnail {
    width: calc(50% - 0.5rem);
    height: 150px;
  }
}

.thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.section-content {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.image-gallery {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Image overlay */
.image-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

.image-overlay img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
}

.close-btn {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* News Carousel Styles */
.news-section {
  margin-bottom: 4rem;
}

.news-section h2 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 3vw, 3.5rem);
  color: var(--sidebar-bg);
  margin: 0 0 2rem 0;
  font-weight: 700;
}

/* Make all main page headings consistent */
.intro h2 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 3vw, 3.5rem);
  color: var(--sidebar-bg);
  margin: 0 0 2rem 0;
  font-weight: 700;
}

.news-carousel {
  position: relative;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 2rem;
}

.news-slides {
  position: relative;
  min-height: 300px;
}

.news-slide {
  display: none;
}


.news-content {
  display: flex;
  gap: 1rem;
  align-items: stretch;
  padding: 0;
  min-height: 300px;
}

.news-featured-image {
  flex: 0 0 30%;
  position: relative;
  overflow: hidden;
}

.news-featured-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-right-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem;
}

.news-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: 1.5rem;
  color: var(--sidebar-bg);
  margin: 0;
  font-weight: 600;
  text-align: left;
}

.news-thumbnails {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.news-thumbnail {
  width: 160px;
  height: 120px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-thumbnail:hover {
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.news-text {
  text-align: left;
}

.news-excerpt {
  color: var(--muted);
  line-height: 1.6;
  margin: 0 0 1rem 0;
  font-size: 1rem;
}

.news-date {
  color: var(--muted);
  font-size: 0.9rem;
  font-style: italic;
}

.news-slides {
  position: relative;
  min-height: 300px;
  overflow: hidden;
}

.news-slide {
  display: none;
}

.news-slide.active {
  display: block;
  animation: slideIn 0.5s ease-in-out;
}

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

.news-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
}

.news-arrow {
  background: var(--sidebar-bg);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.news-arrow:hover {
  background: rgba(47, 74, 58, 0.8);
  transform: scale(1.1);
}

.news-indicators {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
}

.news-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: #ddd;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.news-indicator.active {
  background: var(--sidebar-bg);
}

.news-indicator:hover {
  background: rgba(47, 74, 58, 0.6);
}

/* Mobile responsiveness for news carousel */
@media (max-width: 768px) {
  .content {
    padding: clamp(1rem, 2.5vw, 2.5rem) 1rem;
  }
  
  .news-carousel {
    margin-left: -0.5rem;
    margin-right: -0.5rem;
  }
  
  .news-content {
    flex-direction: column;
    gap: 0;
  }
  
  .news-featured-image {
    flex: 0 0 200px;
    width: 100%;
  }
  
  .news-featured-image img {
    width: 100%;
    height: 100%;
    border-radius: 12px 12px 0 0;
  }
  
  .news-right-content {
    text-align: center;
    padding: 1rem;
  }
  
  .news-title {
    text-align: center;
  }
  
  .news-text {
    text-align: center;
  }
  
  .news-thumbnails {
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
  }
  
  .news-thumbnail {
    width: 110px;
    height: 83px;
    flex-shrink: 0;
  }
  
  .news-arrow {
    width: 36px;
    height: 36px;
  }
}

/* Admin panel styles */
.admin-body {
  font-family: Inter, system-ui, sans-serif;
  margin: 0;
  padding: 20px;
  background: #f5f5f5;
}

.admin-container {
  max-width: 1200px;
  margin: 0 auto;
  background: white;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.login-form {
  max-width: 400px;
  margin: 100px auto;
  padding: 30px;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.admin-form-group {
  margin-bottom: 20px;
}

.admin-label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
}

.admin-input, .admin-textarea, .admin-select {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 14px;
}

.admin-textarea {
  height: 100px;
  resize: vertical;
}

.admin-button {
  background: #2f4a3a;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}

.admin-button:hover {
  background: #1a2e22;
}

.admin-success {
  background: #d4edda;
  color: #155724;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.admin-error {
  background: #f8d7da;
  color: #721c24;
  padding: 10px;
  border-radius: 4px;
  margin-bottom: 20px;
}

.products-list {
  margin-top: 30px;
}

.product-item {
  display: flex;
  align-items: center;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 4px;
  margin-bottom: 10px;
  cursor: move;
  background: white;
  user-select: none;
}

.product-item:hover {
  background: #f8f9fa;
}

.admin-product-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 4px;
  margin-right: 15px;
  background: #f8f9fa;
  flex-shrink: 0;
  display: block;
}

.admin-no-image {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  color: #999;
  text-align: center;
}

/* Contact page styles */
.contact-info {
  background: #f8f9fa;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.contact-info h2 {
  color: var(--sidebar-bg);
  margin-top: 0;
  margin-bottom: 1rem;
}

.address {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.contact-details {
  font-size: 1rem;
  line-height: 1.8;
}

.contact-details a {
  color: var(--sidebar-bg);
  text-decoration: none;
}

.contact-details a:hover {
  text-decoration: underline;
}

.map-container {
  margin: 1.5rem 0;
  text-align: center;
}

.map-image {
  width: 100%;
  max-width: 800px;
  height: auto;
  border-radius: 8px;
  border: 2px solid #dee2e6;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.map-image:hover {
  transform: scale(1.02);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.map-link {
  margin-top: 1rem;
}

.map-link a {
  color: var(--sidebar-bg);
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
}

.map-link a:hover {
  text-decoration: underline;
}

.intro h4 {
  color: var(--sidebar-bg);
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.intro ol {
  padding-left: 1.5rem;
}

.intro ol li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.admin-product-info {
  flex: 1;
}

.admin-product-name {
  font-weight: 600;
  margin-bottom: 5px;
}

.admin-product-price {
  color: #666;
  font-size: 14px;
}

.admin-product-description {
  color: #666;
  font-size: 14px;
  margin-bottom: 5px;
}

.admin-product-meta {
  color: #999;
  font-size: 12px;
}

.admin-product-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.admin-product-item {
  display: flex;
  align-items: center;
  background: white;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  cursor: move;
  user-select: none;
}

.admin-product-content {
  display: flex;
  align-items: center;
  flex: 1;
}

.admin-drag-handle {
  margin-right: 15px;
  color: #999;
  cursor: move;
  font-size: 18px;
  user-select: none;
}

.admin-delete-btn {
  background: #dc3545;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-delete-btn:hover {
  background: #c82333;
}

.admin-no-image {
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 12px;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.admin-header-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.admin-header h1 {
  margin: 0;
  color: #333;
}

.image-upload-row {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 10px;
}

.image-upload-row:last-child {
  margin-bottom: 0;
}

.add-image-btn, .remove-image-btn {
  min-width: 40px;
  padding: 8px 12px;
  font-size: 16px;
  font-weight: bold;
}

.add-image-btn {
  background: #28a745;
  margin-top: 10px;
  width: 100%;
  max-width: 300px;
}

.add-image-btn:hover {
  background: #218838;
}

.remove-image-btn {
  background: #dc3545;
}

.remove-image-btn:hover {
  background: #c82333;
}

.delete-btn {
  background: white;
  color: #dc3545;
  border: 2px solid #dc3545;
  border-radius: 4px;
  padding: 8px 10px;
  cursor: pointer;
  font-size: 14px;
  margin-left: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.delete-btn:hover {
  background: #dc3545;
  color: white;
}

.delete-btn:hover svg {
  fill: white;
}

.delete-btn svg {
  width: 16px;
  height: 16px;
  fill: #dc3545;
  transition: fill 0.2s ease;
}

.admin-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

@media (max-width: 768px) {
  .two-column {
    grid-template-columns: 1fr;
  }
}

/* Static hero image styles */
.static-hero {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Page title styles */
.page-title {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 3vw, 3.5rem);
  color: var(--sidebar-bg);
  font-weight: 700;
  margin-top: 0;
  margin-bottom: 2rem;
  text-align: left;
}

/* Content section with padding */
.content-section {
  margin-bottom: 3rem;
}

.content-section h3 {
  font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
  font-size: 1.8rem;
  color: var(--sidebar-bg);
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 1.5rem;
}

.content-section p {
  line-height: 1.8;
  margin-bottom: 1.5rem;
}

.highlight {
  font-weight: bold;
  color: var(--sidebar-bg);
}

/* Full-width image stripe - breaks out of content padding */
.image-stripe {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 3rem;
  margin-bottom: 3rem;
  height: 250px;
  overflow: hidden;
}

.image-stripe img {
  width: 100%;
  height: 130%;
  object-fit: cover;
  object-position: center;
  display: block;
  position: relative;
  top: -15%;
}

/* Mobile adjustments for image stripe */
@media (max-width: 899px) {
  .image-stripe {
    height: 180px;
    margin-top: 2rem;
    margin-bottom: 2rem;
  }
  
  .image-stripe img {
    width: 100%;
    height: 130%;
    object-fit: cover;
    object-position: center;
    position: relative;
    top: -15%;
    display: block;
  }
  
  .content-section {
    margin-bottom: 2rem;
  }
}

/* Intro section styles */
.intro h3 {
  margin-top: 3rem;
}

/* Rieden table styles */
.rieden-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1.5rem;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.rieden-table th,
.rieden-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #e5e7eb;
}

.rieden-table th {
  background: var(--sidebar-bg);
  color: white;
  font-weight: 600;
  font-size: 0.95rem;
}

.rieden-table tbody tr:hover {
  background: #f9fafb;
}

.rieden-table tbody tr:last-child td {
  border-bottom: none;
}


