/* Import Google Fonts */
/* @import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;500;600;700&display=swap"); */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Science+Gothic:wght@100..900&family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&display=swap');

/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Science+Gothic:wght@100..900&display=swap'); */
/* @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap'); */
/* CSS Variables for consistent theming */
:root {
  --primary-color: rgb(218, 55, 67);
  --primary-dark: rgb(218, 55, 67);
  --primary-light: #ff4757;
  --secondary-color: #00a651;
  --accent-color: #ffc107;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --text-muted: #95a5a6;
  --bg-light: #f8f9fa;
  --bg-white: #ffffff;
  --border-light: #e9ecef;
  --shadow-light: 0 2px 10px rgba(0, 0, 0, 0.1);
  --shadow-medium: 0 5px 25px rgba(0, 0, 0, 0.15);
  --shadow-heavy: 0 10px 40px rgba(0, 0, 0, 0.2);
  --gradient-primary: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color) 0%, #27ae60 100%);
  --gradient-gold: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
  --border-radius: 2px;
  --border-radius-lg: 5px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  letter-spacing: -0.3px;
}

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

body {
  /* font-family: "Poppins", sans-serif; */
  font-family: "Montserrat";
  line-height: 1.7;
  color: var(--text-dark);
  overflow-x: hidden;
  background: var(--bg-white);
}

/* Typography */
/* h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
} */

h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
}
h2 {
  font-size: clamp(2rem, 4vw, 3rem);
}
h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}
h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

/* Container */
.container {
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 2rem;
  border: none;
  border-radius: var(--border-radius);
  font-family: "Poppins", sans-serif;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  white-space: nowrap;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  /* background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent); */
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

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

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

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  /* border-left: 1px solid var(--primary-color); */
  /* border-top: 1px solid var(--primary-color); */
  /* border-right: 1px solid var(--primary-color); */
  /* border-bottom: 1px solid var(--primary-color); */
  /* border: 2px solid var(--primary-color); */
}

.btn-outline:hover {
  /* background: var(--primary-color); */
  /* color: white; */
  transform: translateY(-2px);
  /* box-shadow: var(--shadow-medium); */
}

.btn-large {
  padding: 1.25rem 2.5rem;
  font-size: 1.1rem;
}

.btn-full {
  width: 100%;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  transition: var(--transition);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}
.nav-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 2rem;
    /* max-width: 1200px; */
    margin: 0 auto;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color:rgb(66 66 66);
  text-decoration: none;
  padding-right: 10px;
  border-right:1px solid rgb(213 213 213);
  position: relative;
}

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

/* .logo::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
} */

.logo:hover::after {
  width: 100%;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

.nav-link {
  text-decoration: none;
  color: black;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition);
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: 0;
  left: 50%;
  background: var(--gradient-primary);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}


.nav-link.active {
  color: var(--primary-color);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.user-info {
  display: flex;
  align-items: center;
  /* gap: 1rem; */
flex-direction: column;
}

.user-name {
  font-weight: 500;
  color: var(--text-dark);
}

/* Loyalty Badge Styles */
.loyalty-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.loyalty-badge::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 1s;
}

.loyalty-badge:hover::before {
  left: 100%;
}

