@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,opsz,wght@0,9..144,300;0,9..144,400;0,9..144,600;1,9..144,400&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-primary: #fdfbf7;
  --bg-secondary: #ece9e4;
  --bg-dark: #060d30;
  --bg-dark-card: #0B195F;
  --color-dark: #0B195F;
  --color-terracotta: #8c4327;
  --color-terracotta-hover: #72341d;
  --color-accent: #d98236;
  --color-accent-light: #ecc4a0;
  --color-text: #1d120d;
  --color-text-light: #fdfbf7;
  --color-text-muted: rgba(29, 18, 13, 0.7);
  --color-text-muted-light: rgba(253, 251, 247, 0.7);
  --font-serif: 'Fraunces', serif;
  --font-sans: 'Inter', sans-serif;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 4px 12px rgba(43, 26, 19, 0.04);
  --shadow-md: 0 12px 32px rgba(43, 26, 19, 0.08);
  --shadow-lg: 0 24px 64px rgba(43, 26, 19, 0.12);
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-quick: all 0.2s ease;
}

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

html {
  background-color: var(--bg-primary);
  scroll-behavior: smooth;
}

body {
  background-color: transparent;
  color: var(--color-text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Base Headings */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.25;
  color: var(--color-dark);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}

h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}

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

p {
  font-weight: 400;
}

/* Background Canvas */
#aroma-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  pointer-events: none;
  opacity: 1;
}

/* App Layout */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(253, 251, 247, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(43, 26, 19, 0.06);
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 10px 0;
  background: rgba(253, 251, 247, 0.9);
  box-shadow: var(--shadow-sm);
}

.navbar-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.navbar.scrolled .navbar-container {
  padding: 12px 40px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--color-dark);
}

