:root {
  --primary: #ff6b35;
  --secondary: #1a1a2e;
  --accent: #00b894;
  --light: #f8f9fa;
  --dark: #121212;
  --gray: #6c757d;
  --success: #00b894;
  --warning: #fdcb6e;
  --danger: #e17055;
  --shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --border-radius: 15px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Segoe UI", system-ui, sans-serif;
}

body {
  background-color: var(--light);
  color: var(--dark);
  transition: var(--transition);
  line-height: 1.6;
}

body.dark-mode {
  background-color: var(--dark);
  color: var(--light);
}

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

/* Header & Navigation */
header {
  background: linear-gradient(135deg, var(--secondary) 0%, #16213e 100%);
  color: white;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  text-decoration: none;
}

.logo i {
  color: var(--accent);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 15px;
}

.theme-toggle {
  background: transparent;
  border: none;
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  transition: var(--transition);
  padding: 8px;
}

.theme-toggle:hover {
  transform: rotate(30deg);
  color: var(--accent);
}

.cart-btn {
  position: relative;
  background: var(--primary);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  transition: var(--transition);
}

.cart-btn:hover {
  background: var(--accent);
  transform: scale(1.05);
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/* Hero Carousel */
.hero-carousel {
  height: 65vh;
  max-height: 500px;
  position: relative;
  overflow: hidden;
  margin-bottom: 2rem;
}

.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  animation: zoomEffect 20s linear infinite;
}

@keyframes zoomEffect {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.slide-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(26, 26, 46, 0.85) 0%,
    rgba(26, 26, 46, 0.7) 100%
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  padding: 20px;
  z-index: 2;
}

.slide-overlay h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  background: linear-gradient(to right, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: fadeInUp 1s ease;
}

.slide-overlay p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto 1.5rem;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.2s both;
}

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

.time-display {
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: fadeInUp 1s ease 0.4s both;
}

/* Search & Filter */
.search-container {
  padding: 0 20px 2rem;
}

.search-box {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 1.5rem;
}

.search-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: 2px solid #ddd;
  border-radius: 50px;
  font-size: 1rem;
  transition: var(--transition);
  width: 100%;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.filter-container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 0.6rem 1.2rem;
  background: white;
  border: 2px solid #eee;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  font-size: 0.9rem;
}

.dark-mode .filter-btn {
  background: #2d2d2d;
  border-color: #444;
  color: var(--light);
}

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

/* About Us Section */
.about-section {
  padding: 4rem 20px;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.dark-mode .about-section {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--secondary);
}

.dark-mode .about-text h2 {
  color: var(--light);
}

.about-text h2 span {
  color: var(--primary);
}

.about-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.stat-label {
  color: var(--gray);
  font-size: 0.9rem;
}

.about-image img {
  width: 100%;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
}

/* Featured Highlights Section */
.highlights-section {
  padding: 4rem 20px;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 3rem;
  color: var(--secondary);
}

.dark-mode .section-title {
  color: var(--light);
}

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

.highlights-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 4rem;
}

/* Restaurant of the Week Card */
.week-card {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: var(--border-radius);
  overflow: hidden;
  padding: 2rem;
  color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.week-badge {
  display: inline-block;
  background: var(--accent);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 1.5rem;
  align-self: flex-start;
}

.week-card h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.week-stats {
  display: flex;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.week-stat {
  text-align: center;
}

.week-stat-value {
  font-size: 1.8rem;
  font-weight: 800;
}

/* Most Popular Dish Card */
.popular-card {
  background: linear-gradient(135deg, var(--primary), #ff8e53);
  border-radius: var(--border-radius);
  padding: 2rem;
  color: white;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.popular-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 1rem;
}

.popular-stats {
  display: flex;
  gap: 1.5rem;
  margin: 1.5rem 0;
}

.popular-stat {
  text-align: center;
}

.popular-stat-value {
  font-size: 1.8rem;
  font-weight: 800;
}

/* Featured Items Section */
.featured-section {
  padding: 4rem 20px;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Restaurant Grid */
.restaurant-section {
  padding: 4rem 20px;
}

.restaurant-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

/* Ads Section */
.ads-section {
  padding: 4rem 20px;
  position: relative;
  overflow: hidden;
}

.ads-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.03) 0%,
    rgba(0, 184, 148, 0.03) 100%
  );
  z-index: -1;
}

.dark-mode .ads-section::before {
  background: linear-gradient(
    135deg,
    rgba(255, 107, 53, 0.05) 0%,
    rgba(0, 184, 148, 0.05) 100%
  );
}

.ads-section .container {
  position: relative;
  z-index: 1;
}

.ads-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.ad-card {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  height: 280px;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.dark-mode .ad-card {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.ad-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.dark-mode .ad-card:hover {
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4);
}

.ad-card.ad-1 {
  background: linear-gradient(
    135deg,
    #ff6b35 0%,
    #ff8e53 25%,
    #ff6b35 50%,
    #e8502e 75%,
    #ff6b35 100%
  );
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite;
}

.ad-card.ad-2 {
  background: linear-gradient(
    135deg,
    #00b894 0%,
    #00d4a9 25%,
    #00b894 50%,
    #009c7d 75%,
    #00b894 100%
  );
  background-size: 400% 400%;
  animation: gradientShift 8s ease infinite 1s;
}

@keyframes gradientShift {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.ad-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 2.5rem;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  background: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.ad-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.05) 50%,
    rgba(0, 0, 0, 0.1) 100%
  );
  z-index: -1;
}

