:root {
  --brand-pastel: #fff2f7;           /* soft light pink */
  --brand-gold: #c9a24a;
  --brand-accent: #c44f83;           /* comfortable pink accent */
  --text-dark: #3a2b3f;              /* readable dark text */
  --text-light: #5b4a62;             /* muted text for subcopy */
  --bg-soft: #faf7f9;                /* overall page background (light, comfy) */
  --bg-surface: #ffffff;             /* white surfaces */

  /* Frosted glass theme tokens */
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-bg-strong: rgba(255, 255, 255, 0.75);
  --glass-border: rgba(255, 255, 255, 0.38);
  --glass-shadow: 0 10px 30px rgba(31, 38, 135, 0.18);
  --glass-blur: 16px;

  /* Ambient backdrop gradients */
  --frost-grad-a: radial-gradient(1000px 600px at 15% -10%, rgba(255, 225, 238, 0.50), transparent 60%);
  --frost-grad-b: radial-gradient(1000px 600px at 90% 120%, rgba(196, 79, 131, 0.18), transparent 60%);
}

body {
  color: var(--text-dark);
  background: var(--bg-soft);
  background-image: var(--frost-grad-a), var(--frost-grad-b);
  background-attachment: fixed, fixed;
}

.brand-text { color: var(--brand-accent) !important; }

.btn-brand {
  background: var(--brand-accent);
  color: #fff;
  border: none;
}

.btn-brand:hover, .btn-brand:focus {
  background: #b42b72;
  color: #fff;
}

.btn-outline-brand {
  border: 2px solid var(--brand-accent);
  color: var(--brand-accent);
  background: transparent;
}

.btn-outline-brand:hover, .btn-outline-brand:focus {
  background: var(--brand-accent);
  color: #fff;
}

.bg-pastel { background: linear-gradient(180deg, #ffffff, var(--brand-pastel)); color: var(--text-dark); }

/* Generic glass surface class for ad-hoc use */
.glass-surface {
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.2);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.2);
  border: 1px solid var(--glass-border);
  box-shadow: var(--glass-shadow);
}

/* Section surface defaults to frosted glass */
.bg-surface { 
  background: var(--glass-bg); 
  color: var(--text-dark);
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.15);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.15);
  border-top: 1px solid rgba(255,255,255,0.28);
  border-bottom: 1px solid rgba(255,255,255,0.28);
}

.hero .hero-slide {
  min-height: 60vh;
}

/* Account for fixed navbar height */
body { padding-top: 64px; }
@media (min-width: 992px) { body { padding-top: 72px; } }

.carousel-caption { text-shadow: 0 1px 2px rgba(0,0,0,0.2); }

.social-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid var(--brand-accent);
  background: #fff;
  text-decoration: none;
  color: var(--brand-accent);
  box-shadow: 0 3px 8px rgba(196, 79, 131, 0.15);
  transition: transform 0.15s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.social-pill:hover {
  transform: translateY(-1px);
  background: var(--brand-accent);
  color: #fff;
  border-color: var(--brand-accent);
  box-shadow: 0 8px 18px rgba(196, 79, 131, 0.25);
}

.social-pill.disabled {
  opacity: 0.7;
  background: #ffe1ee;
  color: #8b4f6a;
  pointer-events: none;
}

.social-pill.social-large span { font-weight: 600; }
.social-pill img { filter: none; }
.social-pill:hover img { filter: brightness(0) invert(1); }

.navbar .btn-brand { padding: 8px 16px; }

/* ===== MODERN NAVIGATION ===== */
.navbar-modern {
  background: var(--glass-bg) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  backdrop-filter: blur(20px) saturate(1.2);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(31, 38, 135, 0.1);
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar-modern.scrolled {
  background: rgba(255, 255, 255, 0.95) !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 0.5rem 0;
}

.modern-brand {
  position: relative;
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--brand-accent) !important;
  transition: all 0.3s ease;
}

.brand-text {
  position: relative;
  z-index: 2;
}

.brand-accent {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-accent), transparent);
  border-radius: 2px;
  animation: brandAccentSlide 2s ease-in-out infinite;
}