.logo-img {
  height: 48px;
  width: auto;
  border-radius: 50%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.navbar.scrolled .logo-img {
  height: 40px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: var(--color-dark);
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: var(--transition-quick);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  color: var(--color-accent);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.nav-link.active {
  color: var(--color-accent);
}

/* Call to Action Button */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  gap: 8px;
}

.btn-primary {
  background-color: var(--color-terracotta);
  color: var(--color-text-light);
  box-shadow: 0 4px 12px rgba(140, 67, 39, 0.2);
}

.btn-primary:hover {
  background-color: var(--color-terracotta-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(140, 67, 39, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-dark);
  border: 2px solid var(--color-dark);
}

.btn-secondary:hover {
  background-color: var(--color-dark);
  color: var(--color-text-light);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--color-accent);
  color: var(--color-text-light);
  box-shadow: 0 4px 12px rgba(217, 130, 54, 0.2);
}

.btn-accent:hover {
  background-color: #c77227;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(217, 130, 54, 0.3);
}

/* Hero Section */
.hero {
  padding: 180px 40px 100px 40px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 80px;
  align-items: center;
}

.hero-tagline {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 16px;
  display: inline-block;
}

.hero-title em {
  font-style: italic;
  font-weight: 300;
  color: var(--color-terracotta);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin: 24px 0 36px 0;
  max-width: 580px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-image-wrapper {
  position: relative;
  width: 100%;
  height: 520px;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-image-mask {
  position: absolute;
  top: -20px;
  right: -20px;
  bottom: 20px;
  left: 20px;
  border: 2px solid var(--color-accent-light);
  border-radius: var(--radius-lg);
  z-index: -1;
  transition: var(--transition-smooth);
}

.hero-image-wrapper:hover .hero-image-mask {
  transform: translate(-10px, 10px);
}

/* Section Styling */
.section {
  padding: 100px 40px;
  position: relative;
}

.section-container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 64px auto;
}

.section-tagline {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: 12px;
  display: inline-block;
}

.section-title {
  margin-bottom: 20px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--color-text-muted);
}

/* Cards & Layout Grid */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.glass-card {
  background: rgba(253, 251, 247, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(43, 26, 19, 0.06);
  border-radius: var(--radius-md);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.glass-card:hover {
  transform: translateY(-8px);
  border-color: rgba(217, 130, 54, 0.3);
  box-shadow: var(--shadow-md);
}

/* Drink Items Card Specifics */
.drink-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
}

.drink-img-wrapper {
  position: relative;
  height: 280px;
  width: 100%;
  overflow: hidden;
}

.drink-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background-color: #ffffff;
  transition: var(--transition-smooth);
}

.drink-card:hover .drink-img {
  transform: scale(1.04);
}

/* Steam Hover Effect for Drinks */
.hot-steam {
  position: relative;
}

.hot-steam::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath d='M30,90 Q20,60 40,40 T30,10' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' opacity='0.25'/%3E%3Cpath d='M50,95 Q60,65 45,45 T55,15' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' opacity='0.2'/%3E%3Cpath d='M70,90 Q55,55 75,35 T60,5' fill='none' stroke='white' stroke-width='4' stroke-linecap='round' opacity='0.25'/%3E%3C/svg%3E");
  background-size: cover;
  opacity: 0;
  mix-blend-mode: screen;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.drink-card:hover .hot-steam::after {
  opacity: 1;
  animation: steamRise 4s infinite linear;
}

@keyframes steamRise {
  0% {
    background-position: 0 150px;
    filter: blur(1px);
  }
  50% {
    filter: blur(3px);
  }
  100% {
    background-position: 0 -150px;
    filter: blur(5px);
  }
}

/* Centering Utility */
.text-center {
  text-align: center;
}

.drink-tag {
  position: absolute;
  top: 20px;
  right: 20px;
  background-color: var(--color-terracotta);
  color: var(--color-text-light);
  padding: 6px 12px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  letter-spacing: 0.05em;
}

.drink-info {
  padding: 30px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.drink-meta {
  font-weight: 500;
  font-size: 0.85rem;
  color: var(--color-accent);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.drink-name {
  margin-bottom: 12px;
  font-size: 1.5rem;
}

.drink-desc {
  color: var(--color-text-muted);
  font-size: 0.95rem;
  flex-grow: 1;
}

/* Interactive Matcher widget */
.matcher-widget {
  background: var(--bg-secondary);
  border-radius: var(--radius-lg);
  padding: 60px;
  margin-top: 40px;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(43, 26, 19, 0.05);
}

.matcher-controls {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.slider-group {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.slider-label-row {
  display: flex;
  justify-content: space-between;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-dark);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.matcher-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: rgba(43, 26, 19, 0.1);
  outline: none;
  transition: var(--transition-quick);
}

.matcher-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-terracotta);
  cursor: pointer;
  border: 3px solid var(--bg-primary);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-quick);
}

.matcher-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  background: var(--color-accent);
}

.matcher-result {
  margin-top: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 220px;
  border-top: 1px solid rgba(43, 26, 19, 0.08);
  padding-top: 40px;
}

.match-display {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 32px;
  align-items: center;
  background: var(--bg-primary);
  padding: 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  max-width: 600px;
  animation: fadeInMatch 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.match-img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.match-info-box h4 {
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.match-info-box p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

/* Event List / Weekly Schedule Styles */
.schedule-tabs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.schedule-card {
  cursor: pointer;
  padding: 30px;
}

.schedule-day {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-terracotta);
  margin-bottom: 6px;
}

.schedule-time {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--color-accent);
  letter-spacing: 0.05em;
  margin-bottom: 16px;
}

.schedule-title {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.schedule-detail {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.schedule-card:hover .schedule-detail,
.schedule-card.active .schedule-detail {
  max-height: 120px;
  opacity: 1;
  margin-top: 12px;
}

/* Alternate Background Sections */
.section-alt {
  background-color: var(--bg-secondary);
}

#menu-tabs-section,
#menu-tabs-section.section-alt {
  background-color: transparent !important;
}

.section-dark {
  background-color: var(--bg-dark);
  color: var(--color-text-light);
}

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--color-text-light);
}