.loyalty-bronze {
  background: linear-gradient(135deg, #cd7f32, #b8860b);
  color: white;
  box-shadow: 0 4px 15px rgba(205, 127, 50, 0.3);
}

.loyalty-silver {
  background: linear-gradient(135deg, #c0c0c0, #a9a9a9);
  color: white;
  box-shadow: 0 4px 15px rgba(192, 192, 192, 0.3);
  max-width: fit-content;
}

.loyalty-gold {
  background: linear-gradient(135deg, #ffd700, #ffa500);
  color: white;
  box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  animation: goldGlow 2s ease-in-out infinite alternate;
  max-width: fit-content;
}

.loyalty-diamond {
  background: linear-gradient(135deg, #b9f2ff, #87ceeb);
  color: var(--text-dark);
  box-shadow: 0 4px 15px rgba(185, 242, 255, 0.4);
  animation: diamondSparkle 3s ease-in-out infinite;
  max-width: fit-content;
}

@keyframes goldGlow {
  0% {
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
  }
  100% {
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.6);
  }
}

@keyframes diamondSparkle {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(185, 242, 255, 0.4);
  }
  50% {
    box-shadow: 0 6px 25px rgba(185, 242, 255, 0.8);
  }
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
}

.bar {
  width: 25px;
  height: 3px;
  background: var(--text-dark);
  margin: 3px 0;
  transition: var(--transition);
  border-radius: 2px;
}

/* Hero Section */
.hero {
  height: 80vh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  z-index: -2;
  /* opacity: 0.85; */
}

.hero-background::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/hero3.jpg");
  background-size: cover;
  background-position: center;
  /* opacity: 0.2; */
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: rgba(218, 55, 67, 0.85); */
  z-index: -1;
}

.hero-content {
  z-index: 1;
  animation: fadeInUp 1s ease-out;
  max-width: 1000px;
  padding: 0 2rem;
}

.hero-title {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  /* text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); */
  background: linear-gradient(45deg, #ffffff, #f8f9fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 2.5vw, 1.5rem);
  /* margin-bottom: 3rem; */
  opacity: 0.95;
  font-weight: 400;
}

/* Search Form */
.search {
  /* background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%); */
  /* padding: 2rem 0; */
  position: relative;
  /* margin-top: -3rem; */
  z-index: 10;
}

.search-content {
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.search-wrapper {
  /* background: rgba(255, 255, 255, 0.95); */
  /* backdrop-filter: blur(20px); */
  padding: 2rem;
  /* border-radius: 20px; */
  /* box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1); */
  /* border: 1px solid rgba(255, 255, 255, 0.2); */
  /* margin-top: 2rem; */
}

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

/* Search Form */
.search-form {
  display: flex;
  gap: 5px;
}

.search-field {
  position: relative;
  display: flex;
  flex-direction: column;
}

.search-field i {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  color: var(--text-muted);
  z-index: 1;
  transition: var(--transition);
}

.search-input {
  width: 100%;
  padding: 0.875rem 2.5rem;
  border: 2px solid var(--border-light);
  border-radius: var(--border-radius);
  font-family: "Inter", sans-serif;
  transition: var(--transition);
  background: white;
  font-size: 0.95rem;
}

.search-input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(218, 55, 67, 0.1);
  transform: translateY(-2px);
}

.search-input:focus + i {
  color: var(--primary-color);
}

.searchButton {
  display: flex;
  align-items: end;
}

.btn-search {
  background: var(--gradient-primary);
  color: white;
  padding: 0.875rem 2rem;
  border-radius: var(--border-radius);
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  font-size: 0.95rem;
  min-height: 52px;
}

.btn-search:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

/* Stats Section */
.stats-section {
  background: var(--bg-light);
  padding: 5rem 0;
  position: relative;
}

.stats-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(218, 55, 67, 0.05) 0%, rgba(0, 166, 81, 0.05) 100%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item {
  background: white;
  padding: 3rem 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.stat-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
}

.stat-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
}

.stat-number {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
  font-family: "Playfair Display", serif;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Featured Cities */
.featured-cities {
  padding: 4rem 0;
  background: white;
  position: relative;
}

.section-title {
  font-size: clamp(1.5rem, 2vw, 2.5rem);
  font-weight: 500;
  text-align: center;
  margin-bottom: 2rem;
  color: var(--text-dark) #2c3e50;
  position: relative;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-primary);
  border-radius: 2px;
}

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

.city-card {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  /* group: hover; */
}

.city-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* background: var(--gradient-primary); */
  opacity: 0;
  transition: var(--transition);
  z-index: 1;
}

.city-card:hover::before {
  opacity: 0.1;
}

.city-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: var(--shadow-heavy);
}

.city-image {
  height: 200px;
  overflow: hidden;
  position: relative;
}

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

.city-card:hover .city-image img {
  transform: scale(1.15);
}

.city-info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  gap: 10px;
  padding: 1rem;
  position: relative;
  z-index: 2;
}

.city-info h3 {
  font-size: 1.3rem;
  font-weight: 600;
  /* margin-bottom: 0.5rem; */
  color: var(--text-dark);
}

.city-info p {
  color: var(--text-light);
  font-size: 1rem;
  margin: 0;
}

/* Restaurants Section */
.restaurants {
  padding: 2rem 0;
}

.basic {
  background: #ffffff;
}
.premium {
  background: #f3f0e8;
}
.restaurants-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 2rem;
}

.filter-tabs {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-tab {
  padding: 1rem 2rem;
  border: 2px solid var(--border-light);
  background: white;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  overflow: hidden;
}

.filter-tab::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  transition: left 0.3s ease;
  z-index: -1;
}

.filter-tab.active::before,
.filter-tab:hover::before {
  left: 0;
}

.filter-tab.active,
.filter-tab:hover {
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.restaurants-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
  gap: 2.5rem;
}

/* Professional restaurant slider styling like OpenTable */
.restaurant-slider-container {
  position: relative;
  margin-top: 1rem;
  overflow: hidden;
  padding: 0 60px; /* Space for navigation buttons */
}