@keyframes brandAccentSlide {
  0%, 100% { transform: scaleX(0); transform-origin: left; }
  50% { transform: scaleX(1); transform-origin: left; }
}

.modern-toggler {
  border: none;
  background: none;
  padding: 0.5rem;
  position: relative;
  width: 30px;
  height: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  align-items: center;
}

.toggler-line {
  width: 100%;
  height: 3px;
  background: var(--brand-accent);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

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

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

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

.modern-link {
  position: relative;
  padding: 0.75rem 1rem !important;
  text-decoration: none;
  color: var(--text-dark) !important;
  font-weight: 500;
  transition: all 0.3s ease;
  overflow: hidden;
}

.link-text {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease;
}

.link-underline {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--brand-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.modern-link:hover .link-underline {
  transform: scaleX(1);
}

.modern-link:hover .link-text {
  color: var(--brand-accent) !important;
}

.modern-link:hover {
  transform: translateY(-2px);
}

/* Frosted navbar fallback */
.navbar.bg-white, .navbar.navbar-light.bg-white {
  background: var(--glass-bg) !important;
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  backdrop-filter: blur(14px) saturate(1.15);
  border-bottom: 1px solid var(--glass-border);
  box-shadow: 0 6px 18px rgba(31,38,135,0.08);
}

/* Frosted section with deeper tint */
.bg-deep { 
  background: linear-gradient(180deg, rgba(255,255,255,0.65), rgba(255,255,255,0.45)) !important; 
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.1);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.1);
}
.navbar .nav-link { color: var(--text-dark); }
.navbar .nav-link:hover, .navbar .nav-link:focus { color: var(--brand-accent); }
.navbar .navbar-brand { color: var(--brand-accent) !important; }

/* Frosted footer */
footer { 
  background: var(--glass-bg); 
  color: var(--text-dark); 
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.1);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.1);
  border-top: 1px solid var(--glass-border);
}

