:root {
  --primary: 28 25% 15%;
  --primary-foreground: 45 35% 85%;
  --accent: 35 45% 65%;
  --background: 15 10% 8%;
  --foreground: 45 35% 90%;
  --card: 18 12% 10%;
  --muted-foreground: 40 25% 65%;
  --border: 25 15% 25%;
  --bourbon-amber: 35 65% 55%;
  --copper: 25 75% 45%;
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Crimson Text', serif;
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  /*font-family: 'Playfair Display', serif;*/
  font-family: "Newsreader", serif;
  font-weight: 600;
  line-height: 1.2;
}

h1 {
  font-size: clamp(3rem, 8vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.02em
}

h2 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 400
}

h3 {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  font-weight: 400
}

h4 {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 400
}

h5 {
  font-size: clamp(1.125rem, 2.5vw, 1.5rem);
  font-weight: 400
}

/* Utility */
.text-shadow {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, .8)
}

.surface-card {
  background: hsl(var(--card));
  /*border-bottom: 1px solid rgb(87 106 116 / 30%);*/
}

.content-narrow {
  max-width: 820px;
  margin-inline: auto
}

/* Buttons */
.btn-bourbon {
  background: #536b75;
  color: #fff;
  border: 0;
  border-radius: 10px;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .9rem 1.5rem;
  font-weight: 700;
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-bourbon:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .35);
  background: #536b75;
  color: #fff;
}

/* Logo styles */
#brand-logo svg path {
  fill: #ffffff !important;
  transition: fill 0.3s ease;
}

#main-navigation.scrolled #brand-logo svg path {
  fill: #ffffff !important;
  /*fill: #526b75 !important;*/
}

/* Navbar */
#main-navigation.navbar {
  --bs-navbar-color: hsl(var(--foreground));
  --bs-navbar-hover-color: hsl(var(--accent));
  --bs-navbar-toggler-icon-bg: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255,255,255,.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  padding-top: 10px;
  padding-bottom: 10px;
}

#main-navigation.scrolled {
  background-color: rgba(12, 10, 9, .85);
  backdrop-filter: blur(8px);
  /*border-bottom: 1px solid hsl(var(--border));*/
}

.nav-link-custom {
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-size: 1.2rem;
  position: relative;
}

.nav-link-custom::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  height: 2px;
  width: 0;
  background: hsl(var(--accent));
  transition: all .25s ease;
}

.nav-link-custom:hover::after {
  left: 0;
  width: 100%
}

/* Hero with video background */
#hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  /* ensure overlay layers sit above video */
}

#hero-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

#hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  filter: brightness(1) contrast(1.05) saturate(.9);
  object-fit: cover;
}

#hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(1200px 600px at 20% 40%, rgba(255, 190, 120, .12), transparent 60%),
    linear-gradient(to bottom, rgba(0, 0, 0, .35), rgba(0, 0, 0, .75));
}

#hero-content {
  position: relative;
  z-index: 2;
}

#our-story {
    background-color: #D1C4A8;
    font-size: 18px;
    padding: 140px 0 !important;
}

.header-inverse {
    color: #000;
}

.copy-inverse {
    color: #000 !important;
}

/* Sections offset for fixed nav */
section {
  scroll-margin-top: 90px;
}

#intro-section {
  padding: 120px 0;
  border-top: 1px solid rgb(87 106 116 / 30%);
}

/* Video banner play button */
#play-button {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: hsl(var(--accent));
  transition: transform .2s ease, background .2s ease;
  border: 2px solid #000;
}

#play-button:hover {
  transform: scale(1.06);
  background: hsl(var(--bourbon-amber));
}

/* Vimeo modal */
#video-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, .92);
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

#video-modal.show {
  display: flex
}

#video-frame-wrap {
  width: min(100%, 1000px);
  aspect-ratio: 16/9;
  position: relative
}

#video-banner-section {
  position: relative;
  padding: 200px 0;
  overflow: hidden;
  isolation: isolate;
}

#video-banner-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

#video-banner-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  filter: brightness(.4) contrast(1.1) saturate(.8);
  object-fit: cover;
}

#video-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .3), rgba(0, 0, 0, .1));
}

#video-banner-content {
  position: relative;
  z-index: 2;
}

#video-close {
  position: absolute;
  top: -48px;
  right: 0;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

#vimeo-player {
  width: 100%;
  height: 100%;
  border: 0
}

/* Swiper */
#gallery-swiper.swiper {
  width: 100%;
  height: 420px
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px
}

.swiper-button-next,
.swiper-button-prev {
  color: hsl(var(--accent))
}

.swiper-pagination-bullet-active {
  background: hsl(var(--accent))
}

#story-section {
  padding: 200px 0;
  position: relative;
  z-index: 2;
  background: hsl(var(--background));
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.3);
}

