/* ================================================================
   IRON & VINE — Main Stylesheet
   Redesigned to match reference: full-bleed, dark/cream split
================================================================ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400;1,500&family=Jost:wght@300;400;500&display=swap');

/* ── Design Tokens ── */
:root {
  --black:        #0b0806;
  --dark:         #100c08;
  --dark-mid:     #1a0e08;
  --cream:        #f4eadb;
  --cream-light:  #faf3e6;
  --cream-mid:    #ede0cc;
  --burgundy:     #7a1528;
  --burgundy-lt:  #9b1e35;
  --white:        #ffffff;
  --ink:          #1c0e06;

  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Jost', system-ui, sans-serif;

  --ease:         cubic-bezier(0.16, 1, 0.3, 1);
  --t-slow:       0.8s var(--ease);
  --t-med:        0.5s var(--ease);
  --t-fast:       0.3s var(--ease);
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: clamp(0.875rem, 1.5vw, 1.125rem);
  line-height: 1.7;
  background: var(--cream-light);
  color: var(--ink);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }


/* ================================================================
   HEADER
================================================================ */
header {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 3.5rem;
  transition: background var(--t-med), padding var(--t-med), backdrop-filter var(--t-med);
}

header.scrolled {
  padding: 1.1rem 3.5rem;
  background: rgba(11, 8, 6, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.logo {
  transition: opacity var(--t-fast);
  width: 300px;
}
.logo:hover { opacity: 0.75; }

.nav-links {
  list-style: none;
  display: flex;
  gap: 2.8rem;
}
.nav-links a {
  font-family: var(--font-sans);
  font-size: clamp(0.65rem, 1vw, 0.875rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.7);
  transition: color var(--t-fast);
}
.nav-links a:hover { color: var(--white); }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 201;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: var(--t-med);
  transform-origin: center;
}
.menu-toggle.open span:nth-child(1) { 
  transform: translateY(6.5px) rotate(45deg); 
}
.menu-toggle.open span:nth-child(2) { 
  opacity: 0; 
}
.menu-toggle.open span:nth-child(3) { 
  transform: translateY(-6.5px) rotate(-45deg); 
}


/* ================================================================
   HERO
================================================================ */
.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
  padding-bottom: 0;
}

/* Atmospheric warm dark gradient bg */
.hero-bg {
  position: absolute;
  inset: 0;
  background:
  url('images/banner-iron-and-vine.jpg') center/cover no-repeat;
  z-index: 0;
}

/* Subtle texture lines to simulate vineyard rows */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: #000;
    opacity: 0.6;
}

/* Vine / foliage at top */
.hero-foliage {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
  line-height: 0;
}
.hero-foliage svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Product showcase (bottle + glass) */
.hero-products {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: start;
    padding-bottom: 0;
    z-index: 1;
    flex-wrap: wrap;
    color: #ffffff;
    padding:0 20px;
}
@keyframes heroRise {
  from { opacity: 0; transform: translateY(40px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-bottle {
  width: 155px;
  height: auto;
  filter: drop-shadow(0 50px 90px rgba(0,0,0,0.75)) drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}
.hero-glass {
  width: 78px;
  height: auto;
  margin-bottom: 14px;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.55));
}


h1 {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 6vw, 9.5rem);
    font-weight: 500;
    line-height: 1.1;
    color: var(--white);
    max-width: 790px;
    width: 100%;
    text-align: start;
}

.hero-products p {
    font-family: var(--font-sans);
    font-size: clamp(0.75rem, 1.2vw, 1rem);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.18em;
    color: rgba(255, 255, 255, 0.85);
    margin-top: 0.5rem;
}
/* ================================================================
   ABOUT (Dark Section)
================================================================ */
.about {
  background: var(--black);
  color: var(--white);
  display: block;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  align-items: center;
}

/* LEFT visual panel */
.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.about-bottle {
  width: 100%;
  height: auto;
  /* Subtle entrance */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.about-bottle.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Small circular accent (sangria/drink) */
.about-accent {
  position: absolute;
  bottom: 14%;
  right: 12%;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  opacity: 0;
  transform: scale(0.85);
  transition: opacity var(--t-slow) 0.2s, transform var(--t-slow) 0.2s;
}
.about-accent.visible {
  opacity: 0.85;
  transform: scale(1);
}
.about-accent svg { width: 100%; height: 100%; display: block; }

/* RIGHT content */
.about-content {
  padding: 6rem 5.5rem 6rem 14rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity var(--t-slow) 0.15s, transform var(--t-slow) 0.15s;
}
.about-content.visible {
  opacity: 1;
  transform: translateX(0);
}

.section-label {
  font-family: var(--font-sans);
  font-size: clamp(0.6rem, 0.8vw, 0.75rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.28em;
  color: rgba(244, 234, 219, 0.45);
}
.section-label.muted { color: rgba(244, 234, 219, 0.35); }

.about-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.9rem);
  font-weight: 300;
  line-height: 1.08;
  color: var(--white);
}
.about-heading em {
  font-style: italic;
  font-weight: 300;
}

