/* ==========================================================================
   Tres Leches House of Cakes - Design System
   Aesthetic: "Dulce Artisan" - Warm, inviting, artisanal elegance
   ========================================================================== */

/* --------------------------------------------------------------------------
   CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette - Inspired by tres leches ingredients */
  --color-cream: #FDF8F3;
  --color-cream-dark: #F5EDE4;
  --color-vanilla: #FFF9F0;
  --color-caramel: #C4956A;
  --color-caramel-dark: #A67B52;
  --color-caramel-light: #E8C9A8;
  --color-chocolate: #3D2B1F;
  --color-chocolate-light: #5C4033;
  --color-rose: #E8A0A0;
  --color-rose-light: #F5D5D5;
  --color-strawberry: #D4847C;
  --color-white: #FFFFFF;

  /* Typography */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Font Sizes - Fluid typography */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.9rem + 0.5vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.6vw, 1.25rem);
  --text-xl: clamp(1.25rem, 1.1rem + 0.75vw, 1.5rem);
  --text-2xl: clamp(1.5rem, 1.2rem + 1.5vw, 2rem);
  --text-3xl: clamp(2rem, 1.5rem + 2.5vw, 3rem);
  --text-4xl: clamp(2.5rem, 1.8rem + 3.5vw, 4rem);
  --text-5xl: clamp(3rem, 2rem + 5vw, 5.5rem);

  /* Spacing */
  --space-xs: 0.25rem;
  --space-sm: 0.5rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4rem;
  --space-4xl: 6rem;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(61, 43, 31, 0.05);
  --shadow-md: 0 4px 6px rgba(61, 43, 31, 0.07), 0 2px 4px rgba(61, 43, 31, 0.05);
  --shadow-lg: 0 10px 25px rgba(61, 43, 31, 0.1), 0 4px 10px rgba(61, 43, 31, 0.05);
  --shadow-xl: 0 20px 40px rgba(61, 43, 31, 0.15), 0 8px 16px rgba(61, 43, 31, 0.08);

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-bounce: 500ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --------------------------------------------------------------------------
   Base & Reset
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-chocolate);
  background-color: var(--color-cream);
  overflow-x: hidden;
}

/* Selection styling */
::selection {
  background-color: var(--color-caramel-light);
  color: var(--color-chocolate);
}

/* Focus styles for accessibility */
:focus-visible {
  outline: 2px solid var(--color-caramel);
  outline-offset: 2px;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  padding: var(--space-sm) var(--space-lg);
  background: var(--color-chocolate);
  color: var(--color-cream);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--radius-md);
  z-index: 9999;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-chocolate);
  margin-bottom: var(--space-md);
}

h1 { font-size: var(--text-5xl); }
h2 { font-size: var(--text-4xl); }
h3 { font-size: var(--text-3xl); }
h4 { font-size: var(--text-2xl); }
h5 { font-size: var(--text-xl); }
h6 { font-size: var(--text-lg); }

p {
  margin-bottom: var(--space-md);
}

a {
  color: var(--color-caramel-dark);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-chocolate);
}

/* --------------------------------------------------------------------------
   Header & Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(253, 248, 243, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(196, 149, 106, 0.1);
}

.navbar {
  padding: var(--space-md) 0;
}

.navbar-brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  line-height: 1.1;
}

.navbar-brand .brand-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-chocolate);
  letter-spacing: 0.02em;
}

.navbar-brand .brand-subtitle {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-weight: 400;
  font-style: italic;
  color: var(--color-caramel);
  letter-spacing: 0.05em;
}

.navbar-brand:hover .brand-text {
  color: var(--color-caramel-dark);
}

/* Custom hamburger menu */
.navbar-toggler {
  border: none;
  padding: var(--space-sm);
  background: transparent;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.toggler-line {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-chocolate);
  border-radius: var(--radius-full);
  transition: var(--transition-base);
}

.navbar-toggler[aria-expanded="true"] .toggler-line:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.navbar-toggler[aria-expanded="true"] .toggler-line:nth-child(2) {
  opacity: 0;
}

.navbar-toggler[aria-expanded="true"] .toggler-line:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.navbar-nav {
  gap: var(--space-sm);
}

.nav-link {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-chocolate-light);
  padding: var(--space-sm) var(--space-md) !important;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--color-caramel);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  transform: translateX(-50%);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-chocolate);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: calc(100% - var(--space-lg));
}

.nav-link.btn-nav {
  background: var(--color-caramel);
  color: var(--color-white) !important;
  border-radius: var(--radius-full);
  padding: var(--space-sm) var(--space-lg) !important;
}

.nav-link.btn-nav::after {
  display: none;
}