#gallery-section {
  padding: 120px 0;
  border-top: 1px solid rgb(87 106 116 / 30%);
}

/* Heritage (full width bg) */
#heritage-section {
  position: relative;
  padding: 200px 0;
  overflow: hidden;
  isolation: isolate;
}

#heritage-video-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

#heritage-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  filter: brightness(.35) contrast(1.2) saturate(.7);
  object-fit: cover;
}

#heritage-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, .45), rgba(0, 0, 0, .65));
  display: none;
}

#heritage-inner {
  position: relative;
  z-index: 2;
}

/* Footer */
#footer-section {
  background: hsl(var(--card));
  border-top: 1px solid rgb(87 106 116 / 30%);
}

.footer-input {
  background: hsl(var(--background));
  border-top: 1px solid rgb(87 106 116 / 30%);
  color: hsl(var(--foreground));
  border-radius: 0;
}

.footer-input:focus {
  border-color: hsl(var(--accent));
  box-shadow: none
}

.footer-link {
  color: hsl(var(--muted-foreground));
  text-decoration: none
}

.footer-link:hover {
  color: hsl(var(--accent))
}

@media (max-width: 768px) {
  #gallery-swiper.swiper {
    height: 320px
  }
}
/* Cocktails Section */
#cocktails {
  background-color: #D1C4A8;
  padding: 120px 0 !important;
}

.cocktails-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.cocktail-card {
  background: hsl(var(--card));
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cocktail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.cocktail-image {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
}

.cocktail-content {
  padding: 1.5rem;
}

.cocktail-title {
  color: hsl(var(--accent));
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
}

.cocktail-description {
  color: hsl(var(--muted-foreground));
  margin-bottom: 1rem;
  font-style: italic;
}

.cocktail-recipe {
  list-style: none;
  padding: 0;
  margin: 0;
}

.cocktail-recipe li {
  color: hsl(var(--foreground));
  padding: 0.25rem 0;
  position: relative;
  padding-left: 1.5rem;
}

.cocktail-recipe li::before {
  content: "•";
  color: hsl(var(--accent));
  font-weight: bold;
  position: absolute;
  left: 0;
}

@media (max-width: 768px) {
  .cocktails-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .cocktail-content {
    padding: 1rem;
  }
}/*
 Contact Section */
.contact-section {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  padding: 8rem 0;
}

.contact-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url('https://d2shzag1ctknqv.cloudfront.net/silent-passages/blue-law-bourbon/images/barrel_room.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.1);
  transition: transform 0.3s ease;
}

.contact-section:hover .contact-background {
  transform: scale(1.01);
}

.contact-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.7) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.contact-content {
  position: relative;
  z-index: 2;
  width: 100%;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeInUp 1s ease-out 0.3s forwards;
}

.contact-headline {
  color: hsl(var(--foreground));
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  margin-bottom: 1.5rem;
}

.contact-subline {
  color: hsl(var(--primary-foreground));
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

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

@media (max-width: 768px) {
  .contact-section {
    padding: 6rem 0;
    min-height: 50vh;
  }
  
  .contact-headline {
    font-size: 2.5rem;
  }
  
  .contact-subline {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
    #svg-logo {
        margin-bottom: 40px;
    }
}

/* Age Gate Modal */
.age-gate-modal {
  background-image: url('https://d2shzag1ctknqv.cloudfront.net/silent-passages/blue-law-bourbon/images/blb-legal_drinking_age-box_bkgd_720.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: none;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  max-width: 800px;
  margin: 0 auto;
}

.age-gate-content {
  padding: 3rem 2rem;
  text-align: center;
  /* background: rgba(0, 0, 0, 0.3); */
  border-radius: 12px;
  backdrop-filter: blur(2px);
}

.age-gate-logo {
  max-width: 200px;
  height: auto;
  margin: 0 auto;
  display: block;
}

.age-gate-title {
  color: #536b75;
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 2.5rem;
  /* text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8); */
  line-height: 1.2;
}

.age-gate-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.age-gate-btn {
  min-width: 120px;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.age-gate-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, .35);
}

#ageGateYes {
  background: transparent;
  color: #536b75;
  border: 2px solid #536b75;
}

#ageGateYes:hover {
  background: #536b75;
  color: white;
}

#ageGateNo {
  background: hsl(var(--primary));
  color: white;
  border: 2px solid hsl(var(--primary));
}

#ageGateNo:hover {
  background: hsl(var(--primary));
  border-color: hsl(var(--primary));
  color: hsl(var(--primary-foreground));
}

@media (max-width: 576px) {
  .age-gate-content {
    padding: 2rem 1.5rem;
  }
  
  .age-gate-buttons {
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }
  
  .age-gate-btn {
    width: 100%;
    max-width: 200px;
  }
}