:root {
  --pink-light: #fde8ee;
  --pink-main: #f6c1d1;
  --navy-dark: #1f2a44;
  --navy-soft: #2c365e;
  --white: #ffffff;
  --gray-text: #555;

  --gradient-main: linear-gradient(135deg, #f6c1d1, #1f2a44);
  --gradient-soft: linear-gradient(135deg, #fde8ee, #f6c1d1);

  --radius-lg: 30px;
  --radius-md: 16px;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Poppins", sans-serif;
  background: var(--pink-light);
  color: var(--navy-dark);
  line-height: 1.6;
  opacity: 0;
  transform: scale(0.97);
  animation: pageReveal 0.8s ease forwards;
}

@keyframes pageReveal {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

h1,
h2,
h3 {
  font-family: "Playfair Display", serif;
}

a {
  text-decoration: none;
  color: inherit;
}

section {
  padding: 80px 8%;
}
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
}

.logo {
  font-size: 26px;
  font-weight: 700;
  color: var(--navy-dark);
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-weight: 500;
  position: relative;
  transition: var(--transition);
}

.nav-links a::after {
  content: "";
  width: 0;
  height: 2px;
  background: var(--pink-main);
  position: absolute;
  left: 0;
  bottom: -6px;
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.btn {
  padding: 14px 36px;
  border-radius: var(--radius-lg);
  font-weight: 500;
  transition: var(--transition);
  display: inline-block;
}

.primary-btn {
  background: var(--gradient-main);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(31, 42, 68, 0.25);
}

.primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(31, 42, 68, 0.35);
}

.secondary-btn {
  border: 2px solid var(--white);
  color: var(--white);
}

.outline-btn {
  border: 2px solid var(--navy-dark);
  color: var(--navy-dark);
}

.outline-btn:hover {
  background: var(--navy-dark);
  color: var(--white);
}

.btn {
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 120%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: rgba(255, 255, 255, 0.15);
  transition: all 0.4s ease;
}

.btn:hover::after {
  top: -10%;
}

.hero,
.about-hero,
.menu-hero,
.contact-hero,
.reservation-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--gradient-main);
  color: var(--white);
}

.hero-content h1{
  font-size: 40px;
  margin-bottom: 15px;
}

.about-hero-content h1,
.menu-hero h1,
.contact-hero h1,
.reservation-hero h1 {
  font-size: 52px;
  margin-bottom: 15px;
}

.hero-buttons {
  margin-top: 30px;
  display: flex;
  gap: 20px;
  justify-content: center;
}

.signature h2,
.testimonials h2,
.philosophy h2 {
  text-align: center;
  font-size: 40px;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 50px;
  color: var(--gray-text);
}

.dish-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.dish-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-md);
  text-align: center;
  transition: var(--transition);
}

.dish-card:hover {
  transform: translateY(-8px);
}

.price {
  display: block;
  margin-top: 10px;
  font-weight: 600;
  color: var(--navy-soft);
}

.about-preview,
.about-story,
.team,
.contact-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 60px;
  align-items: center;
}

.about-image,
.story-image,
.team-image {
  background: var(--gradient-soft);
  height: 350px;
  border-radius: var(--radius-md);
}

.philosophy-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.philosophy-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-md);
  text-align: center;
}

.dish-card,
.philosophy-card,
.testimonial-card,
.reservation-card {
  transition: all 0.4s ease;
}

.dish-card:hover,
.philosophy-card:hover,
.testimonial-card:hover,
.reservation-card:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 20px 45px rgba(31, 42, 68, 0.25);
}

.menu-section {
  max-width: 900px;
  margin: auto;
}

.menu-category {
  margin-bottom: 50px;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  padding: 18px 0;
  border-bottom: 1px dashed #ddd;
}

