@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400&family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Color Tokens */
  --chandan-primary: #F5EDDC;
  --chandan-dark: #EADBC8;
  --chandan-light: #FAF5ED;
  
  --kerala-green: #1A4D2E;
  --kerala-green-light: #387F39;
  --kerala-green-soft: #4F6F52;
  --kerala-green-bg: #EAEFEA;
  
  --gold-accent: #D4AF37;
  --gold-dark: #B5942D;
  --gold-light: #E7C966;
  --gold-cream: #FAF0D7;
  
  --text-main: #1C2B1E;
  --text-muted: #536455;
  --white: #FFFFFF;
  
  /* Glassmorphism & Shadows */
  --glass-bg: rgba(250, 245, 237, 0.75);
  --glass-border: rgba(26, 77, 46, 0.12);
  --glass-shadow: rgba(26, 77, 46, 0.08);
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Outfit', 'Inter', sans-serif;
}

/* Base Styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--chandan-primary);
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
  line-height: 1.6;
}

/* Floating Elements Background Container */
#floating-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 99; /* Float on top of sections and background, below header */
  overflow: hidden;
}

.floating-item {
  position: absolute;
  pointer-events: none;
  opacity: 0.15; /* Subtly transparent so it doesn't block readability */
  will-change: transform;
  transition: transform 0.1s linear;
}

/* Main Layout Wrapper */
.app-container {
  position: relative;
  z-index: 10; /* Keep content above floating elements */
}

/* Global Typography & Elements */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--kerala-green);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: var(--font-body);
  transition: all 0.3s ease;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Section Common Styling */
section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background-color: var(--gold-accent);
  border-radius: 2px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.15rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Buttons Styling */
.btn-primary {
  background: linear-gradient(135deg, var(--kerala-green) 0%, var(--kerala-green-light) 100%);
  color: var(--white);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(26, 77, 46, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: transform 0.2s, box-shadow 0.2s, background 0.3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(26, 77, 46, 0.35);
  background: linear-gradient(135deg, var(--kerala-green-light) 0%, var(--kerala-green) 100%);
}

.btn-whatsapp {
  background: #25D366;
  color: var(--white);
  padding: 16px 36px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.15rem;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
  transition: transform 0.2s, box-shadow 0.2s;
  animation: pulse-whatsapp 2s infinite;
}

.btn-whatsapp:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.45);
}

.btn-whatsapp svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.btn-secondary {
  background: transparent;
  color: var(--kerala-green);
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.05rem;
  border: 2px solid var(--kerala-green);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

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

/* Custom Header / Navigation */
header {
  background-color: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  overflow: visible;
  transition: padding 0.3s ease, background-color 0.3s ease;
}

header.scrolled {
  padding: 10px 0;
  background-color: rgba(245, 237, 220, 0.95);
  box-shadow: 0 4px 20px rgba(26, 77, 46, 0.06);
}

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

header.scrolled .container {
  height: 60px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  height: 146px;
  width: 146px;
  object-fit: contain;
  position: relative;
  top: 30px;
  transition: height 0.3s ease, width 0.3s ease, top 0.3s ease;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.15));
}

header.scrolled .logo-img {
  height: 100px;
  width: 100px;
  top: 20px;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

nav ul li a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
  position: relative;
  padding: 8px 0;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold-accent);
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: var(--kerala-green);
}

nav ul li a:hover::after {
  width: 100%;
}

.nav-cta {
  background-color: var(--kerala-green);
  color: var(--white) !important;
  padding: 10px 20px !important;
  border-radius: 30px;
  font-size: 0.9rem !important;
  box-shadow: 0 4px 10px rgba(26, 77, 46, 0.15);
}

.nav-cta:hover {
  background-color: var(--kerala-green-light);
  transform: translateY(-1px);
}

