/* Main Stylesheet for Julia Pâtisserie */

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

:root {
  /* Color system - direct OKLCH values matching Next.js globals.css */
  --bg-color: oklch(0.985 0.006 350);
  --text-color: oklch(0.26 0.03 350);
  --card-bg: oklch(1 0 0);
  
  --primary-color: oklch(0.63 0.108 318);
  --primary-rgb: 170, 125, 181;
  --primary-hover: oklch(0.58 0.108 318);
  --primary-foreground: oklch(0.99 0.005 340);
  
  --secondary-color: oklch(0.93 0.045 348);
  --secondary-foreground: oklch(0.34 0.05 340);
  --footer-bg: oklch(0.93 0.045 348 / 0.3);
  
  --muted-color: oklch(0.955 0.012 345);
  --muted-foreground: oklch(0.52 0.03 345);
  
  --accent-color: oklch(0.835 0.083 349);
  --accent-foreground: oklch(0.3 0.05 340);
  
  --border-color: oklch(0.9 0.025 330);
  --input-bg: oklch(1 0 0);
  --ring-color: oklch(0.63 0.108 318);
  
  --sage-color: oklch(0.927 0.025 137);
  --sage-foreground: oklch(0.36 0.045 150);
  
  --radius-sm: 0.6rem;
  --radius-md: 0.8rem;
  --radius-lg: 1rem;
  --radius-xl: 1.4rem;
  --radius-2xl: 1.8rem;
  --radius-3xl: 2.2rem;
  
  --font-heading: 'Cormorant Garamond', serif;
  --font-sans: 'Jost', sans-serif;
  --font-script: 'Dancing Script', cursive;
  
  --transition-normal: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Dark Mode Settings */
.dark-mode {
  --bg-color: #211c1e;
  --text-color: #f4efeb;
  --card-bg: #2d262a;
  
  --primary-color: #c99ed4;
  --primary-foreground: #211c1e;
  
  --secondary-color: #3d2f36;
  --secondary-foreground: #f4efeb;
  --footer-bg: rgba(61, 47, 54, 0.4);
  
  --muted-color: #342a2f;
  --muted-foreground: #ac98a2;
  
  --accent-color: #caa0b6;
  --accent-foreground: #211c1e;
  
  --border-color: rgba(255, 255, 255, 0.1);
  --input-bg: #2d262a;
  
  --sage-color: #5b6e51;
  --sage-foreground: #e4edd8;
}

/* Reset and Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-color: var(--border-color);
}

html {
  font-family: var(--font-sans);
  scroll-behavior: smooth;
  color: var(--text-color);
  background-color: var(--bg-color);
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
  background-color: var(--bg-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-sans);
  font-weight: 500;
  line-height: 1.2;
}

p {
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition-normal);
}

button {
  font-family: inherit;
  border: none;
  background: none;
  cursor: pointer;
  transition: var(--transition-normal);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

.text-gradient {
  background: linear-gradient(100deg, oklch(0.66 0.11 318), oklch(0.74 0.11 349));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.bg-grain {
  background-image: radial-gradient(rgba(170, 125, 181, 0.08) 1px, transparent 1px);
  background-size: 18px 18px;
}

/* Animations */
@keyframes float-soft {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-float {
  animation: float-soft 6s ease-in-out infinite;
}

/* Scroll reveal class */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Header & Navigation */
header.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 4rem;
  background-color: transparent;
  border-bottom: 1px solid transparent;
  z-index: 50;
  transition: background-color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

header.site-header.scrolled {
  background-color: rgba(250, 247, 245, 0.8);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo-link span.font-heading {
  font-family: var(--font-heading) !important;
  font-size: 1.55rem;
  font-weight: 700 !important;
  letter-spacing: -0.01em;
  line-height: 1;
}

@media (min-width: 640px) {
  .logo-link span.font-heading {
    font-size: 1.95rem;
  }
}

.logo-wordmark {
  height: 2.2rem;
  width: auto;
  fill: currentColor;
}

nav.desktop-nav {
  display: none;
}

@media (min-width: 1024px) {
  nav.desktop-nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
}

/* Nav Item visual matching */
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1.1rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--muted-foreground);
  border-radius: 9999px;
  text-decoration: none;
  transition: color 0.3s ease;
  cursor: pointer;
}

.nav-item-text {
  position: relative;
  z-index: 10;
}

.nav-item-bg {
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  background-color: var(--secondary-color);
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1;
}

.nav-item:hover, .nav-item.active {
  color: var(--text-color);
}

.nav-item:hover .nav-item-bg, .nav-item.active .nav-item-bg {
  opacity: 1;
  transform: scale(1);
}

.nav-item-line {
  position: absolute;
  left: 1.1rem;
  right: 1.1rem;
  bottom: 6px;
  height: 2px;
  border-radius: 9999px;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  transform-origin: center;
  z-index: 5;
}

.nav-item:hover .nav-item-line {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(4px);
  color: var(--text-color);
  position: relative;
  transition: var(--transition-normal);
}

.icon-btn:hover {
  background-color: var(--secondary-color);
  color: var(--text-color);
  border-color: var(--border-color);
  transform: translateY(-1px);
}

.badge-count {
  position: absolute;
  top: -4px;
  right: -4px;
  background-color: var(--primary-color);
  color: var(--primary-foreground);
  font-size: 0.7rem;
  font-weight: 600;
  width: 1.1rem;
  height: 1.1rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.3);
}

