/*
 * Seven Beans Landing Page CSS Styling
 * A luxury organic design system with modern responsive adaptivity
 */

/* ==========================================================================
   Font Faces (Farabee Brand Typography)
   ========================================================================== */
@font-face {
  font-family: 'Farabee';
  src: url('fonts/Farabee-Thin.ttf') format('truetype');
  font-weight: 200;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Farabee';
  src: url('fonts/Farabee-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Farabee';
  src: url('fonts/Farabee-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Farabee';
  src: url('fonts/Farabee-Medium.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Farabee';
  src: url('fonts/Farabee-Semibold.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Farabee';
  src: url('fonts/Farabee-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ==========================================================================
   CSS Custom Properties (Design Tokens)
   ========================================================================== */
:root {
  /* Color Palette */
  --color-bg: #FAF9F6;          /* Alabaster Warm Cream */
  --color-primary: #2F3C2E;     /* Deep Olive / Forest Green */
  --color-accent: #C86A4B;      /* Warm Terracotta */
  --color-accent-hover: #AF5638;/* Dark Terracotta for Hover states */
  --color-text: #555D50;        /* Muted Olive Gray */
  --color-white: #FFFFFF;
  --color-error: #D9383A;
  --color-success: #4E8752;
  
  /* Fonts */
  --font-display: 'Cinzel', Georgia, serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-normal: 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-slow: 0.8s cubic-bezier(0.25, 1, 0.5, 1);
  --transition-elastic: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);

  /* Shadows */
  --shadow-subtle: 0 4px 20px rgba(47, 60, 46, 0.05);
  --shadow-medium: 0 10px 30px rgba(47, 60, 46, 0.08);
  --shadow-button: 0 4px 15px rgba(200, 106, 75, 0.3);
  --shadow-button-hover: 0 6px 20px rgba(200, 106, 75, 0.45);
}

/* ==========================================================================
   Reset & Baseline Styles
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg);
  color: var(--color-text);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ==========================================================================
   Micro-animations: Page Loader
   ========================================================================== */
.loader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity var(--transition-slow), visibility var(--transition-slow);
}

.loader-overlay.fade-out {
  opacity: 0;
  visibility: hidden;
}

.loader-logo {
  width: 48px;
  height: 60px;
  animation: pulse-scale 2s infinite ease-in-out;
}

.loader-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes pulse-scale {
  0%, 100% {
    transform: scale(0.9);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
}

/* ==========================================================================
   Layout: Header & Navigation Elements
   ========================================================================== */
.site-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 48px 48px;
  transition: padding 0.3s var(--transition-normal), background-color 0.3s var(--transition-normal), box-shadow 0.3s var(--transition-normal), border-bottom 0.3s var(--transition-normal);
}

.site-header.scrolled {
  position: fixed;
  background-color: rgba(250, 249, 246, 0.85); /* Alabaster transparency */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(47, 60, 46, 0.03);
  padding: 16px 48px;
  border-bottom: 1px solid rgba(47, 60, 46, 0.05);
}

.header-container {
  display: flex;
  align-items: center;
  gap: 24px;
}

/* Brand Logo */
.brand-logo {
  display: block;
  height: 38px;
  transition: transform var(--transition-elastic);
}

.brand-logo:hover {
  transform: scale(1.1) rotate(-5deg);
}

.brand-logo-img {
  height: 100%;
  width: auto;
  display: block;
}

/* Hamburger Menu Toggle Button */
.menu-toggle {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 18px;
  padding: 0;
  z-index: 200;
  position: relative;
}

.hamburger-line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition-normal), opacity var(--transition-normal), background-color var(--transition-normal);
  transform-origin: left center;
}

/* Hamburger morphing into X */
.menu-toggle.active .line-1 {
  transform: rotate(45deg) translate(2px, -2px);
  background-color: var(--color-primary);
}

.menu-toggle.active .line-2 {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active .line-3 {
  transform: rotate(-45deg) translate(2px, 2px);
  background-color: var(--color-primary);
}

.menu-toggle:hover .hamburger-line {
  background-color: var(--color-accent);
}

/* ==========================================================================
   Layout: Navigation Off-Canvas Drawer
   ========================================================================== */
.nav-drawer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 90;
  visibility: hidden;
  transition: visibility var(--transition-normal);
}

.nav-drawer.active {
  visibility: visible;
}

/* Drawer Backdrop Blur */
.drawer-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(47, 60, 46, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.nav-drawer.active .drawer-backdrop {
  opacity: 1;
}

/* Slide-out Panel */
.drawer-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background-color: var(--color-bg);
  box-shadow: 10px 0 40px rgba(0, 0, 0, 0.05);
  padding: 120px 48px 48px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(-100%);
  transition: transform var(--transition-normal);
}

.nav-drawer.active .drawer-content {
  transform: translateX(0);
}

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

.drawer-link {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  display: inline-block;
  position: relative;
  transition: color var(--transition-fast);
}

.drawer-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform var(--transition-normal);
}

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

.drawer-link:hover::after {
  transform: scaleX(1);
  transform-origin: left center;
}

.drawer-footer {
  border-top: 1px solid rgba(47, 60, 46, 0.1);
  padding-top: 32px;
}

.drawer-tagline {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-text);
  margin-bottom: 16px;
}

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

