/* ===============================================
   CSS VARIABLES
   =============================================== */
:root {
  /* Colors - Casual Restaurant Theme */
  --primary-color: #e74c3c;
  --primary-dark: #c0392b;
  --primary-light: #ec7063;
  --secondary-color: #f39c12;
  --secondary-dark: #d68910;

  --accent-color: #16a085;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --text-white: #ffffff;

  --bg-white: #ffffff;
  --bg-light: #f8f9fa;
  --bg-dark: #1a1a1a;
  --bg-overlay: rgba(0, 0, 0, 0.6);

  --border-light: #ecf0f1;
  --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);

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

  /* Spacing */
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;
}

/* ===============================================
   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(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

/* ===============================================
   UTILITY CLASSES
   =============================================== */
.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
}

.section-divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
  margin: 0 auto;
  border-radius: 2px;
}

/* ===============================================
   NAVIGATION
   =============================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
  transition: var(--transition-normal);
}

.nav.scrolled {
  box-shadow: var(--shadow-md);
}

.nav__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm);
}

.nav__title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  color: var(--primary-color);
  font-weight: bold;
}

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.nav__toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: var(--transition-normal);
}

.nav__menu {
  display: flex;
  list-style: none;
  gap: var(--spacing-md);
}

.nav__link {
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: var(--transition-fast);
}

.nav__link:hover {
  color: var(--primary-color);
  background: var(--bg-light);
}

/* ===============================================
   HERO SECTION
   =============================================== */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  margin-top: 70px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  center/cover no-repeat;
  opacity: 0.2;
  z-index: 0;
}

.hero__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--bg-overlay);
  z-index: 1;
}

.hero__content {
  position: relative;
  z-index: 2;
  color: var(--text-white);
  padding: var(--spacing-md);
  max-width: 800px;
}

.hero__title {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 6vw, 4rem);
  margin-bottom: var(--spacing-sm);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease;
}