.nav-link.btn-nav:hover {
  background: var(--color-caramel-dark);
  transform: translateY(-1px);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn-primary {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  background: var(--color-caramel);
  border: none;
  color: var(--color-white);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  background: var(--color-caramel-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: var(--text-sm);
  background: transparent;
  border: 2px solid var(--color-caramel);
  color: var(--color-caramel-dark);
  padding: calc(var(--space-md) - 2px) calc(var(--space-xl) - 2px);
  border-radius: var(--radius-full);
  transition: all var(--transition-base);
}

.btn-secondary:hover {
  background: var(--color-caramel);
  color: var(--color-white);
  border-color: var(--color-caramel);
  transform: translateY(-2px);
}

.btn-lg {
  padding: var(--space-lg) var(--space-2xl);
  font-size: var(--text-base);
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-vanilla) 50%, var(--color-cream-dark) 100%);
}

/* Decorative blob shapes */
.hero::before {
  content: '';
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(ellipse at center, var(--color-rose-light) 0%, transparent 70%);
  opacity: 0.5;
  animation: float 20s ease-in-out infinite;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -10%;
  left: -5%;
  width: 40%;
  height: 60%;
  background: radial-gradient(ellipse at center, var(--color-caramel-light) 0%, transparent 70%);
  opacity: 0.4;
  animation: float 15s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(2%, 3%) scale(1.02); }
  66% { transform: translate(-1%, -2%) scale(0.98); }
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-sm) var(--space-md);
  background: var(--color-white);
  border-radius: var(--radius-full);
  font-size: var(--text-xs);
  font-weight: 600;
  color: var(--color-caramel-dark);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease backwards;
}

.hero-badge::before {
  content: '✦';
  color: var(--color-caramel);
}

.hero-title {
  font-size: var(--text-5xl);
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: var(--space-lg);
  animation: fadeInUp 0.8s ease 0.1s backwards;
}

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

.hero-description {
  font-size: var(--text-lg);
  color: var(--color-chocolate-light);
  margin-bottom: var(--space-xl);
  max-width: 500px;
  animation: fadeInUp 0.8s ease 0.2s backwards;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-md);
  animation: fadeInUp 0.8s ease 0.3s backwards;
}

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

/* Hero image/decoration */
.hero-visual {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 45%;
  height: 80%;
  z-index: 0;
  display: none;
}

@media (min-width: 992px) {
  .hero-visual {
    display: block;
  }
}

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

.hero-image-wrapper::before {
  content: '';
  position: absolute;
  inset: -20px;
  background: var(--color-caramel-light);
  border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%;
  opacity: 0.3;
  animation: morphBlob 10s ease-in-out infinite;
}

@keyframes morphBlob {
  0%, 100% { border-radius: 40% 60% 60% 40% / 60% 40% 60% 40%; }
  50% { border-radius: 60% 40% 40% 60% / 40% 60% 40% 60%; }
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 30% 70% 70% 30% / 60% 40% 60% 40%;
  box-shadow: var(--shadow-xl);
}

/* --------------------------------------------------------------------------
   Section Styles
   -------------------------------------------------------------------------- */
.section {
  padding: var(--space-4xl) 0;
  position: relative;
}

.section-cream {
  background: var(--color-cream);
}

.section-vanilla {
  background: var(--color-vanilla);
}

.section-header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto var(--space-3xl);
}

.section-label {
  display: inline-block;
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-caramel);
  margin-bottom: var(--space-md);
}

.section-title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-md);
}

.section-description {
  font-size: var(--text-lg);
  color: var(--color-chocolate-light);
}

/* --------------------------------------------------------------------------
   Feature Cards
   -------------------------------------------------------------------------- */
.feature-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, var(--color-caramel-light) 0%, var(--color-rose-light) 100%);
  border-radius: var(--radius-lg);
  font-size: var(--text-2xl);
}

.feature-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-sm);
}

.feature-description {
  font-size: var(--text-sm);
  color: var(--color-chocolate-light);
  margin-bottom: 0;
}

/* --------------------------------------------------------------------------
   Product/Cake Cards
   -------------------------------------------------------------------------- */
.cake-card {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--color-white);
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.cake-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: var(--shadow-xl);
}

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

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

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

.cake-image--placeholder {
  background: linear-gradient(180deg, var(--color-cream-dark) 0%, var(--color-caramel-light) 100%);
}

.cake-badge {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: var(--space-xs) var(--space-md);
  background: var(--color-caramel);
  color: var(--color-white);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
}

.cake-content {
  padding: var(--space-lg);
}

.cake-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-xs);
}

.cake-description {
  font-size: var(--text-sm);
  color: var(--color-chocolate-light);
  margin-bottom: var(--space-md);
}

.cake-price {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-caramel-dark);
}

/* --------------------------------------------------------------------------
   Testimonials
   -------------------------------------------------------------------------- */