/* Language selector matching */
.lang-toggle {
  display: inline-flex;
  align-items: center;
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  background-color: rgba(255, 255, 255, 0.5);
  padding: 2px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lang-toggle-btn {
  border-radius: 9999px;
  padding: 0.3rem 0.8rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--muted-foreground);
  background: none;
  border: none;
  cursor: pointer;
  transition: var(--transition-normal);
}

.lang-toggle-btn:hover {
  color: var(--text-color);
}

.lang-toggle-btn.active {
  background-color: var(--primary-color);
  color: var(--primary-foreground);
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: var(--card-bg);
}

@media (min-width: 1024px) {
  .menu-toggle {
    display: none;
  }
}


/* Mobile Menu Panel */
.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.25);
  backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 80%;
  max-width: 320px;
  background-color: var(--bg-color);
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  box-shadow: -10px 0 30px rgba(0,0,0,0.05);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-close {
  align-self: flex-end;
  margin-bottom: 2rem;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

.mobile-nav-links a {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--muted-foreground);
}

.mobile-nav-links a.active {
  color: var(--text-color);
  font-weight: 600;
}

/* Hero Section */
.hero-section {
  position: relative;
  overflow: hidden;
  padding: 6rem 0 2.5rem;
}

@media (min-width: 1024px) {
  .hero-section {
    padding: 7rem 0 3rem;
  }
}

/* soft ambient blobs */
.hero-blob-1 {
  pointer-events: none;
  position: absolute;
  left: -8rem;
  top: 2rem;
  width: 20rem;
  height: 20rem;
  border-radius: 50%;
  background-color: rgba(var(--primary-rgb), 0.15);
  filter: blur(60px);
  z-index: 0;
}

.hero-blob-2 {
  pointer-events: none;
  position: absolute;
  right: -6rem;
  top: 10rem;
  width: 18rem;
  height: 18rem;
  border-radius: 50%;
  background-color: rgba(142, 185, 155, 0.2); /* Sage blob */
  filter: blur(60px);
  z-index: 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 4rem;
  }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-content {
    align-items: flex-start;
    text-align: left;
  }
}

.logo-hero {
  width: 100%;
  height: auto;
  max-width: 20rem;
  margin: 0 auto;
  display: block;
}

@media (min-width: 640px) {
  .logo-hero {
    max-width: 24rem;
  }
}

@media (min-width: 1024px) {
  .logo-hero {
    max-width: 28rem;
    margin: 0;
  }
}

/* Hide mobile menu trigger button on screen width >= 768px (Tailwind md equivalent) */
.btn-open-menu {
  display: inline-flex;
}

@media (min-width: 768px) {
  .btn-open-menu {
    display: none;
  }
}

.hero-title {
  margin-top: 1.25rem;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--text-color);
  white-space: pre-line;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 1.875rem;
  }
}

.hero-subtitle {
  margin-top: 1.25rem;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted-foreground);
  max-width: 28rem;
}