.ad-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  padding: 0.5rem 1.2rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  letter-spacing: 0.5px;
}

.ad-content h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1.2;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.ad-content p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  opacity: 0.95;
  max-width: 90%;
  line-height: 1.5;
}

.ad-content .ad-small {
  font-size: 0.9rem;
  opacity: 0.85;
  margin-top: 0.5rem;
}

.ad-icon {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-size: 3rem;
  opacity: 0.2;
  transition: all 0.3s ease;
}

.ad-card:hover .ad-icon {
  opacity: 0.3;
  transform: scale(1.1);
}

.ad-1 .ad-icon {
  color: rgba(255, 255, 255, 0.3);
}

.ad-2 .ad-icon {
  color: rgba(255, 255, 255, 0.3);
}

.ad-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50px;
  color: white;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.ad-cta:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateX(5px);
  gap: 0.8rem;
}

.ad-cta i {
  transition: transform 0.3s ease;
}

.ad-cta:hover i {
  transform: translateX(3px);
}

/* Ads Section Responsive Design */
@media (max-width: 992px) {
  .ads-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .ad-card {
    height: 250px;
  }

  .ad-content {
    padding: 2rem;
  }

  .ad-content h3 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .ads-section {
    padding: 3rem 15px;
  }

  .ad-card {
    height: 220px;
  }

  .ad-content {
    padding: 1.5rem;
  }

  .ad-content h3 {
    font-size: 1.6rem;
  }

  .ad-content p {
    font-size: 1rem;
  }

  .ad-icon {
    font-size: 2.5rem;
  }
}

@media (max-width: 576px) {
  .ads-section {
    padding: 2.5rem 10px;
  }

  .ad-card {
    height: 200px;
  }

  .ad-content {
    padding: 1.5rem;
    text-align: center;
    align-items: center;
  }

  .ad-content h3 {
    font-size: 1.5rem;
    text-align: center;
  }

  .ad-content p {
    text-align: center;
    max-width: 100%;
  }

  .ad-badge {
    align-self: center;
  }

  .ad-cta {
    align-self: center;
  }

  .ad-icon {
    display: none; /* Hide on very small screens */
  }
}

/* Animation for when ads come into view */
@keyframes adReveal {
  from {
    opacity: 0;
    transform: translateY(30px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.ad-card {
  animation: adReveal 0.6s ease-out;
}

.ad-card:nth-child(1) {
  animation-delay: 0.1s;
}

.ad-card:nth-child(2) {
  animation-delay: 0.2s;
}

/* Pulse animation for special offer badge */
@keyframes pulseGlow {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
  }
}

.ad-badge {
  animation: pulseGlow 2s infinite;
}

/* Optional: Add subtle floating animation */
@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.ad-card:hover {
  animation: float 3s ease-in-out infinite;
}

/* Add shimmer effect on hover */
.ad-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.1),
    transparent
  );
  transition: left 0.7s;
}

.ad-card:hover::after {
  left: 100%;
}

/* Counter animation for limited time offers */
.offer-timer {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  margin-top: 1rem;
  font-family: "Courier New", monospace;
  font-weight: 600;
  letter-spacing: 1px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.timer-digit {
  animation: blink 1s infinite;
}

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}

/* App Banner */
.app-banner {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  padding: 3rem 20px;
  text-align: center;
  margin: 4rem 0;
  border-radius: var(--border-radius);
}

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

.app-banner h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.app-banner p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

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

.store-btn {
  background: white;
  color: var(--primary);
  border: none;
  padding: 1rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 180px;
}

.store-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Cards Common Styles */
.restaurant-card,
.featured-card,
.ad-card {
  background: white;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.dark-mode .restaurant-card,
.dark-mode .featured-card {
  background: #1e1e1e;
}

.restaurant-card:hover,
.featured-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.restaurant-img,
.featured-img {
  height: 180px;
  width: 100%;
  object-fit: cover;
}

.restaurant-info,
.featured-info {
  padding: 1.2rem;
}

.restaurant-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.8rem;
}