.restaurant-slider {
  display: flex;
  gap: 20px;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.restaurant-card {
  background: white;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  flex: 0 0 280px;
  height: 380px;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

.restaurant-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Smaller, more compact restaurant cards */
/* .restaurant-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  flex: 0 0 280px;
  height: 380px;
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
} */

.restaurant-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

/* Smaller restaurant image */
.restaurant-image {
  height: 180px; /* Reduced from 300px */
  overflow: hidden;
  position: relative;
}

.restaurant-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.restaurant-card:hover .restaurant-image img {
  transform: scale(1.05); /* Subtle zoom effect */
}

.restaurant-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: linear-gradient(135deg, #da3743 0%, #c62d39 100%);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Compact restaurant info section */
.restaurant-info {
  padding: 12px;
  height: 202px; /* Fixed height */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.restaurant-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  /* margin-bottom: 8px; */
  /* gap: 8px; */
}

.restaurant-name {
  font-size: 1.1rem; /* Smaller font */
  font-weight: 600;
  color: #2d3748;
  margin-bottom: 4px;
  line-height: 1.3;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.restaurant-rating {
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}

.stars {
  color: #da3743;
  font-size: 0.9rem;
}

.rating-text {
  color: #718096;
  font-size: 0.8rem;
  font-weight: 500;
}

.restaurant-cuisine {
  color: #303030;
  margin-bottom: 0px;
  font-size: 0.85rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.restaurant-location {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #718096;
  margin-bottom: 8px;
  font-size: 0.8rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.restaurant-location i {
  color: #da3743;
  font-size: 0.75rem;
}

.restaurant-price {
  font-weight: 600;
  color: #da3743;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.restaurant-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.btn-book {
  flex: 1;
  background: linear-gradient(135deg, #da3743 0%, #c62d39 100%);
  color: white;
  padding: 8px 12px;
  border-radius: 6px;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s ease;
  border: none;
  cursor: pointer;
}

.btn-book:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(218, 55, 67, 0.3);
}

.btn-favorite {
  background: white;
  border: 1px solid #e2e8f0;
  color: #718096;
  padding: 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
}

.btn-favorite:hover {
  border-color: #da3743;
  color: #da3743;
  transform: scale(1.05);
}

/* Professional slider navigation buttons */
.slider-navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

.slider-btn {
  background: white;
  border: 1px solid #e2e8f0;
  color: #4a5568;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  pointer-events: all;
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
  font-size: 0.9rem;
}

.slider-btn:hover {
  background: #da3743;
  color: white;
  border-color: #da3743;
  transform: scale(1.05);
}

.slider-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.slider-btn:disabled:hover {
  background: white;
  color: #4a5568;
  border-color: #e2e8f0;
}

.prev-btn {
  left: -22px;
}

.next-btn {
  right: -22px;
}

/* Professional slider dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #cbd5e0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.dot.active {
  background: #da3743;
  transform: scale(1.2);
}

.dot:hover {
  background: #a0aec0;
}

/* Updated responsive breakpoints for optimal card display */
/* @media (max-width: 1400px) {
  .restaurant-card {
    flex: 0 0 260px; 
  }

  .restaurant-slider-container {
    padding: 0 50px;
  }
}

@media (max-width: 1024px) {
  .restaurant-card {
    flex: 0 0 280px; 
  }

  .restaurant-slider-container {
    padding: 0 50px;
  }
}

@media (max-width: 768px) {
  .restaurant-card {
    flex: 0 0 300px; 
    height: 360px;
  }

  .restaurant-slider-container {
    padding: 0 40px;
  }

  .restaurant-image {
    height: 160px;
  }

  .restaurant-info {
    padding: 14px;
    height: 200px;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
    font-size: 0.8rem;
  }
}

@media (max-width: 480px) {
  .restaurant-slider-container {
    padding: 0 20px;
  }

  .restaurant-card {
    flex: 0 0 280px;
  }

  .prev-btn {
    left: -10px;
  }

  .next-btn {
    right: -10px;
  }
}


@media (min-width: 1600px) {
  .restaurant-card {
    flex: 0 0 240px; 
  }

  .restaurant-slider-container {
    padding: 0 70px;
  }
} */

/* How It Works Section */
.how-it-works {
  padding: 6rem 0;
  background: white;
  position: relative;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
  margin-top: 4rem;
}

.step-item {
  text-align: center;
  padding: 2rem;
  position: relative;
}

.step-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 60px;
  background: var(--gradient-primary);
  opacity: 0.3;
}

.step-item:first-child::before {
  display: none;
}

.step-icon {
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: white;
  font-size: 2.5rem;
  box-shadow: var(--shadow-medium);
  position: relative;
  overflow: hidden;
}

.step-icon::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmer 2s infinite;
}

@keyframes shimmer {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.step-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.step-item p {
  color: var(--text-light);
  line-height: 1.6;
  font-size: 1.05rem;
}

/* Newsletter Section */
.newsletter {
  background: var(--gradient-primary);
  color: white;
  padding: 5rem 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("/placeholder.svg?height=400&width=1200") center / cover;
  opacity: 0.1;
}

.newsletter-content {
  position: relative;
  z-index: 1;
}

.newsletter-content h2 {
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  margin-bottom: 1rem;
  font-weight: 700;
}

.newsletter-content p {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  opacity: 0.9;
}

.newsletter-form {
  display: flex;
  max-width: 500px;
  margin: 0 auto;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem;
  border-radius: 50px;
  backdrop-filter: blur(10px);
}

.newsletter-form input {
  flex: 1;
  padding: 1rem 1.5rem;
  border: none;
  border-radius: 50px;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-dark);
}

.newsletter-form input::placeholder {
  color: var(--text-muted);
}

.newsletter-form button {
  padding: 1rem 2rem;
  background: white;
  color: var(--primary-color);
  border: none;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--bg-light);
  transform: scale(1.05);
}

/* Page Header */
.page-header {
  background: var(--gradient-primary);
  color: white;
  padding: 8rem 0 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("https://images.unsplash.com/photo-1414235077428-338989a2e8c0?ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8NHx8cmVzdGF1cmFudHxlbnwwfHwwfHx8MA%3D%3D&fm=jpg&q=60&w=3000")
    center / cover no-repeat;
  filter: blur(5.5px);
  transform: scale(1.1); /* prevent edge clipping after blur */
  z-index: 0;
}

/* ensure text stays above the blurred background */
.page-header * {
  position: relative;
  z-index: 1;
}

.page-header h1 {
  font-size: clamp(3rem, 5vw, 4rem);
  font-weight: 600;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.page-header p {
  font-size: 1.3rem;
  opacity: 0.9;
  position: relative;
  z-index: 1;
}

/* Search Filters */
.search-filters {
  background: white;
  padding: 3rem 0;
  border-bottom: 1px solid var(--border-light);
  /* margin-top: 70px; */
  box-shadow: var(--shadow-light);
}

.filters-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.7rem;
  align-items: end;
}

.filter-group {
  display: flex;
  flex-direction: column;
}

.filter-group label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.filter-group select {
  padding: 1rem;
  border: 2px solid var(--border-light);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  transition: var(--transition);
  background: white;
}

.filter-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(218, 55, 67, 0.1);
}

/* Restaurant Listing */
.restaurants-listing {
  padding: 2rem 0;
  background: var(--bg-light);
}

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

.results-info {
  font-size: 1.1rem;
  color: var(--text-light);
  font-weight: 500;
}

.sort-options {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.sort-options label {
  font-weight: 600;
  color: var(--text-dark);
}

.sort-options select {
  padding: 0.75rem 1rem;
  border: 2px solid var(--border-light);
  border-radius: var(--border-radius);
  font-family: "Poppins", sans-serif;
  background: white;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 4rem;
}

.pagination button {
  padding: 1rem 1.5rem;
  border: 2px solid var(--border-light);
  background: white;
  color: var(--text-dark);
  border-radius: var(--border-radius);
  cursor: pointer;
  transition: var(--transition);
  font-weight: 500;
}

.pagination button:hover,
.pagination button.active {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.pagination button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Restaurant Detail Page */
.restaurant-hero {
  position: relative;
  height: 500px;
  overflow: hidden;
  margin-top: 70px;
}

.restaurant-hero-image {
  position: relative;
  height: 100%;
}

.restaurant-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.restaurant-hero-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 3rem 0;
}

.restaurant-hero-content h1 {
  font-size: clamp(2.5rem, 4vw, 4rem);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.restaurant-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
  align-items: center;
}

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

.restaurant-details {
  padding: 5rem 0;
  background: white;
}

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

.detail-section {
  margin-bottom: 4rem;
}

.detail-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
  position: relative;
}

.detail-section h2::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
}

/* Menu Items */
.menu-items {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.menu-item {
  display: flex;
  gap: 1.5rem;
  padding: 2rem;
  background: var(--bg-light);
  border-radius: var(--border-radius-lg);
  transition: var(--transition);
  border: 1px solid transparent;
}

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

.menu-item img {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius:6px;
  flex-shrink: 0;
}

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

.menu-item-info p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.6;
}

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

/* Reviews Section */
.reviews-summary {
  background: var(--bg-light);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  margin-bottom: 3rem;
  border: 1px solid var(--border-light);
}

.rating-breakdown {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3rem;
  align-items: center;
}

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

.rating-number {
  font-size: 4rem;
  font-weight: 800;
  color: var(--primary-color);
  font-family: "Playfair Display", serif;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.rating-stars {
  color: var(--accent-color);
  font-size: 2rem;
  margin: 1rem 0;
}

.rating-bars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.rating-bar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1rem;
  align-items: center;
  font-size: 0.95rem;
  font-weight: 500;
}

.bar {
  height: 10px;
  background: var(--border-light);
  border-radius: 5px;
  overflow: hidden;
}

.fill {
  height: 100%;
  background: var(--gradient-primary);
  transition: width 1s ease;
  border-radius: 5px;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.review-item {
  padding: 2rem;
  background: var(--bg-light);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-light);
  transition: var(--transition);
}

.review-item:hover {
  box-shadow: var(--shadow-light);
  transform: translateY(-2px);
}

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

.reviewer-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reviewer-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-light);
}

