/* ====== ELEGANT WEDDING DESIGN SYSTEM ====== */
:root {
  /* Warm & Romantic Color Palette */
  --cream: #faf8f5;
  --warm-white: #f5f1eb;
  --soft-beige: #e8e3dc;
  --champagne: #d4c5b0;
  --rose-gold: #b76e79;
  --deep-rose: #8b5a5f;
  --burgundy: #6b4444;
  --warm-brown: #4a3933;
  --charcoal: #2d2520;
  
  /* Accent Colors */
  --gold: #d4af37;
  --gold-light: #f4e4b7;
  --blush: #f8e8e8;
  --sage: #9db19d;
  --terracotta: #c27664;
  
  /* Functional */
  --text-dark: #2d2520;
  --text-medium: #5a4a42;
  --text-light: #8b7d74;
  --border-light: rgba(212, 197, 176, 0.3);
  --shadow: 0 10px 40px rgba(107, 68, 68, 0.15);
  --shadow-hover: 0 20px 60px rgba(107, 68, 68, 0.25);
  
  --radius-xl: 20px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 10px;
}

/* Reset & Base */
* { 
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { 
  scroll-behavior: smooth;
  overflow-x: hidden;
}

html, body { 
  height: 100%; 
}

body {
  font-family: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  color: var(--text-dark);
  background: linear-gradient(135deg, var(--warm-white) 0%, var(--cream) 50%, var(--soft-beige) 100%);
  position: relative;
  overflow-x: hidden;
  line-height: 1.7;
}

/* Subtle Floral Background Pattern */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(183, 110, 121, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* Layout */
.container { 
  max-width: 1100px; 
  margin: 0 auto; 
  padding: 1.2rem;
  position: relative;
  z-index: 10;
}

/* ====== ELEGANT HEADER ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(250, 248, 245, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 2px solid var(--champagne);
  box-shadow: 0 4px 20px rgba(107, 68, 68, 0.08);
  transition: all 0.3s ease;
}

.header-inner { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 1rem;
}

.logo { 
  margin: 0;
  font-size: 1.8rem; 
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--deep-rose);
  font-family: 'Cormorant Garamond', serif;
  position: relative;
  text-transform: uppercase;
}

.logo::after {
  content: '✦';
  margin-left: 0.5rem;
  color: var(--gold);
  font-size: 1.2rem;
  animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
  0%, 100% { opacity: 0.4; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.2); }
}

.nav {
  display: flex;
  gap: 0.5rem;
}

.nav a {
  color: var(--text-medium);
  text-decoration: none;
  padding: 0.6rem 1.3rem;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 1rem;
  font-family: 'Lato', -apple-system, sans-serif;
  transition: all 0.3s ease;
  position: relative;
}

.nav a::before {
  content: '';
  position: absolute;
  bottom: 0.3rem;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--rose-gold), var(--gold));
  transition: width 0.3s ease;
}

.nav a:hover {
  color: var(--deep-rose);
  background: var(--blush);
}

.nav a:hover::before {
  width: 60%;
}

.nav a.active {
  color: var(--deep-rose);
  background: linear-gradient(135deg, var(--blush), var(--gold-light));
  font-weight: 600;
}

/* ====== ROMANTIC HERO ====== */
.hero { 
  text-align: center; 
  padding: 4rem 0 3rem;
  position: relative;
}

.hero::before {
  content: '❦';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.2;
  animation: gentle-float 4s ease-in-out infinite;
}

@keyframes gentle-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-15px); }
}

.hero h2 { 
  font-size: 2.8rem; 
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--deep-rose);
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 1px;
  animation: fade-in-up 1s ease-out;
  text-shadow: 2px 2px 4px rgba(107, 68, 68, 0.1);
}

