/*
Theme Name: The Tryon Bottle
Theme URI: https://dellastreettacos.com
Author: The Tryon Bottle
Description: Custom theme for The Tryon Bottle beer and wine shop, Tryon NC.
Version: 1.0
License: Private
Tags: custom, single-page, restaurant, bottle-shop
*/

/* ─── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

/* ─── VARIABLES ──────────────────────────────────────────── */
:root {
  --black:      #111111;
  --deep-black: #080808;
  --red:        #c4241a;
  --red-dark:   #9e1b13;
  --white:      #ffffff;
  --off-white:  #f8f6f3;
  --warm-gray:  #e8e4de;
  --text:       #1c1c1c;
  --muted:      #6b6460;
  --cigar-bg:   #150f08;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ─── NAV ────────────────────────────────────────────────── */
#mainNav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  height: 68px;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
#mainNav.scrolled {
  background: var(--black);
  box-shadow: 0 2px 24px rgba(0,0,0,0.45);
}
.nav-logo img {
  height: 42px;
  display: block;
  filter: brightness(0) invert(1);
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 2.25rem;
}
.nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--red); }

/* hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 6px;
}
.nav-burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ───────────────────────────────────────────────── */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background: url('All Pictures/Shop/OUTSIDE.jpg') center 30% / cover no-repeat;
  transform: scale(1.06);
  opacity: 0;
  transition: transform 9s ease-out, opacity 1.4s ease;
}
.hero-bg.loaded { transform: scale(1); opacity: 1; }
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,0.60) 0%, rgba(0,0,0,0.38) 50%, rgba(0,0,0,0.72) 100%);
}
.hero-content {
  position: relative;
  text-align: center;
  color: var(--white);
  padding: 2rem;
  max-width: 820px;
}
.hero-logo {
  width: 360px;
  max-width: 88vw;
  margin-bottom: 1.6rem;
  filter: brightness(0) invert(1);
}
.hero-tagline {
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  font-weight: 300;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  opacity: 0.88;
  margin-bottom: 2.5rem;
}
.btn {
  display: inline-block;
  padding: 0.9rem 2.75rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-red { background: var(--red); color: var(--white); }
.btn-red:hover { background: var(--red-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.55);
}
.btn-outline:hover { border-color: var(--white); transform: translateY(-2px); }

.hero-scroll {
  position: absolute;
  bottom: 2.25rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.82rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  pointer-events: none;
}
.hero-scroll-arrow {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  animation: arrowBounce 1.6s ease-in-out infinite;
}
.hero-scroll-arrow svg {
  width: 32px;
  height: 32px;
  stroke: rgba(255,255,255,0.9);
  stroke-width: 2.5;
  fill: none;
  filter: drop-shadow(0 2px 6px rgba(0,0,0,0.5));
}
@keyframes arrowBounce {
  0%, 100% { transform: translateY(0);   opacity: 0.9; }
  50%       { transform: translateY(10px); opacity: 1;   }
}

/* ─── SECTION SHELL ──────────────────────────────────────── */
section { padding: 90px 2.5rem; }
.inner { max-width: 1120px; margin: 0 auto; }
.eyebrow {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.8rem, 5.5vw, 4.4rem);
  line-height: 0.95;
  margin-bottom: 1.3rem;
}
.section-body {
  font-size: 1.05rem;
  line-height: 1.82;
  color: var(--muted);
  max-width: 660px;
}

/* ─── ABOUT ──────────────────────────────────────────────── */
#about { background: var(--off-white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5.5rem;
  align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-wrap img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
  position: relative;
  z-index: 1;
  border-radius: 16px;
}
.about-img-wrap::after {
  content: '';
  position: absolute;
  bottom: -14px;
  right: -14px;
  width: 100%;
  height: 100%;
  border: 3px solid var(--red);
  border-radius: 16px;
  z-index: 0;
}
.about-text .section-title { color: var(--black); }
.about-stats {
  display: flex;
  gap: 3rem;
  margin-top: 2.25rem;
  padding-top: 2.25rem;
  border-top: 1px solid var(--warm-gray);
}
.stat-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3.2rem;
  color: var(--red);
  line-height: 1;
}
.stat-lbl {
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.3rem;
}

