:root {
  --primary-yellow: #ffd700;
  --secondary-yellow: #ffed4e;
  --accent-red: #ff5252;
  --dark-red: #d32f2f;
  --dark-gray: #333333;
  --light-gray: #f8f8f8;
  --white: #ffffff;
  --shadow: rgba(0, 0, 0, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  color: var(--dark-gray);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
  font-family: "Playfair Display", serif;
  font-weight: 600;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header & Navigation */
header {
  background-color: var(--white);
  box-shadow: 0 4px 12px var(--shadow);
  position: fixed;
  width: 100%;
  z-index: 1000;
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(0);
  }
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--dark-red);
  font-size: 24px;
  font-family: "Playfair Display", serif;
  box-shadow: 0 4px 8px rgba(255, 210, 0, 0.3);
}

.logo-img img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}
.logo-text {
  font-family: "Playfair Display", serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--dark-gray);
}

.logo-text span {
  color: var(--accent-red);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: var(--dark-gray);
  font-weight: 500;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative;
  padding: 5px 0;
}

nav a:hover {
  color: var(--accent-red);
}

nav a:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--accent-red);
  transition: width 0.3s ease;
}

nav a:hover:after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  font-size: 24px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--dark-gray);
}

/* Hero Section */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("/images/background.jpg");
  background-size: cover;
  background-position: center;
  color: var(--white);
  padding: 180px 0 120px;
  text-align: center;
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  animation: slideUp 1s ease-out 0.3s both;
}

@keyframes slideUp {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.hero p {
  font-size: 1.2rem;
  max-width: 700px;
  margin: 0 auto 40px;
  animation: slideUp 1s ease-out 0.5s both;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent-red);
  color: var(--white);
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  border: 2px solid var(--accent-red);
  animation: slideUp 1s ease-out 0.7s both;
}

.cta-button:hover {
  background-color: transparent;
  color: var(--accent-red);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* Section Styling */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
}

.section-title h2 {
  font-size: 2.5rem;
  color: var(--dark-gray);
  display: inline-block;
  position: relative;
  padding-bottom: 15px;
}

.section-title h2:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background-color: var(--primary-yellow);
}

/* Menu Categories */
.menu-categories {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.category-card {
  background-color: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 20px var(--shadow);
  transition: all 0.4s ease;
  cursor: pointer;
  animation: fadeInUp 0.6s ease-out both;
}

@keyframes fadeInUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.category-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.category-header {
  background-color: var(--primary-yellow);
  padding: 20px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.category-header h3 {
  font-size: 1.8rem;
  color: var(--dark-gray);
  z-index: 2;
  position: relative;
}

.category-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 4px solid var(--primary-yellow);
}

.category-body {
  padding: 25px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px dashed #eee;
  transition: all 0.3s ease;
  align-items: center;
}

.menu-item:hover {
  transform: translateX(5px);
}

.menu-item:last-child {
  margin-bottom: 0;
  border-bottom: none;
}

.item-name {
  font-weight: 500;
  flex: 1;
}

.item-price {
  color: var(--accent-red);
  font-weight: 600;
  margin-left: 15px;
}

.item-image {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 15px;
  border: 2px solid var(--primary-yellow);
  transition: all 0.3s ease;
}

.menu-item:hover .item-image {
  transform: scale(1.1);
  border-color: var(--accent-red);
}

/* Special Sauces Section */
.sauces-container {
  background-color: var(--secondary-yellow);
  padding: 60px 0;
  border-radius: 20px;
  margin-bottom: 80px;
  box-shadow: 0 10px 30px rgba(255, 210, 0, 0.2);
}

.sauces-title {
  text-align: center;
  margin-bottom: 40px;
}

.sauces-title h2 {
  font-size: 2.5rem;
  color: var(--dark-gray);
}

.sauces-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
  padding: 10px;
}

.sauce-card {
  background-color: var(--white);
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  overflow: hidden;
}

.sauce-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.1);
}

.sauce-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-bottom: 4px solid var(--primary-yellow);
}

.sauce-content {
  padding: 20px;
}

.sauce-icon {
  font-size: 2.5rem;
  color: var(--dark-red);
  margin-bottom: 10px;
}

.sauce-card h4 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--dark-gray);
}