.nav-cta::after {
  display: none !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: var(--kerala-green);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero-section {
  padding-top: 180px;
  padding-bottom: 120px;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, var(--chandan-light) 0%, var(--chandan-primary) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.onam-badge {
  align-self: flex-start;
  background: linear-gradient(135deg, #FF6F00 0%, #E65100 100%);
  color: var(--white);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(230, 81, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.onam-badge svg {
  animation: rotate-flower 10s linear infinite;
  width: 18px;
  height: 18px;
}

.hero-content h1 {
  font-size: 3.8rem;
  line-height: 1.15;
}

.hero-content h1 span {
  color: var(--kerala-green-light);
  position: relative;
  display: inline-block;
}

.hero-content p.hero-lead {
  font-size: 1.25rem;
  color: var(--text-muted);
  max-width: 550px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 10px;
}

.hero-image-wrapper {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-circle-bg {
  position: absolute;
  width: 110%;
  height: 110%;
  border-radius: 50%;
  background: radial-gradient(circle, var(--kerala-green-bg) 0%, transparent 70%);
  z-index: 0;
  animation: float-slow 6s ease-in-out infinite;
}

.hero-image {
  width: 100%;
  max-width: 480px;
  aspect-ratio: 1;
  border-radius: 40px;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(26, 77, 46, 0.18);
  border: 6px solid var(--white);
  transform: rotate(2deg);
  z-index: 2;
  transition: transform 0.5s ease;
}

.hero-image:hover {
  transform: rotate(0deg) scale(1.02);
}

.hero-badge-floater {
  position: absolute;
  bottom: 20px;
  left: -20px;
  background-color: var(--white);
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: 0 10px 30px rgba(26, 77, 46, 0.15);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 10;
  border: 1px solid var(--glass-border);
}

.badge-icon-gold {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--gold-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-dark);
}

.badge-icon-gold svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.badge-text h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--kerala-green);
}

.badge-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* We Cater Section */
.we-cater-section {
  background-color: var(--chandan-light);
}

.cater-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
}

.cater-card {
  background-color: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 35px;
  box-shadow: 0 8px 32px var(--glass-shadow);
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cater-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(26, 77, 46, 0.15);
  border-color: var(--gold-accent);
  background-color: var(--white);
}

.cater-icon {
  width: 60px;
  height: 60px;
  border-radius: 20px;
  background-color: var(--kerala-green-bg);
  color: var(--kerala-green);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s, color 0.3s;
}

.cater-card:hover .cater-icon {
  background-color: var(--kerala-green);
  color: var(--white);
}

.cater-icon svg {
  width: 30px;
  height: 30px;
  fill: currentColor;
}

.cater-card h3 {
  font-size: 1.6rem;
}

.cater-card p {
  color: var(--text-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Packages Section */
.packages-section {
  background: linear-gradient(180deg, var(--chandan-light) 0%, var(--chandan-primary) 100%);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.package-card {
  background-color: var(--white);
  border: 1px solid var(--glass-border);
  border-radius: 30px;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(26, 77, 46, 0.06);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.package-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(90deg, var(--kerala-green) 0%, var(--gold-accent) 100%);
}

.package-card:hover {
  transform: translateY(-12px);
  box-shadow: 0 20px 40px rgba(26, 77, 46, 0.12);
  border-color: var(--gold-accent);
}

.package-tag {
  position: absolute;
  top: 25px;
  right: -35px;
  background-color: var(--gold-accent);
  color: var(--text-main);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 35px;
  transform: rotate(45deg);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.package-capacity {
  background-color: var(--kerala-green-bg);
  color: var(--kerala-green);
  align-self: flex-start;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 25px;
}

.package-card h3 {
  font-size: 1.8rem;
  margin-bottom: 8px;
  line-height: 1.2;
}

.package-subtitle {
  color: var(--gold-dark);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.package-card p.package-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 25px;
  min-height: 70px;
}

.package-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 35px;
  border-top: 1px dashed rgba(26, 77, 46, 0.15);
  padding-top: 25px;
}

.package-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--text-main);
}

.package-features li svg {
  width: 18px;
  height: 18px;
  fill: var(--kerala-green-light);
  flex-shrink: 0;
}

.package-btn {
  margin-top: auto;
  width: 100%;
  justify-content: center;
}

/* How It Works Section */
.how-it-works-section {
  background-color: var(--chandan-light);
}

.steps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
  position: relative;
}

.step-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.step-number {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--white);
  border: 3px solid var(--kerala-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--kerala-green);
  box-shadow: 0 6px 15px rgba(26, 77, 46, 0.08);
  transition: all 0.3s ease;
}

.step-card:hover .step-number {
  background-color: var(--kerala-green);
  color: var(--white);
  transform: scale(1.1);
}

.step-card h3 {
  font-size: 1.4rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 220px;
}

/* Booking & Feast Planner Section */
.planner-section {
  background: linear-gradient(180deg, var(--chandan-primary) 0%, var(--chandan-light) 100%);
}

.planner-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  background-color: var(--white);
  border-radius: 40px;
  padding: 50px;
  box-shadow: 0 20px 60px rgba(26, 77, 46, 0.08);
  border: 1px solid var(--glass-border);
  align-items: start;
}