.restaurant-name {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.3;
}

.restaurant-status {
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.status-open {
  background: rgba(0, 184, 148, 0.2);
  color: var(--success);
}

.status-closed {
  background: rgba(225, 112, 85, 0.2);
  color: var(--danger);
}

.restaurant-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 0.8rem;
  color: var(--gray);
  font-size: 0.85rem;
  flex-wrap: wrap;
}

.menu-btn,
.add-to-cart-btn {
  width: 100%;
  padding: 0.8rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 0.5rem;
}

.menu-btn:hover:not(:disabled),
.add-to-cart-btn:hover {
  background: var(--accent);
  transform: scale(1.02);
}

.menu-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: white;
  border-radius: var(--border-radius);
  width: 100%;
  max-width: 800px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlide 0.3s ease;
}

.dark-mode .modal-content {
  background: #1e1e1e;
}

@keyframes modalSlide {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-header {
  padding: 1.2rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  background: inherit;
  z-index: 1;
}

.dark-mode .modal-header {
  border-color: #333;
}

.modal-body {
  padding: 1.2rem;
}

.close-modal {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray);
  padding: 0.5rem;
}

/* Menu Items */
.menu-grid {
  display: grid;
  gap: 1rem;
}

.menu-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem;
  border: 1px solid #eee;
  border-radius: 10px;
  transition: var(--transition);
}

.dark-mode .menu-item {
  border-color: #333;
}

.menu-item:hover {
  border-color: var(--primary);
  background: rgba(255, 107, 53, 0.05);
}

.menu-item-info h4 {
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.menu-item-price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.2rem;
  margin-top: 0.5rem;
}

/* Cart */
.cart-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.dark-mode .cart-item {
  border-color: #333;
}

.cart-item-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.quantity-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dark-mode .quantity-btn {
  background: #333;
  border-color: #444;
  color: white;
}

.price-input {
  width: 100%;
  max-width: 100px;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0.9rem;
}

/* Checkout Form */
.checkout-form {
  display: grid;
  gap: 1.2rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-weight: 600;
  color: var(--secondary);
  font-size: 0.9rem;
}

.dark-mode .form-group label {
  color: var(--light);
}

.form-input {
  padding: 0.9rem;
  border: 2px solid #ddd;
  border-radius: 10px;
  font-size: 0.95rem;
  transition: var(--transition);
  width: 100%;
}

.form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

textarea.form-input {
  min-height: 80px;
  resize: vertical;
}

.location-options {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

.location-option {
  padding: 1rem;
  border: 2px solid #eee;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.location-option:hover,
.location-option.selected {
  border-color: var(--primary);
  background: rgba(255, 107, 53, 0.05);
}

.payment-info {
  background: rgba(0, 184, 148, 0.1);
  padding: 1.2rem;
  border-radius: 10px;
  margin: 1.2rem 0;
  text-align: center;
}

.copy-btn {
  background: var(--secondary);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  cursor: pointer;
  margin-left: 10px;
  transition: var(--transition);
  font-size: 0.9rem;
}

.copy-btn:hover {
  background: var(--primary);
}

/* Success Modal */
.success-modal .modal-content {
  max-width: 500px;
  text-align: center;
  padding: 2rem;
}

.success-icon {
  font-size: 3rem;
  color: var(--success);
  margin-bottom: 1.5rem;
  animation: bounce 1s infinite alternate;
}

@keyframes bounce {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-15px);
  }
}

/* Footer */
footer {
  background: var(--secondary);
  color: white;
  padding: 3rem 20px;
  text-align: center;
}

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

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin: 1.5rem 0;
}

.footer-links a {
  color: white;
  text-decoration: none;
  opacity: 0.8;
  transition: var(--transition);
}

.footer-links a:hover {
  opacity: 1;
  color: var(--accent);
}

/* Floating Action Button */
.fab {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary);
  color: white;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(255, 107, 53, 0.3);
  z-index: 100;
  transition: var(--transition);
}

.fab:hover {
  background: var(--accent);
  transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 1200px) {
  .restaurant-grid,
  .featured-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (max-width: 992px) {
  .about-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .about-stats {
    justify-content: center;
  }

  .restaurant-grid,
  .featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .slide-overlay h1 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 15px;
    padding: 1rem 0;
  }

  .hero-carousel {
    height: 50vh;
  }

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

  .about-text h2 {
    font-size: 2rem;
  }

  .week-card h3,
  .popular-card h3 {
    font-size: 1.5rem;
  }

  .week-stats,
  .popular-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .store-buttons {
    flex-direction: column;
    align-items: center;
  }

  .store-btn {
    width: 100%;
    max-width: 250px;
  }
}

