/* ========================================
   MVP RESTAURANT - OPTIMIZED FOR PERFORMANCE
   Goal: < 2.5s First Meaningful Paint
   Focus: Booking CTA + Menu Views
   ======================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary: #d97706;
  --primary-dark: #b45309;
  --secondary: #dc2626;
  --text-dark: #1f2937;
  --text-light: #6b7280;
  --bg-light: #fff7ed;
  --bg-white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  font-size: 16px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========================================
   HERO SECTION - First 2 seconds impact
   ======================================== */
.hero {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.95) 0%, rgba(220, 38, 38, 0.95) 100%);
  color: white;
  padding: 120px 20px 80px;
  text-align: center;
  min-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-subtitle {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fef3c7;
}

.hero-description {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 12px;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: white;
  color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: 2px solid white;
}

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

.btn.large {
  padding: 18px 36px;
  font-size: 1.1rem;
}

.btn-icon {
  font-size: 1.2rem;
}

.hero-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 1rem;
  margin-top: 1rem;
}

.status-dot {
  width: 10px;
  height: 10px;
  background: #10b981;
  border-radius: 50%;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* ========================================
   RESERVATION BAR - Always visible CTA
   ======================================== */
.reservation-bar {
  background: var(--primary);
  color: white;
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow);
}

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

.reservation-text h2 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.reservation-text p {
  font-size: 0.9rem;
  opacity: 0.9;
}

.reservation-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-phone,
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: white;
  color: var(--primary);
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  transition: transform 0.2s;
}

.btn-phone:hover,
.btn-whatsapp:hover {
  transform: scale(1.05);
}

.btn-whatsapp {
  background: #25d366;
  color: white;
}

/* ========================================
   MENU PREVIEW - Top 6 dishes
   ======================================== */
.menu-preview {
  padding: 60px 0;
  background: var(--bg-white);
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(2rem, 5vw, 2.5rem);
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.section-header p {
  color: var(--text-light);
  font-size: 1rem;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.menu-item {
  background: var(--bg-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  border: 2px solid transparent;
}

.menu-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary);
}

.menu-image {
  height: 200px;
  overflow: hidden;
  background: var(--bg-light);
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  background: linear-gradient(135deg, #fef3c7 0%, #fbbf24 100%);
}

.image-placeholder.biryani {
  background: linear-gradient(135deg, #fee2e2 0%, #dc2626 100%);
}

.image-placeholder.thali {
  background: linear-gradient(135deg, #d1fae5 0%, #10b981 100%);
}

.image-placeholder.curry {
  background: linear-gradient(135deg, #fef3c7 0%, #f59e0b 100%);
}

.image-placeholder.dal {
  background: linear-gradient(135deg, #fde68a 0%, #f59e0b 100%);
}

.image-placeholder.paneer {
  background: linear-gradient(135deg, #fce7f3 0%, #ec4899 100%);
}

.image-placeholder.mutton {
  background: linear-gradient(135deg, #d1d5db 0%, #6b7280 100%);
}

.menu-info {
  padding: 1.5rem;
}

.menu-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

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

.menu-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.menu-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.menu-badge {
  padding: 4px 12px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.menu-badge.popular {
  background: #fef3c7;
  color: #92400e;
}

.menu-badge.bestseller {
  background: #fee2e2;
  color: #991b1b;
}

.menu-badge.premium {
  background: #fce7f3;
  color: #9f1239;
}

.menu-cta {
  text-align: center;
}

/* ========================================
   SOCIAL PROOF - 3 Reviews
   ======================================== */
.social-proof {
  padding: 60px 0;
  background: var(--bg-light);
}

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

.review-card {
  background: var(--bg-white);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: var(--shadow);
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.review-rating {
  color: #fbbf24;
  font-size: 1.2rem;
  letter-spacing: 2px;
}

.review-source {
  font-size: 0.85rem;
  color: var(--text-light);
}

.review-text {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text-dark);
  margin-bottom: 1.5rem;
  font-style: italic;
}

.review-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.review-author strong {
  color: var(--text-dark);
  font-size: 1rem;
}

.review-author span {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ========================================
   LOCATION & HOURS
   ======================================== */
.location-hours {
  padding: 60px 0;
  background: var(--bg-white);
}

.location-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.location-info h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
}

.info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.info-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.info-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.info-content p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.map-link,
.phone-link,
.whatsapp-link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s;
}

.map-link:hover,
.phone-link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.whatsapp-link {
  color: #25d366;
  display: inline-block;
  margin-top: 0.5rem;
}

.hours-status {
  color: #10b981;
  font-weight: 600;
  margin-top: 0.5rem;
}

.map-placeholder {
  background: var(--bg-light);
  border-radius: 16px;
  padding: 4rem 2rem;
  text-align: center;
  height: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.map-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.map-icon {
  font-size: 4rem;
}

.map-content p {
  font-size: 1.1rem;
  color: var(--text-dark);
  font-weight: 600;
}

/* ========================================
   FINAL CTA
   ======================================== */
.final-cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: white;
  text-align: center;
}

.final-cta h2 {
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 1rem;
}

.final-cta p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.95;
}

.cta-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 3rem 0 1.5rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.footer-brand h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  opacity: 0.8;
  margin-bottom: 0.25rem;
}

.footer-location {
  font-size: 0.9rem;
  opacity: 0.7;
}

.footer-links a {
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}

.footer-links a:hover {
  opacity: 0.8;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.7;
  font-size: 0.9rem;
}

/* ========================================
   RESPONSIVE DESIGN
   ======================================== */
@media (max-width: 768px) {
  .hero {
    padding: 100px 20px 60px;
    min-height: 80vh;
  }

  .hero-cta {
    flex-direction: column;
  }

  .btn {
    width: 100%;
    justify-content: center;
  }

  .reservation-content {
    flex-direction: column;
    text-align: center;
  }

  .reservation-actions {
    justify-content: center;
    width: 100%;
  }

  .btn-phone,
  .btn-whatsapp {
    flex: 1;
    justify-content: center;
  }

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

  .location-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .cta-buttons {
    flex-direction: column;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

/* ========================================
   PERFORMANCE OPTIMIZATIONS
   ======================================== */
/* Critical CSS - Above the fold only */
.hero,
.reservation-bar {
  will-change: transform;
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
}