.planner-left {
  width: 100%;
}

.planner-right {
  width: 100%;
  position: sticky;
  top: 100px;
}

/* Feast Planner Subheadings */
.planner-subheading {
  font-size: 1.6rem;
  border-bottom: 2px solid var(--gold-accent);
  padding-bottom: 8px;
  margin-bottom: 25px;
  color: var(--kerala-green);
  text-transform: capitalize;
}

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

/* Menu Customizer Selection Checklist */
.menu-customizer-groups {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.customizer-group {
  background-color: var(--chandan-light);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 24px;
  box-shadow: 0 4px 15px rgba(26, 77, 46, 0.02);
}

.customizer-group h4 {
  font-size: 1.15rem;
  color: var(--kerala-green);
  margin-bottom: 18px;
  font-weight: 700;
  border-left: 4px solid var(--gold-accent);
  padding-left: 12px;
  line-height: 1.2;
}

.customizer-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

/* Custom Checkbox Design Controls */
.checkbox-container {
  display: flex;
  align-items: center;
  position: relative;
  padding-left: 32px;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  user-select: none;
  min-height: 24px;
  transition: color 0.2s;
}

.checkbox-container input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.checkmark {
  position: absolute;
  top: 1px;
  left: 0;
  height: 20px;
  width: 20px;
  background-color: var(--white);
  border: 2px solid var(--kerala-green-soft);
  border-radius: 6px;
  transition: all 0.2s;
}

.checkbox-container:hover input ~ .checkmark {
  border-color: var(--kerala-green);
}

.checkbox-container input:checked ~ .checkmark {
  background-color: var(--kerala-green);
  border-color: var(--kerala-green);
}

.checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
  display: block;
}

.checkbox-container .checkmark:after {
  left: 6px;
  top: 2px;
  width: 4px;
  height: 9px;
  border: solid var(--white);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.item-name-lbl {
  line-height: 1.3;
}

.item-name-lbl small {
  color: var(--text-muted);
  display: block;
  font-size: 0.76rem;
  font-weight: 400;
  margin-top: 1px;
}

.item-price-lbl {
  margin-left: auto;
  font-weight: 700;
  color: var(--kerala-green-light);
  font-size: 0.9rem;
  padding-left: 8px;
  white-space: nowrap;
}

.checkbox-container input:checked ~ .item-name-lbl {
  color: var(--kerala-green);
  font-weight: 600;
}

/* Quantity Stepper Row (for biryani & kebabs) */
.qty-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  background: var(--white);
  border: 1.5px solid var(--glass-border);
  border-radius: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.qty-item-row:hover {
  border-color: var(--kerala-green-soft);
  box-shadow: 0 2px 10px rgba(26,77,46,0.07);
}

.qty-item-row.has-qty {
  border-color: var(--kerala-green);
  background: var(--kerala-green-bg);
}

.qty-item-info {
  flex: 1;
  min-width: 0;
}

.qty-item-name {
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text-main);
  line-height: 1.3;
}

.qty-item-name small {
  display: block;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-muted);
  margin-top: 1px;
}

.qty-item-price {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--kerala-green-light);
  white-space: nowrap;
  flex-shrink: 0;
}

.qty-stepper {
  display: flex;
  align-items: center;
  gap: 0;
  border: 1.5px solid var(--kerala-green-soft);
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}

.qty-stepper button {
  background: var(--kerala-green);
  color: var(--white);
  border: none;
  width: 30px;
  height: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
  line-height: 1;
}

.qty-stepper button:hover {
  background: var(--kerala-green-light);
}

.qty-stepper input[type="number"] {
  width: 38px;
  height: 30px;
  border: none;
  border-left: 1.5px solid var(--kerala-green-soft);
  border-right: 1.5px solid var(--kerala-green-soft);
  text-align: center;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--kerala-green);
  background: var(--white);
  -moz-appearance: textfield;
  outline: none;
  padding: 0;
}

