* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Georgia", serif;
}

body {
  background: #000;
  color: #fff;
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  position: fixed;
  width: 100%;
  top: 0;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  z-index: 10;
}

.logo {
  letter-spacing: 3px;
}

@media (max-width: 768px) {
  .navbar {
    padding: 15px 20px;
  }
  
  .logo {
    font-size: 14px;
  }
}



.hero-content {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.hero h1 {
  font-size: 4rem;
  color: white;
}

.scroll-dot {
  width: 10px;
  height: 10px;
  background: #fff;
  border-radius: 50%;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
    text-align: center;
    padding: 0 20px;
  }
}

/* FAMILY */
/* --- HERO SECTION REFINEMENT --- */
.hero {
    height: 100vh;
    width: 100%;
    position: relative;
    overflow: hidden; /* This keeps the video inside the hero */
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0; /* Prevents overlap */
}

/* --- FAMILY SECTION REFINEMENT --- */
.family {
    background: #000000;
    padding: 120px 0; /* Reduced from 160px to prevent huge gaps */
    position: relative;
    z-index: 2; /* Ensures it sits below the fixed navbar but above background layers */
    margin-top: 0; 
}

.family-container {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    padding: 0 40px;
}

/* Image Composition */
.family-image-card {
    position: relative;
    display: flex;
    justify-content: flex-start;
}

.est-tag {
    position: absolute;
    top: -20px;
    left: 20px; /* Moved slightly right to be safe */
    color: #d4af37;
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.2rem;
    z-index: 5;
}

.main-image {
    width: 85%;
    height: 600px; /* Locked height to prevent shifting */
    object-fit: cover;
    filter: brightness(0.9) contrast(1.1);
    box-shadow: 0 40px 100px rgba(0,0,0,0.5);
    transition: transform 0.8s ease;
}

/* Floating Detail Image */
.overlay-wrapper {
    position: absolute;
    bottom: -40px;
    right: 0;
    width: 55%;
    height: 320px;
    overflow: hidden;
    border: 8px solid #000; /* Solid border looks more like the screenshot */
    box-shadow: 0 30px 60px rgba(0,0,0,0.8);
    z-index: 3;
}

.overlay-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

/* Typography & Content */
.family-content-card {
    padding: 40px 0 40px 40px; /* Adjusted padding to prevent text overflow */
}

.section-subtitle {
    color: #d4af37;
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.85rem;
    margin-bottom: 20px;
    display: block;
}

.family-content-card h2 {
    font-size: 3.5rem; /* Slightly smaller for better fit */
    line-height: 1.1;
    color: #ffffff;
    margin-bottom: 30px;
    font-family: 'Playfair Display', serif;
}

.family-content-card p {
    color: #bbbbbb;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 40px;
    font-weight: 300;
}

.family-cta {
    color: #ffffff;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.5);
    padding-bottom: 8px;
    transition: all 0.4s ease;
    display: inline-block;
}

.family-cta:hover {
    color: #d4af37;
    border-bottom-color: #d4af37;
    padding-left: 10px;
}

/* VIDEO */
.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: -2;
}

/* DARK OVERLAY */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: -1;
}

/* CONTENT */
.hero-overlay {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

@media (max-width: 768px) {
  .family {
    padding: 80px 0;
  }
  
  .family-container {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 0 20px;
  }
  
  .family-image-card {
    height: 500px;
  }
  
  .main-image {
    width: 100%;
    height: 400px;
    right: 0;
  }
  
  .overlay-image {
    position: static;
    width: 100%;
    height: 200px;
    margin-top: 20px;
  }
  
  .family-content-card {
    padding: 40px 30px;
    margin-top: 0;
  }
  
  .family-content-card h2 {
    font-size: 36px;
  }
}

/* EXPLORE */
.explore {
  padding: 120px 8%;
  text-align: center;
}

.wine-slider {
  margin-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.wine-card img {
  height: 300px;
}

@media (max-width: 768px) {
  .explore {
    padding: 80px 4%;
  }
  
  .wine-card img {
    height: 200px;
  }
}

/* INSTAGRAM */
.instagram {
  background: #000;
  padding: 120px 0;
  text-align: center;
}

.instagram-header {
  margin-bottom: 80px;
}

.instagram-icon {
  width: 24px;
  height: 24px;
  margin-bottom: 20px;
  opacity: 0.8;
}

.instagram h2 {
  font-family: inherit;
  font-size: 48px;
  color: #fff;
  font-weight: normal;
  letter-spacing: 2px;
}

.instagram-gallery {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  padding: 0 40px;
}

.instagram-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.instagram-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.instagram-item img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform 0.4s ease;
}

.instagram-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.instagram-item:hover img {
  transform: scale(1.05);
}

.instagram-item:hover .instagram-overlay {
  opacity: 1;
}

.instagram-hover-icon {
  width: 32px;
  height: 32px;
  opacity: 0.9;
}

@media (max-width: 1024px) {
  .instagram-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    padding: 0 30px;
  }
}