.review-rating {
  color: var(--accent-color);
  font-size: 1.1rem;
}

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

.review-text {
  line-height: 1.7;
  color: var(--text-light);
}

/* Sidebar Widgets */
.details-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.reservation-widget,
.restaurant-info-widget,
.similar-restaurants {
  background: var(--bg-light);
  padding: 2.5rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-light);
}

.reservation-widget h3,
.restaurant-info-widget h3,
.similar-restaurants h3 {
  margin-bottom: 2rem;
  color: var(--text-dark);
  font-size: 1.5rem;
}

.reservation-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.info-item i {
  color: var(--primary-color);
  margin-top: 0.25rem;
  font-size: 1.1rem;
}

.info-item strong {
  color: var(--text-dark);
  display: block;
  margin-bottom: 0.25rem;
}

.similar-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.similar-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  padding: 1rem;
  background: white;
  border-radius: var(--border-radius);
  transition: var(--transition);
  cursor: pointer;
}

.similar-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-light);
}

.similar-item img {
    width: 5vw;
    height: 10vh;
    object-fit: cover;
    border-radius: 5px;
}

.similar-info h5 {
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.similar-info p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

/* Auth Pages */
/* .auth-section {
  min-height: calc(100vh - 70px);
  display: flex;
  align-items: center;
  padding: 3rem 0;
  background: var(--bg-light);
  margin-top: 70px;
}

.auth-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  max-width: 1100px;
  margin: 0 auto;
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
} */
.auth-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 2rem 0;
    /* margin-top: 70px; */

    /* Background image */
    background-image: url('https://images.unsplash.com/photo-1690983322857-0811d47fedfc?fm=jpg&q=60&w=3000&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxzZWFyY2h8Nnx8bWVudSUyMGJhY2tncm91bmR8ZW58MHx8MHx8fDA%3D'); /* CHANGE THIS */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    position: relative;
}