.hero h2::after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 1.5rem auto 0;
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero p { 
  color: var(--text-medium); 
  max-width: 700px; 
  margin: 0 auto 1.5rem;
  font-size: 1.15rem;
  line-height: 1.8;
  font-family: 'Lato', -apple-system, sans-serif;
  animation: fade-in-up 1s ease-out 0.3s both;
}

.hero-cta { 
  display: flex; 
  gap: 1rem; 
  justify-content: center; 
  margin-top: 2rem;
  animation: fade-in-up 1s ease-out 0.6s both;
}

/* ====== ELEGANT BUTTONS ====== */
.btn { 
  display: inline-flex; 
  align-items: center; 
  justify-content: center; 
  gap: 0.7rem; 
  text-decoration: none; 
  cursor: pointer; 
  border: none; 
  padding: 0.9rem 2rem; 
  border-radius: var(--radius-lg); 
  font-weight: 600;
  font-size: 1rem;
  font-family: 'Lato', -apple-system, sans-serif;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-primary { 
  background: linear-gradient(135deg, var(--rose-gold) 0%, var(--burgundy) 100%);
  color: var(--cream);
  box-shadow: 0 8px 25px rgba(139, 90, 95, 0.3);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.btn-primary:hover { 
  transform: translateY(-3px); 
  box-shadow: 0 15px 40px rgba(139, 90, 95, 0.4);
}

.btn-secondary { 
  background: var(--cream);
  color: var(--deep-rose);
  border: 2px solid var(--champagne);
  box-shadow: 0 6px 20px rgba(107, 68, 68, 0.15);
}

.btn-secondary:hover { 
  transform: translateY(-3px);
  background: var(--warm-white);
  border-color: var(--rose-gold);
  box-shadow: 0 12px 30px rgba(107, 68, 68, 0.2);
}

/* ====== ELEGANT CARDS ====== */
.card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(250, 248, 245, 0.95));
  backdrop-filter: blur(10px);
  border: 2px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: var(--shadow);
}

.card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: linear-gradient(135deg, var(--gold), var(--rose-gold), var(--champagne));
  border-radius: var(--radius-xl);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: var(--gold);
}

.card:hover::before {
  opacity: 0.3;
}

.card-header {
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 0.8rem;
  margin-bottom: 0.75rem;
}

.card-title { 
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--deep-rose);
  font-family: 'Cormorant Garamond', serif;
}

.card-actions { 
  margin-top: 1rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

/* ====== FEATURE GRID ====== */
.feature-grid { 
  display: grid; 
  grid-template-columns: repeat(2, 1fr); 
  gap: 1.5rem;
  margin-top: 2rem;
}

.feature-grid .card {
  animation: fade-scale-in 0.8s ease-out both;
}

.feature-grid .card:nth-child(1) { animation-delay: 0.1s; }
.feature-grid .card:nth-child(2) { animation-delay: 0.2s; }
.feature-grid .card:nth-child(3) { animation-delay: 0.3s; }

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

.feature { 
  display: flex; 
  gap: 1.2rem; 
  align-items: flex-start;
}

.feature .feature-icon { 
  font-size: 2.5rem;
  filter: drop-shadow(2px 2px 4px rgba(212, 175, 55, 0.3));
  animation: gentle-bounce 3s ease-in-out infinite;
}

@keyframes gentle-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* ====== MENU SECTION ====== */
.menu-grid { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 1.5rem;
  margin-top: 2rem;
}

.menu-item { 
  display: flex;
  gap: 1.5rem; 
  align-items: stretch;
  animation: fade-scale-in 0.8s ease-out both;
}

.menu-item:nth-child(1) { animation-delay: 0.2s; }
.menu-item:nth-child(2) { animation-delay: 0.4s; }

.menu-media { 
  flex: 1;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: 0 15px 40px rgba(107, 68, 68, 0.2);
  border: 3px solid var(--champagne);
}

.menu-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, 
    rgba(212, 175, 55, 0.15) 0%, 
    transparent 50%,
    rgba(183, 110, 121, 0.15) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.menu-item:hover .menu-media::after {
  opacity: 1;
}

.menu-media img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover;
  transition: transform 0.6s ease;
}

