@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css');
@import url('https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.2/font/bootstrap-icons.css');

:root {
  --primary-color: #ff9800;
  --primary-dark: #f57c00;
  --primary-light: #ffe0b2;
  --secondary-color: #607d8b;
  --text-color: #333333;
  --light-text: #757575;
  --white-color: #ffffff;
  --section-padding: 5rem 0;
  --transition: all 0.3s ease;
}

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
}

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

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

.btn {
  transition: var(--transition);
}

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

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

.navbar {
  padding: 1rem 0;
  transition: var(--transition);
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar .navbar-brand {
  font-weight: 700;
  font-size: 1.75rem;
}

.navbar .nav-link {
  font-weight: 500;
  color: var(--text-color);
  margin: 0 0.5rem;
}

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

.logo-text {
  font-weight: 700;
}

.text-primary {
  color: var(--primary-color) !important;
}

.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    /*background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('https://images.pexels.com/photos/6267/menu-restaurant-vintage-table.jpg?auto=compress&cs=tinysrgb&w=1920');*/
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('/assets/img/menu-restaurant-vintage-table.jpg?auto=compress&cs=tinysrgb&w=1920');
    background-size: cover;
    background-position: center;
    color: var(--white-color);
}

.hero-content {
  animation: fadeInUp 1s ease;
}

.hero h1 {
  margin-bottom: 1.5rem;
  font-size: 3rem;
}

.hero p {
  margin-bottom: 2rem;
  font-size: 1.2rem;
}

.search-section {
  padding: var(--section-padding);
  background-color: var(--white-color);
}

.search-container {
  background-color: var(--white-color);
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  margin-top: -100px;
  position: relative;
  z-index: 10;
}

.search-container h2 {
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.featured-restaurants {
  padding: var(--section-padding);
  background-color: #f8f9fa;
}

.restaurant-card {
  border: none;
  border-radius: 15px;
  overflow: hidden;
  transition: var(--transition);
  margin-bottom: 30px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  height: 100%;
}

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

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

.restaurant-info {
  padding: 1.5rem;
}

.restaurant-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.stars {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.cuisine-badge {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  font-size: 0.85rem;
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.testimonials {
  padding: var(--section-padding);
  background-color: var(--white-color);
}

.testimonial-card {
  padding: 2rem;
  border-radius: 15px;
  background-color: var(--white-color);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  margin: 0 15px;
  text-align: center;
}

.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 4px solid var(--primary-light);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: var(--light-text);
}

.testimonial-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

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

.carousel-inner {
  padding: 1rem 0;
}

.carousel-control-prev,
.carousel-control-next {
  width: 4%;
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--primary-color);
  border-radius: 50%;
  width: 45px;
  height: 45px;
  background-size: 50%;
}

.footer {
  padding: 5rem 0 2.5rem;
  background-color: #263238;
  color: var(--white-color);
}

.footer h4, .footer h5 {
  margin-bottom: 1.5rem;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding-left: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.8);
}

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

.footer-contact i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

.social-links {
  display: flex;
  margin-top: 1.5rem;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white-color);
  margin-right: 1rem;
  transition: var(--transition);
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.newsletter-form .input-group {
  border-radius: 30px;
  overflow: hidden;
}

.newsletter-form .form-control {
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
  border: none;
}

.newsletter-form .btn {
  border-top-right-radius: 30px;
  border-bottom-right-radius: 30px;
}

hr {
  margin: 2rem 0;
  border-color: rgba(255, 255, 255, 0.1);
}

.modal-content {
  border-radius: 15px;
  border: none;
}

.modal-header {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.modal-footer {
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.confirmation-icon {
  font-size: 4rem;
  margin-bottom: 1rem;
}

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

@media (max-width: 767.98px) {
  .hero {
    text-align: center;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
  
  .search-container {
    margin-top: -50px;
    padding: 1.5rem;
  }
}

@media (max-width: 991.98px) {
  .navbar .navbar-nav {
    padding-top: 1rem;
  }
  
  .navbar .nav-link {
    margin: 0.25rem 0;
  }
  
  .navbar .btn {
    margin-top: 0.5rem;
    display: block;
    width: 100%;
  }
}