/* Optional dark overlay for readability */
.auth-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: rgba(0, 0, 0, 0.45); /* change opacity here */
    backdrop-filter: blur(1px);       /* blur background (optional) */
    z-index: 1;
}

.auth-container {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 35vw;
    margin: 0 auto;
    background: rgb(0 0 0 / 5%);
    backdrop-filter: blur(60px);
    border-radius: 1px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 1.2);
    padding: 2rem;
    padding-bottom: 1rem;
    position: relative;
    z-index: 2;
}
.auth-form {
  padding: 1rem;
  padding-top: 0rem;
}

.auth-header {
  text-align: center;
  margin-bottom: 1rem;
}

.auth-header h1 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.auth-header p {
  color: white;
  font-size: 1.1rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.form-group {
  margin-bottom: 1rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.75rem;
  font-weight: 600;
  color: var(--primary-dark);
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.5rem;
  border: 2px solid var(--border-light);
  border-radius: var(--border-radius);
  font-size: 1rem;
  font-family: "Poppins", sans-serif;
  transition: var(--transition);
  background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(218, 55, 67, 0.1);
  transform: translateY(-2px);
}

.password-field {
  position: relative;
}

.password-toggle {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  transition: var(--transition);
}

.password-toggle:hover {
  color: var(--primary-color);
}

.password-strength {
  margin-top: 1rem;
}

.strength-bar {
  height: 6px;
  background: var(--border-light);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.strength-fill {
  height: 100%;
  background: var(--primary-color);
  width: 0%;
  transition: width 0.3s ease;
  border-radius: 3px;
}

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

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

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: #b9b9b9;
}

.checkbox-label input[type="checkbox"] {
  width: auto;
  margin: 0;
  accent-color: var(--primary-color);
}

.forgot-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

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

.auth-divider {
  text-align: center;
  margin: 1rem 0;
  position: relative;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border-light);
}

.auth-divider span {
  background: rgb(255, 255, 255);
  padding: 0 1.5rem;
  color:black;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.social-login {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    /* transition: color 0.3s ease; */
    text-decoration: none;
    color: var(--primary-light);
}

.back-link i {
    /* transition: transform 0.3s ease; */
    font-size: larger;
}

/* Hover effect */
.back-link:hover i {
    /* transform: translateX(-4px); */
        text-decoration: none;

}

.btn-social {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem;
  border: 2px solid var(--border-light);
  background: white;
  color: var(--text-dark);
  border-radius: var(--border-radius);
  text-decoration: none;
  transition: var(--transition);
  font-weight: 500;
}

.btn-social:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-light);
}