.about-body {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
  line-height: 1.85;
  color: rgba(244, 234, 219, 0.6);
  max-width: 430px;
}


/* ================================================================
   MENU (Full-bleed Split)
================================================================ */
.menu-section {
  display: flex;
  min-height: 100vh;
  padding: 0;
}

.menu-dark {
  flex: 1;
  background: var(--dark);
  color: var(--white);
  padding: clamp(4.5rem, 9vw, 8rem) clamp(3rem, 6vw, 6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  transform: translateX(-24px);
  transition: opacity var(--t-slow), transform var(--t-slow);
}
.menu-dark.visible { opacity: 1; transform: translateX(0); }

.menu-heading {
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
  max-width: 580px;
}

.menu-subtext {
  font-weight: 300;
  line-height: 1.85;
  color: rgba(244, 234, 219, 0.5);
  max-width: 340px;
}

.menu-cream {
  flex: 1;
  background: #f5ece0;
  padding: clamp(4.5rem, 9vw, 8rem) clamp(3rem, 6vw, 6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity var(--t-slow) 0.1s, transform var(--t-slow) 0.1s;
}
.menu-cream.visible { opacity: 1; transform: translateX(0); }

/* Menu item list */
.menu-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 1.6rem;
  align-items: start;
  padding: 2.5rem 0;
  cursor: default;
  transition: transform var(--t-med);
  width: 100%;
}
.menu-item:hover { transform: translateX(4px); }

.menu-icon {
  display: flex;
  align-items: flex-start;
  padding-top: 4px;
}
.menu-icon svg {
  width: 52px;
  height: auto;
  overflow: visible;
}
.menu-icon svg path,
.menu-icon svg line,
.menu-icon svg ellipse,
.menu-icon svg rect {
  transition: stroke var(--t-fast);
}
.menu-item:hover .menu-icon svg path,
.menu-item:hover .menu-icon svg line,
.menu-item:hover .menu-icon svg ellipse,
.menu-item:hover .menu-icon svg rect {
  stroke: var(--burgundy-lt);
}

.menu-item-body h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 0.4rem;
  line-height: 1.15;
}
.menu-item-body p {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
  line-height: 1.8;
  color: rgba(28, 14, 6, 0.58);
}

.menu-divider {
  height: 1px;
  background: rgba(28, 14, 6, 0.09);
  width: 100%;
}


/* ================================================================
   EVENTS & RESERVATIONS (Full-bleed Split)
================================================================ */
.events-section {
  display: flex;
  min-height: 100vh;
  padding: 0;
}

/* LEFT: image placeholder */
.events-visual {
  flex: 1;
  position: relative;
  overflow: hidden;
  background: var(--black);
}

.events-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 40% 55%, rgba(65, 22, 5, 0.9) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(40, 12, 3, 0.7) 0%, transparent 55%),
    linear-gradient(145deg, #1a0e06 0%, #0e0804 45%, #150c06 100%);
}

/* Bottle + glass inside events panel */
.events-products {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 1rem;
  padding-bottom: 0;
  z-index: 2;
}
.events-bottle {
  width: 130px;
  height: auto;
  filter: drop-shadow(0 40px 80px rgba(0,0,0,0.8));
}
.events-glass {
  width: 64px;
  height: auto;
  margin-bottom: 10px;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.6));
}

/* RIGHT: Content */
.events-content {
  flex: 0.8;
  background: var(--black);
  padding: clamp(4.5rem, 9vw, 8rem) clamp(3rem, 6vw, 6rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.8rem;
  opacity: 0;
  transform: translateX(24px);
  transition: opacity var(--t-slow) 0.15s, transform var(--t-slow) 0.15s;
}
.events-content.visible { opacity: 1; transform: translateX(0); }

.events-heading {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--white);
}