/* CTA bar under hero */
.cta-bar {
  background: linear-gradient(90deg, rgba(255, 225, 238, 0.55), rgba(248, 195, 215, 0.45));
  color: var(--text-dark);
  -webkit-backdrop-filter: blur(10px) saturate(1.15);
  backdrop-filter: blur(10px) saturate(1.15);
  border-top: 1px solid rgba(255,255,255,0.28);
  border-bottom: 1px solid rgba(255,255,255,0.28);
}
.cta-bar .btn-brand { background: var(--brand-accent); color: #fff; }
.cta-bar .btn-brand:hover { background: #ad3f6f; color: #fff; }

/* Home gallery preview */
.home-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (min-width: 576px) {
  .home-gallery { grid-template-columns: repeat(4, 1fr); }
}
@media (min-width: 992px) {
  .home-gallery { grid-template-columns: repeat(6, 1fr); }
}
.home-gallery-item {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 10px;
  background: var(--glass-bg-strong);
  -webkit-backdrop-filter: blur(8px) saturate(1.1);
  backdrop-filter: blur(8px) saturate(1.1);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.home-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Generic frosted glass panel */
.glass-panel {
  background: linear-gradient(135deg, rgba(255,255,255,0.40), rgba(255,255,255,0.22)), rgba(255,255,255,0.28);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  backdrop-filter: blur(20px) saturate(1.2);
  color: var(--text-dark);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 12px 32px rgba(31,38,135,0.16);
  position: relative;
  z-index: 1;
}

/* Water droplet effect using layered pseudo-elements */
.glass-panel::before,
.glass-panel::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

/* Large soft highlight */
.glass-panel::before {
  top: -10%;
  left: -6%;
  width: 50%;
  height: 60%;
  background: radial-gradient(ellipse at 30% 20%, rgba(255,255,255,0.55), rgba(255,255,255,0) 60%);
  filter: blur(6px);
  opacity: 0.7;
}

/* Small droplets pattern */
.glass-panel::after {
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(circle at 15% 10%, rgba(255,255,255,0.6) 0.5px, rgba(255,255,255,0) 3px),
    radial-gradient(circle at 35% 22%, rgba(255,255,255,0.55) 0.7px, rgba(255,255,255,0) 3px),
    radial-gradient(circle at 60% 18%, rgba(255,255,255,0.55) 0.8px, rgba(255,255,255,0) 3px),
    radial-gradient(circle at 80% 12%, rgba(255,255,255,0.6) 0.6px, rgba(255,255,255,0) 3px),
    radial-gradient(circle at 88% 30%, rgba(255,255,255,0.5) 0.9px, rgba(255,255,255,0) 3px),
    radial-gradient(circle at 70% 42%, rgba(255,255,255,0.55) 0.8px, rgba(255,255,255,0) 3px),
    radial-gradient(circle at 52% 36%, rgba(255,255,255,0.55) 0.8px, rgba(255,255,255,0) 3px);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  opacity: 0.45;
  mix-blend-mode: lighten;
}
.glass-panel, .glass-panel .menu-heading, .glass-panel .menu-item {
  font-family: 'Patrick Hand', 'Segoe UI', Arial, sans-serif;
  line-height: 1.35;
  letter-spacing: 0.2px;
}

/* Accordion inside chalkboard styles */
.glass-panel .accordion-item {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.45);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 12px;
}
.glass-panel .accordion-button {
  background: linear-gradient(180deg, rgba(255,255,255,0.55), rgba(255,255,255,0.35));
  color: var(--text-dark);
}
.glass-panel .accordion-button:not(.collapsed) {
  color: var(--text-dark);
  box-shadow: inset 0 -1px 0 rgba(0,0,0,0.05);
}
.glass-panel .accordion-button:focus {
  box-shadow: 0 0 0 .2rem rgba(196,79,131,0.25);
}
.glass-panel .accordion-body {
  background: rgba(255,255,255,0.35);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.menu-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 16px; }
.menu-heading { grid-column: 1 / -1; font-size: 1.25rem; margin-top: 1rem; margin-bottom: .25rem; }
.menu-heading:first-child { margin-top: 0; }
.menu-item { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px dashed rgba(58,43,63,0.18); }
.menu-item .name { opacity: .95; }
.menu-item .price { opacity: .95; white-space: nowrap; }
.menu-desc { grid-column: 1 / -1; font-size: .92rem; opacity: .85; margin: -2px 0 8px; }

/* Promo banner for global discount/message */
.promo-banner {
  display: inline-block;
  margin: 0 auto;
  padding: 10px 14px;
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(255,225,238,0.85), rgba(255,225,238,0.65));
  border: 2px solid rgba(196,79,131,0.35);
  color: var(--text-dark);
  font-weight: 800;
  font-size: 1.15rem;
  box-shadow: 0 10px 24px rgba(196,79,131,0.18);
}
@media (min-width: 768px) {
  .promo-banner { font-size: 1.25rem; padding: 12px 16px; }
}
@media (min-width: 1200px) {
  .promo-banner { font-size: 1.35rem; padding: 14px 18px; }
}
.promo-banner .promo-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--brand-accent);
  color: #fff;
  font-weight: 800;
  font-size: 0.9em;
  letter-spacing: 0.3px;
  margin-right: 10px;
  box-shadow: 0 6px 14px rgba(196,79,131,0.3);
}

/* Generic glass card mapping for common Bootstrap patterns */
.bg-white.shadow-sm,
.bg-white.border,
.bg-white.rounded-3,
.rounded-3.bg-white,
.border.bg-white {
  background: var(--glass-bg) !important;
  -webkit-backdrop-filter: blur(var(--glass-blur)) saturate(1.1);
  backdrop-filter: blur(var(--glass-blur)) saturate(1.1);
  border-color: var(--glass-border) !important;
  box-shadow: var(--glass-shadow) !important;
}