@media (min-width: 1024px) {
  .hero-subtitle {
    font-size: 1.1rem;
  }
}

.hero-ctas {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 0.75rem;
}

@media (min-width: 640px) {
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
    width: auto;
  }
}

@media (min-width: 1024px) {
  .hero-ctas {
    justify-content: flex-start;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 9999px;
  transition: var(--transition-normal);
  cursor: pointer;
  text-align: center;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--primary-foreground);
  box-shadow: 0 10px 25px rgba(var(--primary-rgb), 0.25);
  gap: 0.5rem;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(var(--primary-rgb), 0.3);
}

.btn-primary svg {
  transition: transform 0.3s ease;
}

.btn-primary:hover svg {
  transform: translateY(2px);
}

.btn-secondary {
  border: 1px solid var(--border-color);
  background-color: rgba(255, 255, 255, 0.6);
  color: var(--text-color);
  backdrop-filter: blur(8px);
}

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

/* Hero Image Container */
.hero-image-wrapper {
  position: relative;
  width: 100%;
  max-width: 28rem;
  margin: 0 auto;
  aspect-ratio: 1;
}

.hero-image-glow {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(to bottom right, rgba(var(--primary-rgb), 0.3), rgba(248, 194, 220, 0.2));
  filter: blur(24px);
  z-index: 1;
}

.hero-image-card {
  position: relative;
  aspect-ratio: 1;
  width: 100%;
  overflow: hidden;
  border-radius: 2.5rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
  z-index: 2;
}

.hero-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Slogan floating stickers */
.slogan-tag {
  position: absolute;
  z-index: 20;
}

.slogan-box {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background-color: rgba(255, 255, 255, 0.9);
  padding: 0.6rem 1.25rem;
  box-shadow: 0 10px 30px rgba(var(--primary-rgb), 0.15);
  backdrop-filter: blur(8px);
}

.slogan-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.slogan-text {
  font-family: var(--font-script);
  font-size: 1.1rem;
  color: var(--primary-color);
  white-space: nowrap;
}

@media (min-width: 640px) {
  .slogan-text {
    font-size: 1.25rem;
  }
}

.slogan-tag.tag-1 {
  left: -1rem;
  top: 1.5rem;
  transform: rotate(-5deg);
}

.slogan-tag.tag-2 {
  right: -1rem;
  bottom: 2rem;
  transform: rotate(5deg);
  animation-delay: -3s;
}

.slogan-dot.dot-pink {
  background-color: var(--accent-color);
}

.slogan-dot.dot-sage {
  background-color: #8eb99b;
}

section.section-padding {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 1024px) {
  section.section-padding {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.section-header {
  text-align: center;
  max-width: 42rem;
  margin: 0 auto 3rem;
}

.section-title {
  font-family: var(--font-script);
  font-size: 2.8rem;
  line-height: 1.35;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
  .section-title {
    font-size: 3.5rem;
  }
}

.section-subtitle {
  font-size: 1rem;
  color: var(--muted-foreground);
  line-height: 1.6;
}

/* Product Cards and Grid */
.products-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  display: flex;
  flex-direction: column;
  background-color: var(--card-bg);
  border-radius: 1.8rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  transition: var(--transition-normal);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(var(--primary-rgb), 0.1);
}

.product-image-container {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.product-image-hover {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.product-card:hover .product-image {
  transform: scale(1.04);
}

.product-card:hover .product-image-hover {
  opacity: 1;
  transform: scale(1.04);
}

.product-badges {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  z-index: 5;
}

.badge {
  font-size: 0.6875rem;
  padding: 0.25rem 0.6rem;
  border-radius: 9999px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.badge-primary {
  background-color: var(--primary-color);
  color: var(--primary-foreground);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge-outline {
  background-color: rgba(255, 255, 255, 0.8);
  color: var(--text-color);
  backdrop-filter: blur(4px);
  font-weight: 500;
}

.badge-accent {
  background-color: rgba(248, 194, 220, 0.95);
  color: var(--accent-foreground);
  backdrop-filter: blur(4px);
  font-weight: 500;
}

.product-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 1.25rem;
}

.product-card-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.025em;
  color: var(--text-color);
}

.product-desc {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted-foreground);
  line-height: 1.625;
}

.product-section-label {
  margin-top: 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
  opacity: 0.8;
}

.product-ingredients {
  font-size: 0.875rem;
  color: rgba(var(--text-color), 0.7);
  line-height: 1.625;
  margin-top: 0.15rem;
}

.product-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid rgba(0,0,0,0.03);
}

.product-price {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
}

.btn-add {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 1rem;
  font-size: 0.825rem;
  font-weight: 500;
  border-radius: 9999px;
  background-color: var(--primary-color);
  color: var(--primary-foreground);
  box-shadow: 0 4px 10px rgba(var(--primary-rgb), 0.15);
}

.btn-add:hover {
  background-color: var(--primary-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 15px rgba(var(--primary-rgb), 0.25);
}

/* Custom Cakes Layout */
.cakes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .cakes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.cake-card {
  position: relative;
  border-radius: 1.8rem;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
  aspect-ratio: 5/4;
}

.cake-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

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

.cake-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(59, 42, 50, 0.85) 0%, rgba(59, 42, 50, 0.3) 50%, transparent 100%);
  z-index: 10;
}

