/*fonts*/
@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
  color: #3a2d2b;
  background-color: #fdfaf6;
  line-height: 1.5;
  overflow-x: hidden;
}

/* NAVBAR */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0%;
  padding-right: 1rem;
  padding-left: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background: #fbf3e7;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: playfair;
  font-size: 1.6rem;
  font-weight: 700; 
  color: #633f2b;  
  letter-spacing: 1px; 
}

.logo-img {
  height: 40px;
  width: auto;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.8rem;
}

.nav-links li a {
  text-decoration: none;
  font-weight: 500;
  color: #5a4b47;
  transition: color 0.3s;
}

.nav-links li a:hover {
  color: #633f2b;
}

/* HERO */
.hero {
  height: 90vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: url(images/background.png) center/cover no-repeat;
  position: relative;
  text-align: center;
  padding: 0 1rem;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}

.hero-text {
  position: relative;
  z-index: 1;
  color: #fff;
  max-width: 700px;
  animation: fadeDown 1s ease-out;
}

.hero-text h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.25rem;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.6rem;
  background: #633f2b;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  transition: background 0.3s;
}

.btn:hover {
  background: #fcf1e3;
  color: #633f2b;
}

/* ABOUT + MENU PREVIEW */
.about, .menu-preview {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 0 1rem;
  text-align: center;
}

.about h2, .menu-preview h2 {
  font-size: 2.2rem;
  color: #633f2b;
  margin-bottom: 1rem;
}

.about p {
  font-size: 1.125rem;
  color: #5a4b47;
  max-width: 700px;
  margin: 0 auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px,1fr));
  gap: 2.5rem;
  margin-top: 2rem;
}

.card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  overflow: hidden;
  transform: translateY(20px);
  opacity: 0;
  transition: transform 0.5s ease, opacity 0.5s ease;
}

.card.show {
  transform: translateY(0);
  opacity: 1;
}

.card img {
  width: 100%;
  display: block;
}

.card h3 {
  margin: 1rem;
  color: #633f2b;
}

.card p {
  margin: 0 1rem 1rem 1rem;
  color: #5a4b47;
}

/* FOOTER */
footer {
  background: #fcf1e3;
  text-align: center;
  padding: 2rem 1rem;
  color: #5a4b47;
  font-size: 0.9rem;
}

/* FOOTER NAV */
.footer-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: #fcf1e3;
  border-top: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 -2px 6px rgba(0,0,0,0.05);
  padding: 0.8rem 1rem;
  text-align: center;
  z-index: 1000;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.footer-links a {
  text-decoration: none;
  font-weight: 500;
  color: #5a4b47;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #633f2b;
}


/* FADE-UP ANIMATION FOR SECTIONS */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.show {
  opacity: 1;
  transform: translateY(0);
}

/* Keyframe for hero text optional */
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 1.75rem;   /* slightly smaller headline */
  }
  .hero-text p {
    font-size: 0.9rem;   /* smaller subtext */
  }
  .navbar {
    padding: 0.6rem 1rem; /* less padding top/bottom */
  }
  .nav-links {
    gap: 0.6rem;       /* tighter spacing between links */
  }
  .nav-links a {
    font-size: 0.7rem; /* smaller link text */
  }
  .logo {
    font-size: 1rem; /* shrink logo text */
    font-family: playfair;
  }
  .logo-img{
    height: 30px;
    width: auto;
  }
  footer {
  font-size: 0.7rem;
  }
  .about h2 {
    font-size: 1.75rem;
  }
  .about p {
    font-size: 0.9rem;
  }
}