.btn-google:hover {
  border-color: #db4437;
  color: #db4437;
}

.btn-facebook:hover {
  border-color: #3b5998;
  color: #3b5998;
}

.auth-footer {
  text-align: center;
  margin-top: 1rem;
}
.auth-p p{
  margin-bottom: 0.5rem;
}

.auth-footer a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
}

.auth-footer a:hover {
  text-decoration: none;
}

.auth-image {
  position: relative;
  overflow: hidden;
  background: var(--gradient-primary);
}

.auth-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
}

.auth-image-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
  color: white;
  padding: 3rem;
}

.auth-image-overlay h3 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.auth-image-overlay p {
  font-size: 1.1rem;
  opacity: 0.9;
}

/* About Page */
.about-content {
  padding: 5rem 0;
  background: white;
}

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

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

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

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

.mission-section {
  background: var(--bg-light);
  padding: 6rem 0;
}

.mission-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.mission-item {
  text-align: center;
  background: white;
  padding: 4rem 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.mission-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
}

.mission-item:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
}

.mission-icon {
  width: 100px;
  height: 100px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: white;
  font-size: 2.5rem;
  box-shadow: var(--shadow-medium);
}

.mission-item h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.mission-item p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* Team Section */
.team-section {
  padding: 6rem 0;
  background: white;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.team-member {
  text-align: center;
  background: white;
  padding: 3rem 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.team-member::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0;
  transition: var(--transition);
}

.team-member:hover::before {
  opacity: 0.05;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-heavy);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 2rem;
  border: 4px solid var(--border-light);
  transition: var(--transition);
}

.team-member:hover img {
  border-color: var(--primary-color);
}

.team-member h4 {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-size: 1.3rem;
}

.team-member p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.team-member .social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.team-member .social-links a {
  color: var(--text-muted);
  font-size: 1.3rem;
  transition: var(--transition);
  padding: 0.5rem;
  border-radius: 50%;
}

.team-member .social-links a:hover {
  color: var(--primary-color);
  background: var(--bg-light);
  transform: translateY(-3px);
}

/* Contact Page */
.contact-content {
  padding: 5rem 0;
  background: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}

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

.contact-info > p {
  margin-bottom: 4rem;
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1.1rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.contact-method {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  flex-shrink: 0;
  box-shadow: var(--shadow-light);
}

.contact-details h4 {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
  font-size: 1.2rem;
}

.contact-details p {
  color: var(--text-light);
  margin-bottom: 0.25rem;
  line-height: 1.6;
}

.contact-form-container {
  background: var(--bg-light);
  padding: 4rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
}

.contact-form h3 {
  margin-bottom: 2rem;
  color: var(--text-dark);
  font-size: 2rem;
}

/* FAQ Section */
.faq-section {
  background: var(--bg-light);
  padding: 6rem 0;
}

.faq-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 4rem;
}

.faq-item {
  background: white;
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-light);
  transition: var(--transition);
}

.faq-item:hover {
  box-shadow: var(--shadow-medium);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  cursor: pointer;
  transition: var(--transition);
  background: white;
}

.faq-question:hover {
  background: var(--bg-light);
}

.faq-question h4 {
  margin: 0;
  color: var(--text-dark);
  font-size: 1.2rem;
}

.faq-question i {
  color: var(--primary-color);
  transition: transform 0.3s ease;
  font-size: 1.2rem;
}

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

.faq-answer {
  padding: 0 2rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: var(--bg-light);
}

.faq-item.active .faq-answer {
  padding: 0 2rem 2rem;
  max-height: 300px;
}

.faq-answer p {
  color: var(--text-light);
  line-height: 1.7;
  margin: 0;
  font-size: 1.05rem;
}

/* Footer */
.footer {
  background: var(--text-dark);
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("images/footer.jpg") center / cover;
  opacity: 0.15;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 1rem;
  position: relative;
  z-index: 1;
}

.footer-section h3,
.footer-section h4 {
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  font-size: 1.3rem;
}

.footer-section p {
  color: #bdc3c7;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.75rem;
}

.footer-section ul li a {
  color: #bdc3c7;
  text-decoration: none;
  transition: var(--transition);
  font-size: 0.95rem;
}

.footer-section ul li a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.social-links {
  display: flex;
  /* gap: 5px; */
  margin-top: 2rem;
}

.social-links a {
  color: #bdc3c7;
  font-size: 1.5rem;
  transition: var(--transition);
  padding: 0.75rem;
  border-radius: 50%;
  /* background: rgba(255, 255, 255, 0.1); */
}

.social-links a:hover {
  color: var(--primary-color);
  /* background: rgba(218, 55, 67, 0.2); */
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid #34495e;
  color: #95a5a6;
  position: relative;
  z-index: 1;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(5px);
  animation: fadeIn 0.3s ease;
}