.qty-stepper input[type="number"]::-webkit-outer-spin-button,
.qty-stepper input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Sticky Bill Receipt Invoice Card */
.receipt-card {
  background-color: var(--white);
  border: 2px solid var(--kerala-green);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 15px 40px rgba(26, 77, 46, 0.1);
}

.receipt-header {
  text-align: center;
  margin-bottom: 20px;
  border-bottom: 1px dashed rgba(26, 77, 46, 0.15);
  padding-bottom: 15px;
}

.receipt-header h3 {
  font-size: 1.45rem;
  color: var(--kerala-green);
  font-family: var(--font-heading);
}

.receipt-header p {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.receipt-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.receipt-row span {
  color: var(--text-muted);
}

.receipt-row strong {
  color: var(--text-main);
  font-weight: 700;
}

.receipt-row.text-discount {
  color: #D84315; 
}

.receipt-row.text-discount strong {
  color: #D84315;
}

.receipt-divider {
  border-top: 1px dashed rgba(26, 77, 46, 0.15);
  margin: 5px 0;
}

.receipt-items-container {
  max-height: 140px;
  overflow-y: auto;
  padding-right: 5px;
}

.receipt-items-container::-webkit-scrollbar {
  width: 4px;
}

.receipt-items-container::-webkit-scrollbar-thumb {
  background-color: var(--kerala-green-soft);
  border-radius: 4px;
}

.receipt-section-lbl {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--kerala-green-soft);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: block;
}

.receipt-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.receipt-list li {
  font-size: 0.88rem;
  display: flex;
  justify-content: space-between;
  color: var(--text-main);
  font-weight: 500;
}

.receipt-row.total-row {
  font-size: 1.15rem;
  font-weight: 800;
  margin-top: 5px;
}

.receipt-row.total-row .total-price {
  font-size: 1.6rem;
  color: var(--kerala-green);
  font-family: var(--font-heading);
}

.receipt-footer {
  margin-top: 25px;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.receipt-footer button {
  width: 100%;
  justify-content: center;
  padding: 15px;
  font-size: 1.1rem;
}

.receipt-terms {
  font-size: 0.72rem;
  color: var(--text-muted);
  line-height: 1.3;
}


.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--kerala-green);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid rgba(26, 77, 46, 0.15);
  background-color: var(--white);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-control:focus {
  outline: none;
  border-color: var(--kerala-green);
  box-shadow: 0 0 0 3px rgba(26, 77, 46, 0.1);
}

/* Phone Number Field with Fixed +91 Prefix */
.phone-input-wrapper {
  display: flex;
  align-items: stretch;
}

.phone-prefix {
  display: flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid rgba(26, 77, 46, 0.15);
  border-right: none;
  border-radius: 12px 0 0 12px;
  background-color: var(--kerala-green-bg);
  color: var(--kerala-green);
  font-weight: 700;
}

.phone-input {
  border-radius: 0 12px 12px 0 !important;
}

.form-control.invalid,
.phone-input-wrapper.invalid .phone-prefix,
.phone-input-wrapper.invalid .phone-input {
  border-color: #C0392B !important;
}

.field-error-msg {
  display: none;
  color: #C0392B;
  font-size: 0.82rem;
  margin-top: 6px;
}

.field-error-msg.visible {
  display: block;
}

/* reCAPTCHA v3 Disclosure Text */
.recaptcha-disclosure {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 14px;
  line-height: 1.4;
}

.recaptcha-disclosure a {
  color: var(--kerala-green);
  text-decoration: underline;
}

/* Custom Guest Range Input & Slider */
.guest-slider-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.slider-val-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
}

.slider-value {
  color: var(--kerala-green);
  font-size: 1.25rem;
  background-color: var(--white);
  padding: 4px 14px;
  border-radius: 20px;
  border: 1.5px solid var(--kerala-green);
}

input[type="range"].guest-slider {
  -webkit-appearance: none;
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: var(--chandan-dark);
  outline: none;
}

input[type="range"].guest-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--kerala-green);
  cursor: pointer;
  border: 2px solid var(--white);
  box-shadow: 0 3px 8px rgba(26, 77, 46, 0.2);
  transition: transform 0.1s;
}

input[type="range"].guest-slider::-webkit-slider-thumb:hover {
  transform: scale(1.15);
}

.submit-btn {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1.1rem;
}