.cake-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  z-index: 20;
  color: #ffffff;
}

.cake-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
}

.cake-desc {
  margin-top: 0.4rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 24rem;
  line-height: 1.4;
}

.cake-footer {
  margin-top: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.cake-price-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
}

.cake-price-val {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: #ffffff;
}

.btn-inquire {
  background-color: #ffffff;
  color: var(--text-color);
  padding: 0.45rem 1rem;
  font-size: 0.825rem;
  font-weight: 500;
  border-radius: 9999px;
}

.btn-inquire:hover {
  transform: translateY(-1px);
  background-color: var(--muted-color);
}

/* Seasonal Section wrapper */
.seasonal-section-wrapper {
  background-color: rgba(228, 237, 216, 0.35); /* Soft sage bg tint */
  border-top: 1px solid rgba(0, 0, 0, 0.03);
  border-bottom: 1px solid rgba(0, 0, 0, 0.03);
}

.seasonal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 640px) {
  .seasonal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.about-image-wrapper {
  position: relative;
}

.about-image-card {
  position: relative;
  aspect-ratio: 4/5;
  width: 100%;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.about-image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-sticker {
  position: absolute;
  top: -1rem;
  right: -0.5rem;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 0.6rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(8px);
}

.about-sticker p {
  font-family: var(--font-script);
  font-size: 1.5rem;
  font-weight: 500;
}

.about-content h2 {
  font-family: var(--font-script);
  font-size: 2.8rem;
  line-height: 1.3;
  padding-bottom: 0.25rem;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .about-content h2 {
    font-size: 3.5rem;
  }
}

.about-body {
  font-size: 1.05rem;
  color: var(--muted-foreground);
  line-height: 1.7;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.stat-card {
  background-color: var(--card-bg);
  border: 1px solid rgba(0,0,0,0.05);
  padding: 1rem 0.5rem;
  border-radius: 1.2rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.01);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 600;
}

.stat-label {
  font-size: 0.725rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
  line-height: 1.3;
}

/* Contact Section */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .contact-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
  }
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact-info-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background-color: rgba(var(--primary-rgb), 0.1);
  color: var(--primary-color);
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.contact-info-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
}

.contact-info-val {
  font-size: 0.95rem;
  color: var(--text-color);
  margin-top: 0.15rem;
  line-height: 1.5;
}

.social-links {
  display: flex;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background-color: var(--card-bg);
  color: var(--text-color);
}

.social-link:hover {
  background-color: var(--secondary-color);
  color: var(--secondary-foreground);
  border-color: var(--secondary-color);
  transform: translateY(-1px);
}

.contact-form-card {
  background-color: var(--card-bg);
  border-radius: 1.8rem;
  border: 1px solid rgba(0,0,0,0.05);
  padding: 1.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

@media (min-width: 640px) {
  .contact-form-card {
    padding: 2rem;
  }
}

.form-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .form-grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.form-group label {
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

.form-control {
  border-radius: 9999px;
  border: 1px solid var(--border-color);
  background-color: var(--bg-color);
  padding: 0.75rem 1.5rem;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-color);
  outline: none;
  transition: var(--transition-normal);
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(var(--primary-rgb), 0.15);
}

textarea.form-control {
  resize: none;
  border-radius: 1.5rem;
  padding: 1rem 1.5rem;
}

#btn-feedback-submit {
  width: 100%;
}