/* Fallback for browsers without backdrop-filter support */
@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .glass-surface,
  .bg-surface,
  .bg-deep,
  .navbar.bg-white,
  footer,
  .cta-bar,
  .glass-panel,
  .bg-white.shadow-sm,
  .bg-white.border,
  .bg-white.rounded-3,
  .rounded-3.bg-white,
  .border.bg-white {
    background: rgba(255,255,255,0.92) !important;
    box-shadow: 0 6px 18px rgba(0,0,0,0.08) !important;
  }
}

/* Flash promo card animations */
.promo-frame {
  position: relative;
  border-radius: 18px;
  border: 1px solid rgba(196,79,131,0.22);
  background: linear-gradient(135deg, rgba(255,255,255,0.60), rgba(255,255,255,0.42)), rgba(255,255,255,0.50);
  -webkit-backdrop-filter: blur(26px) saturate(1.2);
  backdrop-filter: blur(26px) saturate(1.2);
}
.promo-frame::before { content: none !important; }

.promo-frame::after { content: ""; display: none; }

.promo-fly-in { animation: promoFlyInInner 800ms cubic-bezier(.2,.8,.2,1) both; will-change: transform, opacity; }
@keyframes promoFlyInInner {
  from { transform: translateY(30px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

#promoCard.promo-fly-down {
  animation: promoFlyDown 320ms cubic-bezier(.2,.7,.3,1) forwards;
}
@keyframes promoFlyDown {
  from { transform: translate(-50%, -50%); opacity: 1; }
  to { transform: translate(-50%, 130%); opacity: 0; }
}

/* Subtle pulsating glow using drop-shadow so it doesn't override box-shadow */
.promo-glow { animation: promoGlow 4200ms ease-in-out infinite alternate; }
@keyframes promoGlow {
  from { filter: drop-shadow(0 0 0 rgba(196,79,131,0)); }
  to   { filter: drop-shadow(0 0 10px rgba(196,79,131,0.22)); }
}

/* ===== MODERN HERO SECTION ===== */
.hero-modern {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, 
    rgba(196, 79, 131, 0.1) 0%,
    rgba(255, 225, 238, 0.3) 25%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(255, 225, 238, 0.4) 75%,
    rgba(196, 79, 131, 0.15) 100%
  );
  animation: gradientShift 8s ease-in-out infinite;
}

@keyframes gradientShift {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(2deg); }
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.floating-circle {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(196, 79, 131, 0.1), rgba(255, 225, 238, 0.2));
  backdrop-filter: blur(10px);
  animation: float 6s ease-in-out infinite;
}

.circle-1 {
  width: 80px;
  height: 80px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.circle-2 {
  width: 120px;
  height: 120px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.circle-3 {
  width: 60px;
  height: 60px;
  top: 30%;
  right: 30%;
  animation-delay: 4s;
}

.circle-4 {
  width: 100px;
  height: 100px;
  bottom: 20%;
  left: 20%;
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33% { transform: translateY(-20px) rotate(120deg); }
  66% { transform: translateY(10px) rotate(240deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.hero-text {
  padding: 2rem 0;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-dark);
}

.title-line-1, .title-line-2, .title-line-3 {
  display: block;
  animation: titleSlideIn 1s ease-out forwards;
  opacity: 0;
  transform: translateX(-50px);
}

.title-line-1 { animation-delay: 0.2s; }
.title-line-2 { animation-delay: 0.4s; color: var(--brand-accent); }
.title-line-3 { animation-delay: 0.6s; }

@keyframes titleSlideIn {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-light);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-hero-primary, .btn-hero-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--brand-accent), #ad3f6f);
  color: white;
  box-shadow: 0 8px 25px rgba(196, 79, 131, 0.3);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(196, 79, 131, 0.4);
  color: white;
}

.btn-hero-secondary {
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-accent);
  border: 2px solid var(--brand-accent);
  backdrop-filter: blur(10px);
}

.btn-hero-secondary:hover {
  background: var(--brand-accent);
  color: white;
  transform: translateY(-3px);
}

.hero-image-container {
  position: relative;
  height: 500px;
}

.hero-slideshow {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

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

.hero-slide:hover .hero-image {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(196, 79, 131, 0.1), transparent);
  pointer-events: none;
}

/* Slideshow controls */
.hero-controls {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 3;
}

.hero-prev, .hero-next {
  background: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--brand-accent);
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-prev:hover, .hero-next:hover {
  background: var(--brand-accent);
  color: white;
  transform: scale(1.1);
}

.hero-prev:active, .hero-next:active {
  transform: scale(0.95);
}

/* Slideshow indicators */
.hero-indicators {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 3;
}

.hero-indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.7);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero-indicator.active,
.hero-indicator:hover {
  background: var(--brand-accent);
  border-color: var(--brand-accent);
  transform: scale(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero-controls {
    padding: 0 0.5rem;
  }
  
  .hero-prev, .hero-next {
    width: 40px;
    height: 40px;
    font-size: 1.2rem;
  }
  
  .hero-indicators {
    bottom: 0.5rem;
  }
  
  .hero-indicator {
    width: 10px;
    height: 10px;
  }
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-light);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  width: 2px;
  height: 30px;
  background: var(--brand-accent);
  position: relative;
}

