/* Base Styles */
:root {
  --primary-color: #482509;
  --secondary-color: #F6B44E;
  --success-color: #198754;
  --light-color: #f8f9fa;
  --dark-color: #212523;
  --body-font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --heading-font: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

body {
  font-family: var(--body-font);
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--heading-font);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--dark-color);
}

a {
  text-decoration: none;
  transition: all 0.3s ease;
}

a {
  color: var(--primary-color);
}

a:hover {
  color: var(--secondary-color);
}

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

/* Navigation */
.navbar {
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand {
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff !important;
}

.nav-link {
  font-weight: 500;
  padding: 0.5rem 1rem !important;
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), 
              url('https://images.unsplash.com/photo-1504674900247-087703934569?ixlib=rb-4.0.3&auto=format&fit=crop&w=1950&q=80');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
  padding: 6rem 0;
}

/* Features Section */
.feature-icon {
  transition: transform 0.3s ease;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.card:hover .feature-icon {
  transform: scale(1.1);
}

/* How It Works */
#how-it-works {
  position: relative;
  background-color: #f8f9fa;
}

.step-number {
  margin: 0 auto;
  transition: all 0.3s ease;
}

/* Popular Restaurants */
.restaurant-card {
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.restaurant-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

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

/* App Download CTA */
.bg-primary {
  background-color: var(--primary-color) !important;
  color: #fff;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
  color: #000;
}

/* Footer */
footer {
  background-color: #1a1a1a;
  color: #fff;
}

footer a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

footer a:hover {
  color: #fff;
  text-decoration: none;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  margin-right: 0.5rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--secondary-color);
  color: #000 !important;
  transform: translateY(-3px);
}

/* Back to Top Button */
#back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 99;
  display: none;
  width: 50px;
  height: 50px;
  text-align: center;
  line-height: 46px;
  background: var(--primary-color);
  color: white;
  cursor: pointer;
  border: 2px solid transparent;
  border-radius: 50%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

#back-to-top:hover {
  background: var(--secondary-color);
  color: #000;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Buttons */
.btn {
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  border-radius: 8px;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: #fff;
}

.btn-primary:hover, .btn-primary:focus {
  background-color: #3a1d07;
  border-color: #3a1d07;
  background-color: #0b5ed7;
  border-color: #0a58ca;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
}

/* Utility Classes */
.rounded-lg {
  border-radius: 15px !important;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .hero {
    padding: 4rem 0;
  }
  
  .display-4 {
    font-size: 2.5rem;
  }
}

@media (max-width: 767.98px) {
  .hero {
    text-align: center;
    padding: 3rem 0;
  }
  
  .display-4 {
    font-size: 2rem;
  }
  
  .btn {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
}

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

.animate-fade-in-up {
  animation: fadeInUp 0.6s ease-out forwards;
}

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

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

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

::-webkit-scrollbar-thumb:hover {
  background: #0b5ed7;
}