.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-md);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: var(--space-md);
  left: var(--space-lg);
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--color-caramel-light);
  line-height: 1;
}

.testimonial-text {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-style: italic;
  color: var(--color-chocolate);
  margin-bottom: var(--space-lg);
  padding-top: var(--space-xl);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-caramel-light), var(--color-rose-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--color-chocolate);
}

.testimonial-name {
  font-weight: 600;
  font-size: var(--text-sm);
  margin-bottom: 0;
}

.testimonial-role {
  font-size: var(--text-xs);
  color: var(--color-chocolate-light);
}

/* --------------------------------------------------------------------------
   CTA Section
   -------------------------------------------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, var(--color-chocolate) 0%, var(--color-chocolate-light) 100%);
  color: var(--color-cream);
  text-align: center;
  padding: var(--space-4xl) 0;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23c4956a' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.cta-content {
  position: relative;
  z-index: 1;
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  color: var(--color-cream);
  margin-bottom: var(--space-md);
}

.cta-description {
  font-size: var(--text-lg);
  opacity: 0.9;
  margin-bottom: var(--space-xl);
}

.cta-section .btn-primary {
  background: var(--color-caramel);
  color: var(--color-white);
}

.cta-section .btn-primary:hover {
  background: var(--color-cream);
  color: var(--color-chocolate);
}

/* Contact Buttons */
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.btn-contact {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: var(--text-sm);
  text-decoration: none;
  transition: all var(--transition-base);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--color-white);
}

.btn-whatsapp:hover {
  background: #128C7E;
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.3);
}

.btn-chat {
  background: var(--color-caramel);
  color: var(--color-white);
  border: 2px solid var(--color-caramel);
  cursor: pointer;
}

.btn-chat:hover {
  background: var(--color-cream);
  color: var(--color-chocolate);
  border-color: var(--color-cream);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(196, 149, 106, 0.3);
}

.btn-email {
  background: var(--color-cream);
  color: var(--color-chocolate);
  border: 2px solid var(--color-cream);
}

.btn-email:hover {
  background: transparent;
  color: var(--color-cream);
  border-color: var(--color-cream);
  transform: translateY(-2px);
}

/* CTA Section Note */
.cta-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-xl);
  font-size: var(--text-sm);
  color: rgba(253, 248, 243, 0.7);
}

.cta-note svg {
  flex-shrink: 0;
  opacity: 0.7;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  box-shadow: var(--shadow-lg);
}

.contact-form .form-label {
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--color-chocolate);
  margin-bottom: var(--space-xs);
}

.contact-form .form-control {
  border: 2px solid var(--color-cream-dark);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  font-size: var(--text-base);
  transition: all var(--transition-fast);
  background: var(--color-vanilla);
}

.contact-form .form-control:focus {
  border-color: var(--color-caramel);
  box-shadow: 0 0 0 3px rgba(196, 149, 106, 0.15);
  background: var(--color-white);
}

.contact-form .form-control::placeholder {
  color: var(--color-chocolate-light);
  opacity: 0.5;
}

.contact-form textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

.contact-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  font-size: var(--text-sm);
  color: var(--color-chocolate-light);
  text-align: center;
}

.contact-note svg {
  flex-shrink: 0;
  color: var(--color-caramel);
}

/* Google Reviews Button */
.google-reviews-btn {
  display: inline-flex;
  align-items: center;
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  position: relative;
  background: var(--color-chocolate);
  color: var(--color-cream);
}

.footer-wave {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: translateY(-99%);
  color: var(--color-chocolate);
  line-height: 0;
}

.footer-wave svg {
  width: 100%;
  height: 60px;
}

.footer-content {
  padding: var(--space-3xl) 0 var(--space-xl);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  margin-bottom: var(--space-md);
}

.footer-brand .brand-text {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 600;
  color: var(--color-cream);
}

.footer-brand .brand-subtitle {
  font-family: var(--font-display);
  font-size: var(--text-sm);
  font-style: italic;
  color: var(--color-caramel-light);
}

.footer-tagline {
  font-size: var(--text-sm);
  color: var(--color-caramel-light);
  font-style: italic;
}

.footer-heading {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-cream);
  margin-bottom: var(--space-md);
}

.footer-address {
  font-style: normal;
  font-size: var(--text-sm);
  line-height: 1.8;
  color: rgba(253, 248, 243, 0.8);
}

.footer-address a {
  color: var(--color-caramel-light);
}

.footer-address a:hover {
  color: var(--color-cream);
}