.modal-content {
  background-color: white;
  margin: 3% auto;
  padding: 0;
  border-radius: var(--border-radius-lg);
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  animation: slideInDown 0.3s ease;
  box-shadow: var(--shadow-heavy);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem;
  border-bottom: 1px solid var(--border-light);
  background: var(--bg-light);
  border-radius: var(--border-radius-lg) var(--border-radius-lg) 0 0;
}

.modal-header h3 {
  margin: 0;
  color: var(--text-dark);
  font-size: 1.5rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-muted);
  transition: var(--transition);
  padding: 0.5rem;
  border-radius: 50%;
}

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

.modal-body {
  padding: 2rem;
}

.booking-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Success Message */
.success-message {
  background: linear-gradient(135deg, #d4edda, #c3e6cb);
  color: #155724;
  padding: 2rem;
  border-radius: var(--border-radius);
  margin: 1rem 0;
  border: 1px solid #c3e6cb;
  animation: fadeInUp 0.3s ease;
  text-align: center;
}

.success-message h4 {
  margin-bottom: 1rem;
  color: #155724;
}

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: #fff;
  animation: spin 1s ease-in-out infinite;
}

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

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

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

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

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .container {
    padding: 0 1.5rem;
  }

  .details-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .auth-container {
    grid-template-columns: 1fr;
  }

  .auth-image {
    display: none;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    box-shadow: var(--shadow-medium);
    padding: 2rem 0;
    border-radius: 0 0 var(--border-radius-lg) var(--border-radius-lg);
  }

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

  .nav-list {
    flex-direction: column;
    gap: 1.5rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-actions {
    display: none;
  }

  .hero-title {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }

  .search-form {
    grid-template-columns: 1fr;
    padding: 2rem;
    margin: 0 1rem;
  }

  .restaurants-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

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

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

  .filters-row {
    grid-template-columns: 1fr;
  }

  .listing-header {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .restaurant-hero-content h1 {
    font-size: clamp(2rem, 6vw, 3rem);
  }

  .restaurant-meta {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }

  .restaurant-actions {
    flex-direction: column;
    width: 100%;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .newsletter-form {
    flex-direction: column;
    border-radius: var(--border-radius);
  }

  .newsletter-form input,
  .newsletter-form button {
    border-radius: var(--border-radius);
  }

  .rating-breakdown {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .modal-content {
    margin: 5% auto;
    width: 95%;
  }

  .modal-header,
  .modal-body {
    padding: 1.5rem;
  }

  .user-menu {
    flex-direction: column;
    gap: 1rem;
  }

  .user-info {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(2rem, 8vw, 2.5rem);
  }

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

  .section-title {
    font-size: clamp(2rem, 6vw, 2.5rem);
  }

  .search-form {
    margin: 0 0.5rem;
    padding: 1.5rem;
  }

  .btn {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .stat-number {
    font-size: 2.5rem;
  }

  .mission-item,
  .team-member {
    padding: 2rem 1.5rem;
  }

  .contact-method {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .auth-form {
    padding: 2rem;
  }

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

/* Print Styles */
@media print {
  .header,
  .nav-toggle,
  .btn,
  .modal,
  .footer {
    display: none !important;
  }

  body {
    font-size: 12pt;
    line-height: 1.5;
  }

  .container {
    max-width: none;
    padding: 0;
  }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
  :root {
    --text-dark: #000000;
    --text-light: #333333;
    --border-light: #666666;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus Styles for Accessibility */
*:focus {
  /* outline: 2px solid var(--primary-color); */
  outline-offset: 2px;
}

.btn:focus,
.search-input:focus,
input:focus,
select:focus,
textarea:focus {
  /* outline: 2px solid var(--primary-color); */
  outline-offset: 2px;
}

/* Screen Reader Only */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Profile Page Styles */
.profile-header {
  /* background: var(--gradient-primary); */
  color: white;
  padding: 8rem 0 4rem;
  margin-top: 70px;
  position: relative;
  overflow: hidden;
}

.profile-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    filter: blur(15px);
    background: url(https://as2.ftcdn.net/jpg/03/19/15/93/1000_F_319159316_kyVxmKSUwG8TK2VNFFVnuQ7Fphyv57gf.jpg);
}

.profile-hero {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.profile-avatar {
  position: relative;
  flex-shrink: 0;
}

.profile-avatar img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid rgba(255, 255, 255, 0.3);
  box-shadow: var(--shadow-heavy);
}
.nav-avatar img {
  width: 50px;
  height: 50px;
}

.avatar-edit-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border: 3px solid white;
  border-radius: 50%;
  color: white;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar-edit-btn:hover {
  background: var(--primary-dark);
  transform: scale(1.1);
}

.profile-info {
  flex: 1;
}

.profile-info h1 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.profile-info p {
  font-size: 1.2rem;
  opacity: 0.9;
  margin-bottom: 1rem;
  font-weight: 500;
  color: #000000;
}

.profile-actions {
  display: flex;
  gap: 1rem;
  flex-shrink: 0;
}

.profile-content {
  padding: 5rem 0;
  background: var(--bg-light);
}

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

.profile-main {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.profile-section {
  background: white;
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
}

.profile-section h2 {
  font-size: 2rem;
  margin-bottom: 2rem;
  color: var(--text-dark);
  position: relative;
}

.profile-section h2::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--gradient-primary);
}

/* Activity Timeline */
.activity-timeline {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.activity-item {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.activity-item:hover {
  transform: translateX(5px);
  box-shadow: var(--shadow-light);
}

.activity-icon {
  width: 50px;
  height: 50px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.activity-content {
  flex: 1;
}

.activity-content h4 {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.activity-content p {
  color: var(--text-light);
  margin-bottom: 0.5rem;
}

.activity-date {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.activity-rating {
  flex-shrink: 0;
}

.activity-rating .stars {
  color: var(--accent-color);
  font-size: 1.1rem;
}

/* Achievements */
.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.achievement-item {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
  position: relative;
  border: 2px solid transparent;
}

.achievement-item.earned {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.1));
  border-color: var(--accent-color);
}

.achievement-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-light);
}

.achievement-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 1.5rem;
}

.achievement-item.earned .achievement-icon {
  background: var(--gradient-gold);
}

.achievement-item h4 {
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.achievement-item p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 1rem;
}

.achievement-progress {
  margin-top: 1rem;
}

.achievement-progress .progress-bar {
  height: 6px;
  background: var(--border-light);
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: 0.5rem;
}

.achievement-progress .progress-fill {
  height: 100%;
  background: var(--gradient-primary);
  border-radius: 3px;
}

.achievement-progress span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Profile Sidebar */
.profile-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-widget {
  background: white;
  padding: 2rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-light);
}

.sidebar-widget h3 {
  margin-bottom: 1.5rem;
  color: var(--text-dark);
  font-size: 1.3rem;
}

/* Quick Actions */
.quick-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.quick-action {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: var(--bg-light);
  border-radius: var(--border-radius);
  text-decoration: none;
  color: var(--text-dark);
  transition: var(--transition);
}

.quick-action:hover {
  background: var(--primary-color);
  color: white;
  transform: translateX(5px);
}

.quick-action i {
  width: 20px;
  text-align: center;
  color: var(--primary-color);
  transition: var(--transition);
}

.quick-action:hover i {
  color: white;
}

/* Favorite Restaurants */
.favorite-restaurants {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1rem;
}

.favorite-item {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.favorite-item img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: var(--border-radius);
}

.favorite-info h5 {
  margin-bottom: 0.25rem;
  color: var(--text-dark);
}

.favorite-info p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 0.25rem;
}

.favorite-info .rating {
  color: var(--accent-color);
  font-size: 0.8rem;
}

.view-all-link {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
}

.view-all-link:hover {
  text-decoration: underline;
}

/* Dining Preferences */
.preferences-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.preference-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem;
  background: var(--bg-light);
  border-radius: var(--border-radius);
}

.preference-item i {
  color: var(--primary-color);
  width: 20px;
  text-align: center;
}

.btn-small {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

/* Points Widget */
.points-widget {
  background: var(--gradient-primary);
  color: white;
}

.points-widget h3 {
  color: white;
}

.points-balance {
  text-align: center;
  margin-bottom: 2rem;
}

.points-amount {
  font-size: 3rem;
  font-weight: 800;
  font-family: "Playfair Display", serif;
  margin-bottom: 0.5rem;
}

.points-balance p {
  opacity: 0.9;
  margin: 0;
}

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

.points-actions .btn {
  background: white;
  color: var(--primary-color);
}

.points-actions .btn:hover {
  background: var(--bg-light);
}

.points-history {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 0.9rem;
}

.points-history:hover {
  color: white;
  text-decoration: underline;
}

/* Responsive Design for Profile */
@media (max-width: 1024px) {
  .profile-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .profile-hero {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }

  .profile-actions {
    flex-direction: column;
    width: 100%;
  }

  .profile-section {
    padding: 2rem;
  }

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

  .activity-item {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .activity-content {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .profile-header {
    padding: 6rem 0 3rem;
  }

  .profile-info h1 {
    font-size: 2rem;
  }

  .profile-section {
    padding: 1.5rem;
  }

  .sidebar-widget {
    padding: 1.5rem;
  }

  .points-amount {
    font-size: 2.5rem;
  }
}

.HectagonLogo {
  color: inherit;
  transition: color 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.HectagonLogo:hover {
  color: #ee2222;
}

