:root {
  /* Brand Colors */
  --color-cream: #f8f5f0;
  --color-brown: #80513e;
  --color-brown-light: #a37c6c;
  --color-gold: #cfa861;
  --color-sage: #889e81;
  --color-pink: #d99a9a;
  --color-beige: #eadec4;

  /* Dark mode colors */
  --color-bg-dark: #12100f;
  --color-surface-dark: #1c1714;
  
  --bg-color: var(--color-cream);
  --text-color: var(--color-brown);
  --border-color: var(--color-beige);
  --surface-color: var(--color-cream);

  --font-body: 'Outfit', sans-serif;
  --transition: all 0.3s ease;
}

[data-theme="dark"] {
  --bg-color: var(--color-bg-dark);
  --text-color: var(--color-cream);
  --border-color: var(--color-surface-dark);
  --surface-color: var(--color-surface-dark);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.5;
  transition: var(--transition);
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

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

/* Utilities */
.text-center { text-align: center; }
.hidden { display: none !important; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; }
.mt-4 { margin-top: 1rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.pt-20 { padding-top: 5rem; }
.pb-10 { padding-bottom: 2.5rem; }
.pb-20 { padding-bottom: 5rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-12 { padding-top: 1rem; padding-bottom: 1rem;}
.full-width { width: 100%; }
.flex-col { display: flex; flex-direction: column; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition);
  cursor: pointer;
  text-align: center;
  border: none;
}

.btn-primary {
  background-color: var(--color-gold);
  color: white;
  box-shadow: 0 4px 6px -1px rgba(207, 168, 97, 0.2);
}
.btn-primary:hover {
  transform: scale(1.05);
  opacity: 0.9;
}

.btn-outline-sage {
  border: 2px solid var(--color-sage);
  color: var(--color-sage);
  background: transparent;
}
.btn-outline-sage:hover {
  background-color: var(--color-sage);
  color: white;
}

.btn-outline-gold {
  border: 1px solid var(--color-gold);
  color: var(--color-gold);
  background: transparent;
}
.btn-outline-gold:hover {
  background-color: var(--color-gold);
  color: white;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background-color: rgba(248, 245, 240, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 0;
  transition: var(--transition);
}
[data-theme="dark"] .navbar {
  background-color: rgba(18, 16, 15, 0.8);
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (min-width: 768px) {
  .navbar-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
  }
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.logo-text {
  font-size: 2rem;
  font-weight: 700;
  font-style: italic;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo-img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.5rem;
  object-fit: cover;
}

.desktop-menu {
  display: none;
  align-items: center;
  gap: 2rem;
}
@media (min-width: 768px) {
  .desktop-menu { display: flex; }
  .nav-actions.desktop-menu { justify-content: flex-end; }
}

.nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-brown-light);
  transition: var(--transition);
}
.nav-link:hover { color: var(--color-sage); }
[data-theme="dark"] .nav-link { color: rgba(248, 245, 240, 0.8); }
[data-theme="dark"] .nav-link:hover { color: var(--color-sage); }

.theme-toggle {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  padding: 0.5rem;
  border-radius: 50%;
}
.theme-toggle:hover {
  background-color: rgba(0,0,0,0.05);
}
[data-theme="dark"] .theme-toggle:hover {
  background-color: rgba(255,255,255,0.05);
}

.mobile-menu-controls {
  display: flex;
  align-items: center;
  gap: 1rem;
}
@media (min-width: 768px) {
  .mobile-menu-controls { display: none; }
}

.menu-btn {
  background: none;
  border: none;
  color: inherit;
  font-size: 1.5rem;
  cursor: pointer;
}

.mobile-menu {
  padding: 1rem;
  background-color: var(--bg-color);
  border-top: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
@media (min-width: 768px) {
  .mobile-menu { display: none !important; }
}

/* Sections */
.section-header { margin-bottom: 3rem; }
.section-tag {
  display: inline-block;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  background-color: var(--color-beige);
  color: var(--text-color);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
[data-theme="dark"] .section-tag {
  background-color: var(--color-surface-dark);
  color: var(--color-gold);
}
.section-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .section-title { font-size: 2.5rem; }
}
@media (min-width: 1024px) {
  .section-title { font-size: 3rem; }
}
.section-desc {
  font-size: 1rem;
  opacity: 0.8;
  line-height: 1.6;
}
@media (min-width: 768px) {
  .section-desc { font-size: 1.125rem; }
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding-top: 5rem;
}
@media (min-width: 1024px) {
  .hero-section { flex-direction: row; padding-top: 0; }
}

.hero-split {
  flex: 1;
  min-height: 50vh;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  padding-top: 5rem;
}
@media (min-width: 768px) {
  .hero-split {
    padding: 2.5rem;
    padding-top: 6rem;
  }
}
.kakanin-hero { justify-content: center; background-color: #121212; }
.cake-hero { justify-content: center; background-color: #121212; }

.hero-bg-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0.4;
  z-index: 0;
  transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
  filter: brightness(0.6) contrast(1.1);
}
.hero-split:hover .hero-bg-overlay { transform: scale(1.1); opacity: 0.5; }
.hero-bg-img { width: 100%; height: 100%; object-fit: cover; }

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 400px;
  background-color: rgba(28, 23, 20, 0.85);
  color: #f8f5f0;
  padding: 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 20px 25px -5px rgba(0,0,0,0.3);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2rem;
}
@media (min-width: 768px) {
  .hero-content {
    padding: 2.5rem;
    margin-top: 4rem;
  }
}
/* Already using dark glass by default now */
[data-theme="dark"] .hero-content {
  border-color: rgba(207, 168, 97, 0.2);
}

.cake-content { margin-left: auto; }
.hero-subtitle { font-style: italic; font-size: 1.125rem; display: block; margin-bottom: 0.5rem; }
.kakanin-subtitle { color: var(--color-sage); }
.cake-subtitle { color: var(--color-gold); }
.hero-title { font-size: 2.25rem; margin-bottom: 1rem; line-height: 1.2; }
.hero-desc { font-size: 0.875rem; opacity: 0.8; margin-bottom: 1.5rem; }
.hero-buttons { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* About Section */
.about-container {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .about-container { flex-direction: row; }
}

.about-image-wrapper { flex: 1; position: relative; width: 100%; }
.about-image-box {
  aspect-ratio: 4/5;
  border-radius: 2rem;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25);
}
.about-image-box img { width: 100%; height: 100%; object-fit: cover; }
.about-image-border {
  position: absolute;
  top: 1rem; left: 1rem; right: 1rem; bottom: 1rem;
  border: 4px solid rgba(255,255,255,0.2);
  border-radius: 1.5rem;
  pointer-events: none;
}
[data-theme="dark"] .about-image-border { border-color: rgba(207, 168, 97, 0.2); }

.about-text-content { flex: 1; }

.menu-section { background-color: rgba(234, 222, 196, 0.2); }
[data-theme="dark"] .menu-section { background-color: rgba(28, 23, 20, 0.3); }

/* Menu Grid */
.menu-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 768px) {
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1024px) {
  .menu-grid { grid-template-columns: repeat(3, 1fr); }
}

.menu-card {
  background-color: var(--surface-color);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.menu-card:hover { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1); }
.menu-card-img { aspect-ratio: 4/3; overflow: hidden; flex-shrink: 0; cursor: pointer; }
.menu-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.menu-card:hover .menu-card-img img { transform: scale(1.05); }
.menu-card-content { 
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.menu-card-header { 
  display: flex; 
  justify-content: space-between; 
  align-items: flex-start; 
  margin-bottom: 0.5rem; 
  min-height: 4rem;
}
.menu-card-header.block-header { flex-direction: column; }
.menu-card-header h4 { font-size: 1.25rem; font-weight: 600; line-height: 1.2; }
.price { color: var(--color-gold); font-weight: 500; }

.menu-card-content p {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-color);
  opacity: 0.8;
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 4rem; /* Approx 3 lines at 1.5 line-height and 0.875rem font size */
}

.inquire-link { 
  font-size: 0.75rem; 
  font-weight: 700; 
  text-transform: uppercase; 
  letter-spacing: 0.1em; 
  color: var(--color-pink); 
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: auto;
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-pink);
  border-radius: 0.5rem;
  transition: var(--transition);
  width: fit-content;
}
.inquire-link:hover { 
  background-color: var(--color-pink);
  color: white;
  text-decoration: none;
}
[data-theme="dark"] .inquire-link { 
  color: var(--color-gold); 
  border-color: var(--color-gold);
}
[data-theme="dark"] .inquire-link:hover {
  background-color: var(--color-gold);
  color: #1c1714;
}

/* Menu Slider Styles */
.menu-slider-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 1rem 0;
}