.scroll-arrow::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: -4px;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--brand-accent);
  border-bottom: 2px solid var(--brand-accent);
  transform: rotate(45deg);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-10px); }
  60% { transform: translateX(-50%) translateY(-5px); }
}

/* ===== ANIMATION CLASSES ===== */
.animate-fade-in-up {
  animation: fadeInUp 1s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.animate-fade-in-up-delay {
  animation: fadeInUp 1s ease-out 0.3s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.animate-fade-in-up-delay-2 {
  animation: fadeInUp 1s ease-out 0.6s forwards;
  opacity: 0;
  transform: translateY(30px);
}

.animate-fade-in-right {
  animation: fadeInRight 1s ease-out 0.8s forwards;
  opacity: 0;
  transform: translateX(50px);
}

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

@keyframes fadeInRight {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ===== SERVICES SECTION ===== */
.services-section {
  position: relative;
  overflow: hidden;
}

.services-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.bg-gradient-1, .bg-gradient-2 {
  position: absolute;
  width: 100%;
  height: 100%;
}

.bg-gradient-1 {
  background: radial-gradient(800px 500px at 15% 10%, rgba(196,79,131,0.18), transparent 60%);
  animation: gradientMove1 10s ease-in-out infinite;
}

.bg-gradient-2 {
  background: radial-gradient(900px 600px at 85% 90%, rgba(255,225,238,0.5), transparent 60%);
  animation: gradientMove2 12s ease-in-out infinite;
}

@keyframes gradientMove1 {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.1) rotate(5deg); }
}

@keyframes gradientMove2 {
  0%, 100% { transform: scale(1) rotate(0deg); }
  50% { transform: scale(1.05) rotate(-3deg); }
}

.services-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(196, 79, 131, 0.1);
  animation: particleFloat 8s ease-in-out infinite;
}

.particle-1 { width: 4px; height: 4px; top: 20%; left: 10%; animation-delay: 0s; }
.particle-2 { width: 6px; height: 6px; top: 60%; left: 80%; animation-delay: 2s; }
.particle-3 { width: 3px; height: 3px; top: 40%; left: 30%; animation-delay: 4s; }
.particle-4 { width: 5px; height: 5px; top: 80%; left: 20%; animation-delay: 1s; }
.particle-5 { width: 4px; height: 4px; top: 30%; left: 70%; animation-delay: 3s; }

@keyframes particleFloat {
  0%, 100% { transform: translateY(0px) scale(1); opacity: 0.3; }
  50% { transform: translateY(-20px) scale(1.2); opacity: 0.8; }
}

.services-title {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  position: relative;
}

.title-highlight {
  position: relative;
  display: inline-block;
}

.title-highlight::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-accent), transparent);
  border-radius: 2px;
  animation: underlineExpand 1s ease-out 0.5s forwards;
  transform: scaleX(0);
  transform-origin: left;
}

@keyframes underlineExpand {
  to { transform: scaleX(1); }
}

.services-subtitle {
  font-size: 1.2rem;
  color: var(--text-light);
}

.services-panel {
  position: relative;
  z-index: 2;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  overflow: hidden;
}