.menu-item:hover .menu-media img {
  transform: scale(1.08);
}

.menu-content {
  flex: 1;
}

.menu-title { 
  display: flex; 
  align-items: center; 
  justify-content: space-between; 
  gap: 0.8rem;
  margin: 0 0 0.6rem;
  flex-wrap: wrap;
}

.menu-list { 
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
}

.menu-list li { 
  padding: 0.8rem 1rem; 
  border: 1.5px solid var(--border-light); 
  border-radius: var(--radius-md); 
  margin-bottom: 0.6rem; 
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.7), rgba(250, 248, 245, 0.8));
  transition: all 0.3s ease;
  position: relative;
  font-family: 'Lato', -apple-system, sans-serif;
  color: var(--text-medium);
}

.menu-list li::before {
  content: '✦';
  position: absolute;
  left: 0.5rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gold);
  opacity: 0;
  transition: all 0.3s ease;
}

.menu-list li:hover {
  background: linear-gradient(135deg, var(--blush), var(--gold-light));
  border-color: var(--gold);
  transform: translateX(8px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.2);
  padding-left: 1.8rem;
}

.menu-list li:hover::before {
  opacity: 1;
  left: 0.7rem;
}

/* ====== PREMIUM BADGES ====== */
.badge { 
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem; 
  border-radius: 999px; 
  font-size: 0.9rem; 
  font-weight: 700;
  font-family: 'Lato', -apple-system, sans-serif;
  color: var(--cream);
  background: linear-gradient(135deg, var(--rose-gold), var(--burgundy));
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 20px rgba(139, 90, 95, 0.3);
  position: relative;
  overflow: hidden;
}

.badge::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  animation: badge-shine 4s infinite;
}

@keyframes badge-shine {
  0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
  100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.badge--gold { 
  background: linear-gradient(135deg, var(--gold), var(--terracotta));
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
}

/* ====== PAGE INTRO ====== */
.page-intro { 
  text-align: center; 
  padding: 2.5rem 0;
  animation: fade-in-up 0.8s ease-out;
}

.page-title { 
  font-size: 2.5rem; 
  font-weight: 400;
  color: var(--deep-rose);
  margin-bottom: 0.75rem;
  font-family: 'Cormorant Garamond', serif;
  letter-spacing: 1px;
}

.page-subtitle { 
  color: var(--text-medium); 
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  font-family: 'Lato', -apple-system, sans-serif;
}

/* ====== WEDDING HALL SLIDER (Swiper) ====== */
.swiper { width: 100%; }
.swiper .swiper-wrapper { display: flex; align-items: stretch; }
.swiper-slide.hall-slide { display: flex; gap: 1.2rem; align-items: stretch; flex-direction: row; padding: 0; border-radius: var(--radius-lg); }
.hall-slide .slide-media { flex: 1; min-height: 320px; overflow: hidden; position: relative; border-top-left-radius: var(--radius-lg); border-bottom-left-radius: var(--radius-lg); }
.hall-slide .slide-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.hall-slide .slide-placeholder { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(250,248,245,0.6), rgba(255,255,255,0.9)); color: var(--text-medium); font-size: 1rem; font-family: 'Lato', sans-serif; }
.hall-slide .slide-content { flex: 1; padding: 1.2rem 1.5rem; display: flex; flex-direction: column; justify-content: center; gap: 0.6rem; }
.swiper-button-prev, .swiper-button-next { color: var(--deep-rose); }
.swiper-pagination-bullet { background: var(--text-medium); opacity: 0.6; }
@media (max-width: 900px) { .swiper-slide.hall-slide { flex-direction: column; } .hall-slide .slide-media { min-height: 200px; border-radius: var(--radius-lg); } .hall-slide .slide-content { padding: 1rem; } }