.footer-hours {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-hours li {
  display: flex;
  justify-content: space-between;
  font-size: var(--text-sm);
  padding: var(--space-xs) 0;
  color: rgba(253, 248, 243, 0.8);
  max-width: 200px;
}

.footer-bottom {
  border-top: 1px solid rgba(253, 248, 243, 0.1);
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  text-align: center;
}

.footer-bottom p {
  font-size: var(--text-xs);
  color: rgba(253, 248, 243, 0.6);
  margin: 0;
}

/* Footer Social Links */
.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(253, 248, 243, 0.1);
  border-radius: var(--radius-full);
  color: var(--color-cream);
  transition: all var(--transition-base);
}

.social-link:hover {
  background: var(--color-caramel);
  color: var(--color-white);
  transform: translateY(-2px);
}

/* Footer Info & Links */
.footer-info {
  color: rgba(253, 248, 243, 0.8);
}

.footer-text {
  font-size: var(--text-sm);
  line-height: 1.7;
  margin: 0;
}

.appointment-notice {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-weight: 600;
  color: var(--color-caramel-light);
  margin-bottom: var(--space-sm);
}

.appointment-notice svg {
  flex-shrink: 0;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: var(--space-sm);
}

.footer-links a {
  font-size: var(--text-sm);
  color: rgba(253, 248, 243, 0.8);
  transition: all var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-caramel-light);
  padding-left: var(--space-sm);
}

/* --------------------------------------------------------------------------
   Alert Styles (Django Messages)
   -------------------------------------------------------------------------- */
.messages-container {
  padding: var(--space-md) 0;
}

.alert {
  border: none;
  border-radius: var(--radius-md);
  font-size: var(--text-sm);
}

.alert-debug {
  color: var(--color-chocolate);
  background-color: var(--color-cream-dark);
}

.alert-info {
  color: #0c5460;
  background-color: #d1ecf1;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
}

.alert-warning {
  color: #856404;
  background-color: #fff3cd;
}

.alert-error,
.alert-danger {
  color: #721c24;
  background-color: #f8d7da;
}

/* --------------------------------------------------------------------------
   Utility Classes
   -------------------------------------------------------------------------- */
.text-caramel { color: var(--color-caramel); }
.text-chocolate { color: var(--color-chocolate); }
.text-rose { color: var(--color-rose); }
.bg-cream { background-color: var(--color-cream); }
.bg-vanilla { background-color: var(--color-vanilla); }

/* Decorative divider */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.divider::before,
.divider::after {
  content: '';
  height: 1px;
  width: 60px;
  background: var(--color-caramel-light);
}

.divider-icon {
  color: var(--color-caramel);
  font-size: var(--text-lg);
}

/* --------------------------------------------------------------------------
   Responsive Adjustments
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: var(--color-cream);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin-top: var(--space-md);
    box-shadow: var(--shadow-lg);
  }

  .navbar-nav {
    gap: var(--space-xs);
  }

  .nav-link::after {
    display: none;
  }

  .hero {
    min-height: auto;
    padding: var(--space-3xl) 0;
  }

  .hero-content {
    text-align: center;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta {
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: var(--space-3xl) 0;
  }

  .footer-wave svg {
    height: 40px;
  }
}

/* --------------------------------------------------------------------------
   Animation Utilities
   -------------------------------------------------------------------------- */
.fade-in {
  animation: fadeIn 0.6s ease forwards;
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* Scroll-triggered animations (add via JS) */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* --------------------------------------------------------------------------
   HTMX Inline Editing
   -------------------------------------------------------------------------- */
.editable-cell {
  position: relative;
  padding: 0 !important;
  vertical-align: middle !important;
}

.editable-cell input {
  background: transparent;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  width: 100%;
  padding: var(--space-sm);
}

.editable-cell input:hover {
  background: var(--color-vanilla);
  border-color: var(--color-cream-dark);
}

.editable-cell input:focus {
  background: var(--color-white);
  border-color: var(--color-caramel);
  box-shadow: 0 0 0 2px rgba(196, 149, 106, 0.2);
  outline: none;
}

/* Success flash animation */
.htmx-success input {
  animation: htmx-flash-success 0.6s ease;
}

@keyframes htmx-flash-success {
  0%, 100% { background-color: transparent; }
  30% { background-color: rgba(40, 167, 69, 0.25); }
}

/* Error state */
.htmx-error input {
  border-color: var(--color-strawberry) !important;
  background-color: rgba(212, 132, 124, 0.1);
}

.htmx-error .invalid-tooltip {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  padding: var(--space-xs) var(--space-sm);
  font-size: var(--text-xs);
  background: var(--color-strawberry);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

/* Ingredient table specific styles */
.ingredient-table th {
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-chocolate-light);
  border-bottom: 2px solid var(--color-cream-dark);
}

.ingredient-table td {
  vertical-align: middle;
}

.ingredient-table .badge {
  font-size: var(--text-xs);
}

/* Dashed border for placeholder cards */
.border-dashed {
  border-style: dashed !important;
  border-color: var(--color-cream-dark) !important;
}

/* --------------------------------------------------------------------------
   Newsletter Section
   -------------------------------------------------------------------------- */
.newsletter-section {
  background: linear-gradient(135deg, var(--color-caramel-light) 0%, var(--color-rose-light) 100%);
  padding: var(--space-4xl) 0;
}

.newsletter-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-2xl);
  max-width: 700px;
  margin: 0 auto;
}