/* Contact / Footer Section */
footer {
  background-color: var(--kerala-green);
  color: var(--chandan-light);
  padding: 80px 0 40px 0;
  position: relative;
  z-index: 100;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo-img {
  height: 90px;
  width: 90px;
}

.footer-brand p {
  opacity: 0.8;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-links h3, .footer-contact h3 {
  color: var(--gold-light);
  font-size: 1.25rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 8px;
}

.footer-links h3::after, .footer-contact h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--gold-accent);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links ul li a {
  opacity: 0.8;
  font-size: 0.95rem;
}

.footer-links ul li a:hover {
  opacity: 1;
  color: var(--gold-light);
  padding-left: 5px;
}

.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-contact ul li {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  font-size: 0.95rem;
}

.footer-contact ul li a {
  opacity: 0.8;
}

.footer-contact ul li a:hover {
  opacity: 1;
  color: var(--gold-light);
}

.contact-icon {
  color: var(--gold-light);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-icon svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.3s ease;
}

.social-btn:hover {
  background-color: var(--gold-accent);
  color: var(--kerala-green);
  transform: translateY(-3px);
}

.social-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  opacity: 0.7;
}

/* Animations Keyframes */
@keyframes float-slow {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-15px) rotate(3deg);
  }
}

@keyframes pulse-whatsapp {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.4);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@keyframes rotate-flower {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .hero-content h1 {
    font-size: 3.2rem;
  }
  .hero-grid {
    gap: 30px;
  }
  .planner-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
    padding: 40px;
  }
}

@media (max-width: 768px) {
  section {
    padding: 70px 0;
  }
  .section-header {
    margin-bottom: 45px;
  }
  .section-header h2 {
    font-size: 2.2rem;
  }
  
  /* Navigation Mobile */
  header .container {
    height: 70px;
  }
  
  .menu-toggle {
    display: flex;
  }
  
  nav {
    position: fixed;
    top: 70px;
    left: 100%;
    width: 100%;
    height: calc(100vh - 70px);
    background-color: var(--chandan-primary);
    z-index: 999;
    transition: left 0.4s cubic-bezier(0.77,0.2,0.05,1.0);
    border-top: 1px solid var(--glass-border);
    padding: 50px 30px;
    box-shadow: -10px 0 30px rgba(26, 77, 46, 0.05);
  }
  
  nav.active {
    left: 0;
  }
  
  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }
  
  nav ul li a {
    font-size: 1.3rem;
  }
  
  .menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
  }
  
  .menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
  }
  
  /* Hero Grid Mobile */
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
    padding-top: 40px;
  }
  
  .onam-badge {
    align-self: center;
  }
  
  .hero-content p.hero-lead {
    margin: 0 auto;
  }
  
  .hero-actions {
    justify-content: center;
  }
  
  .hero-image-wrapper {
    order: -1;
    margin-bottom: 20px;
  }
  
  .hero-image {
    max-width: 340px;
  }
  
  /* Footer Mobile */
  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 40px;
  }
  
  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.5rem;
  }
  
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  
  .hero-actions a, .hero-actions button {
    width: 100%;
    justify-content: center;
  }
  
  .planner-container {
    padding: 24px;
    border-radius: 24px;
    gap: 28px;
  }

  .form-grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }

  .qty-item-row {
    flex-wrap: wrap;
  }

  .qty-item-info {
    flex-basis: 100%;
  }

  .customizer-items-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .cater-grid,
  .menu-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .packages-grid {
    grid-template-columns: 1fr;
  }
}

/* Our Traditional Menu Section Styling */
.menu-section {
  background-color: var(--chandan-light);
  position: relative;
  overflow: hidden;
}

.menu-tabs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 50px;
}

.menu-tab-btn {
  padding: 10px 22px;
  border-radius: 30px;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--kerala-green);
  border: 2px solid var(--kerala-green-soft);
  background-color: transparent;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.menu-tab-btn:hover {
  border-color: var(--gold-accent);
  color: var(--kerala-green-light);
  transform: translateY(-1px);
}

.menu-tab-btn.active {
  background: linear-gradient(135deg, var(--kerala-green) 0%, var(--kerala-green-light) 100%);
  color: var(--white);
  border-color: var(--kerala-green);
  box-shadow: 0 4px 12px rgba(26, 77, 46, 0.2);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  min-height: 200px;
}