@media (max-width: 768px) {
  .instagram {
    padding: 80px 0;
  }
  
  .instagram h2 {
    font-size: 36px;
  }
  
  .instagram-header {
    margin-bottom: 60px;
  }
  
  .instagram-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
  }
}

/* VISIT */
.visit {
  background: #000;
  padding: 120px 0;
  overflow: hidden;
}

.visit-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: stretch;
  padding: 0 40px;
}

.visit-menu-panel {
  background: #111;
  border-radius: 12px;
  padding: 60px 50px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  will-change: transform;
}

.visit-menu-panel h2 {
  font-family: inherit;
  font-size: 42px;
  color: #fff;
  margin-bottom: 50px;
  font-weight: normal;
  letter-spacing: 1px;
}

.visit-menu {
  list-style: none;
}

.visit-menu-item {
  margin-bottom: 30px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.visit-menu-item:last-child {
  border-bottom: none;
}

.visit-menu-item span {
  font-family: inherit;
  font-size: 18px;
  color: #ccc;
  transition: all 0.3s ease;
  display: block;
}

.visit-menu-item.active span {
  color: #d4af37;
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.visit-menu-item:hover span {
  color: #d4af37;
  transform: translateX(10px);
  text-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.visit-content {
  position: relative;
  will-change: transform;
}

.visit-image {
  width: 100%;
  height: 700px;
  
  object-fit: fill;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  transition: opacity 0.4s ease;
}

.visit-text-content {
  position: absolute;
  bottom: 40px;
  left: 40px;
  right: 40px;
  background: rgba(0,0,0,0.8);
  backdrop-filter: blur(10px);
  padding: 40px;
  border-radius: 8px;
}

.visit-description {
  font-family: inherit;
  font-size: 16px;
  line-height: 1.6;
  color: #ccc;
  margin-bottom: 30px;
  font-style: italic;
  transition: opacity 0.4s ease;
}

.visit-cta {
  font-family: inherit;
  color: #d4af37;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  display: inline-block;
}

.visit-cta:hover {
  color: #fff;
  transform: translateX(5px);
}

@media (max-width: 1024px) {
  .visit-container {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 0 30px;
  }
  
  .visit-menu-panel {
    padding: 40px 30px;
  }
  
  .visit-image {
    height: 500px;
  }
}

@media (max-width: 768px) {
  .visit {
    padding: 80px 0;
  }
  
  .visit-container {
    padding: 0 20px;
  }
  
  .visit-menu-panel h2 {
    font-size: 32px;
  }
  
  .visit-text-content {
    position: static;
    margin-top: 20px;
    background: #111;
    backdrop-filter: none;
  }
}

/* STORIES SECTION REFINEMENT */
.stories {
  background: #000;
  padding: 140px 0;
}

.stories-header {
  text-align: center;
  margin-bottom: 80px;
}

.stories-header .subtitle {
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 5px;
  font-size: 0.8rem;
  display: block;
  margin-bottom: 15px;
}

.stories-heading {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  color: #fff;
  font-weight: 400;
}

.stories-grid {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  padding: 0 40px;
}

/* Editorial Offset */
.story-left {
  margin-top: 60px;
}

.story-right {
  margin-top: -20px;
}

.story-image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  margin-bottom: 30px;
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

.story-image {
  width: 100%;
  height: 600px;
  object-fit: fill;
  transition: transform 1.2s cubic-bezier(0.15, 0.75, 0.5, 1);
}

.story-card:hover .story-image {
  transform: scale(1.08);
}

.story-date {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  padding: 5px 12px;
  font-size: 0.7rem;
  color: #d4af37;
  letter-spacing: 1px;
}

.story-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  margin-bottom: 15px;
  color: #fff;
}

.story-excerpt {
  color: #888;
  font-size: 0.95rem;
  margin-bottom: 25px;
  line-height: 1.6;
}

.read-more {
  color: #d4af37;
  text-decoration: none;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
  padding-bottom: 5px;
  transition: 0.3s ease;
}

.read-more:hover {
  color: #fff;
  border-bottom-color: #fff;
  padding-left: 8px;
}

@media (max-width: 968px) {
  .stories-grid { grid-template-columns: 1fr; gap: 60px; }
  .story-left, .story-right { margin: 0; }
  .story-image { height: 400px; }
}
  .stories {
    padding: 80px 0;
  }
  
  .stories-container {
    padding: 0 20px;
  }
  
  .stories-heading {
    font-size: 36px;
    margin-bottom: 60px;
  }
  
  .stories-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .story-left,
  .story-right {
    margin-top: 0;
  }
  
  .story-left .story-image,
  .story-right .story-image {
    width: 100%;
    height: 350px;
  }
  
  .story-title {
    font-size: 20px;
  }


/* FOOTER */
.footer {
  background: #111;
  padding: 80px 8%;
}

.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.footer input {
  width: 100%;
  padding: 10px;
  background: none;
  border: 1px solid #444;
  color: #fff;
}

.copy {
  text-align: center;
  margin-top: 40px;
  opacity: 0.6;
}

@media (max-width: 768px) {
  .footer {
    padding: 60px 4%;
  }
  
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }
}

/* PREMIUM EXPLORE WINES */
.premium-explore {
  background: #000;
  padding: 120px 0;
}

.explore-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  padding: 0 40px;
}