.newsletter-content {
  max-width: 500px;
}

.newsletter-title {
  font-size: var(--text-3xl);
  margin-bottom: var(--space-sm);
  color: var(--color-chocolate);
}

.newsletter-description {
  font-size: var(--text-base);
  color: var(--color-chocolate-light);
  margin-bottom: 0;
}

.newsletter-form-wrapper {
  width: 100%;
}

.newsletter-form {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  box-shadow: var(--shadow-lg);
}

.newsletter-fields {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

@media (min-width: 576px) {
  .newsletter-fields {
    flex-direction: row;
    align-items: flex-start;
  }

  .newsletter-input-group {
    flex: 1;
  }

  .newsletter-input-group:first-child {
    flex: 1.5;
  }

  .newsletter-btn {
    flex-shrink: 0;
  }
}

.newsletter-form .form-control {
  border: 2px solid var(--color-cream-dark);
  border-radius: var(--radius-md);
  padding: 14px var(--space-md);
  font-size: var(--text-base);
  transition: all var(--transition-fast);
  background: var(--color-vanilla);
  width: 100%;
}

.newsletter-form .form-control:focus {
  border-color: var(--color-caramel);
  box-shadow: 0 0 0 3px rgba(196, 149, 106, 0.15);
  background: var(--color-white);
  outline: none;
}

.newsletter-btn {
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  padding: 14px var(--space-xl);
  height: auto;
}

.newsletter-btn-text {
  display: inline;
}

.newsletter-loading {
  display: none;
}

.htmx-request .newsletter-btn-text {
  display: none;
}

.htmx-request .newsletter-loading {
  display: inline-flex;
}

.spinner circle {
  stroke-dasharray: 31.4;
  stroke-dashoffset: 10;
}

/* Newsletter Success/Error States */
.newsletter-success,
.newsletter-error {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  border-radius: var(--radius-xl);
  background: var(--color-white);
  box-shadow: var(--shadow-lg);
}

.newsletter-success {
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
}

.newsletter-success svg {
  color: #28a745;
  flex-shrink: 0;
  margin-top: 2px;
}

.newsletter-success-title {
  font-weight: 600;
  color: #155724;
  margin-bottom: var(--space-xs);
}

.newsletter-success-text {
  font-size: var(--text-sm);
  color: #155724;
  margin-bottom: 0;
  opacity: 0.8;
}

.newsletter-error {
  background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
}

.newsletter-error svg {
  color: #dc3545;
  flex-shrink: 0;
  margin-top: 2px;
}

.newsletter-error-text {
  color: #721c24;
  margin-bottom: 0;
}

/* Invalid feedback for form errors */
.newsletter-form .invalid-feedback {
  font-size: var(--text-xs);
  color: var(--color-strawberry);
  margin-top: var(--space-xs);
}

/* --------------------------------------------------------------------------
   Custom Cake Inquiry Page
   -------------------------------------------------------------------------- */

/* Resume Banner */
.inquiry-resume-banner {
  background: linear-gradient(135deg, var(--color-caramel-light) 0%, var(--color-rose-light) 100%);
  padding: var(--space-md) 0;
}

.resume-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.resume-banner-info {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  color: var(--color-chocolate);
}

.resume-banner-info svg {
  flex-shrink: 0;
  color: var(--color-caramel-dark);
}

.resume-banner-info strong {
  display: block;
  font-weight: 600;
}

.resume-banner-details {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-chocolate-light);
}

/* Step Numbers for How It Works */
.step-number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--color-caramel-dark);
}

/* Booking Cards */
.booking-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  text-align: center;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.booking-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.booking-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, var(--color-caramel-light) 0%, var(--color-rose-light) 100%);
  border-radius: var(--radius-lg);
  color: var(--color-chocolate);
}

.booking-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-xs);
}

.booking-timing {
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  color: var(--color-caramel-dark);
  margin-bottom: var(--space-sm);
}

.booking-description {
  font-size: var(--text-sm);
  color: var(--color-chocolate-light);
  margin-bottom: 0;
}

/* Expect Items (What to Expect) */
.expect-item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  height: 100%;
}

.expect-item:hover {
  box-shadow: var(--shadow-md);
}

.expect-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--color-caramel-light) 0%, var(--color-rose-light) 100%);
  border-radius: var(--radius-md);
  color: var(--color-caramel-dark);
}