/* ─── BEER ───────────────────────────────────────────────── */
#beer { background: var(--black); }
.beer-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}
.beer-header .section-title { color: var(--white); margin-bottom: 0; }
.beer-header .section-body  { color: rgba(255,255,255,0.55); max-width: 380px; font-size: 0.97rem; }
.beer-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.9rem;
  position: relative;
}
.beer-card { position: relative; overflow: visible; cursor: default; z-index: 1; }
.beer-card-inner {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.6s ease;
}
.beer-card img { width: 100%; height: 310px; object-fit: cover; display: block; }
.beer-card:hover { z-index: 10; }
.beer-card:hover .beer-card-inner {
  transform: scale(1.25);
  box-shadow: 0 0 0 2px var(--red), 0 24px 48px rgba(0,0,0,0.75);
}
.beer-card-cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem 1rem 1rem;
  background: linear-gradient(to top, rgba(0,0,0,0.88) 0%, transparent 100%);
}
.beer-card-name {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.35rem;
  color: var(--white);
  letter-spacing: 0.04em;
  line-height: 1;
}
.beer-card-sub {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 0.2rem;
}

/* ─── WINE ───────────────────────────────────────────────── */
#wine { background: var(--white); }
.wine-header { margin-bottom: 2.75rem; }
.wine-header .section-title { color: var(--black); }
.wine-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  position: relative;
}
.wine-card { position: relative; overflow: visible; z-index: 1; }
.wine-card-inner {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.6s ease;
}
.wine-card img { width: 100%; height: 270px; object-fit: cover; display: block; }
.wine-card:hover { z-index: 10; }
.wine-card:hover .wine-card-inner {
  transform: scale(1.25);
  box-shadow: 0 0 0 2px var(--red), 0 24px 48px rgba(0,0,0,0.4);
}
.wine-card-cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.25rem 0.9rem 0.8rem;
  background: linear-gradient(to top, rgba(0,0,0,0.82) 0%, transparent 100%);
}
.wine-card-region {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.2rem;
  color: var(--white);
  letter-spacing: 0.04em;
}

/* ─── CIGARS ─────────────────────────────────────────────── */
#cigars { background: var(--cigar-bg); }
.cigars-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5.5rem;
  align-items: center;
}
.cigars-img img {
  width: 100%;
  height: 490px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}
.cigars-text .eyebrow   { color: #b89a6a; }
.cigars-text .section-title { color: var(--white); }
.cigars-text .section-body  { color: rgba(255,255,255,0.6); }
.cigar-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.9rem; }
.cigar-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}
.cigar-dot {
  width: 6px; height: 6px;
  background: #b89a6a;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.55em;
}

/* ─── EXPERIENCE ─────────────────────────────────────────── */
#experience { background: var(--off-white); }
.exp-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5.5rem;
  align-items: center;
}
.exp-text .section-title { color: var(--black); }
.exp-img img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

/* ─── DELLA STREET TACOS ────────────────────────────────── */
#dst { background: #0e0c09; }
.dst-banner {
  text-align: center;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  margin-bottom: 3.5rem;
}
.dst-logo-link { display: inline-block; }
.dst-logo-large {
  height: 110px;
  width: auto;
  display: block;
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 0.2s, transform 0.2s;
}
.dst-logo-link:hover .dst-logo-large { opacity: 1; transform: translateY(-2px); }
.dst-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5.5rem;
  align-items: center;
}
.dst-text .eyebrow   { color: #d4a84b; }
.dst-text .section-title { color: var(--white); }
.dst-text .section-body  { color: rgba(255,255,255,0.6); }
.dst-img img {
  width: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}
.dst-hours-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.35);
  margin: 1.75rem 0 0.6rem;
}
.dst-hours-table { width: 100%; border-collapse: collapse; }
.dst-hours-table tr { border-bottom: 1px solid rgba(255,255,255,0.06); }
.dst-hours-table td { padding: 0.55rem 0; font-size: 0.9rem; }
.dst-hours-table td:first-child {
  color: rgba(255,255,255,0.38);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: 130px;
}
.dst-hours-table td:last-child { color: var(--white); }
.dst-socials {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.75rem;
  align-items: center;
}
.dst-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(212,168,75,0.35);
  color: rgba(212,168,75,0.6);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.dst-social-icon:hover { border-color: #d4a84b; color: #d4a84b; }
.dst-social-icon svg { width: 16px; height: 16px; fill: currentColor; }
@media (max-width: 860px) {
  .dst-layout { grid-template-columns: 1fr; gap: 2.75rem; }
  .dst-img img { max-height: 380px; }
}

/* ─── MAP IMAGE ─────────────────────────────────────────── */
.map-link { display: block; }
.map-img {
  width: 100%;
  max-width: 420px;
  border-radius: 16px;
  display: block;
  transition: opacity 0.2s, transform 0.2s;
  cursor: pointer;
}
.map-link:hover .map-img { opacity: 0.85; transform: translateY(-2px); }

/* ─── CONTACT ────────────────────────────────────────────── */
#contact { background: var(--black); }
#contact .section-title { color: var(--white); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-top: 3rem;
}
.hours-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1rem;
}
.hours-table { width: 100%; border-collapse: collapse; }
.hours-table tr { border-bottom: 1px solid rgba(255,255,255,0.07); }
.hours-table td { padding: 0.75rem 0; font-size: 0.95rem; }
.hours-table td:first-child {
  color: rgba(255,255,255,0.42);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  width: 130px;
}
.hours-table td:last-child { color: var(--white); }
.hours-note { font-size: 0.78rem; color: rgba(255,255,255,0.3); margin-top: 1rem; font-style: italic; }
.contact-info { display: flex; flex-direction: column; gap: 2.25rem; }
.c-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.35rem;
  display: block;
}
.c-phone {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.8rem;
  letter-spacing: 0.04em;
  line-height: 1;
}
.c-phone a, .c-addr a { color: var(--white); text-decoration: none; transition: color 0.2s; }
.c-phone a:hover, .c-addr a:hover { color: var(--red); }
.c-addr { font-size: 1.05rem; line-height: 1.65; color: var(--white); }
.c-note { font-size: 0.82rem; color: rgba(255,255,255,0.38); margin-top: 0.4rem; }

