 html {
  scroll-behavior: smooth;
 }
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Libre Baskerville', serif;
  font-size: 16px;
  line-height: 1.6;
  background: #FFFDE9;
  color: #765641;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Libre Baskerville', serif;
  font-weight: 700;
  line-height: 1.3;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.20rem;
}

/* === MENU ITEMS OR ACCENT TEXT === */
.menu-item-title,
.accent-text {
  font-family: var(--font-alt); /* Lora for a cozy serif feel */
  font-weight: 600;
  color: #8D9774;
}

/* === SCRIPT / SPECIAL CALL TO ACTION === */
.cta-script,
.signature-text {
  font-family: var(--font-script); /* Great Vibes */
  font-size: 1.8rem;
  color: #B87333;
  letter-spacing: 1px;
}

/* === BUTTONS === */
button,
.btn {
  font-family: var(--font-accent); /* Quicksand for soft modern feel */
  background-color: #E3C48F;
  color: #493223;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover,
.btn:hover {
  background-color: #B87333;
  color: #FFFDE9;
}

/* === HEADER === */
header {
  background-color: #2c3e50;
  color: #fff;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1rem;
  position: relative;
}

.header-content {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
  box-sizing: border-box;
  padding: 0 1rem;
}

.header-content h1 {
  font-size: 2.8rem;
  margin: 0.5rem 0;
  line-height: 1.3;
}

.header-content p {
  font-size: 1.3rem;
  margin: 0.5rem 0 0;
  line-height: 1.6;
}

/* === NAVIGATION === */
nav {
  background-color: #34495e;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

nav a {
  color: #fff;
  text-decoration: none;
  padding: 0.75rem 1rem;
  margin-left: 30px;
  font-weight: bold;
}

nav a:hover {
  background-color: #2c3e50;
}

@media (max-width: 600px) {
  nav a {
    margin-left: 0;
  }
}

/* === HERO === */

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

.hero-header {
  position: relative;
  background-image: url('https://imgur.com/iWuDlDZ.jpg');
  background-size: cover;
  background-position: center;
  height: 300px;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  display: grid;
  justify-content: center; /* Center horizontally */
  align-items: center;     /* Center vertically */
  text-align: center;
}

.overlay {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.4);
}

.header-text {
  z-index: 3;
  max-width: 100%;
  text-align: center;
}

.header-text h1 {
  font-size: 36px;
  margin: 0;
}

.header-text p {
  font-size: 18px;
}

/* === GLASS EFFECT === */
.glass h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
}

.highlight {
  color: #FFFDE9;
}

.glass p {
  font-size: 1.2rem;
  margin-top: 1rem;
}

.btn {
  margin-top: 1.5rem;
  display: inline-block;
  padding: 0.75rem 2rem;
  background: #F3D682;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.3s;
}

.btn:hover {
  background: #E3C48F;
}

/* === SECTION === */
section {
  padding: 4rem 2rem;
  text-align: center;
}

/* === SWIPER === */
.swiper-container {
  margin-top: 2rem;
  padding-bottom: 2rem;
}

.swiper-slide {
  background: #fff;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  font-weight: bold;
  font-size: 1.2rem;
}

/* === MENU === */
.menu-section {
  background: #fff;
  padding: 4rem 2rem;
  text-align: center;
  overflow: hidden;
}

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

.menu-item {
  background: white;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  max-width: 250px;
  flex: 1 1 200px;
  text-align: center;
  margin-bottom: 2rem;
  flex-shrink: 0;
}

.menu-item img {
  max-width: 100%;
  border-radius: 4px;
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 2rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
  overflow-x: hidden;
}

.menu-card {
  background: #fdf6f0;
  border-radius: 15px;
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: pointer;
  padding: 1.6rem;
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease;
  max-width: 350px;
  margin: 0 auto;
  height: auto; /* Let content drive height */

}

.menu-card:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.menu-image {
  width: 100%;
  height: 180px;
  min-height: 180px;
  object-fit: cover;
}

.menu-content {
  padding: 0.8rem 1rem;
  background: #fff;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  transform: translateY(80%); /* ✅ less hover distance = smaller look */
  transition: transform 0.3s ease-in-out;
}

.menu-card:hover .menu-content {
  transform: translateY(0);
}

.menu-content h3 {
  font-size: 1.05rem;
}

.price {
  font-size: 0.9rem;
}

.description {
  font-size: 0.75rem;
  line-height: 1.2;
  max-height: 2.3em;
  overflow: hidden;
  text-overflow: ellipsis;
}


/* === NEWSLETTER === */
.newsletter {
  background: #FFFDE9;
  padding: 2rem 1rem;
  text-align: center;
}

.newsletter form {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  max-width: 100%;
  overflow-x: hidden;
  box-sizing: border-box;
  padding: 0 1rem;
}

.newsletter input {
  padding: 0.7rem;
  width: 250px;
  border-radius: 8px;
  border: 1px solid #ccc;
}

.newsletter button {
  padding: 0.7rem 1.5rem;
  background: #8D9774;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

/* === GALLERY === */
.gallery .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  overflow-x: hidden;
  box-sizing: border-box;
}

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

/* === FOOTER === */
footer {
  background-color: #333;
  color: #fff;
  padding: 2rem;
  text-align: center;
  margin-top: 2rem;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .menu-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2rem 1.5rem;
  }

  .menu-card {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .menu-image {
    height: 120px;
  }

  .menu-content h3 {
    font-size: 1rem;
  }

  .price {
    font-size: 1rem;
  }

  .description {
    font-size: 0.8rem;
  }

  .header-content {
    padding: 2rem 1rem;
  }

  .header-text h1 {
    font-size: 2rem;
  }

  .header-text p {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  nav {
    flex-direction: column;
  }

  nav a {
    margin-left: 0;
    padding: 0.5rem;
    text-align: center;
    width: 100%;
  }

  .menu {
    flex-direction: column;
    align-items: center;
  }

  .menu-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 2rem 1.5rem;
  }

  .menu-card {
    max-width:
400px;
margin: 0 auto;
}

header h1 {
font-size: 1.8rem;
}

header p {
font-size: 1rem;
}
}

@media (max-width: 480px) {
section,
.menu-grid,
.newsletter form {
padding-left: 1rem;
padding-right: 1rem;
}
}

.hint-text {
  display: block;
  margin-top: 6px;
  font-size: 0.9rem;
  color: #FFFDE9;
  font-family: 'Source Sans Pro', sans-serif;
  text-align: center;
  opacity: 0.85;
}