.expect-content {
  flex: 1;
}

.expect-title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-xs);
}

.expect-description {
  font-size: var(--text-sm);
  color: var(--color-chocolate-light);
  margin-bottom: 0;
}

/* FAQ Accordion */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
  padding: var(--space-lg);
  background: transparent;
  border: none;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 500;
  color: var(--color-chocolate);
  text-align: left;
  transition: all var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-caramel-dark);
}

.faq-icon {
  flex-shrink: 0;
  color: var(--color-caramel);
  transition: transform var(--transition-base);
}

.faq-question[aria-expanded="true"] .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-base);
}

.faq-answer p {
  padding: 0 var(--space-lg) var(--space-lg);
  font-size: var(--text-base);
  color: var(--color-chocolate-light);
  margin-bottom: 0;
}

/* Hero adjustments for Custom Cakes page */
.hero-custom-cakes {
  min-height: 60vh;
}

/* Confirmation Page */
.confirmation-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.confirmation-icon {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
  border-radius: var(--radius-full);
  color: #28a745;
}

.confirmation-title {
  font-size: var(--text-3xl);
  color: var(--color-chocolate);
  margin-bottom: var(--space-sm);
}

.confirmation-lead {
  font-size: var(--text-lg);
  color: var(--color-chocolate-light);
  margin-bottom: var(--space-xl);
}

.confirmation-contact {
  margin-bottom: var(--space-lg);
}

.confirmation-contact p {
  margin-bottom: var(--space-xs);
}

.contact-email {
  font-weight: 600;
  font-size: var(--text-lg);
  color: var(--color-chocolate);
}

.contact-phone {
  font-size: var(--text-sm);
  color: var(--color-chocolate-light);
}

.next-steps {
  text-align: left;
  margin-bottom: var(--space-xl);
}

.next-steps-title {
  font-size: var(--text-xl);
  text-align: center;
  margin-bottom: var(--space-md);
}

.next-steps-list {
  padding-left: var(--space-lg);
  margin: 0;
}

.next-steps-list li {
  padding: var(--space-sm) 0;
  color: var(--color-chocolate-light);
}

.next-steps-list li::marker {
  color: var(--color-caramel);
  font-weight: 600;
}

/* --------------------------------------------------------------------------
   Wizard Form Styles
   -------------------------------------------------------------------------- */
.wizard-section {
  min-height: 80vh;
  padding-top: var(--space-xl);
  padding-bottom: var(--space-xl);
}

/* Progress Bar */
.wizard-progress {
  margin-bottom: var(--space-xl);
}

.wizard-progress-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: var(--space-sm);
}

.wizard-step-count,
.wizard-progress-percent {
  font-size: var(--text-sm);
  color: var(--color-chocolate-light);
}

.wizard-progress-bar {
  height: 8px;
  background: var(--color-cream-dark);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.wizard-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-caramel) 0%, var(--color-caramel-dark) 100%);
  border-radius: var(--radius-full);
  transition: width var(--transition-base);
}

.wizard-step-labels {
  display: flex;
  justify-content: space-between;
  margin-top: var(--space-sm);
}

.wizard-step-link {
  font-size: var(--text-xs);
  color: var(--color-chocolate-light);
  opacity: 0.6;
  transition: all var(--transition-fast);
  text-decoration: none;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--radius-sm);
}

.wizard-step-link.active {
  color: var(--color-caramel-dark);
  font-weight: 600;
  opacity: 1;
}

.wizard-step-link.current {
  background: var(--color-caramel-light);
  color: var(--color-chocolate);
}

.wizard-step-link.disabled {
  cursor: not-allowed;
}

a.wizard-step-link:hover:not(.current):not(.disabled) {
  background: var(--color-vanilla);
  color: var(--color-chocolate);
  opacity: 1;
}

/* Wizard Card */
.wizard-card {
  background: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.wizard-card-header {
  padding: var(--space-lg) var(--space-xl);
  border-bottom: 1px solid var(--color-cream-dark);
}

.wizard-card-title {
  font-size: var(--text-2xl);
  margin-bottom: 0;
}

.wizard-card-body {
  padding: var(--space-xl);
}

/* Wizard Intro Text */
.wizard-intro {
  color: var(--color-chocolate-light);
  margin-bottom: var(--space-lg);
}

/* Wizard Actions (buttons) */
.wizard-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.wizard-actions-right {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

/* Text Link Button (for "Save & finish later") */
.btn-text-link {
  background: none;
  border: none;
  padding: 0;
  font-family: var(--font-body);
  font-size: var(--text-sm);
  color: var(--color-chocolate-light);
  text-decoration: underline;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.btn-text-link:hover {
  color: var(--color-caramel-dark);
}

/* Wizard Hint Text */
.wizard-hint {
  font-size: var(--text-sm);
  color: var(--color-chocolate-light);
  text-align: center;
  margin-top: var(--space-lg);
  margin-bottom: 0;
}

/* Optional Badge */
.wizard-optional-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-lg);
  font-size: var(--text-sm);
  color: var(--color-chocolate-light);
}

.optional-badge {
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  background: var(--color-caramel-light);
  color: var(--color-caramel-dark);
  font-size: var(--text-xs);
  font-weight: 600;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Image Upload Section */
.wizard-image-upload {
  background: var(--color-vanilla);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-lg);
}

.wizard-image-title {
  font-size: var(--text-base);
  font-weight: 600;
  margin-bottom: var(--space-md);
}

.image-preview-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  height: 100%;
}