.menu-grid {
  display: flex !important;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  gap: 1rem;
  width: 100%;
}

.menu-card {
  flex: 0 0 100%;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .menu-grid {
    gap: 2rem;
  }
  .menu-card {
    flex: 0 0 calc((100% - 4rem) / 3);
  }
}

.slider-controls {
  display: flex;
  gap: 0.5rem;
}

.side-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 20;
  padding: 0 0.25rem;
}

@media (min-width: 768px) {
  .side-controls {
    padding: 0 1rem;
    margin: 0 -1.25rem;
  }
}

.side-controls .slider-btn {
  pointer-events: auto;
  opacity: 1;
}

[data-theme="dark"] .side-controls .slider-btn {
  background: #cfa861;
}

.slider-btn {
  background: #cfa861;
  border: none;
  color: white;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1.25rem;
  box-shadow: 0 4px 6px -1px rgba(207, 168, 97, 0.4);
}

.slider-btn svg {
  width: 1.25rem;
  height: 1.25rem;
}

.slider-btn:hover {
  transform: translateY(-2px) scale(1.1);
  opacity: 0.9;
  box-shadow: 0 10px 15px -3px rgba(0,0,0,0.2);
}

.slider-btn:active {
  transform: translateY(0);
}

.slider-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  transform: none;
  filter: grayscale(1);
}