/* Footer */
footer.site-footer {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
  padding: 4.5rem 0 0;
  background-color: var(--footer-bg);
}

.logo-footer {
  width: 10rem;
  height: auto;
  display: block;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
}

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

.footer-brand p {
  font-size: 0.95rem;
  color: var(--muted-foreground);
  margin-top: 1rem;
  max-width: 18rem;
}

.footer-nav-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-color);
  font-weight: 600;
  margin-bottom: 1.25rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9rem;
  color: var(--muted-foreground);
}

.footer-links a:hover {
  color: var(--text-color);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
}

.footer-bottom p {
  padding: 0.75rem 0;
  font-size: 0.75rem;
  color: var(--muted-foreground);
  text-align: center;
  margin: 0;
}

/* Side Sheet: Drawer */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.drawer-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  max-width: 440px;
  background-color: var(--card-bg);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.08);
  z-index: 101;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.drawer.open {
  transform: translateX(0);
}

.drawer-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.drawer-title {
  font-size: 1.15rem;
  font-weight: 600;
}

.drawer-desc {
  font-size: 0.825rem;
  color: var(--muted-foreground);
  margin-top: 0.25rem;
}

.drawer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  flex-shrink: 0;
}

.drawer-close:hover {
  background-color: var(--muted-color);
}

.drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.5rem;
}

.drawer-footer {
  padding: 1.25rem 1.5rem;
  border-top: 1px solid var(--border-color);
  background-color: var(--card-bg);
}

/* Cart Specific Styles */
.cart-items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cart-item {
  display: flex;
  gap: 1rem;
  border: 1px solid var(--border-color);
  border-radius: 1.2rem;
  padding: 0.75rem;
  background-color: var(--bg-color);
}

.cart-item-img {
  width: 4rem;
  height: 4rem;
  border-radius: 0.8rem;
  object-fit: cover;
  flex-shrink: 0;
}

.cart-item-info {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.5rem;
}

.cart-item-title {
  font-weight: 500;
  font-size: 0.9rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-remove {
  color: var(--muted-foreground);
}

.cart-item-remove:hover {
  color: #cf3c3c;
}

.cart-item-badge-preorder {
  font-size: 0.65rem;
  font-weight: 600;
  background-color: var(--accent-color);
  color: var(--accent-foreground);
  padding: 0.15rem 0.4rem;
  border-radius: 9999px;
  width: fit-content;
  margin-top: 0.2rem;
}

.cart-item-controls {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.5rem;
}

.qty-selector {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  background-color: var(--card-bg);
  overflow: hidden;
}

.qty-btn {
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
}

.qty-btn:hover {
  background-color: var(--muted-color);
  color: var(--text-color);
}

.qty-val {
  width: 1.75rem;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
}

.cart-item-price {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.15rem;
}

.cart-preorder-note {
  background-color: rgba(248, 194, 220, 0.2);
  border-radius: 0.8rem;
  padding: 0.6rem 0.8rem;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--accent-foreground);
  margin-bottom: 1rem;
}

.cart-totals {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.cart-total-label {
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

.cart-total-val {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
}

.w-full {
  width: 100%;
}

.mt-4 {
  margin-top: 1rem;
}

/* Empty Cart View */
.empty-cart-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  height: 100%;
  gap: 0.75rem;
}

.empty-cart-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background-color: var(--secondary-color);
  color: var(--secondary-foreground);
  margin-bottom: 0.5rem;
}

.empty-cart-title {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
}

.empty-cart-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  max-width: 16rem;
  line-height: 1.5;
}

/* Order Success View */
.success-view {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 3rem 1.5rem;
  height: 100%;
  gap: 0.75rem;
}

.success-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background-color: rgba(142, 185, 155, 0.15);
  color: #5b6e51;
  margin-bottom: 0.5rem;
}

.success-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 600;
}

