:root {
  --brand-orange: #C85A17;
  --brand-apricot: #E08E45;
  --brand-grape: #2D112C;
  --brand-rose: #B57C80;
  --brand-olive: #5C6B46;
  --brand-ivory: #FAF6F0;
  --brand-oak: #2C221E;
  --brand-taupe: #94877C;
}

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

body {
  background: var(--brand-ivory);
  color: var(--brand-oak);
  font-family: "Outfit", sans-serif;
  overflow-x: hidden;
  width: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.hero {
  height: 55vh;
  background: linear-gradient(rgba(45, 17, 44, 0.7), rgba(45, 17, 44, 0.95)), url("assets/ChatGPT\ Image\ Jul\ 19\,\ 2026\,\ 12_38_58\ AM.png") center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
  color: #fff;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 400;
  text-align: center;
  padding: 0 20px;
  letter-spacing: 2px;
}

.stories-section {
  background: var(--brand-ivory);
  color: var(--brand-oak);
  padding: 80px 5%;
  width: 100%;
  overflow-x: hidden;
}

.stories-section .tabs {
  display: flex;
  gap: 40px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.stories-section .tab {
  background: none;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  padding-bottom: 5px;
  color: var(--brand-taupe);
  transition: color 0.3s ease;
  font-family: "Outfit", sans-serif;
  letter-spacing: 1px;
  font-weight: 500;
}

.stories-section .tab.active {
  border-bottom: 2px solid var(--brand-orange);
  color: var(--brand-orange);
}

.stories-section .tab-content {
  display: none;
  width: 100%;
}

.stories-section .tab-content.active {
  display: block;
}

/* GRID STYLES */
.stories-section .grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  align-items: stretch;
  width: 100%;
}

/* CARD STYLES */
.stories-section .card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.4s ease;
  cursor: pointer;
  background: #fff;
  border: 1px solid rgba(148, 135, 124, 0.15);
  box-shadow: 0 4px 15px rgba(45,17,44,0.02);
}

.stories-section .card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.stories-section .card h3 {
  padding: 1.5rem;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--brand-oak);
}

.stories-section .card:hover {
  transform: translateY(-8px);
  border-color: var(--brand-orange);
  box-shadow: 0 12px 28px rgba(200,90,23,0.08);
}

/* EVENTS SECTION */
.stories-section #events .grid {
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 40px;
}

.stories-section .card1 {
  background-color: #fff;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(148, 135, 124, 0.15);
  transition: transform 0.4s ease, border-color 0.4s ease;
  height: 100%;
  box-shadow: 0 4px 15px rgba(45,17,44,0.02);
}

.stories-section .card1:hover {
  transform: translateY(-8px);
  border-color: var(--brand-orange);
  box-shadow: 0 12px 28px rgba(200,90,23,0.08);
}

.card-image-wrapper {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: var(--brand-grape);
}

.card-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.stories-section .card1:hover .card-image-wrapper img {
  transform: scale(1.05);
}

.event-tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--brand-orange);
  color: #fff;
  padding: 5px 15px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  z-index: 2;
  border-radius: 4px;
}

.card-body {
  padding: 30px;
}

.event-date {
  color: var(--brand-orange);
  font-size: 0.8rem;
  display: block;
  margin-bottom: 10px;
  letter-spacing: 1px;
  font-weight: 600;
}

.card-body h3 {
  font-size: 1.6rem;
  color: var(--brand-oak);
  margin-bottom: 15px;
  font-weight: 500;
  line-height: 1.3;
}

.card-body p {
  color: var(--brand-taupe);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
  font-weight: 300;
}

.read-more {
  color: var(--brand-orange);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  border-bottom: 1px solid var(--brand-orange);
  padding-bottom: 3px;
  transition: 0.3s;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.read-more:hover {
  color: var(--brand-apricot);
  border-color: var(--brand-apricot);
  padding-left: 5px;
}

/* WINE SELECTION */
.stories-section .wine-selection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  width: 100%;
}