.services-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.6s ease;
}

.services-panel:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 25px 50px rgba(31, 38, 135, 0.25);
}

.services-panel:hover::before {
  left: 100%;
}

/* Enhanced accordion animations */
.services-panel .accordion-item {
  transition: all 0.3s ease;
  border-radius: 12px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.services-panel .accordion-item:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(196, 79, 131, 0.15);
}

.services-panel .accordion-button {
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.services-panel .accordion-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(196, 79, 131, 0.1), transparent);
  transition: left 0.5s ease;
}

.services-panel .accordion-button:hover::before {
  left: 100%;
}

.services-panel .accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, rgba(196, 79, 131, 0.1), rgba(255, 225, 238, 0.3));
  color: var(--brand-accent);
  font-weight: 600;
}

.services-panel .accordion-body {
  transition: all 0.3s ease;
}

.services-panel .accordion-collapse.show .accordion-body {
  animation: accordionSlideDown 0.3s ease-out;
}

@keyframes accordionSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Menu item hover effects */
.services-panel .menu-item {
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 0;
}

.services-panel .menu-item::before {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--brand-accent);
  transition: width 0.3s ease;
}

.services-panel .menu-item:hover {
  transform: translateX(10px);
  color: var(--brand-accent);
}

.services-panel .menu-item:hover::before {
  width: 30px;
}

.services-panel .menu-item:hover .name {
  font-weight: 600;
}

.services-panel .menu-item:hover .price {
  color: var(--brand-accent);
  font-weight: 700;
}

.btn-services-cta {
  position: relative;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  background: linear-gradient(135deg, var(--brand-accent), #ad3f6f);
  color: white;
  text-decoration: none;
  font-weight: 600;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-content {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { width: 0; height: 0; opacity: 1; }
  100% { width: 200px; height: 200px; opacity: 0; }
}

/* ===== GALLERY SECTION ===== */
.gallery-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 225, 238, 0.3));
  position: relative;
}

.gallery-title {
  font-size: 2.5rem;
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.title-text {
  position: relative;
  z-index: 2;
}

.title-underline {
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-accent), transparent);
  border-radius: 2px;
  animation: underlineExpand 1s ease-out 0.3s forwards;
  transform: scaleX(0);
  transform-origin: left;
}

.btn-gallery-view {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 25px;
  background: rgba(255, 255, 255, 0.9);
  color: var(--brand-accent);
  border: 2px solid var(--brand-accent);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.btn-gallery-view:hover {
  background: var(--brand-accent);
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(196, 79, 131, 0.3);
}

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

.btn-gallery-view:hover .btn-arrow {
  transform: translateX(5px);
}

.modern-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
  position: relative;
}

.modern-gallery .home-gallery-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.modern-gallery .home-gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(196, 79, 131, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 2;
}

.modern-gallery .home-gallery-item::after {
  content: '👁️';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0);
  font-size: 2rem;
  color: white;
  z-index: 3;
  transition: transform 0.3s ease;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.modern-gallery .home-gallery-item:hover {
  transform: translateY(-15px) scale(1.05);
  box-shadow: 0 25px 50px rgba(196, 79, 131, 0.2);
  border-color: rgba(196, 79, 131, 0.3);
}

.modern-gallery .home-gallery-item:hover::before {
  opacity: 1;
}

.modern-gallery .home-gallery-item:hover::after {
  transform: translate(-50%, -50%) scale(1);
}

