/* ===================================
   CSS Variables
   =================================== */
:root {
  /* Colors - Casual Restaurant Theme */
  --primary-color: #d32f2f;
  --primary-dark: #b71c1c;
  --primary-light: #ff5252;
  --secondary-color: #ffa726;
  --secondary-dark: #f57c00;
  --accent-color: #4caf50;

  /* Neutrals */
  --dark: #1a1a1a;
  --dark-gray: #2c2c2c;
  --medium-gray: #757575;
  --light-gray: #e0e0e0;
  --white: #ffffff;
  --off-white: #f5f5f5;

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  --gradient-dark: linear-gradient(135deg, var(--dark) 0%, var(--dark-gray) 100%);

  /* Typography */
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-heading: 'Georgia', serif;

  /* Spacing */
  --section-padding: 80px 0;
  --container-max-width: 1140px;

  /* Effects */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.2);
  --transition: all 0.3s ease;
  --border-radius: 12px;
}

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

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

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

ul {
  list-style: none;
}

/* ===================================
   Layout Components
   =================================== */
.container {
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: var(--section-padding);
}

.section-alt {
  background-color: var(--off-white);
}

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

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--dark);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--medium-gray);
  margin-top: 20px;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-md);
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  padding: 10px 0;
}

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

.nav-brand h1 {
  font-family: var(--font-heading);
  color: var(--primary-color);
  font-size: 1.8rem;
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-link {
  color: var(--dark);
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--dark);
  transition: var(--transition);
}

/* ===================================
   Hero Section
   =================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
              url('https://lh3.googleusercontent.com/gps-cs-s/AC9h4no8HaCNzrXBnFif2_6lRUVXRCf2CTyzjwyZ8nQKP8YA9OisrE3T-a2QliSA9Q2owR0MDeq0W3-h5Fq7rjGTDTgsVCKALiWSDQF6Fi0yE2xbH0K0x_9Gq4QrhV_BitijSEjpxDoE=w1920-h1080-k-no') center/cover no-repeat;
  background-attachment: fixed;
  color: var(--white);
  text-align: center;
  margin-top: 70px;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3), rgba(0,0,0,0.6));
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 20px;
  animation: fadeInUp 1s ease;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  backdrop-filter: blur(10px);
  padding: 10px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.rating-stars {
  color: var(--secondary-color);
  margin-right: 10px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 4rem;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin: 30px 0;
  flex-wrap: wrap;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  padding: 15px 25px;
  border-radius: 50px;
}

.feature-icon {
  font-size: 1.5rem;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.btn {
  padding: 15px 35px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  display: inline-block;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

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

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  z-index: 2;
  color: var(--white);
  animation: bounce 2s infinite;
}

.scroll-arrow {
  font-size: 2rem;
  margin-top: 10px;
}

/* ===================================
   About Section
   =================================== */
.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-text {
  text-align: center;
}

.about-text p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--dark);
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.highlight-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.highlight-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.highlight-card h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-size: 1.3rem;
}

.highlight-card ul li {
  padding: 8px 0;
  color: var(--dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

/* ===================================
   Popular Times Section
   =================================== */
.live-status {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  font-size: 1.1rem;
  color: var(--accent-color);
}

.status-dot {
  width: 12px;
  height: 12px;
  background: var(--accent-color);
  border-radius: 50%;
  animation: pulse 2s infinite;
}

.times-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 900px;
  margin: 0 auto;
}

.day-times {
  background: var(--white);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.day-times h4 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.peak-hours {
  color: var(--primary-color);
  font-weight: 600;
  margin: 10px 0;
}

.quiet-hours {
  color: var(--accent-color);
  font-weight: 600;
}

/* ===================================
   Gallery Section
   =================================== */
.gallery-filter {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 10px 25px;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color);
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color);
  color: var(--white);
}

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

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
  aspect-ratio: 4/3;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.gallery-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.3));
  opacity: 0;
  transition: var(--transition);
}

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

/* ===================================
   Reviews Section
   =================================== */