.image-preview-img {
  width: 100%;
  height: 120px;
  object-fit: cover;
}

.image-preview-footer {
  padding: var(--space-sm);
}

.image-caption {
  display: block;
  color: var(--color-chocolate-light);
  margin-bottom: var(--space-xs);
}

.btn-remove-image {
  width: 100%;
  padding: var(--space-xs) var(--space-sm);
  background: transparent;
  border: 1px solid var(--color-strawberry);
  border-radius: var(--radius-sm);
  color: var(--color-strawberry);
  font-size: var(--text-xs);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-remove-image:hover {
  background: var(--color-strawberry);
  color: var(--color-white);
}

/* Form Styling Overrides for Wizard */
.wizard-card .form-control,
.wizard-card .form-select {
  border: 2px solid var(--color-cream-dark);
  border-radius: var(--radius-md);
  padding: var(--space-md);
  font-size: var(--text-base);
  transition: all var(--transition-fast);
  background: var(--color-vanilla);
}

.wizard-card .form-control:focus,
.wizard-card .form-select:focus {
  border-color: var(--color-caramel);
  box-shadow: 0 0 0 3px rgba(196, 149, 106, 0.15);
  background: var(--color-white);
}

.wizard-card .form-label {
  font-weight: 500;
  font-size: var(--text-sm);
  color: var(--color-chocolate);
  margin-bottom: var(--space-xs);
}

.wizard-card .form-text {
  font-size: var(--text-xs);
  color: var(--color-chocolate-light);
}

.wizard-card .form-check-input:checked {
  background-color: var(--color-caramel);
  border-color: var(--color-caramel);
}

.wizard-card .form-check-input:focus {
  border-color: var(--color-caramel);
  box-shadow: 0 0 0 3px rgba(196, 149, 106, 0.15);
}

.wizard-card .invalid-feedback {
  font-size: var(--text-xs);
  color: var(--color-strawberry);
}

@media (max-width: 767.98px) {
  .wizard-step-labels {
    display: none;
  }

  .wizard-actions {
    flex-direction: column;
  }

  .wizard-actions > * {
    width: 100%;
  }

  .wizard-actions-right {
    flex-direction: column-reverse;
    width: 100%;
  }

  .wizard-actions-right .btn {
    width: 100%;
  }

  .btn-text-link {
    text-align: center;
    padding: var(--space-sm);
  }
}

@media (max-width: 767.98px) {
  .resume-banner-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .resume-banner-content .btn {
    width: 100%;
    text-align: center;
  }

  .hero-custom-cakes {
    min-height: auto;
    padding: var(--space-3xl) 0;
  }
}

/* --------------------------------------------------------------------------
   Print Styles
   -------------------------------------------------------------------------- */
@media print {
  .site-header,
  .site-footer,
  .hero::before,
  .hero::after,
  .newsletter-section {
    display: none;
  }

  body {
    background: white;
    color: black;
  }
}

/* --------------------------------------------------------------------------
   Staff Portal Layout
   -------------------------------------------------------------------------- */
.staff-portal {
  background-color: #f8f9fa;
}

.staff-topnav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1030;
  height: 56px;
}

.staff-topnav .brand-text {
  font-weight: 600;
}

.staff-topnav .brand-subtitle {
  font-size: 0.875rem;
}

.staff-topnav .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  padding: 0.5rem 1rem;
}

.staff-topnav .nav-link:hover,
.staff-topnav .nav-link:focus {
  color: #fff !important;
}

.staff-topnav .nav-link::after {
  display: none;
}

.staff-topnav .dropdown-toggle::after {
  vertical-align: middle;
}

.staff-layout {
  display: flex;
  padding-top: 56px;
  min-height: 100vh;
}

.staff-sidebar {
  position: fixed;
  top: 56px;
  left: 0;
  bottom: 0;
  width: 220px;
  background: #fff;
  border-right: 1px solid #dee2e6;
  overflow-y: auto;
  padding: 1rem 0;
}