.modern-gallery .home-gallery-item img {
  transition: all 0.4s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modern-gallery .home-gallery-item:hover img {
  transform: scale(1.15);
  filter: brightness(1.1) contrast(1.1);
}

/* Staggered animation for gallery items */
.modern-gallery .home-gallery-item {
  animation: galleryItemFadeIn 0.6s ease-out forwards;
  opacity: 0;
  transform: translateY(30px);
}

.modern-gallery .home-gallery-item:nth-child(1) { animation-delay: 0.1s; }
.modern-gallery .home-gallery-item:nth-child(2) { animation-delay: 0.2s; }
.modern-gallery .home-gallery-item:nth-child(3) { animation-delay: 0.3s; }
.modern-gallery .home-gallery-item:nth-child(4) { animation-delay: 0.4s; }
.modern-gallery .home-gallery-item:nth-child(5) { animation-delay: 0.5s; }
.modern-gallery .home-gallery-item:nth-child(6) { animation-delay: 0.6s; }
.modern-gallery .home-gallery-item:nth-child(7) { animation-delay: 0.7s; }
.modern-gallery .home-gallery-item:nth-child(8) { animation-delay: 0.8s; }
.modern-gallery .home-gallery-item:nth-child(9) { animation-delay: 0.9s; }

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

/* Gallery loading animation */
.gallery-container {
  position: relative;
}

.gallery-container::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border: 3px solid rgba(196, 79, 131, 0.3);
  border-top: 3px solid var(--brand-accent);
  border-radius: 50%;
  animation: galleryLoading 1s linear infinite;
  z-index: 10;
}

.gallery-container.loaded::before {
  display: none;
}

@keyframes galleryLoading {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ===== SCROLL ANIMATIONS ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animate-on-scroll-delay {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.2s;
}

.animate-on-scroll-delay-2 {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.4s;
}

.animate-on-scroll-delay-3 {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease 0.6s;
}

.animate-on-scroll.visible,
.animate-on-scroll-delay.visible,
.animate-on-scroll-delay-2.visible,
.animate-on-scroll-delay-3.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .btn-hero-primary, .btn-hero-secondary {
    justify-content: center;
  }
  
  .services-title {
    font-size: 2rem;
  }
  
  .gallery-title {
    font-size: 2rem;
  }
  
  .modern-gallery {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}

/* ===== LOADING ANIMATIONS ===== */
body.loading {
  overflow: hidden;
}

body.loading::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--bg-soft), rgba(255, 225, 238, 0.8));
  z-index: 9999;
  animation: pageLoadFade 0.5s ease-out forwards;
}

@keyframes pageLoadFade {
  from { opacity: 1; }
  to { opacity: 0; visibility: hidden; }
}

/* Loading spinner */
.loading-spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  border: 4px solid rgba(196, 79, 131, 0.2);
  border-top: 4px solid var(--brand-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 10000;
}

@keyframes spin {
  0% { transform: translate(-50%, -50%) rotate(0deg); }
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Skeleton loading states */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeletonLoading 1.5s infinite;
  border-radius: 8px;
}

@keyframes skeletonLoading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.skeleton-text {
  height: 1rem;
  margin-bottom: 0.5rem;
}

.skeleton-text.short { width: 60%; }
.skeleton-text.medium { width: 80%; }
.skeleton-text.long { width: 100%; }

.skeleton-card {
  height: 200px;
  border-radius: 12px;
  margin-bottom: 1rem;
}

.skeleton-button {
  height: 3rem;
  width: 150px;
  border-radius: 25px;
}

/* Page load animations */
body.loaded .hero-modern {
  animation: heroSlideIn 1s ease-out;
}

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

body.loaded .services-section {
  animation: servicesFadeIn 1s ease-out 0.3s both;
}

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

body.loaded .gallery-section {
  animation: galleryFadeIn 1s ease-out 0.6s both;
}

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

/* Progressive loading for images */
.lazy-image {
  opacity: 0;
  transition: opacity 0.3s ease;
}

.lazy-image.loaded {
  opacity: 1;
}

/* Loading states for dynamic content */
.services-panel.loading {
  position: relative;
}

.services-panel.loading::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(5px);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.services-panel.loading::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 30px;
  height: 30px;
  border: 3px solid rgba(196, 79, 131, 0.3);
  border-top: 3px solid var(--brand-accent);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  z-index: 11;
}

/* ===== REDUCED MOTION ===== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .floating-circle,
  .particle,
  .hero-gradient,
  .bg-gradient-1,
  .bg-gradient-2,
  .loading-spinner,
  .skeleton {
    animation: none;
  }
  
  body.loading::before {
    display: none;
  }
}
