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

:root {
  --primary-color: #e63946; /* Vibrant red */
  --secondary-color: #f1faee; /* Light cream */
  --accent-color: #457b9d; /* Blue accent */
  --text-dark: #264653; /* Dark blue */
  --text-light: #a8dadc; /* Light blue */
  --white: #fff;
  --background-dark: #264653;
  --background-light: #f1faee;
  --box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  --border-radius: 10px;
  --transition: all 0.3s ease-in-out;
  --container-width: 1200px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--background-light);
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

ul {
  list-style: none;
}

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

/* Overlay */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Navbar */
.navbar {
  background-color: var(--white);
  padding: 20px 0;
  box-shadow: var(--box-shadow);
  position: sticky;
  top: 0;
  z-index: 99;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo a {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--text-dark);
}

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

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links li {
  margin-left: 30px;
}

.nav-links a {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

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

.cart-icon {
  position: relative;
  cursor: pointer;
}

.cart-icon i {
  font-size: 1.5rem;
  color: var(--text-dark);
}

.cart-icon .cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  padding: 4px 6px;
  font-size: 0.8rem;
}

.hamburger {
  display: none;
  cursor: pointer;
  padding: 10px;
}

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

.hamburger.open .bar:nth-child(1) {
  transform: rotate(-45deg) translate(-6px, 6px);
}

.hamburger.open .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.open .bar:nth-child(3) {
  transform: rotate(45deg) translate(-6px, -6px);
}

/* Section Titles */
.section-title {
  font-family: "Playfair Display", serif;
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 15px;
}

.section-title p {
  color: var(--text-light);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* Animated Links and Icons */
.animated-link {
  position: relative;
}

.animated-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0%;
  height: 2px;
  background-color: var(--accent-color);
  transition: width 0.3s ease;
}

.animated-link:hover::after {
  width: 100%;
}

.animated-icon {
  transition: transform 0.3s ease;
}

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

/* Parallax Effect */
.parallax {
  background-attachment: fixed;
  background-size: cover;
  background-repeat: no-repeat;
}

/* Media Queries */
@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 70%;
    height: 100%;
    background-color: var(--background-dark);
    flex-direction: column;
    align-items: flex-start;
    padding-top: 60px;
    transition: left 0.3s ease;
    z-index: 99;
  }

  .nav-links.open {
    left: 0;
  }

  .nav-links li {
    margin: 20px 0 0 30px;
  }

  .nav-links a {
    color: var(--white);
  }

  .hamburger {
    display: block;
  }
}

@media (max-width: 576px) {
  .section-title h2 {
    font-size: 2.5rem;
  }
}

/* hero section */
.hero {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url("../assets/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 150px 0;
  text-align: center;
}

.hero .container {
  max-width: 800px;
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 4rem;
  font-weight: 700;
  margin-bottom: 20px;
}

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

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 30px;
  color: var(--text-light);
}

.hero-button {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 15px 30px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.hero-button:hover {
  background-color: #c8313b;
}

.hero-image {
  display: none; /* Hide on larger screens for this layout */
}

@media (max-width: 768px) {
  .hero {
    padding: 100px 20px;
  }

  .hero-title {
    font-size: 3rem;
  }

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

  .hero-button {
    font-size: 1rem;
    padding: 12px 25px;
  }
}

.specials-section {
  padding: 80px 0;
  background-color: var(--background-light);
}

.specials-carousel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 30px;
  overflow: auto hidden;
  scroll-snap-type: x mandatory;
  margin-bottom: 30px;
}

.special-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  scroll-snap-align: start;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  transition: transform 0.3s ease;
}

.special-card:hover {
  transform: translateY(-5px);
}

.special-info {
  background-color: rgba(0, 0, 0, 0.7);
  color: var(--white);
  padding: 20px;
  border-radius: 8px;
  width: 100%;
}

.special-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.special-info .description {
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 15px;
}

.special-info .actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.order-now-button {
  background-color: var(--accent-color);
  color: var(--white);
  border: none;
  padding: 10px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

.order-now-button:hover {
  background-color: #355e7d;
}

.carousel-navigation {
  text-align: center;
  margin-top: 20px;
}

.carousel-navigation button {
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--text-dark);
  margin: 0 10px;
  cursor: pointer;
  transition: color 0.3s ease;
}