.events-label {
  font-size: clamp(0.7rem, 0.9vw, 0.85rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(244, 234, 219, 0.4);
}

.events-body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.events-body p {
  font-size: clamp(16px, 2vw, 20px);
  font-weight: 300;
  line-height: 1.85;
  color: rgba(244, 234, 219, 0.6);
  max-width: 460px;
}


/* ================================================================
   BUTTONS
================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0.88rem 2.1rem;
  font-family: var(--font-sans);
  font-size: clamp(0.65rem, 0.9vw, 0.8rem);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  border: 1px solid;
  background: transparent;
  cursor: pointer;
  transition: background var(--t-fast), color var(--t-fast), border-color var(--t-fast);
  width: fit-content;
  white-space: nowrap;
}

.btn-outline-cream {
  border-color: rgba(244, 234, 219, 0.35);
  color: rgba(244, 234, 219, 0.85);
}
.btn-outline-cream:hover {
  background: rgba(244, 234, 219, 0.1);
  border-color: rgba(244, 234, 219, 0.65);
  color: var(--white);
}

.btn-outline-dark {
  border-color: rgba(28, 14, 6, 0.28);
  color: rgba(28, 14, 6, 0.75);
}
.btn-outline-dark:hover {
  background: rgba(28, 14, 6, 0.06);
  border-color: rgba(28, 14, 6, 0.55);
  color: var(--ink);
}


/* ================================================================
   FOOTER
================================================================ */
footer {
  background: var(--dark);
  padding: 4rem 3.5rem;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
}

.footer-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-brand {
    display: flex;
    flex-direction: column;
    width: 200px;
}


.footer-nav {
  display: flex;
  gap: 2.5rem;
}
.footer-nav a {
  font-size: clamp(0.65rem, 0.9vw, 1rem);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: rgba(244, 234, 219, 0.38);
  transition: color var(--t-fast);
}
.footer-nav a:hover { color: rgba(244, 234, 219, 0.75); }

.footer-rule {
  width: 100%;
  border: none;
  border-top: 1px solid rgba(244, 234, 219, 0.07);
}

.footer-bottom {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: clamp(0.6rem, 0.85vw, 1rem);
  color: rgba(244, 234, 219, 0.3);
  letter-spacing: 0.05em;
}
.footer-bottom a {
  color: rgba(244, 234, 219, 0.45);
  transition: color var(--t-fast);
}
.footer-bottom a:hover { color: rgba(244, 234, 219, 0.75); }


/* ================================================================
   RESPONSIVE / MOBILE
================================================================ */
@media (max-width: 1000px) {
  header { padding: 1.5rem 2rem; }
  header.scrolled { padding: 1rem 2rem; }

  .about-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .about-visual { min-height: 55vh; }
  .about-content {
    padding: 4rem 2.5rem;
    transform: none;
  }

  .menu-section,
  .events-section {
    flex-direction: column;
  }
  .menu-dark,
  .menu-cream,
  .events-visual,
  .events-content {
    flex: none;
    width: 100%;
    min-height: 55vh;
  }
  .menu-dark { transform: none; }
  .menu-cream { transform: none; }
  .events-content { transform: none; }
}

@media (max-width: 700px) {
  /* Show hamburger menu */
  .menu-toggle { 
    display: flex;
  }

  /* Reorganize header for mobile */
  header {
    padding: 1.2rem 1.5rem;
  }
  header.scrolled {
    padding: 0.8rem 1.5rem;
  }

  .logo {
    width: 180px;
  }

  /* Mobile navigation menu */
  .nav-links {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(11, 8, 6, 0.98);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    z-index: 150;
    list-style: none;
  }

  /* Show menu when open */
  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.9);
    transition: color var(--t-fast);
  }

  .nav-links a:hover {
    color: var(--white);
  }

  /* Hero section adjustments */
  .hero-bottle { width: 120px; }
  .hero-glass  { width: 60px; }

  /* Hero heading size for mobile */
  h1 {
    font-size: clamp(1.8rem, 5vw, 3rem);
  }

  /* About section */
  .about-content {
    padding: 3rem 1.5rem;
    gap: 1.5rem;
  }

  /* Menu section */
  .menu-dark,
  .menu-cream {
    padding: 3rem 1.5rem;
    min-height: auto;
  }

  .menu-heading {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
  }

  .menu-item {
    grid-template-columns: 50px 1fr;
    gap: 1.2rem;
    padding: 2rem 0;
  }

  .menu-icon svg {
    width: 40px;
  }

  /* Events section */
  .events-content {
    padding: 3rem 1.5rem;
    min-height: auto;
  }

  .events-heading {
    font-size: clamp(1.8rem, 3.5vw, 2.2rem);
  }

  /* Footer */
  .footer-top { 
    flex-direction: column; 
    gap: 1.5rem; 
    text-align: center; 
  }
  
  .footer-bottom { 
    flex-direction: column; 
    gap: 0.5rem; 
    text-align: center; 
  }

  footer {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  header {
    padding: 1rem 1rem;
  }

  .logo {
    width: 150px;
  }

  .nav-links {
    gap: 2.5rem;
  }

  .nav-links a {
    font-size: 1rem;
  }

  h1 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
  }

  .hero-products p {
    font-size: 0.75rem;
  }

  .about-content,
  .menu-dark,
  .menu-cream,
  .events-content {
    padding: 2rem 1rem;
  }

  .menu-heading {
    font-size: clamp(1.2rem, 2vw, 1.5rem);
  }

  .events-heading {
    font-size: clamp(1.5rem, 2.5vw, 1.8rem);
  }

  .footer-brand {
    width: 120px;
  }

  .footer-nav {
    gap: 1.5rem;
  }
}