.wine-slider-card {
  background: #111;
  padding: 40px 80px;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  text-align: center;
  max-width: 950px;
  margin: 0 auto;
  height: 650px;
}

.wine-slider-card h2 {
  font-family: inherit;
  font-size: 42px;
  color: #fff;
  margin-bottom: 50px;
  line-height: 1.2;
}

.wine-display {
  margin-bottom: 40px;
}

.wine-bottle {
  width: 250px;
  height: 450px;
  object-fit: cover;
  margin-bottom: 30px;
}

.wine-info {
  color: #fff;
}

.wine-name {
  font-family: inherit;
  font-size: 24px;
  margin-bottom: 8px;
  color: #fff;
}

.wine-type {
  font-family: inherit;
  font-size: 14px;
  color: #888;
  margin-bottom: 12px;
}

.wine-price {
  font-family: inherit;
  font-size: 20px;
  color: #d4af37;
  font-weight: 600;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  margin-bottom: 40px;
}

.arrow-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.arrow-btn:hover {
  background: #d4af37;
  border-color: #d4af37;
}

.nav-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  cursor: pointer;
  transition: background 0.3s ease;
}

.dot.active {
  background: #d4af37;
}

.all-wines-cta {
  font-family: inherit;
  color: #d4af37;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1px;
  transition: color 0.3s ease;
}

.all-wines-cta:hover {
  color: #fff;
}

.lifestyle-image {
  height: 800px;
  width: 800px;
  overflow: hidden;
  border-radius: 12px;
}

.lifestyle-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
  transition: transform 0.6s ease;
}

.lifestyle-image img:hover {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .premium-explore {
    padding: 80px 0;
  }
  
  .explore-container {
    grid-template-columns: 1fr;
    gap: 60px;
    padding: 0 20px;
  }
  
  .wine-slider-card {
    max-width: none;
    padding: 40px 30px;
    height: auto;
  }
  
  .wine-slider-card h2 {
    font-size: 32px;
  }
  
  .wine-bottle {
    width: 200px;
    height: 350px;
  }
  
  .lifestyle-image {
    height: 400px;
    width: 100%;
  }
}
/* FIXED WINE PROFILE SECTION */
.wine-profile {
    padding: 120px 5%;
    background: #0a0a0a; /* solid dark background */
    color: #ffffff;
}

.profile-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* LEFT SIDE: TEXT & BARS */
.profile-text .subtitle {
    color: #d4af37; /* Gold */
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: block;
}

.profile-text h2 {
    font-size: 3.5rem;
    margin-bottom: 25px;
    color: #ffffff;
    font-family: 'Playfair Display', serif;
}

.profile-text p {
    color: #aaaaaa;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

/* Progress Bar Styling */
.bar-item {
    margin-bottom: 30px;
}

.bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff; /* Explicitly white */
}

.bar-bg {
    height: 2px; /* Sleeker line */
    background: rgba(255, 255, 255, 0.1);
    width: 100%;
    position: relative;
}

.bar-fill {
    height: 100%;
    background: #d4af37; /* Gold fill */
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    position: absolute;
    top: 0;
    left: 0;
}

/* RIGHT SIDE: FEATURE CARDS */
.profile-features {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.feature-box {
    background: #111111; /* Slightly lighter than body for depth */
    padding: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
}

.feature-box:hover {
    border-color: #d4af37;
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 24px;
    margin-bottom: 20px;
    display: block;
}

.feature-box h3 {
    color: #d4af37; /* Gold headings for cards */
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.feature-box p {
    color: #999999;
    font-size: 1rem;
    line-height: 1.6;
}

/* Mobile Fix */
@media (max-width: 968px) {
    .profile-container {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .profile-text h2 {
        font-size: 2.5rem;
    }
}