.staff-main {
  flex: 1;
  margin-left: 220px;
  padding: 1.5rem;
  min-width: 0;
}

.sidebar-section {
  margin-bottom: 1.5rem;
}

.sidebar-heading {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  color: #6c757d;
  padding: 0 1rem;
  margin-bottom: 0.5rem;
}

.sidebar-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-nav a {
  display: block;
  padding: 0.5rem 1rem;
  color: #333;
  text-decoration: none;
  font-size: 0.9375rem;
}

.sidebar-nav a:hover {
  background-color: #f8f9fa;
}

.sidebar-nav a.active {
  color: #0d6efd;
  background-color: rgba(13, 110, 253, 0.1);
  border-right: 3px solid #0d6efd;
}

/* Staff page header pattern */
.staff-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.staff-page-header h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

/* Responsive */
@media (max-width: 991.98px) {
  .staff-sidebar {
    width: 200px;
  }
  .staff-main {
    margin-left: 200px;
  }
}

@media (max-width: 767.98px) {
  .staff-sidebar {
    display: none;
  }
  .staff-main {
    margin-left: 0;
  }
}

/* --------------------------------------------------------------------------
   Service Category Landing Pages
   -------------------------------------------------------------------------- */
.hero-category {
  background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-vanilla) 100%);
  padding: 6rem 0;
}

.pricing-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.pricing-item {
  padding: 1rem;
}

.pricing-label {
  display: block;
  font-size: 0.9rem;
  color: var(--color-chocolate);
  margin-bottom: 0.5rem;
}

.pricing-value {
  display: block;
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-caramel);
}

.pricing-note {
  color: var(--color-chocolate);
  font-size: 0.9rem;
}

.pricing-details ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 1rem;
}

.pricing-details li {
  margin-bottom: 0.5rem;
  color: var(--color-chocolate);
}

.style-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  height: 100%;
}

.style-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--color-chocolate);
}

.style-description {
  color: var(--color-chocolate);
  font-size: 0.95rem;
  line-height: 1.6;
}

.flavor-tag {
  background: var(--color-vanilla);
  border: 1px solid var(--color-caramel);
  border-radius: 2rem;
  padding: 0.5rem 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--color-chocolate);
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.feature-list li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-caramel);
  font-weight: bold;
}

.corporate-cta {
  border: 2px solid var(--color-caramel);
}

.corporate-cta h3 {
  font-family: var(--font-heading);
  color: var(--color-chocolate);
}

/* Service Category Cards (Home Page) */
.service-card {
  display: block;
  background: white;
  border-radius: 1rem;
  padding: 2rem 1.5rem;
  text-align: center;
  text-decoration: none;
  color: inherit;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  color: inherit;
  text-decoration: none;
}

.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background: var(--color-vanilla);
  border-radius: 50%;
  margin-bottom: 1.25rem;
  color: var(--color-caramel);
}

.service-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--color-chocolate);
  margin-bottom: 0.75rem;
}

.service-description {
  font-size: 0.95rem;
  color: var(--color-chocolate);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.service-link {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-caramel);
  transition: color 0.2s ease;
}

.service-card:hover .service-link {
  color: var(--color-caramel-dark, #9a6b3a);
}

/* --------------------------------------------------------------------------
   About Page
   -------------------------------------------------------------------------- */
.hero-about {
  min-height: 50vh;
  padding: var(--space-4xl) 0;
}

@media (max-width: 991.98px) {
  .hero-about {
    min-height: auto;
    padding: var(--space-3xl) 0;
  }
}

.about-story {
  font-size: var(--text-lg);
  line-height: 1.8;
}

.about-story p {
  margin-bottom: var(--space-lg);
}

.about-story .lead {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 400;
  font-style: italic;
  color: var(--color-chocolate);
  line-height: 1.5;
  margin-bottom: var(--space-xl);
}

.about-story strong {
  color: var(--color-chocolate);
  font-weight: 600;
}

.about-story em {
  font-style: italic;
  color: var(--color-caramel-dark);
}

.about-quote {
  position: relative;
  margin: var(--space-2xl) 0;
  padding: var(--space-xl) var(--space-2xl);
  background: linear-gradient(135deg, var(--color-caramel-light) 0%, var(--color-rose-light) 100%);
  border-radius: var(--radius-xl);
  text-align: center;
}

.about-quote::before {
  content: '"';
  position: absolute;
  top: var(--space-md);
  left: var(--space-xl);
  font-family: var(--font-display);
  font-size: 4rem;
  color: var(--color-caramel);
  opacity: 0.5;
  line-height: 1;
}

.about-quote p {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 500;
  font-style: italic;
  color: var(--color-chocolate);
  margin-bottom: 0;
}