.social-link {
  font-size: 15px;
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

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

/* ==========================================================================
   Layout: Hero Main Content
   ========================================================================== */
.hero-section {
  width: 100%;
  min-height: 100vh;
  padding: 140px 24px 80px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-container {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Typography Title (SEVEN BEANS) */
.hero-title {
  margin-bottom: 48px;
  width: 100%;
  max-width: 320px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 16px;
}

.hero-title-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Typography Subtitle & Info */
.hero-subtitle {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.8vw, 21px);
  font-weight: 300;
  line-height: 1.6;
  color: var(--color-text);
  max-width: 600px;
  margin-bottom: 32px;
}

.hero-location {
  font-family: var(--font-body);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 48px;
  letter-spacing: -0.01em;
}

/* Action Buttons */
.hero-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

/* Button Component Styles */
.btn {
  background-color: var(--color-accent);
  color: var(--color-white);
  border: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-elastic), box-shadow var(--transition-fast);
  outline: none;
  text-decoration: none;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}

.btn-pill {
  padding: 16px 36px;
  border-radius: 100px; /* Pill Shape */
  min-width: 190px;
  box-shadow: var(--shadow-button);
}

.btn-pill:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-button-hover);
}

.btn-pill:active {
  transform: translateY(1px);
  box-shadow: var(--shadow-subtle);
}

/* ==========================================================================
   Modal Component (Waiting List Form)
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
}

.modal-overlay.active {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(47, 60, 46, 0.3);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
}

.modal-card {
  position: relative;
  background-color: var(--color-bg);
  width: 100%;
  max-width: 500px;
  padding: 56px 48px;
  border-radius: 28px;
  box-shadow: 0 20px 50px rgba(47, 60, 46, 0.15);
  z-index: 1010;
  transform: scale(0.9) translateY(20px);
  transition: transform var(--transition-elastic);
  border: 1px solid rgba(255, 255, 255, 0.5);
  margin: 16px;
}

.modal-overlay.active .modal-card {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  background: none;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: var(--color-primary);
  cursor: pointer;
  transition: color var(--transition-fast), transform var(--transition-elastic);
}

.modal-close:hover {
  color: var(--color-accent);
  transform: rotate(90deg);
}

.modal-title {
  font-family: var(--font-body);
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 16px;
  text-align: center;
}

.modal-description {
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-text);
  margin-bottom: 32px;
  text-align: center;
}

/* Floating Label Form Group */
.form-group {
  position: relative;
  margin-bottom: 28px;
  width: 100%;
}

.form-input {
  width: 100%;
  padding: 16px 20px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-primary);
  background-color: rgba(47, 60, 46, 0.03);
  border: 1.5px solid rgba(47, 60, 46, 0.1);
  border-radius: 12px;
  outline: none;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.form-input:focus {
  border-color: var(--color-accent);
  background-color: var(--color-white);
}

/* Floating label label */
.form-label {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  color: #8D9488;
  pointer-events: none;
  transition: transform var(--transition-fast), font-size var(--transition-fast), color var(--transition-fast), background-color var(--transition-fast);
  padding: 0 4px;
}

/* Float label up when text exists or input focused */
.form-input:focus ~ .form-label,
.form-input:not(:placeholder-shown) ~ .form-label {
  transform: translateY(-165%) scale(0.85);
  color: var(--color-accent);
  background-color: var(--color-bg);
  left: 16px;
}

.form-error {
  display: block;
  font-size: 13px;
  color: var(--color-error);
  margin-top: 6px;
  padding-left: 4px;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity var(--transition-fast), height var(--transition-fast);
}

.form-group.has-error .form-input {
  border-color: var(--color-error);
  background-color: rgba(217, 56, 58, 0.02);
}