[data-theme="dark"] .slider-btn {
  background: #cfa861;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.category-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-brown);
  white-space: nowrap;
}
@media (min-width: 640px) {
  .category-title {
    font-size: 1.25rem;
  }
}
[data-theme="dark"] .category-title { color: var(--color-gold); }
.header-line { flex: 1; height: 1px; opacity: 0.5; }
.sage-line { background-color: var(--color-sage); }
.pink-line { background-color: var(--color-pink); }
[data-theme="dark"] .pink-line { background-color: var(--color-gold); }

/* Gallery */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.filter-btn {
  padding: 0.5rem 1.25rem;
  border-radius: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background-color: var(--surface-color);
  color: var(--text-color);
  border: 1px solid var(--border-color);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn.active {
  background-color: var(--color-gold);
  color: white;
  border-color: var(--color-gold);
}

.gallery-slider-wrapper {
  position: relative;
  width: 100%;
}

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

@media (max-width: 767px) {
  .gallery-grid {
    display: flex !important; /* Force flex for slider */
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 1rem;
    padding-bottom: 2rem;
    padding-left: 1rem;
    padding-right: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    cursor: grab;
  }
  
  .gallery-grid::-webkit-scrollbar {
    display: none;
  }
  
  .gallery-item {
    flex: 0 0 85%;
    scroll-snap-align: center;
    max-width: 320px;
  }
}

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

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

.gallery-item {
  aspect-ratio: 3/4;
  border-radius: 0.75rem;
  overflow: hidden;
  cursor: pointer;
  position: relative;
  transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0; /* JS will handle the entrance */
}

.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.7s ease;
}

.gallery-item:hover img { transform: scale(1.1); }

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


/* Testimonials */
.testimonials-section {
  background-color: rgba(234, 222, 196, 0.1);
  overflow: hidden;
}
[data-theme="dark"] .testimonials-section { background-color: rgba(28, 23, 20, 0.1); }