.menu-tabs {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.menu-tabs .tab {
  padding: 10px 26px;
  border-radius: 25px;
  border: none;
  background: var(--white);
  color: var(--navy-dark);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.menu-tabs .tab.active,
.menu-tabs .tab:hover {
  background: var(--gradient-main);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(31, 42, 68, 0.25);
}

.menu-category {
  transition: all 0.4s ease;
}

.menu-category.hide {
  opacity: 0;
  transform: scale(0.95);
  display: none;
}

.testimonial-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.testimonial-card {
  background: var(--white);
  padding: 30px;
  border-radius: var(--radius-md);
  font-style: italic;
}


.reservation-card {
  max-width: 550px;
  margin: auto;
  background: var(--white);
  padding: 50px;
  border-radius: var(--radius-md);
}

form input,
form select,
form textarea {
  width: 100%;
  padding: 14px;
  margin-bottom: 20px;
  border-radius: var(--radius-md);
  border: 1px solid #ddd;
  font-family: inherit;
}

.form-row {
  display: flex;
  gap: 15px;
}

.form-message {
  margin-top: 15px;
  text-align: center;
}

.contact-info p {
  margin-bottom: 10px;
}

.footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 50px 8%;
  text-align: center;
}

.footer-links {
  margin: 20px 0;
}

.footer-links a {
  margin: 0 10px;
  opacity: 0.8;
}

.footer-links a:hover {
  opacity: 1;
}

.chat-btn {
  position: fixed;
  bottom: 25px;
  right: 25px;
  background: linear-gradient(135deg, #f6c1d1, #1f2a44);
  color: #fff;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 22px;
  z-index: 2000;
}

.chat-box {
  position: fixed;
  bottom: 90px;
  right: 25px;
  width: 280px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  display: none;
  flex-direction: column;
  overflow: hidden;
  z-index: 2000;
}

.chat-box.active {
  display: flex;
}

.chat-header {
  background: #1f2a44;
  color: #fff;
  padding: 12px;
  text-align: center;
}

.chat-messages {
  padding: 12px;
  height: 160px;
  overflow-y: auto;
  font-size: 14px;
}

.bot-msg {
  background: #fde8ee;
  padding: 8px;
  border-radius: 10px;
  margin-bottom: 6px;
}

.user-msg {
  text-align: right;
  margin-bottom: 6px;
}

.chat-options {
  display: flex;
  gap: 6px;
  padding: 10px;
}

.chat-options button {
  flex: 1;
  border: none;
  padding: 6px;
  border-radius: 10px;
  cursor: pointer;
}


@media (max-width: 768px) {

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 32px;
  }

  section {
    padding: 60px 6%;
  }

  .navbar {
    padding: 16px 6%;
  }

  .nav-links {
    gap: 20px;
  }

  .hero,
  .about-hero,
  .menu-hero,
  .contact-hero,
  .reservation-hero {
    min-height: 60vh;
    padding: 0 6%;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }

  .about-preview,
  .about-story,
  .team,
  .contact-section {
    gap: 40px;
  }

  .form-row {
    flex-direction: column;
  }

  .reservation-card {
    padding: 40px;
  }

  .menu-item {
    gap: 20px;
  }
}


@media (max-width: 480px) {

  h1 {
    font-size: 26px;
  }

  h2 {
    font-size: 18px;
  }

  p {
    font-size: 12px;
  }

  section {
    padding: 50px 5%;
  }

  .navbar {
    flex-direction: column;
    gap: 12px;
    padding: 14px 5%;
  }

  .logo {
    font-size: 22px;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .hero,
  .about-hero,
  .menu-hero,
  .contact-hero,
  .reservation-hero {
    min-height: 55vh;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .dish-card,
  .philosophy-card,
  .testimonial-card,
  .reservation-card {
    padding: 25px;
  }

  .menu-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .menu-item span {
    align-self: flex-end;
    font-weight: 600;
  }

  .chat-box {
    width: 90%;
    right: 5%;
  }

  .chat-btn {
    width: 50px;
    height: 50px;
    font-size: 20px;
  }

  /* Footer */
  .footer {
    padding: 40px 5%;
  }
}