.hero__subtitle {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  margin-bottom: var(--spacing-md);
  opacity: 0.95;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero__buttons {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero__rating {
  position: absolute;
  bottom: var(--spacing-md);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  background: rgba(255, 255, 255, 0.95);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 50px;
  box-shadow: var(--shadow-lg);
}

/* ===============================================
   BUTTONS
   =============================================== */
.btn {
  display: inline-block;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: var(--transition-normal);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

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

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

/* ===============================================
   RATING COMPONENT
   =============================================== */
.rating {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.rating__stars {
  display: flex;
  gap: 2px;
}

.star {
  font-size: 1.2rem;
  color: #ddd;
}

.star.filled {
  color: var(--secondary-color);
}

.star.half {
  background: linear-gradient(90deg, var(--secondary-color) 50%, #ddd 50%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.star.mini {
  font-size: 0.9rem;
}

.rating__value {
  font-size: 1.3rem;
  font-weight: bold;
  color: var(--text-dark);
}

.rating__count {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* ===============================================
   ABOUT SECTION
   =============================================== */
.about {
  padding: var(--spacing-xl) 0;
  background: var(--bg-white);
}

.about__description {
  font-size: 1.2rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: var(--spacing-lg);
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.about__features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.feature {
  text-align: center;
  padding: var(--spacing-md);
  border-radius: 12px;
  background: var(--bg-light);
  transition: var(--transition-normal);
}

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

.feature__icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

.feature__title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: var(--spacing-xs);
  color: var(--text-dark);
}

.feature__text {
  color: var(--text-light);
}

/* ===============================================
   SERVICES SECTION
   =============================================== */
.services {
  padding: var(--spacing-xl) 0;
  background: var(--bg-light);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-md);
}

.service-card {
  background: var(--bg-white);
  padding: var(--spacing-md);
  border-radius: 12px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

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

.service-card__icon {
  font-size: 3rem;
  margin-bottom: var(--spacing-sm);
}

.service-card__title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: var(--spacing-xs);
  color: var(--text-dark);
}

.service-card__text {
  color: var(--text-light);
}

/* ===============================================
   GALLERY SECTION
   =============================================== */
.gallery {
  padding: var(--spacing-xl) 0;
  background: var(--bg-white);
}

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-sm);
  padding: var(--spacing-sm);
}

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

.gallery__item:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
}

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

.gallery__item:hover img {
  transform: scale(1.1);
}

/* ===============================================
   REVIEWS SECTION
   =============================================== */
.reviews {
  padding: var(--spacing-xl) 0;
  background: var(--bg-light);
}

.reviews__summary {
  max-width: 600px;
  margin: 0 auto var(--spacing-lg);
  background: var(--bg-white);
  padding: var(--spacing-md);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

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

.rating-summary__score {
  font-size: 4rem;
  font-weight: bold;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

.rating-summary__stars {
  display: flex;
  justify-content: center;
  gap: 5px;
  margin-bottom: var(--spacing-xs);
}

.rating-summary__stars .star {
  font-size: 1.5rem;
}

.rating-summary__count {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
  display: block;
}

.rating-summary__distribution {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  margin-top: var(--spacing-md);
}

.rating-bar {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.rating-bar__label {
  font-size: 0.9rem;
  color: var(--text-light);
  min-width: 30px;
}

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

.rating-bar__fill {
  height: 100%;
  background: var(--secondary-color);
  transition: width var(--transition-slow);
}

.rating-bar__count {
  font-size: 0.9rem;
  color: var(--text-light);
  min-width: 20px;
  text-align: right;
}

.reviews__list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: var(--spacing-md);
}

.review-card {
  background: var(--bg-white);
  padding: var(--spacing-md);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: var(--transition-normal);
}

.review-card:hover {
  box-shadow: var(--shadow-md);
}

.review-card__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--spacing-sm);
}

.review-card__stars {
  display: flex;
  gap: 2px;
}

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

.review-card__text {
  font-style: italic;
  color: var(--text-dark);
  margin-bottom: var(--spacing-sm);
  line-height: 1.6;
}

.review-card__details {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--border-light);
}

.review-detail {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.review-detail__label {
  font-size: 0.9rem;
  color: var(--text-light);
  min-width: 80px;
}

.review-detail__stars {
  display: flex;
  gap: 2px;
}

.review-card__badge {
  position: absolute;
  top: var(--spacing-sm);
  right: var(--spacing-sm);
  background: var(--accent-color);
  color: var(--text-white);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 12px;
  font-weight: 600;
}

/* ===============================================
   ORDER SECTION
   =============================================== */
.order {
  padding: var(--spacing-xl) 0;
  background: var(--bg-white);
}

.order__subtitle {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-top: var(--spacing-sm);
}

.order__platforms {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
}

.platform-card {
  background: var(--bg-light);
  padding: var(--spacing-md);
  border-radius: 12px;
  text-align: center;
  transition: var(--transition-normal);
  border: 3px solid transparent;
}

.platform-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.platform-card__icon {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-sm);
}

.platform-card__name {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: var(--spacing-xs);
}

.platform-card__text {
  color: var(--text-light);
  margin-bottom: var(--spacing-sm);
}

.platform-card__cta {
  display: inline-block;
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
  margin-top: var(--spacing-sm);
}

/* ===============================================
   HOURS SECTION
   =============================================== */
.hours {
  padding: var(--spacing-xl) 0;
  background: var(--bg-light);
}

.hours__schedule {
  max-width: 600px;
  margin: 0 auto;
  background: var(--bg-white);
  padding: var(--spacing-md);
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

.schedule-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--border-light);
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-item__day {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 1.1rem;
}

.schedule-item__time {
  color: var(--text-light);
  font-size: 1rem;
}

/* ===============================================
   CONTACT SECTION
   =============================================== */
.contact {
  padding: var(--spacing-xl) 0;
  background: var(--bg-white);
}

.contact__content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.info-item {
  display: flex;
  gap: var(--spacing-sm);
  padding: var(--spacing-md);
  background: var(--bg-light);
  border-radius: 12px;
  transition: var(--transition-normal);
}

.info-item:hover {
  box-shadow: var(--shadow-sm);
}

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

.info-item__title {
  font-size: 1.2rem;
  font-weight: bold;
  color: var(--text-dark);
  margin-bottom: var(--spacing-xs);
}

.info-item__text {
  color: var(--text-light);
  line-height: 1.6;
}

.info-item__link {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.1rem;
}

.info-item__link:hover {
  color: var(--primary-dark);
  text-decoration: underline;
}

.contact__map {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.map {
  width: 100%;
  height: 400px;
  background: var(--bg-light);
  position: relative;
}

.map::before {
  content: '📍';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 4rem;
}

.map-link {
  position: absolute;
  bottom: var(--spacing-md);
  left: 50%;
  transform: translateX(-50%);
}

/* ===============================================
   FOOTER
   =============================================== */
.footer {
  background: var(--bg-dark);
  color: var(--text-white);
  padding: var(--spacing-lg) 0 var(--spacing-md);
}

.footer__content {
  text-align: center;
}

.footer__title {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: var(--spacing-xs);
}

.footer__text {
  color: var(--text-light);
  margin-bottom: var(--spacing-md);
}

.footer__info p {
  color: var(--text-light);
  margin-bottom: var(--spacing-xs);
  font-size: 0.95rem;
}

/* ===============================================
   LIGHTBOX
   =============================================== */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.lightbox.active {
  display: flex;
}

.lightbox__image {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  animation: zoomIn 0.3s ease;
}

.lightbox__close,
.lightbox__prev,
.lightbox__next {
  position: absolute;
  color: var(--text-white);
  font-size: 2.5rem;
  background: rgba(255, 255, 255, 0.1);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: var(--transition-fast);
}

.lightbox__close:hover,
.lightbox__prev:hover,
.lightbox__next:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.lightbox__close {
  top: var(--spacing-md);
  right: var(--spacing-md);
}

.lightbox__prev {
  left: var(--spacing-md);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__next {
  right: var(--spacing-md);
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__counter {
  position: absolute;
  bottom: var(--spacing-md);
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-white);
  background: rgba(0, 0, 0, 0.5);
  padding: var(--spacing-xs) var(--spacing-sm);
  border-radius: 20px;
  font-size: 0.9rem;
}

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

@keyframes zoomIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===============================================
   MEDIA QUERIES
   =============================================== */

/* Tablet */
@media (max-width: 1023px) {
  .container {
    padding: 0 var(--spacing-md);
  }

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

  .hero__title {
    font-size: 3rem;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .nav__toggle {
    display: flex;
  }

  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: var(--bg-white);
    flex-direction: column;
    padding: var(--spacing-sm);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-normal);
  }

  .nav__menu.active {
    max-height: 400px;
  }

  .hero {
    margin-top: 60px;
  }

  .hero__buttons {
    flex-direction: column;
  }

  .hero__rating {
    position: relative;
    bottom: auto;
    left: auto;
    transform: none;
    margin-top: var(--spacing-md);
  }

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

  .about__features,
  .services__grid {
    grid-template-columns: 1fr;
  }

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

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

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

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

  .lightbox__prev,
  .lightbox__next {
    width: 40px;
    height: 40px;
    font-size: 1.8rem;
  }

  .lightbox__close {
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    width: 40px;
    height: 40px;
  }
}