.rating-summary {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.rating-number {
  text-align: center;
}

.big-rating {
  font-size: 4rem;
  font-weight: bold;
  color: var(--primary-color);
  display: block;
}

.rating-number .rating-stars {
  color: var(--secondary-color);
  font-size: 1.5rem;
  margin: 10px 0;
}

.rating-distribution {
  flex: 1;
  max-width: 400px;
}

.rating-bar {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 10px 0;
}

.rating-bar span:first-child {
  min-width: 30px;
  font-weight: 600;
}

.rating-bar span:last-child {
  min-width: 30px;
  text-align: right;
  font-size: 0.9rem;
  color: var(--medium-gray);
}

.bar {
  flex: 1;
  height: 8px;
  background: var(--light-gray);
  border-radius: 4px;
  overflow: hidden;
}

.fill {
  height: 100%;
  background: var(--secondary-color);
  transition: width 1s ease;
}

.review-tags {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.tag {
  padding: 8px 16px;
  background: var(--light-gray);
  border-radius: 20px;
  font-size: 0.9rem;
  color: var(--dark);
}

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

.review-card {
  background: var(--white);
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.review-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

.review-stars {
  color: var(--secondary-color);
  font-size: 1.1rem;
}

.review-date {
  color: var(--medium-gray);
  font-size: 0.9rem;
}

.review-text {
  color: var(--dark);
  line-height: 1.6;
  margin-bottom: 15px;
}

.review-details {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 15px;
}

.detail-badge {
  padding: 5px 12px;
  background: var(--off-white);
  border-radius: 15px;
  font-size: 0.85rem;
  color: var(--dark);
}

.reviewer-badge {
  display: inline-block;
  padding: 5px 12px;
  background: var(--accent-color);
  color: var(--white);
  border-radius: 15px;
  font-size: 0.85rem;
  margin-top: 10px;
}

/* ===================================
   Order Section
   =================================== */
.order-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 40px;
}

.order-card {
  background: var(--white);
  padding: 40px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.order-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.order-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.order-card h3 {
  color: var(--primary-color);
  margin-bottom: 10px;
  font-size: 1.5rem;
}

.order-card p {
  color: var(--medium-gray);
  margin-bottom: 20px;
}

.order-btn {
  display: inline-block;
  padding: 12px 30px;
  background: var(--gradient-primary);
  color: var(--white);
  border-radius: 50px;
  font-weight: 600;
  transition: var(--transition);
}

.order-card:hover .order-btn {
  transform: scale(1.05);
}

.payment-info {
  text-align: center;
  padding: 30px;
  background: var(--light-gray);
  border-radius: var(--border-radius);
}

.payment-info p {
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--dark);
}

.payment-methods {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.payment-methods span {
  padding: 8px 16px;
  background: var(--white);
  border-radius: 20px;
  font-size: 0.9rem;
}

/* ===================================
   Contact Section
   =================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.info-card {
  background: var(--white);
  padding: 25px;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-sm);
}

.info-card h3 {
  color: var(--primary-color);
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.info-card p {
  color: var(--dark);
  margin-bottom: 10px;
}

.info-card a {
  color: var(--primary-color);
  font-weight: 600;
}

.info-card a:hover {
  text-decoration: underline;
}

.link-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 20px;
  background: var(--primary-color);
  color: var(--white);
  border-radius: 50px;
  transition: var(--transition);
}

.link-btn:hover {
  background: var(--primary-dark);
  transform: translateX(5px);
}

.hours-list {
  margin: 15px 0;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--light-gray);
}

.hours-note {
  margin-top: 15px;
  color: var(--accent-color);
  font-weight: 600;
}

.map-container {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 450px;
}

/* ===================================
   Footer
   =================================== */
.footer {
  background: var(--gradient-dark);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.footer-col p {
  margin-bottom: 15px;
  opacity: 0.9;
}

.footer-rating {
  margin-top: 10px;
}

.footer-rating .rating-stars {
  color: var(--secondary-color);
  margin-right: 10px;
}

.footer-col ul li {
  padding: 8px 0;
}

.footer-col ul li a:hover {
  color: var(--secondary-color);
}

.footer-delivery {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-delivery a {
  padding: 10px 15px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  transition: var(--transition);
}

.footer-delivery a:hover {
  background: var(--primary-color);
}

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

/* ===================================
   Back to Top Button
   =================================== */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  opacity: 0;
  visibility: hidden;
  z-index: 999;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  transform: translateY(-5px);
}

/* ===================================
   Animations
   =================================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

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

.fade-in {
  animation: fadeInUp 0.6s ease;
}

/* ===================================
   Responsive Media Queries
   =================================== */

/* Tablet */
@media (max-width: 1023px) {
  .section-title {
    font-size: 2rem;
  }

  .hero-title {
    font-size: 3rem;
  }

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

  .rating-summary {
    flex-direction: column;
    gap: 30px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--white);
    flex-direction: column;
    padding: 30px;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-toggle {
    display: flex;
  }

  .hero {
    background-attachment: scroll;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .hero-features {
    flex-direction: column;
    gap: 15px;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .section-subtitle {
    font-size: 1rem;
  }

  .about-highlights {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .footer-content {
    grid-template-columns: 1fr;
  }

  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 45px;
    height: 45px;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section {
    padding: 50px 0;
  }

  .container {
    padding: 0 15px;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .hero-buttons,
  .back-to-top,
  .gallery-filter,
  .order-section,
  .scroll-indicator {
    display: none;
  }

  body {
    font-size: 12pt;
  }

  .section {
    page-break-inside: avoid;
  }
}
