/* ==========================================================================
   Royal Fresh Food & Tiffin Service - Styling System
   Optimized for Ultra-Fast Loading (LCP < 1.2s), SEO & Modern Aesthetics
   ========================================================================== */

:root {
  /* Color Palette - Warm Royal Amber, Gold & Deep Charcoal */
  --primary-amber: #D97706;
  --primary-hover: #B45309;
  --gold-accent: #F59E0B;
  --gold-light: #FEF3C7;
  --crimson-red: #991B1B;
  --green-veg: #16A34A;
  --red-nonveg: #DC2626;
  --dark-bg: #0F172A;
  --dark-card: #1E293B;
  --text-primary: #1F2937;
  --text-secondary: #4B5563;
  --text-muted: #6B7280;
  --bg-cream: #FFFBEB;
  --white: #FFFFFF;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 25px rgba(217, 119, 6, 0.15);
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: var(--font-family);
  background-color: #FAFAFA;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

/* Utility Containers */
.container {
  width: 90%;
  max-width: 1240px;
  margin: 0 auto;
}

.text-center { text-align: center; }
.text-gold { color: var(--gold-accent); }
.text-amber { color: var(--primary-amber); }

/* Badges */
.badge-veg {
  background-color: #DCFCE7;
  color: var(--green-veg);
  border: 1px solid #86EFAC;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.badge-veg::before {
  content: '●';
  font-size: 10px;
}

.badge-nonveg {
  background-color: #FEE2E2;
  color: var(--red-nonveg);
  border: 1px solid #FCA5A5;
  padding: 4px 10px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.badge-nonveg::before {
  content: '▲';
  font-size: 9px;
}

.badge-hot {
  background-color: var(--gold-light);
  color: var(--primary-hover);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

/* Top Announcement Bar */
.top-bar {
  background: linear-gradient(90deg, #78350F, #92400E, #78350F);
  color: #FEF3C7;
  padding: 8px 0;
  font-size: 0.85rem;
  font-weight: 500;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.top-bar-info {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-info span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Header & Navigation */
.header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(217, 119, 6, 0.15);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

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

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary-amber), var(--gold-accent));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 10px rgba(217, 119, 6, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark-bg);
  line-height: 1.1;
  letter-spacing: -0.5px;
}

.logo-title span {
  color: var(--primary-amber);
}

.logo-subtitle {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
}

.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover {
  color: var(--primary-amber);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--primary-amber);
  transition: var(--transition);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta-btn {
  background: linear-gradient(135deg, var(--primary-amber), #B45309);
  color: white !important;
  padding: 10px 20px;
  border-radius: 50px;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(217, 119, 6, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
}

.nav-cta-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(217, 119, 6, 0.35);
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  font-size: 1.6rem;
  color: var(--dark-bg);
  background: none;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, #FFFBEB 0%, #FEF3C7 40%, #FFF 100%);
  padding: 60px 0 80px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FEF3C7;
  border: 1px solid #FDE68A;
  color: #B45309;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  animation: pulseBadge 2s infinite alternate;
}

@keyframes pulseBadge {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(245, 158, 11, 0.2); }
  100% { transform: scale(1.03); box-shadow: 0 0 0 10px rgba(245, 158, 11, 0); }
}

.hero-title {
  font-size: 3rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--dark-bg);
  margin-bottom: 18px;
  letter-spacing: -1px;
}

.hero-title span {
  background: linear-gradient(135deg, var(--primary-amber), var(--crimson-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 540px;
}

.hero-keywords-tag {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}

.keyword-pill {
  background: white;
  border: 1px solid #FCD34D;
  color: #78350F;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 6px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-amber), var(--primary-hover));
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(217, 119, 6, 0.4);
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
}

.btn-whatsapp:hover {
  background: #1EBE5D;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(37, 211, 102, 0.4);
}

.hero-stats {
  display: flex;
  gap: 24px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #FDE68A;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--dark-bg);
}

.stat-num span {
  color: var(--primary-amber);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Hero Media Stack */
.hero-media {
  position: relative;
}

.hero-main-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  object-fit: cover;
  aspect-ratio: 4/3;
  border: 4px solid white;
}

.floating-card {
  position: absolute;
  background: white;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid #FEF3C7;
  animation: floatAnim 4s ease-in-out infinite alternate;
}

.floating-card-1 {
  top: 10%;
  left: -20px;
}

.floating-card-2 {
  bottom: 8%;
  right: -10px;
  animation-delay: 2s;
}

@keyframes floatAnim {
  0% { transform: translateY(0px); }
  100% { transform: translateY(-12px); }
}

.fc-icon {
  width: 42px;
  height: 42px;
  background: #FEF3C7;
  color: var(--primary-amber);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.fc-text h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--dark-bg);
}

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

/* Section Header styling */
.section-header {
  margin-bottom: 48px;
}

.section-subtitle {
  color: var(--primary-amber);
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}

.section-title {
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--dark-bg);
  letter-spacing: -0.5px;
}

.section-desc {
  color: var(--text-secondary);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 10px auto 0;
}

/* Highlights Grid */
.highlights-section {
  padding: 60px 0;
  background: white;
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
}

.highlight-card {
  background: #FFFBEB;
  border: 1px solid #FDE68A;
  padding: 28px;
  border-radius: var(--radius-md);
  transition: var(--transition);
}

.highlight-card:hover {
  transform: translateY(-50%);
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-amber);
}

.hl-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
  display: inline-block;
}