.form-group.has-error .form-label {
  color: var(--color-error);
}

.form-group.has-error .form-error {
  opacity: 1;
  height: auto;
}

/* Button Loading Spinner */
.btn-submit {
  width: 100%;
}

.btn-spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--color-white);
  animation: spin 0.8s linear infinite;
  margin-left: 10px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.btn-submit.loading .btn-spinner {
  display: inline-block;
}

.btn-submit.loading .btn-text {
  opacity: 0.8;
}

/* Modal Success State */
.modal-success-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  animation: fade-in-up 0.5s ease;
}

.hidden {
  display: none !important;
}

.success-icon-wrapper {
  margin-bottom: 24px;
}

/* Animated success checkmark */
.success-checkmark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: block;
  stroke-width: 2;
  stroke: var(--color-success);
  stroke-miterlimit: 10;
  box-shadow: inset 0px 0px 0px var(--color-success);
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards, scaleCheck 0.3s ease-in-out 0.9s both;
}

.success-checkmark-circle {
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  stroke-width: 2;
  stroke-miterlimit: 10;
  stroke: var(--color-success);
  fill: none;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.success-checkmark-check {
  transform-origin: 50% 50%;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke {
  100% { stroke-dashoffset: 0; }
}

@keyframes scaleCheck {
  0%, 100% { transform: none; }
  50% { transform: scale3d(1.1, 1.1, 1); }
}

/* ==========================================================================
   Micro-animations: Page Entry Staggered Fade
   ========================================================================== */
.animate-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.animate-item.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.hero-title.animate-item {
  transition-delay: 0.1s;
}

.hero-subtitle.animate-item {
  transition-delay: 0.25s;
}

.hero-location.animate-item {
  transition-delay: 0.4s;
}

.hero-actions.animate-item {
  transition-delay: 0.55s;
}

/* ==========================================================================
   Toast Notification Component
   ========================================================================== */
.toast-notification {
  position: fixed;
  bottom: -100px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 16px 28px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  z-index: 1000;
  transition: bottom var(--transition-elastic);
  max-width: 90%;
  width: max-content;
  text-align: center;
}

.toast-notification.active {
  bottom: 40px;
}

.toast-content p {
  font-size: 15px;
  font-weight: 400;
}

.toast-content a {
  color: var(--color-accent);
  text-decoration: underline;
  font-weight: 600;
}

/* ==========================================================================
   Media Queries & Responsive Breakpoints
   ========================================================================== */

/* Tablet Layout (<= 768px) */
@media (max-width: 768px) {
  .site-header {
    padding: 32px 32px;
  }
  
  .hero-section {
    padding-top: 140px;
  }

  .drawer-content {
    max-width: 85%;
    padding: 100px 32px 32px;
  }
  
  .drawer-link {
    font-size: 24px;
  }
}

/* Mobile Portrait Layout (<= 480px) */
@media (max-width: 480px) {
  .site-header {
    padding: 24px 20px;
  }
  
  .header-container {
    gap: 16px;
  }
  
  .brand-logo {
    height: 28px;
  }
  
  .menu-toggle {
    width: 28px;
    height: 16px;
  }
  
  .hero-section {
    padding: 120px 16px 40px;
  }
  
  .hero-title {
    margin-bottom: 32px;
  }
  
  .hero-subtitle {
    margin-bottom: 24px;
  }
  
  .hero-location {
    margin-bottom: 36px;
  }
  
  .hero-actions {
    flex-direction: column; /* Stack buttons vertically on very small mobile if screen width limits them */
    align-items: center;
    gap: 16px;
  }
  
  .btn-pill {
    width: 100%;
    max-width: 280px;
  }

  .modal-card {
    padding: 40px 24px;
    border-radius: 20px;
  }
  
  .modal-title {
    font-size: 24px;
  }
}

/* Handle landscape aspect ratio on small mobile devices (short screens) */
@media (max-height: 550px) and (orientation: landscape) {
  /* body centering flex is removed, no justify override needed */
  
  .hero-section {
    padding-top: 100px;
  }
  
  .hero-title {
    margin-bottom: 20px;
  }
  
  .hero-subtitle {
    margin-bottom: 16px;
  }
  
  .hero-location {
    margin-bottom: 20px;
  }
  
  .drawer-content {
    padding: 80px 24px 24px;
  }
  
  .drawer-menu {
    gap: 14px;
  }
  
  .drawer-link {
    font-size: 20px;
  }
  
  .drawer-footer {
    padding-top: 16px;
  }
}

/* ==========================================================================
   Layout: Scroll Down Indicator & Section 2 Styles
   ========================================================================== */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 10;
  opacity: 0.6;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  animation: bounce-anim 2s infinite ease-in-out;
  padding: 8px;
}

.scroll-indicator:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

.scroll-mouse {
  width: 22px;
  height: 36px;
  border: 1.5px solid var(--color-primary);
  border-radius: 20px;
  position: relative;
  display: block;
}

.scroll-wheel {
  width: 4px;
  height: 8px;
  background-color: var(--color-primary);
  border-radius: 4px;
  position: absolute;
  top: 6px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll-wheel-anim 1.6s infinite ease-in-out;
}

.scroll-arrow {
  width: 8px;
  height: 8px;
  border-right: 1.5px solid var(--color-primary);
  border-bottom: 1.5px solid var(--color-primary);
  transform: rotate(45deg);
  display: block;
  margin-top: -2px;
}

@keyframes bounce-anim {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

@keyframes scroll-wheel-anim {
  0% {
    top: 6px;
    opacity: 1;
  }
  50% {
    top: 16px;
    opacity: 0.2;
  }
  100% {
    top: 6px;
    opacity: 1;
  }
}

/* ==========================================================================
   Layout: Story Section (Section 2)
   ========================================================================== */
.story-section {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(rgba(10, 15, 10, 0.65), rgba(10, 15, 10, 0.65)), url('restaurant_interior.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  position: relative;
  padding: 120px 0;
}

.story-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.story-content {
  max-width: 650px;
  color: var(--color-white);
  text-align: left;
}

.story-title-text {
  font-family: var(--font-body);
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 28px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.story-paragraph {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.9);
}

.story-paragraph:last-child {
  margin-bottom: 0;
}

/* Scroll Animation classes */
.animate-item-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
  transition-duration: 1.2s;
}

.animate-item-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Media Queries for Section 2 */
@media (max-width: 768px) {
  .site-header.scrolled {
    padding: 12px 32px;
  }
  
  .story-section {
    padding: 100px 0;
  }
  
  .story-container {
    padding: 0 32px;
  }
  
  .story-content {
    max-width: 580px;
  }
}

@media (max-width: 480px) {
  .site-header.scrolled {
    padding: 12px 20px;
  }
  
  .scroll-indicator {
    bottom: 24px;
  }
  
  .story-section {
    padding: 80px 0;
  }
  
  .story-container {
    padding: 0 20px;
  }
  
  .story-content {
    max-width: 100%;
  }
  
  .story-title-text {
    margin-bottom: 20px;
  }
  
  .story-paragraph {
    margin-bottom: 16px;
  }
}


/* ==========================================================================
   Layout: Follow the Journey Blog Section
   ========================================================================== */
.blog-section {
  width: 100%;
  background-color: #4c3423; /* Deep roasted coffee brown matching previous section */
  color: var(--color-white);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
}

.blog-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.blog-header {
  text-align: center;
  margin-bottom: 64px;
}

.blog-title {
  font-family: var(--font-body);
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 700;
  color: var(--color-white);
  margin-bottom: 16px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.blog-subtitle {
  font-family: var(--font-body);
  font-size: clamp(15px, 1.6vw, 17px);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
  margin-bottom: 64px;
}

.blog-card {
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: var(--color-white);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 255, 255, 0.15);
}

.blog-card-image-wrapper {
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  position: relative;
}

.blog-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.blog-card:hover .blog-card-image {
  transform: scale(1.05);
}

.blog-card-content {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.blog-card-title {
  font-family: var(--font-body);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  transition: color var(--transition-fast);
}

.blog-card:hover .blog-card-title {
  color: var(--color-accent);
}

.blog-card-date {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-actions {
  text-align: center;
}

/* Intersection Observer Animation */
.blog-section.animated .blog-card {
  animation: slideUpFade 0.8s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  opacity: 0;
  transform: translateY(30px);
}

.blog-section.animated .blog-card:nth-child(1) { animation-delay: 0.1s; }
.blog-section.animated .blog-card:nth-child(2) { animation-delay: 0.3s; }
.blog-section.animated .blog-card:nth-child(3) { animation-delay: 0.5s; }

@keyframes slideUpFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Media Queries for Blog Section */
@media (max-width: 992px) {
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .blog-section {
    padding: 80px 0;
  }
  
  .blog-container {
    padding: 0 32px;
  }
  
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 480px) {
  .blog-container {
    padding: 0 20px;
  }
  
  .blog-card-content {
    padding: 24px 20px;
  }
}




/* ==========================================================================
   Location Section
   ========================================================================== */
.location-section {
  width: 100%;
  background-color: var(--color-bg);
  padding: 120px 0;
}

.location-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.location-content {
  display: flex;
  flex-direction: column;
}

.location-title {
  font-family: var(--font-body);
  font-size: clamp(32px, 4.5vw, 44px);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 24px;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.location-text {
  font-family: var(--font-body);
  font-size: clamp(16px, 1.6vw, 18px);
  font-weight: 300;
  line-height: 1.7;
  color: rgba(42, 31, 26, 0.8);
  margin-bottom: 40px;
}

.location-pin-box {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--color-white);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid rgba(0,0,0,0.03);
}

.location-icon {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.location-pin-text {
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 500;
  color: var(--color-primary);
  line-height: 1.5;
}

.location-visual {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #f5f0e6; /* Map background color */
}

.location-map-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

@media (max-width: 992px) {
  .location-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .location-visual {
    min-height: 350px;
  }
}

@media (max-width: 768px) {
  .location-section {
    padding: 80px 0;
  }
  .location-container {
    padding: 0 32px;
  }
}

@media (max-width: 480px) {
  .location-container {
    padding: 0 20px;
  }
  .location-pin-box {
    padding: 16px;
  }
  .location-visual {
    min-height: 250px;
  }
}

/* ==========================================================================
   Secret Viral Section
   ========================================================================== */
.secret-section {
  width: 100%;
  background-color: #4A4A2E; /* Dark olive background */
  color: var(--color-white);
  padding: 120px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.secret-container {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.secret-headline {
  font-family: var(--font-body);
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 600;
  margin-bottom: 48px;
  letter-spacing: -0.02em;
}

.secret-poster-wrapper {
  position: relative;
  width: 100%;
  max-width: 600px;
  aspect-ratio: 16 / 9;
  margin-bottom: 32px;
  border-radius: 12px;
  cursor: pointer;
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
  overflow: hidden;
  /* Ensure clipping happens cleanly at the border-radius */
  -webkit-mask-image: -webkit-radial-gradient(white, black);
}

.secret-poster {
  position: absolute;
  inset: 0;
  background-color: #353520; /* Slightly darker/different shade for the poster wall */
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.poster-pattern {
  width: 100%;
  height: 100%;
  opacity: 0.2;
  background-image: radial-gradient(rgba(255, 255, 255, 0.2) 1px, transparent 1px);
  background-size: 20px 20px;
}

.secret-reveal-content {
  position: absolute;
  inset: 0;
  background-color: var(--color-bg); /* Alabaster warm cream */
  color: var(--color-primary); /* Dark text */
  clip-path: circle(35px at center);
  transition: clip-path 0.8s cubic-bezier(0.25, 1, 0.4, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.secret-poster-wrapper:hover .secret-reveal-content,
.secret-poster-wrapper.active .secret-reveal-content {
  clip-path: circle(150% at center);
}

.eye-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.secret-poster-wrapper:hover .eye-icon,
.secret-poster-wrapper.active .eye-icon {
  opacity: 0;
}

.secret-reveal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: 0s;
}

.secret-poster-wrapper:hover .secret-reveal-inner,
.secret-poster-wrapper.active .secret-reveal-inner {
  opacity: 1;
  transform: scale(1);
  transition-delay: 0.2s; /* Wait for hole to expand a bit */
}

.secret-reveal-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}

.secret-reveal-text {
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 24px;
  max-width: 80%;
  text-align: center;
}

.secret-reveal-code {
  font-size: 18px;
  margin-bottom: 24px;
}

.code-box {
  background: rgba(0,0,0,0.05);
  padding: 6px 12px;
  border-radius: 6px;
  font-family: monospace;
  font-weight: 700;
  letter-spacing: 1px;
}

.btn-secret {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
}

.btn-secret:hover {
  background-color: var(--color-accent);
}

.secret-footer-text {
  font-size: 14px;
  opacity: 0.6;
  max-width: 500px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .secret-section {
    padding: 80px 0;
  }
  .secret-poster-wrapper {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 480px) {
  .secret-poster-wrapper {
    aspect-ratio: 1 / 1;
  }
  .secret-reveal-inner {
    padding: 16px;
  }
  .secret-reveal-text {
    max-width: 100%;
    font-size: 14px;
  }
}

/* ==========================================================================
   Waitlist Section
   ========================================================================== */
.waitlist-section {
  width: 100%;
  background-color: #F8F5F0; /* Soft cream highlight */
  padding: 100px 0;
  border-top: 1px solid rgba(0,0,0,0.05);
}

.waitlist-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
}

.waitlist-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: center;
}

.waitlist-title {
  font-family: var(--font-body);
  font-size: clamp(32px, 4vw, 40px);
  color: var(--color-primary);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.waitlist-subtitle {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: rgba(42, 31, 26, 0.7);
  margin-bottom: 40px;
  max-width: 500px;
}

.waitlist-inline-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 480px;
}

.waitlist-checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 8px;
  cursor: pointer;
}

.custom-checkbox {
  width: 20px;
  height: 20px;
  accent-color: var(--color-accent);
  cursor: pointer;
}

.waitlist-checkbox-wrapper label {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-primary);
  cursor: pointer;
}

.whatsapp-field {
  transition: all 0.3s ease;
  overflow: hidden;
  max-height: 100px;
  opacity: 1;
}

.whatsapp-field.hidden {
  max-height: 0;
  opacity: 0;
  margin: 0;
  padding: 0;
  border: none;
}

.waitlist-benefits-wrapper {
  background-color: var(--color-white);
  padding: 40px;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0,0,0,0.04);
}

.waitlist-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.benefit-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.benefit-icon {
  font-size: 24px;
}

.benefit-text {
  font-family: var(--font-body);
  font-size: 18px;
  font-weight: 500;
  color: var(--color-primary);
}

.waitlist-success-view {
  background-color: #EAF2EB; /* Soft green tint */
  padding: 40px;
  border-radius: 16px;
  border: 1px solid #CDE2D0;
  max-width: 480px;
}

.waitlist-success-view.hidden {
  display: none;
}

.waitlist-socials {
  display: flex;
  gap: 16px;
  margin-top: 24px;
}

.social-link {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--color-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(42,31,26,0.3);
  padding-bottom: 2px;
  transition: border-color 0.2s ease;
}

.social-link:hover {
  border-color: var(--color-primary);
}

@media (max-width: 992px) {
  .waitlist-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

@media (max-width: 768px) {
  .waitlist-section {
    padding: 80px 0;
  }
  .waitlist-container {
    padding: 0 32px;
  }
}

@media (max-width: 480px) {
  .waitlist-container {
    padding: 0 20px;
  }
  .waitlist-benefits-wrapper {
    padding: 24px;
  }
}

/* ==========================================================================
   Language Switcher
   ========================================================================== */
.lang-switcher {
  display: flex;
  gap: 12px;
  margin-left: 24px;
}

.lang-btn {
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 600;
  color: var(--color-accent);
  opacity: 0.6;
  cursor: pointer;
  padding: 4px;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  opacity: 0.9;
}

.lang-btn.active {
  opacity: 1;
  font-weight: 800;
  border-bottom: 2px solid var(--color-accent);
}

.header-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  position: relative;
}

.brand-logo {
  margin-left: 16px; /* give some space from hamburger */
}

/* ==========================================================================
   Footer Section
   ========================================================================== */
.site-footer {
  background-color: #1A1A1A;
  color: #A0A0A0;
  padding: 40px 0;
  font-family: var(--font-body);
}

.footer-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.footer-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.footer-logo {
  display: flex;
  align-items: center;
}

.footer-logo-img {
  width: 24px;
  height: 30px;
  opacity: 0.8;
  filter: grayscale(100%) brightness(200%);
  transition: opacity var(--transition-fast);
}

.footer-logo:hover .footer-logo-img {
  opacity: 1;
}

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

.footer-link {
  color: #A0A0A0;
  text-decoration: none;
  font-size: 15px;
  font-weight: 300;
  transition: color var(--transition-fast);
}

.footer-link:hover {
  color: #FFFFFF;
}

.footer-separator {
  color: #555;
  font-size: 14px;
}

.footer-email {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #A0A0A0;
  text-decoration: none;
  font-size: 15px;
  font-weight: 300;
  transition: color var(--transition-fast);
}

.footer-email:hover {
  color: #FFFFFF;
}

.email-icon {
  width: 16px;
  height: 16px;
  opacity: 0.8;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  text-align: left;
}

.footer-copyright {
  font-size: 14px;
  font-weight: 300;
  color: #777;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer-container {
    padding: 0 24px;
  }
  
  .footer-top {
    flex-direction: column;
    align-items: flex-start;
  }
}