.sauce-price {
  color: var(--accent-red);
  font-weight: 600;
  font-size: 1.1rem;
}

/* Table Styling for Appetizers */
.table-container {
  overflow-x: auto;
  margin-top: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 20px var(--shadow);
}

table {
  width: 100%;
  border-collapse: collapse;
  min-width: 600px;
}

thead {
  background-color: var(--primary-yellow);
}

th {
  padding: 18px 15px;
  text-align: left;
  font-weight: 600;
  font-size: 1.1rem;
}

tbody tr {
  border-bottom: 1px solid #eee;
  transition: all 0.3s ease;
}

tbody tr:hover {
  background-color: rgba(255, 215, 0, 0.1);
}

td {
  padding: 18px 15px;
}

.price-cell {
  color: var(--accent-red);
  font-weight: 600;
}

/* Call to Action */
.call-to-action {
  background: linear-gradient(135deg, var(--primary-yellow), var(--accent-red));
  color: var(--white);
  text-align: center;
  padding: 100px 0;
  border-radius: 20px;
  margin: 60px;
}

.call-to-action h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.call-to-action p {
  max-width: 700px;
  margin: 0 auto 40px;
  font-size: 1.2rem;
}

/* Image Gallery Section */
.image-gallery {
  padding: 60px 0;
  background-color: var(--light-gray);
}

.gallery-title {
  text-align: center;
  margin-bottom: 40px;
}

.gallery-title h2 {
  font-size: 2.5rem;
  color: var(--dark-gray);
  margin-bottom: 10px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 20px var(--shadow);
  transition: all 0.4s ease;
  position: relative;
}

.gallery-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.gallery-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.5s ease;
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
  padding: 20px;
  transform: translateY(100%);
  transition: all 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h4 {
  margin-bottom: 5px;
}

/* Footer */
footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 70px 0 30px;
  margin-top: 80px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 50px;
}

.footer-logo {
  font-family: "Playfair Display", serif;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.footer-logo span {
  color: var(--primary-yellow);
}

.footer-about p {
  margin-bottom: 20px;
}

.footer-links h4,
.footer-contact h4 {
  font-size: 1.3rem;
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer-links h4:after,
.footer-contact h4:after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background-color: var(--primary-yellow);
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-yellow);
  padding-left: 5px;
}

.footer-contact p {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  font-size: 18px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--primary-yellow);
  color: var(--dark-gray);
  transform: translateY(-5px);
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #aaa;
  font-size: 0.9rem;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }

  .menu-categories {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

@media (max-width: 768px) {
    .call-to-action{
        margin:20px ;
        margin-top:40px ;
    }
  nav ul {
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: fixed;
    top: 0;
    right: -100%; /* Hidden off-screen */
    width: 100%;
    height: 100vh;
    background: #fff;
    padding: 80px 30px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: right 0.4s ease-in-out; /* Smooth animation */
    z-index: 999;
  }

  nav ul.active {
    right: 0; /* Slide in */
  }

  .mobile-menu-btn {
    display: block;
    font-size: 26px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
    position: relative;
  }

  nav ul li {
    margin: 10px 0;
  }

  .hero {
    padding: 150px 0 90px;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .hero p {
    font-size: 1rem;
    padding: 0 20px;
  }

  section {
    padding: 60px 0;
  }

  .section-title h2 {
    font-size: 2rem;
  }

  .call-to-action h2 {
    font-size: 2.2rem;
  }

  .item-image {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 576px) {
  .logo-text {
    font-size: 22px;
  }

  .logo-img {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  .hero h1 {
    font-size: 1.8rem;
  }

  .cta-button {
    padding: 12px 30px;
    font-size: 16px;
  }

  .sauces-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .category-card {
    animation-delay: 0s !important;
  }
}

/* Animation delays for staggered effects */
.category-card:nth-child(1) {
  animation-delay: 0.1s;
}
.category-card:nth-child(2) {
  animation-delay: 0.2s;
}
.category-card:nth-child(3) {
  animation-delay: 0.3s;
}
.category-card:nth-child(4) {
  animation-delay: 0.4s;
}
.category-card:nth-child(5) {
  animation-delay: 0.5s;
}
.category-card:nth-child(6) {
  animation-delay: 0.6s;
}