.hl-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark-bg);
  margin-bottom: 8px;
}

.hl-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
}

/* Menu Section */
.menu-section {
  padding: 80px 0;
  background: #FAF7F2;
}

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

.tab-btn {
  background: white;
  border: 1px solid #E5E7EB;
  color: var(--text-secondary);
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
}

.tab-btn.active, .tab-btn:hover {
  background: var(--primary-amber);
  color: white;
  border-color: var(--primary-amber);
  box-shadow: 0 4px 14px rgba(217, 119, 6, 0.3);
}

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

.menu-card {
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #E5E7EB;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.menu-card:hover {
  transform: translateY(-50%);
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-accent);
}

.menu-card-img-wrap {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

.menu-card:hover .menu-card-img {
  transform: scale(1.06);
}

.menu-day-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  color: white;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(4px);
}

.menu-type-badge {
  position: absolute;
  top: 12px;
  right: 12px;
}

.menu-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.menu-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark-bg);
  margin-bottom: 12px;
}

.menu-items-list {
  list-style: none;
  margin-bottom: 20px;
  flex-grow: 1;
}

.menu-items-list li {
  font-size: 0.92rem;
  color: var(--text-secondary);
  padding: 6px 0;
  border-bottom: 1px dashed #F3F4F6;
  display: flex;
  align-items: center;
  gap: 8px;
}

.menu-items-list li::before {
  content: '✓';
  color: var(--primary-amber);
  font-weight: 800;
}

.menu-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  border-top: 1px solid #F3F4F6;
}

.menu-price {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark-bg);
}

.menu-price span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
}

/* Subscription Plan Calculator */
.calc-section {
  padding: 80px 0;
  background: white;
}

.calc-box {
  background: linear-gradient(135deg, #1E293B, #0F172A);
  border-radius: var(--radius-lg);
  padding: 48px;
  color: white;
  box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.calc-controls {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 0.9rem;
  font-weight: 600;
  color: #CBD5E1;
}

.select-custom, .input-custom {
  background: #334155;
  border: 1px solid #475569;
  color: white;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  outline: none;
  transition: var(--transition);
}

.select-custom:focus, .input-custom:focus {
  border-color: var(--gold-accent);
  box-shadow: 0 0 0 3px rgba(245, 158, 11, 0.2);
}

.calc-summary-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 32px;
  border-radius: var(--radius-md);
  text-align: center;
}

.calc-total-val {
  font-size: 2.75rem;
  font-weight: 900;
  color: var(--gold-accent);
  margin: 12px 0;
}

.calc-per-day {
  font-size: 0.9rem;
  color: #94A3B8;
  margin-bottom: 24px;
}

/* Service Area Checker */
.area-section {
  padding: 70px 0;
  background: #FFFBEB;
}

.area-box {
  background: white;
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-md);
  border: 1px solid #FDE68A;
  max-width: 900px;
  margin: 0 auto;
}

.area-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 20px;
}

.area-chip {
  background: #FEF3C7;
  color: #78350F;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.area-chip::before {
  content: '📍';
}

/* Photo Gallery Section */
.gallery-section {
  padding: 80px 0;
  background: white;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  height: 240px;
  box-shadow: var(--shadow-sm);
}

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

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 16px;
  color: white;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.gallery-desc {
  font-size: 0.82rem;
  color: #E2E8F0;
}

/* Reviews / Testimonials */
.reviews-section {
  padding: 80px 0;
  background: #FAF7F2;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.review-card {
  background: white;
  padding: 28px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid #E5E7EB;
}

.review-stars {
  color: var(--gold-accent);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.review-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-style: italic;
  margin-bottom: 20px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-amber);
  color: white;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark-bg);
}

.author-info p {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* FAQ Accordion */
.faq-section {
  padding: 80px 0;
  background: white;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: white;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark-bg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
}

.faq-question:hover {
  background: #FFFBEB;
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

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

/* Contact & Map Section */
.contact-section {
  padding: 80px 0;
  background: #0F172A;
  color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info-box h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.contact-detail-list {
  list-style: none;
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-detail-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 1rem;
  color: #CBD5E1;
}

.contact-icon {
  width: 38px;
  height: 38px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--gold-accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.map-card {
  background: var(--dark-card);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid #334155;
}

.map-card iframe {
  width: 100%;
  height: 320px;
  border: none;
  border-radius: var(--radius-sm);
}

/* Footer */
.footer {
  background: #020617;
  color: #94A3B8;
  padding: 30px 0;
  border-top: 1px solid #1E293B;
  font-size: 0.88rem;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* Floating WhatsApp Sticky Button */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #25D366;
  color: white;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  animation: pulseWa 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

@keyframes pulseWa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero-grid, .calc-grid, .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-title { font-size: 2.4rem; }
  .floating-card-1 { left: 0; }
  .floating-card-2 { right: 0; }
}

@media (max-width: 768px) {
  .mobile-toggle { display: block; }
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 24px;
    box-shadow: var(--shadow-md);
    display: none;
  }
  .nav-links.active { display: flex; }
  .top-bar .container { justify-content: center; text-align: center; }
  .hero-title { font-size: 2rem; }
  .section-title { font-size: 1.8rem; }
  .calc-box { padding: 24px; }
}