@media (max-width: 576px) {
  .restaurant-grid,
  .featured-grid {
    grid-template-columns: 1fr;
  }

  .search-box {
    flex-direction: column;
  }

  .filter-container {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
  }

  .filter-btn {
    flex-shrink: 0;
  }

  .modal-content {
    margin: 10px;
    padding: 0;
  }

  .modal-body {
    padding: 1rem;
  }

  .cart-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .cart-item-controls {
    width: 100%;
    justify-content: space-between;
  }

  .app-banner h2 {
    font-size: 1.8rem;
  }

  .app-banner p {
    font-size: 1rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Loading State */
.loading {
  text-align: center;
  padding: 3rem;
  color: var(--gray);
}

.loading i {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
  animation: spin 1s linear infinite;
}

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

/* Notifications */
.notification {
  position: fixed;
  top: 80px;
  right: 20px;
  background: var(--success);
  color: white;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  z-index: 3000;
  animation: slideIn 0.3s ease;
  max-width: 300px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.notification.error {
  background: var(--danger);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Delivery Areas Pop-up Modal Styles */
.calabarnightbites-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(5, 10, 20, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  opacity: 0;
  animation: calabarnightbites-fadeIn 0.4s ease-out forwards;
  backdrop-filter: blur(5px);
}

@keyframes calabarnightbites-fadeIn {
  to {
    opacity: 1;
  }
}

.calabarnightbites-modal-content {
  background: linear-gradient(
    145deg,
    rgba(30, 41, 59, 0.95),
    rgba(15, 23, 42, 0.95)
  );
  width: 90%;
  max-width: 600px;
  height: 100%;
  max-height: 90vh;
  border-radius: 20px;
  overflow: scroll;
  box-shadow: 0 25px 60px rgba(255, 107, 53, 0.25);
  border: 1px solid rgba(255, 107, 53, 0.3);
  transform: translateY(-40px) scale(0.95);
  animation: calabarnightbites-modalSlideUp 0.5s ease-out 0.3s forwards;
}

@keyframes calabarnightbites-modalSlideUp {
  to {
    transform: translateY(0) scale(1);
  }
}

.calabarnightbites-modal-header {
  background: linear-gradient(90deg, #ff6b35, #ff8e53);
  color: #0a0f1e;
  padding: 30px 35px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 3px solid rgba(255, 255, 255, 0.2);
}

.calabarnightbites-modal-title {
  font-size: 2.2rem;
  font-weight: 800;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.calabarnightbites-modal-title i {
  font-size: 2rem;
}

.calabarnightbites-close-button {
  background: rgba(10, 15, 30, 0.3);
  border: none;
  color: #0a0f1e;
  font-size: 2.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calabarnightbites-close-button:hover {
  background: rgba(10, 15, 30, 0.5);
  transform: rotate(90deg) scale(1.1);
}

.calabarnightbites-modal-body {
  padding: 40px;
}

.calabarnightbites-modal-message {
  font-size: 1.3rem;
  line-height: 1.7;
  margin-bottom: 35px;
  color: #d1dae9;
  text-align: center;
  padding: 0 10px;
}

.calabarnightbites-delivery-areas {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 15px;
  margin-bottom: 40px;
}

.calabarnightbites-area-item {
  background: rgba(255, 107, 53, 0.1);
  padding: 18px 15px;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(255, 107, 53, 0.2);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.calabarnightbites-area-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 107, 53, 0.2),
    transparent
  );
  transition: left 0.6s ease;
}

.calabarnightbites-area-item:hover::before {
  left: 100%;
}

.calabarnightbites-area-item:hover {
  background: rgba(255, 107, 53, 0.2);
  border-color: rgba(255, 107, 53, 0.4);
  transform: translateY(-5px);
}

.calabarnightbites-area-name {
  font-weight: 600;
  color: #ff8e53;
  font-size: 1.1rem;
  position: relative;
  z-index: 1;
}

.calabarnightbites-modal-note {
  background: rgba(30, 41, 59, 0.8);
  padding: 25px;
  border-radius: 15px;
  border-left: 5px solid #ff6b35;
  color: #a5b4cb;
  font-size: 1.1rem;
  line-height: 1.6;
  text-align: center;
}

.calabarnightbites-modal-note strong {
  color: #ff8e53;
}

.calabarnightbites-delivery-icon {
  display: inline-block;
  margin-right: 10px;
  color: #ff6b35;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .calabarnightbites-modal-title {
    font-size: 1.8rem;
  }

  .calabarnightbites-delivery-areas {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .calabarnightbites-modal-body {
    padding: 25px;
  }
}

@media (max-width: 480px) {
  .calabarnightbites-delivery-areas {
    grid-template-columns: 1fr;
  }

  .calabarnightbites-modal-header {
    padding: 20px;
  }
}
