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

:root {
  --primary: #e07a5f;
  --secondary: #3d405b;
  --accent: #f2cc8f;
  --dark: #1a1a2e;
  --light: #f8f9fa;
  --text: #2d3436;
  --text-light: #636e72;
}

html {
  scroll-behavior: smooth;
}

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

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 5%;
  background: rgba(26, 26, 46, 0.95);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.navbar.scrolled {
  padding: 0.7rem 5%;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
}

.logo {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 1px;
  transition: transform 0.3s;
}

.logo:hover {
  transform: scale(1.05);
}

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

.nav-links a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s;
}

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

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

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--light);
  font-size: 1.8rem;
  cursor: pointer;
  transition: transform 0.3s;
}

.menu-toggle:hover {
  transform: rotate(90deg);
}

/* Hero */
.hero {
  height: 100vh;
  background: linear-gradient(135deg, rgba(26, 26, 46, 0.85), rgba(61, 64, 91, 0.7)),
    url('./img/hero.svg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.5;
}

.hero-content {
  position: relative;
  z-index: 1;
  animation: fadeInUp 1s ease;
}

.hero h1 {
  font-size: 4rem;
  margin-bottom: 1rem;
  color: var(--light);
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease 0.2s both;
}

.hero p {
  font-size: 1.4rem;
  margin-bottom: 2.5rem;
  color: var(--accent);
  animation: fadeInUp 1s ease 0.4s both;
}

.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--primary), #c45c3e);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(224, 122, 95, 0.4);
  animation: fadeInUp 1s ease 0.6s both;
}

.btn:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 20px 40px rgba(224, 122, 95, 0.5);
}

/* Menu Section */
.menu-section {
  padding: 6rem 5%;
  text-align: center;
  background: var(--light);
  position: relative;
}

.menu-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, white, transparent);
}

.menu-section h2 {
  font-size: 3rem;
  margin-bottom: 0.5rem;
  color: var(--dark);
  position: relative;
  display: inline-block;
}

.menu-section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--primary);
  margin: 10px auto 0;
  border-radius: 2px;
}

.menu-section .subtitle {
  color: var(--text-light);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

.menu-categories {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.category-btn {
  padding: 0.7rem 1.8rem;
  border: 2px solid transparent;
  background: white;
  color: var(--text);
  border-radius: 30px;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.category-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(224, 122, 95, 0.2);
}

.category-btn.active {
  background: linear-gradient(135deg, var(--primary), #c45c3e);
  color: white;
  box-shadow: 0 5px 20px rgba(224, 122, 95, 0.4);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  perspective: 1000px;
}

.menu-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  cursor: pointer;
  opacity: 0;
  transform: translateY(30px);
  animation: cardFadeIn 0.5s ease forwards;
}

.menu-card:nth-child(1) { animation-delay: 0.1s; }
.menu-card:nth-child(2) { animation-delay: 0.15s; }
.menu-card:nth-child(3) { animation-delay: 0.2s; }
.menu-card:nth-child(4) { animation-delay: 0.25s; }
.menu-card:nth-child(5) { animation-delay: 0.3s; }
.menu-card:nth-child(6) { animation-delay: 0.35s; }

@keyframes cardFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.menu-card:hover {
  transform: translateY(-15px) rotateX(5deg);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.15);
}

.menu-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.menu-card:hover img {
  transform: scale(1.1);
}

.menu-card-img {
  overflow: hidden;
  position: relative;
}

.menu-card-img::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.3), transparent);
}

.menu-card-content {
  padding: 1.5rem;
  text-align: left;
}

.menu-card h3 {
  margin-bottom: 0.5rem;
  color: var(--dark);
  font-size: 1.2rem;
  font-weight: 600;
}

.menu-card .price {
  color: var(--primary);
  font-weight: 700;
  font-size: 1.3rem;
  display: inline-block;
  margin-top: 0.5rem;
  transition: transform 0.3s;
}

.menu-card:hover .price {
  transform: scale(1.1);
}

.menu-card p {
  color: var(--text-light);
  font-size: 0.9rem;
}

/* About Section */
.about-section {
  padding: 6rem 5%;
  background: linear-gradient(135deg, var(--dark), var(--secondary));
  color: var(--light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--primary);
  border-radius: 50%;
  filter: blur(150px);
  opacity: 0.2;
  top: -100px;
  right: -100px;
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 0.2; }
  50% { transform: scale(1.2); opacity: 0.3; }
}

.about-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.about-content h2 {
  font-size: 2.8rem;
  margin-bottom: 2rem;
  color: var(--accent);
}

.about-content p {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
  line-height: 1.8;
  opacity: 0.9;
}

/* Contact Section */
.contact-section {
  padding: 6rem 5%;
  text-align: center;
  background: var(--light);
  position: relative;
}

.contact-section h2 {
  font-size: 2.8rem;
  margin-bottom: 3rem;
  color: var(--dark);
}

.contact-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-item {
  padding: 2.5rem;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.contact-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.contact-item:hover::before {
  transform: scaleX(1);
}

.contact-item h3 {
  color: var(--primary);
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.contact-item p {
  color: var(--text-light);
  margin-bottom: 0.3rem;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--light);
  text-align: center;
  padding: 2rem;
  position: relative;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
}

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

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

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

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

::-webkit-scrollbar-thumb:hover {
  background: #c45c3e;
}

/* Responsive */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: var(--dark);
    padding: 1rem 0;
    gap: 0;
    text-align: center;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links li {
    padding: 1rem 0;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .menu-section h2,
  .about-content h2,
  .contact-section h2 {
    font-size: 2rem;
  }

  .menu-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}

/* Floating elements */
.floating {
  animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}