.testimonial-marquee-wrapper {
  display: flex;
  overflow: hidden;
  position: relative;
  /* Use a basic fade mask with gradients if supported */
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.testimonial-marquee {
  display: flex;
  gap: 1.5rem;
  padding: 1rem 1.5rem 1rem 0; /* Adding 1.5rem right padding to match the gap */
  animation: marquee 40s linear infinite;
  min-width: max-content;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.testimonial-marquee-wrapper:hover .testimonial-marquee {
  animation-play-state: paused;
}

.testimonial-card {
  background-color: var(--surface-color);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 1rem;
  width: 280px;
  flex-shrink: 0;
}
@media (min-width: 768px) {
  .testimonial-card {
    padding: 2rem;
    width: 350px;
  }
}
.stars { color: var(--color-gold); margin-bottom: 1rem; }
.review-text { font-size: 0.875rem; opacity: 0.8; margin-bottom: 1.5rem; font-style: italic; }
.reviewer { display: flex; align-items: center; gap: 0.75rem; }
.avatar {
  width: 2.5rem; height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.reviewer-info .name { font-weight: bold; font-size: 0.875rem; }
.reviewer-info .role { font-size: 0.75rem; opacity: 0.6; }

/* Modals */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 60;
  background-color: rgba(0,0,0,0.6);
  backdrop-filter: blur(4px);
  display: flex; /* overridden by script toggle with hidden class */
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal-content {
  background-color: var(--surface-color);
  border-radius: 1rem;
  width: 100%;
  max-width: 42rem;
  max-height: 90vh;
  position: relative;
  display: flex;
  flex-direction: column;
  transform: scale(1);
  opacity: 1;
}

.modal-pop {
  animation: modalPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes modalPop {
  0% {
    transform: scale(0.9);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.small-modal {
  max-width: 28rem;
  padding: 2rem;
}
.modal-close-btn {
  position: absolute;
  top: 1rem; right: 1rem;
  background: none; border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-color);
  z-index: 10;
}
.modal-body { 
  padding: 1.5rem 1rem; 
  overflow-y: auto; 
}
@media (min-width: 768px) {
  .modal-body { padding: 1.5rem 2rem; }
}
.modal-header { margin-bottom: 1.5rem; text-align: center; }
.modal-header h2 { font-size: 1.75rem; margin-bottom: 0.25rem; color: var(--color-brown); }
[data-theme="dark"] .modal-header h2 { color: var(--color-gold); }
.modal-subtitle { font-size: 0.875rem; opacity: 0.7; }
.required-note { color: var(--color-brown-light); font-size: 0.7rem; font-style: italic; opacity: 0.8; }
.redirect-note { color: var(--color-brown-light); font-size: 0.75rem; font-style: italic; text-align: center; opacity: 0.9; }
[data-theme="dark"] .redirect-note { color: var(--color-gold); }

.form-section { margin-top: 1.5rem; }
.form-section-header {
  font-size: 0.875rem; font-weight: bold; text-transform: uppercase;
  color: var(--color-gold); border-bottom: 1px solid var(--border-color);
  padding-bottom: 0.5rem; margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.form-section-header::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 1rem;
  background-color: var(--color-gold);
  border-radius: 2px;
}
.form-grid { display: grid; gap: 0.75rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .form-grid { grid-template-columns: repeat(2, 1fr); } }
.form-group label { display: block; font-size: 0.75rem; font-weight: bold; text-transform: uppercase; margin-bottom: 0.25rem; opacity: 0.8;}
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 0.5rem 0.75rem; border-radius: 0.25rem;
  border: 1px solid var(--border-color);
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: inherit;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--color-gold);
}

.lightbox-overlay {
  position: fixed; inset: 0; z-index: 70;
  background-color: rgba(0,0,0,0.9);
  display: flex; align-items: center; justify-content: center;
}
.lightbox-overlay img { 
  max-height: 90vh; 
  max-width: 90vw; 
  transform: scale(1);
  opacity: 1;
}

.lightbox-pop {
  animation: lightboxPop 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes lightboxPop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}
.lightbox-close-btn {
  position: absolute; top: 1rem; right: 1rem;
  color: white; font-size: 3rem; background: none; border: none; cursor: pointer;
}


/* FAQ Section */
.faq-section {
  background-color: var(--surface-color);
}

.faq-accordion {
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  border: 1px solid var(--border-color);
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
  transition: var(--transition);
}

.faq-question {
  width: 100%;
  padding: 1rem 1.25rem;
  background: none;
  border: none;
  color: var(--text-color);
  font-weight: 600;
  font-size: 0.9375rem;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: inherit;
}

.faq-question:hover {
  background-color: rgba(207, 168, 97, 0.05);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out, padding 0.3s ease;
  background-color: rgba(234, 222, 196, 0.2);
  font-size: 0.8125rem;
  line-height: 1.5;
  opacity: 0.8;
}

.faq-item.active .faq-answer {
  max-height: 200px;
  padding: 1rem 1.25rem;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-icon {
  display: inline-block;
  transition: transform 0.3s ease;
  font-size: 1.5rem;
  color: var(--color-gold);
}

/* Footer */
.footer { background-color: var(--color-brown); color: var(--color-cream); }
[data-theme="dark"] .footer { background-color: var(--color-surface-dark); }
.footer-grid { display: grid; gap: 3rem; grid-template-columns: 1fr; }
@media (min-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-logo-img {
  width: 7rem;
  height: 7rem;
  border-radius: 0.25rem;
  object-fit: cover;
}

.footer-brand h3 { font-size: 1.5rem; font-style: italic; font-weight: bold; color: var(--color-gold);}
.footer-links ul li { margin-bottom: 0.75rem; }
.footer-links ul li a:hover { color: var(--color-gold); text-decoration: underline; }
.footer-contact ul li { display: flex; align-items: start; gap: 0.75rem; font-size: 0.875rem; }
.contact-icon {
  color: var(--color-gold);
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 0.125rem;
}
.gap-4 { gap: 1rem; }
.mt-3 { margin-top: 0.75rem; }
.footer h3 { font-size: 1.125rem; color: var(--color-gold); margin-bottom: 1.25rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; }

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 2.5rem;
  height: 2.5rem;
  background-color: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: white;
}

.social-link:hover {
  background-color: var(--color-gold);
  transform: translateY(-3px);
  color: #1c1714;
}

.flex { display: flex; }
.items-start { align-items: flex-start; }
.gap-2 { gap: 0.5rem; }
.mt-2 { margin-top: 0.5rem; }
.text-sm { font-size: 0.875rem; }
.opacity-70 { opacity: 0.7; }
.mb-4 { margin-bottom: 1rem; }

.footer-bottom { 
  border-top: 1px solid rgba(255,255,255,0.05);
  padding-top: 2rem;
  font-size: 0.7rem;
  color: rgba(255,255,255, 0.4);
  letter-spacing: 0.05em;
  font-weight: 300;
}
[data-theme="dark"] .footer-bottom {
  border-top-color: rgba(207, 168, 97, 0.1);
  color: rgba(234, 222, 196, 0.3);
}

/* Animations */
.animate-on-scroll {
  opacity: 0;
  will-change: opacity, transform;
  transition-property: opacity, transform;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up { transform: translateY(30px); }
.fade-in { transform: translateY(0); }
.scale-up { transform: scale(0.95); }
.fade-left { transform: translateX(-30px); }
.fade-right { transform: translateX(30px); }

.animate-on-scroll.active {
  opacity: 1;
  transform: translate(0, 0) scale(1);
}

.delay-100 { transition-delay: 100ms; }
.delay-200 { transition-delay: 200ms; }
.delay-300 { transition-delay: 300ms; }
.delay-400 { transition-delay: 400ms; }
.delay-500 { transition-delay: 500ms; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.animate-marquee {
  animation: marquee 30s linear infinite;
}

.hover\:pause:hover {
  animation-play-state: paused;
}

.mask-linear-gradient {
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