.success-desc {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  max-width: 18rem;
  line-height: 1.5;
}

/* Checkout Form Styles */
.checkout-order-summary {
  background-color: rgba(var(--primary-rgb), 0.04);
  border: 1px dashed var(--border-color);
  border-radius: 1.2rem;
  padding: 1.25rem;
  margin-top: 1rem;
}

.checkout-summary-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-foreground);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.summary-items-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.summary-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
}

.summary-item-name {
  color: rgba(var(--text-color), 0.85);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.summary-item-price {
  font-weight: 500;
}

.summary-total-divider {
  height: 1px;
  background-color: var(--border-color);
  margin: 0.75rem 0;
}

.checkout-footer-buttons {
  display: flex;
  gap: 0.5rem;
}

/* Toast Notifications (Custom Sonner emulation) */
.toast-container {
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(-20px);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.toast {
  background-color: var(--card-bg);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 1rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  font-size: 0.9rem;
  font-weight: 500;
  min-width: 280px;
  text-align: center;
  pointer-events: auto;
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
  opacity: 1;
  transform: scale(1) translateY(20px);
}

.toast-success {
  border-left: 4px solid #5b6e51;
}

.toast-error {
  border-left: 4px solid #cf3c3c;
}

/* Screen reader only utility class */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Brand Backdrop Parallax Elements Styles */
.brand-backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.backdrop-relative {
  position: relative;
}

.backdrop-mark {
  position: absolute;
  z-index: -1;
  pointer-events: none;
  will-change: transform;
}

.text-sage-mark {
  color: var(--sage-color);
}

.text-primary-mark {
  color: var(--primary-color);
}

.text-accent-mark {
  color: var(--accent-color);
}

/* Mobile specific coordinates and sizes for parallax backdrop elements */
@media (max-width: 767px) {
  .backdrop-mark svg {
    opacity: 0.22 !important; /* Subtle backdrop blend on mobile */
  }
  
  #mark-hero-left {
    top: 1.2% !important;
    left: -25% !important;
  }
  #mark-hero-left svg {
    width: 250px !important;
    height: 250px !important;
  }

  #mark-ring-1 {
    top: 3.5% !important;
    right: -15% !important;
  }
  #mark-ring-1 svg {
    width: 240px !important;
    height: 240px !important;
  }

  #mark-curve-1 {
    top: 8% !important;
    left: -15% !important;
  }
  #mark-curve-1 svg {
    width: 250px !important;
    height: 250px !important;
  }

  #mark-two-1 {
    top: 50.8% !important;
    right: -15% !important;
  }
  #mark-two-1 svg {
    width: 240px !important;
    height: 240px !important;
  }

  #mark-ring-2 {
    top: 57% !important;
    left: -25% !important;
  }
  #mark-ring-2 svg {
    width: 260px !important;
    height: 260px !important;
  }

  #mark-curve-2 {
    top: 64% !important;
    right: -20% !important;
  }
  #mark-curve-2 svg {
    width: 250px !important;
    height: 250px !important;
  }

  #mark-contacts-left {
    top: 85% !important;
    left: -25% !important;
  }
  #mark-contacts-left svg {
    width: 260px !important;
    height: 260px !important;
  }

  #mark-ring-3 {
    top: 88% !important;
    right: -20% !important;
  }
  #mark-ring-3 svg {
    width: 240px !important;
    height: 240px !important;
  }

  /* Center footer elements on mobile */
  footer.site-footer {
    text-align: center;
  }
  
  .logo-footer {
    margin: 0 auto;
  }
  
  .footer-brand {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .footer-brand p {
    margin: 1rem auto 0;
    text-align: center;
  }
  
  .footer-links {
    align-items: center;
  }

  /* Move toasts to bottom on mobile to avoid overlapping header and fly animation */
  .toast-container {
    top: auto !important;
    bottom: 2rem !important;
    transform: translateX(-50%) translateY(20px) !important;
  }

  .toast.show {
    transform: scale(1) translateY(-20px) !important;
  }
}

/* Invisible Honeypot */
.hidden-honeypot-container {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
}

/* Cart icon bump animation */
@keyframes cart-bump {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.icon-btn.bump {
  animation: cart-bump 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}