/* social icons */
.social-row { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.18);
  color: rgba(255,255,255,0.5);
  text-decoration: none;
  transition: border-color 0.2s, color 0.2s;
}
.social-icon:hover { border-color: var(--red); color: var(--red); }
.social-icon svg { width: 16px; height: 16px; fill: currentColor; }

/* ─── FOOTER ─────────────────────────────────────────────── */
footer {
  background: var(--deep-black);
  padding: 1.75rem 2.5rem;
  color: rgba(255,255,255,0.3);
}
.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-logo img { height: 32px; filter: brightness(0) invert(1); opacity: 0.35; }
.footer-copy { font-size: 0.78rem; }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social .social-icon { width: 34px; height: 34px; border-color: rgba(255,255,255,0.12); }
.footer-social .social-icon svg { width: 13px; height: 13px; }

/* ─── DIVIDER RULE ───────────────────────────────────────── */
.red-rule { width: 48px; height: 3px; background: var(--red); margin: 1.25rem 0 1.75rem; }

/* ─── SCROLL PROGRESS BAR ───────────────────────── */
#scrollProgress {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: var(--red);
  z-index: 9999;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* ─── STATS BAND ─────────────────────────────────── */
#stats-band { background: var(--deep-black); padding: 76px 2.5rem; }
.stats-band-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  text-align: center;
  position: relative;
}
.stats-band-inner > div {
  padding: 0 2rem;
  overflow: hidden;
}
.stats-band-sep {
  position: absolute;
  top: 12%; bottom: 12%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}
.stats-band-sep:first-of-type { left: 33.33%; }
.stats-band-sep:last-of-type  { left: 66.66%; }
.sb-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(3.2rem, 5.5vw, 5.5rem);
  color: var(--red);
  line-height: 1;
  letter-spacing: 0.02em;
}
.sb-label {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.38);
  margin-top: 0.7rem;
}

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1024px) {
  .beer-grid { grid-template-columns: repeat(3, 1fr); }
  .wine-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .about-grid, .cigars-layout, .exp-layout { grid-template-columns: 1fr; gap: 2.75rem; }
  .about-img-wrap::after { display: none; }
  .about-img-wrap img, .cigars-img img, .exp-img img { height: 340px; }
  .contact-grid { grid-template-columns: 1fr; gap: 3.5rem; }
  .beer-header { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 640px) {
  section { padding: 64px 1.25rem; }
  #mainNav { padding: 0 1.25rem; }
  .nav-links {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 68px; left: 0; right: 0;
    background: var(--black);
    padding: 0.5rem 0 1rem;
    gap: 0;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; width: 100%; padding: 1rem 1.5rem; }
  .beer-grid { grid-template-columns: 1fr 1fr; }
  .wine-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { gap: 2rem; flex-wrap: wrap; }
  .c-phone { font-size: 2.1rem; }
  .stats-band-inner { grid-template-columns: 1fr; gap: 2.75rem; }
  .stats-band-sep { display: none; }
}