.carousel-navigation button:hover {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .specials-carousel {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* Explore Section */

.explore-section {
  padding: 80px 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
    url("../assets/explore-bg.jpg");
  color: var(--white);
  text-align: center;
}

.explore-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}

.explore-content h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.explore-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

.explore-button {
  background-color: transparent;
  color: var(--white);
  border: 2px solid var(--white);
  padding: 15px 30px;
  border-radius: var(--border-radius);
  font-size: 1.1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.explore-button:hover {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.explore-image {
  display: none;
}

@media (min-width: 769px) {
  .explore-section {
    text-align: left;
    background-position: center;
  }

  .explore-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .explore-content {
    flex: 1;
    padding-right: 40px;
    text-align: left;
  }

  .explore-image {
    flex: 1;
    display: block;
    text-align: center;
  }

  .explore-image img {
    max-width: 400px;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
  }
}

/* Services Section */

.services-section {
  padding: 80px 0;
  background-color: var(--background-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.service-card {
  background-color: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-8px);
}

.icon-wrapper {
  background-color: var(--primary-color);
  color: var(--white);
  border-radius: 50%;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.service-card p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: #777;
}

.learn-more {
  color: var(--accent-color);
  font-weight: 600;
}

.learn-more:hover {
  color: #355e7d;
}

/* Chef Section */
.chefs-section {
  padding: 80px 0;
  background-color: var(--white);
}

.chefs-section .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.chef-info {
  flex: 1;
  padding-right: 40px;
  margin-bottom: 40px;
}

.chef-info .section-title {
  text-align: left;
  margin-bottom: 30px;
}

.chef-info .section-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #777;
  margin-bottom: 30px;
}

.chef-highlights li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1rem;
  color: var(--text-dark);
}

.chef-highlights li i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 1.2rem;
}

.chef-image {
  flex: 1;
  text-align: center;
}

.chef-image-inner {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.chef-image img {
  max-width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.chef-image-inner:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .chefs-section .container {
    flex-direction: column;
    text-align: center;
  }

  .chef-info {
    padding-right: 0;
  }
}

/* testimonial section */
.testimonials-section {
  padding: 80px 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../assets/testimonials-bg.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
}

.testimonials-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 60px 20px;
}

.testimonials-slider-container {
  position: relative;
  max-width: 80%;
  margin: 40px auto;
  overflow: hidden;
}

.testimonials-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial {
  flex-shrink: 0;
  width: 100%;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.testimonial .quote {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial .customer {
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial .customer img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
}

.testimonial .customer-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 5px;
}

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

.slider-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}

.slider-controls button {
  background: none;
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.slider-controls button:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .testimonials-slider-container {
    max-width: 95%;
  }

  .testimonial .quote {
    font-size: 1rem;
  }

  .testimonial .customer img {
    width: 50px;
    height: 50px;
  }
}

/* Contact Page */
.contact-page {
  padding: 80px 0;
  background-color: var(--white);
}

.contact-page .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

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

.contact-info p {
  font-size: 1.1rem;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 30px;
}

.contact-details li {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  font-size: 1rem;
  color: var(--text-dark);
}

.contact-details li i {
  color: var(--primary-color);
  margin-right: 10px;
  font-size: 1.2rem;
}

.contact-form h3 {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 1rem;
  color: var(--text-dark);
  margin-bottom: 5px;
  font-weight: 500;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--text-light);
  border-radius: var(--border-radius);
  font-size: 1rem;
  color: var(--text-dark);
  box-sizing: border-box;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-button {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 15px 30px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.submit-button:hover {
  background-color: #e65a5a;
}

@media (max-width: 768px) {
  .contact-page .container {
    grid-template-columns: 1fr;
  }

  .contact-info {
    margin-bottom: 40px;
  }
}

/* Footer */
.site-footer {
  background-color: var(--background-dark);
  color: var(--secondary-color);
  padding: 80px 0;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 25px;
  color: var(--white);
}

.footer-logo a {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
}

.footer-logo span {
  color: var(--primary-color);
}

.footer-description {
  margin-top: 20px;
  line-height: 1.8;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--text-light);
}

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

.footer-links li i {
  margin-right: 8px;
  color: var(--accent-color);
}

.social-links a {
  display: inline-block;
  margin-right: 15px;
  font-size: 1.3rem;
  color: var(--text-light);
}

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

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