.section-dark .section-desc {
  color: var(--color-text-muted-light);
}

/* Timeline Layout */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 2px;
  background-color: rgba(43, 26, 19, 0.1);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1px;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: transparent;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--bg-primary);
  border: 4px solid var(--color-terracotta);
  top: 30px;
  border-radius: 50%;
  z-index: 1;
}

.left-item {
  left: 0;
}

.right-item {
  left: 50%;
}

.right-item::after {
  left: -10px;
}

.timeline-content {
  padding: 30px;
  background-color: rgba(253, 251, 247, 0.9);
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid rgba(43, 26, 19, 0.05);
  box-shadow: var(--shadow-sm);
}

.timeline-year {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 6px;
}

/* Call to Action Blocks */
.cta-banner {
  background-color: var(--color-terracotta);
  border-radius: var(--radius-lg);
  padding: 80px;
  color: var(--color-text-light);
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.cta-banner h2 {
  color: var(--color-text-light);
  font-size: clamp(2rem, 4vw, 3.2rem);
  margin-bottom: 20px;
}

.cta-banner p {
  color: var(--color-text-muted-light);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto 40px auto;
}

/* Footer styling */
.footer {
  background-color: var(--bg-dark);
  color: var(--color-text-muted-light);
  padding: 80px 40px 40px 40px;
  border-top: 1px solid rgba(253, 251, 247, 0.05);
}

.footer-container {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 80px;
  margin-bottom: 60px;
}

.footer-brand h3 {
  color: var(--color-text-light);
  margin-bottom: 16px;
  font-size: 1.8rem;
}

.footer-brand p {
  margin-bottom: 24px;
}

.footer-links h4,
.footer-contact h4 {
  color: var(--color-text-light);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 24px;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-link {
  text-decoration: none;
  color: var(--color-text-muted-light);
  transition: var(--transition-quick);
}

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

.footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-address p {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-accent-link {
  color: var(--color-accent);
  text-decoration: none;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-quick);
}

.footer-accent-link:hover {
  text-decoration: underline;
  color: #c77227;
}

.footer-bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 40px;
  border-top: 1px solid rgba(253, 251, 247, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-icon {
  color: var(--color-text-muted-light);
  font-size: 1.2rem;
  transition: var(--transition-quick);
  text-decoration: none;
}

.social-icon:hover {
  color: var(--color-accent);
  transform: translateY(-2px);
}

/* User Animation Rules: Must match rules exactly */
.animate-on-scroll {
  transition: opacity .8s cubic-bezier(.16,1,.3,1), transform .8s cubic-bezier(.16,1,.3,1);
}

.js .animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
}

.js .animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Animation Stagger Classes */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }

/* Responsive adjustments */
@media (max-width: 1024px) {
  .hero-grid, .grid-2 {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .hero {
    padding-top: 140px;
  }
  
  .hero-image-wrapper {
    height: 400px;
  }
  
  .grid-3, .schedule-tabs {
    grid-template-columns: 1fr;
  }
  
  .timeline::after {
    left: 40px;
  }
  
  .timeline-item {
    width: 100%;
    padding-left: 80px;
    padding-right: 20px;
  }
  
  .timeline-item::after {
    left: 30px;
  }
  
  .right-item {
    left: 0;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .navbar-container {
    padding: 15px 24px;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
  }
  
  #header-cta-btn {
    display: none;
  }
  
  .calendar-iframe {
    height: 450px !important;
  }
  
  .nav-menu {
    gap: 16px;
  }
  
  .section {
    padding: 80px 24px;
  }
  
  .cta-banner {
    padding: 48px 24px;
  }
  
  .matcher-widget {
    padding: 30px 20px;
  }
  
  .match-display {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .match-img {
    margin: 0 auto;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}