/* ====== FORMS ====== */
label { 
  display: block; 
  margin-top: 0.75rem; 
  font-weight: 600;
  color: var(--text-dark);
  font-family: 'Lato', -apple-system, sans-serif;
}

input, select { 
  width: 100%; 
  padding: 0.7rem 0.8rem; 
  border: 2px solid var(--border-light); 
  background: var(--cream); 
  color: var(--text-dark); 
  border-radius: var(--radius-md); 
  margin-top: 0.25rem; 
  outline: none;
  font-family: 'Lato', -apple-system, sans-serif;
  transition: all 0.3s ease;
}

input:focus, select:focus {
  border-color: var(--rose-gold);
  box-shadow: 0 0 0 3px rgba(183, 110, 121, 0.1);
}

input::placeholder { 
  color: var(--text-light);
}

/* ====== TABLES ====== */
.table { 
  width: 100%; 
  border-collapse: collapse; 
  border: 2px solid var(--border-light); 
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(250, 248, 245, 0.95));
  border-radius: var(--radius-lg); 
  overflow: hidden;
}

.table th, .table td { 
  border-bottom: 1px solid var(--border-light); 
  padding: 0.9rem; 
  text-align: left;
  font-family: 'Lato', -apple-system, sans-serif;
}

.table thead th { 
  background: linear-gradient(135deg, var(--blush), var(--gold-light));
  color: var(--text-dark); 
  font-weight: 600;
}

/* ====== FLASH MESSAGES ====== */
.flash { 
  margin: 1rem 0; 
  display: grid; 
  gap: 0.6rem;
}

/* More prominent success style so booking confirmations feel visible and confident */
.flash-success { 
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: linear-gradient(135deg, #e9f8ef, #f6fff9);
  color: var(--text-dark); 
  border-left: 6px solid var(--sage); 
  padding: 1rem 1.25rem; 
  border-radius: 8px;
  box-shadow: 0 8px 30px rgba(107,68,68,0.05);
  font-weight: 700;
  font-size: 1.05rem;
}

/* Add a check icon before the text for instant visual confirmation */
.flash-success::before {
  content: "✅";
  display: inline-block;
  font-size: 1.05rem;
  margin-left: -0.1rem;
}

.flash-error { 
  background: linear-gradient(135deg, rgba(194, 118, 100, 0.2), rgba(194, 118, 100, 0.15));
  color: var(--text-dark); 
  border: 2px solid var(--terracotta); 
  padding: 0.8rem 1.2rem; 
  border-radius: var(--radius-md);
}

/* ====== FOOTER ====== */
.site-footer { 
  border-top: 2px solid var(--champagne); 
  background: linear-gradient(180deg, transparent, rgba(212, 197, 176, 0.1));
  margin-top: 3rem; 
  padding: 1.5rem 0; 
  text-align: center;
}

.site-footer small {
  color: var(--text-light);
  font-family: 'Lato', -apple-system, sans-serif;
}

/* ====== UTILITIES ====== */
.muted { 
  color: var(--text-medium);
  line-height: 1.8;
  font-family: 'Lato', -apple-system, sans-serif;
}

/* ====== TWO COLUMN HELPER ====== */
.two-col { 
  display: grid; 
  grid-template-columns: 1fr 320px; 
  gap: 1rem; 
  align-items: start;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 900px) { 
  .hero h2 { font-size: 2.2rem; }
  .feature-grid { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-item { flex-direction: column !important; }
  .two-col { grid-template-columns: 1fr; }
  .nav { flex-wrap: wrap; justify-content: center; }
  .card { padding: 1.2rem; }
}

@media (max-width: 768px) {
  .feature-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .hero h2 { font-size: 1.8rem; }
  .hero p { font-size: 1rem; }
  .hero-cta { flex-direction: column; width: 100%; }
  .btn { width: 100%; }
  .logo { font-size: 1.5rem; }
  .header-inner { flex-direction: column; text-align: center; }
}