.product-item {
  border: 1px solid rgba(148, 135, 124, 0.15);
  border-radius: 20px;
  overflow: hidden;
  transition: 0.4s ease;
  text-align: center;
  cursor: pointer;
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 15px rgba(45,17,44,0.02);
}

.product-link {
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-item:hover {
  transform: translateY(-12px);
  border-color: var(--brand-orange);
  box-shadow: 0 15px 35px rgba(200, 90, 23, 0.1);
}

.product-visual {
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--brand-grape);
  height: 260px;
}

.product-visual img {
  max-width: 90%;
  height: auto;
  max-height: 220px;
  width: auto;
  transition: transform 0.5s ease;
  object-fit: contain;
}

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

.product-details {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.wine-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 3px;
  color: var(--brand-orange);
  margin-bottom: 0.8rem;
  font-weight: 600;
}

.product-details h3 {
  font-family: "Outfit", sans-serif;
  font-size: 1.5rem;
  color: var(--brand-oak);
  margin-bottom: 1rem;
  line-height: 1.3;
  font-weight: 500;
}

.product-details p {
  font-size: 0.95rem;
  color: var(--brand-taupe);
  line-height: 1.6;
  font-weight: 300;
  flex: 1;
}

/* RESPONSIVE STYLES */
@media screen and (max-width: 1024px) {
  .stories-section .grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
  .stories-section #events .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card-body h3 {
    font-size: 1.6rem;
  }
}

@media screen households and (max-width: 768px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  .stories-section {
    padding: 60px 4%;
  }
  .stories-section .tabs {
    gap: 25px;
    margin-bottom: 40px;
    justify-content: center;
  }
  .stories-section .tab {
    font-size: 0.95rem;
  }
  .stories-section .grid,
  .stories-section #events .grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .stories-section .wine-selection-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .product-visual {
    padding: 1.5rem;
  }
  .product-details {
    padding: 1.5rem;
  }
  .product-details h3 {
    font-size: 1.4rem;
  }
  .card-body {
    padding: 25px;
  }
  .card-body h3 {
    font-size: 1.5rem;
  }
}

@media screen and (max-width: 640px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .stories-section .wine-selection-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .product-visual img {
    max-height: 200px;
  }
}

@media screen and (max-width: 480px) {
  .hero {
    height: 60vh;
  }
  .hero h1 {
    font-size: 2rem;
    padding: 0 15px;
  }
  .stories-section {
    padding: 40px 4%;
  }
  .stories-section .tabs {
    gap: 15px;
    margin-bottom: 30px;
  }
  .stories-section .tab {
    font-size: 0.85rem;
    padding-bottom: 3px;
  }
  .stories-section .grid,
  .stories-section #events .grid {
    gap: 25px;
  }
  .stories-section .card h3 {
    font-size: 1rem;
    padding: 1rem;
  }
  .card-image-wrapper {
    height: 250px;
  }
  .card-body {
    padding: 20px;
  }
  .card-body h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
  }
  .card-body p {
    font-size: 0.9rem;
    margin-bottom: 20px;
  }
  .event-date {
    font-size: 0.75rem;
  }
  .event-tag {
    top: 15px;
    left: 15px;
    padding: 4px 12px;
    font-size: 0.65rem;
  }
  .product-visual {
    padding: 1.2rem;
  }
  .product-details {
    padding: 1.2rem;
  }
  .product-details h3 {
    font-size: 1.3rem;
  }
  .product-details p {
    font-size: 0.9rem;
  }
  .wine-label {
    font-size: 0.65rem;
    letter-spacing: 2px;
  }
  .read-more {
    font-size: 0.8rem;
  }
}

#header-container {
  width: 100%;
  overflow-x: hidden;
}

#footer-container {
  width: 100%;
  overflow-x: hidden;
}