.menu-item-card {
  background-color: var(--white);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 5px 15px rgba(26, 77, 46, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  opacity: 1;
}

.menu-item-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(26, 77, 46, 0.08);
  border-color: var(--gold-accent);
}

.menu-item-details {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.menu-item-tag {
  background-color: var(--kerala-green-bg);
  color: var(--kerala-green);
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  border: 1px solid rgba(26, 77, 46, 0.1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.menu-item-tag-promo {
  position: absolute;
  top: 15px;
  right: 15px;
  background: linear-gradient(135deg, #FF6F00 0%, #E65100 100%);
  color: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.menu-item-card h3 {
  font-size: 1.35rem;
  color: var(--kerala-green);
  line-height: 1.2;
}

.menu-item-desc {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.menu-cta {
  text-align: center;
  margin-top: 55px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.menu-cta p {
  font-size: 1.1rem;
  color: var(--text-main);
  font-weight: 500;
}

@media (max-width: 480px) {
  .menu-tabs {
    gap: 8px;
  }
  .menu-tab-btn {
    padding: 8px 14px;
    font-size: 0.85rem;
  }
  .menu-item-card {
    padding: 22px;
  }
}

/* Floating Background Music Toggle Button */
.bgm-toggle-btn {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 1000;
  width: 54px;
  height: 54px;
  border-radius: 27px;
  border: none;
  background: var(--kerala-green);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(26, 77, 46, 0.35);
  transition: transform 0.25s, background 0.25s, width 0.3s cubic-bezier(0.4, 0, 0.2, 1), gap 0.3s ease, padding 0.3s ease;
  overflow: hidden;
  padding: 0;
}

.bgm-toggle-btn:hover {
  transform: scale(1.08);
  background: var(--kerala-green-light);
}

.bgm-toggle-btn[aria-pressed="true"] {
  width: 90px;
  gap: 8px;
  padding: 0 14px;
}

.bgm-toggle-btn svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.bgm-toggle-btn .icon-speaker-on { display: none; }
.bgm-toggle-btn .icon-speaker-off { display: block; }
.bgm-toggle-btn[aria-pressed="true"] .icon-speaker-on { display: block; }
.bgm-toggle-btn[aria-pressed="true"] .icon-speaker-off { display: none; }

/* Sound Wave Visualizer */
.bgm-visualizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  width: 0;
  height: 18px;
  opacity: 0;
  transition: width 0.3s ease, opacity 0.3s ease;
  flex-shrink: 0;
}

.bgm-toggle-btn[aria-pressed="true"] .bgm-visualizer {
  width: 20px;
  opacity: 1;
}

.bgm-bar {
  display: block;
  width: 3px;
  height: 4px;
  background-color: var(--gold-accent);
  border-radius: 1.5px;
  transition: height 0.3s ease;
}

/* Pause state: bars are flat */
.bgm-toggle-btn[aria-pressed="false"] .bgm-bar {
  height: 4px !important;
  animation: none !important;
}

/* Play state: bounce keyframe height animations */
.bgm-toggle-btn[aria-pressed="true"] .bgm-bar-1 {
  animation: bgmBounce 0.8s ease-in-out infinite alternate;
}
.bgm-toggle-btn[aria-pressed="true"] .bgm-bar-2 {
  animation: bgmBounce 0.5s ease-in-out infinite alternate 0.15s;
}
.bgm-toggle-btn[aria-pressed="true"] .bgm-bar-3 {
  animation: bgmBounce 0.7s ease-in-out infinite alternate 0.3s;
}

@keyframes bgmBounce {
  0% {
    height: 4px;
  }
  100% {
    height: 18px;
  }
}

@media (max-width: 480px) {
  .bgm-toggle-btn {
    bottom: 16px;
    left: 16px;
    width: 46px;
    height: 46px;
  }
  .bgm-toggle-btn[aria-pressed="true"] {
    width: 78px;
    padding: 0 10px;
    gap: 6px;
  }
  .bgm-toggle-btn svg {
    width: 20px;
    height: 20px;
  }
  .bgm-visualizer {
    height: 14px;
  }
  .bgm-toggle-btn[aria-pressed="true"] .bgm-visualizer {
    width: 16px;
  }
  .bgm-bar {
    width: 2.5px;
  }
  @keyframes bgmBounce {
    0% {
      height: 4px;
    }
    100% {
      height: 14px;
    }
  }
}
