/* Design System */
:root {
  --primary: #4A2C2A;
  --primary-light: #6B4423;
  --secondary: #D4A574;
  --secondary-light: #E8C9A0;
  --accent: #C65D3E;
  --bg: #FFF8F0;
  --bg-alt: #FFF0E0;
  --bg-dark: #2C1810;
  --text: #2C1810;
  --text-light: #F5E6D3;
  --text-muted: #8B7355;
  --white: #FFFFFF;
  --shadow: 0 4px 20px rgba(44,24,16,0.1);
  --shadow-lg: 0 10px 40px rgba(44,24,16,0.15);
  --radius: 12px;
  --radius-lg: 20px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* 1. CSS Reset & Base */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* 2. Typography */
h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
}

h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
}

h4 {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 3px;
  background-color: var(--secondary);
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 10px auto 0;
}

/* 3. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--text-light);
}

.btn-primary:hover {
  background-color: var(--primary-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.btn-secondary {
  background-color: var(--secondary);
  color: var(--primary);
}

.btn-secondary:hover {
  background-color: var(--secondary-light);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border-color: var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--text-light);
}

.btn-outline-light {
  background-color: transparent;
  border-color: var(--text-light);
  color: var(--text-light);
}

.btn-outline-light:hover {
  background-color: var(--text-light);
  color: var(--primary);
}

/* 4. Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: var(--transition);
  background-color: transparent;
}

.navbar.scrolled {
  background-color: var(--white);
  box-shadow: var(--shadow);
  padding: 12px 0;
}

.nav-container {
  max-width: 1200px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--text-light);
}

.navbar.scrolled .nav-logo {
  color: var(--primary);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 8px;
  align-items: center;
}

.nav-link {
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-light);
  transition: var(--transition);
}

.nav-link:hover {
  background-color: rgba(255,255,255,0.15);
}

.navbar.scrolled .nav-link {
  color: var(--text);
}

.navbar.scrolled .nav-link:hover {
  background-color: var(--bg-alt);
}

.nav-link.active {
  font-weight: 600;
}

.nav-cta {
  background-color: var(--secondary) !important;
  color: var(--primary) !important;
  border-radius: 50px;
  padding: 10px 24px;
}

.nav-cta:hover {
  background-color: var(--secondary-light);
  transform: translateY(-2px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
  background-color: var(--text-light);
  transition: var(--transition);
  border-radius: 2px;
}

.navbar.scrolled .nav-toggle span {
  background-color: var(--text);
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(7px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-7px);
}

/* 5. Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(rgba(44,24,16,0.6), rgba(44,24,16,0.7)), url('https://images.unsplash.com/photo-1445116572660-236099ec97a0?auto=format&fit=crop&w=1920&q=80') center/cover;
}

.hero-content {
  text-align: center;
  color: var(--text-light);
  z-index: 2;
  padding: 0 20px;
  max-width: 800px;
}

.hero-title {
  font-size: 4.5rem;
  margin-bottom: 20px;
  animation: fadeInUp 1s ease;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin-bottom: 40px;
  opacity: 0.9;
  font-weight: 300;
  animation: fadeInUp 1s ease 0.2s both;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 1s ease 0.4s both;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-light);
  animation: bounce 2s infinite;
}

/* 6. Featured Section (Home page) */
.featured {
  padding: 100px 0;
  background-color: var(--bg);
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.featured-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.featured-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.featured-card-img {
  height: 250px;
  overflow: hidden;
}

.featured-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.featured-card:hover .featured-card-img img {
  transform: scale(1.05);
}

.featured-card-info {
  padding: 24px;
}

.featured-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 8px;
}

.featured-card-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.featured-card-price {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--accent);
}

/* 7. About Preview (Home page) */
.about-preview {
  padding: 100px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.about-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-preview-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 500px;
}

.about-preview-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-preview-content .section-title::after {
  background-color: var(--secondary);
}

.about-preview-text {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 30px;
  opacity: 0.9;
}

/* 8. Testimonials (Home page) */
.testimonials {
  padding: 100px 0;
  background-color: var(--bg-alt);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: var(--white);
  padding: 40px 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 20px;
  left: 24px;
  font-size: 4rem;
  color: var(--secondary);
  font-family: 'Playfair Display', serif;
  line-height: 1;
}

.testimonial-text {
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 20px;
  padding-top: 30px;
  color: var(--text-muted);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--secondary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--primary);
}

.testimonial-name {
  font-weight: 600;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* 9. Menu Page */
.menu-hero {
  padding: 170px 20px 95px;
  background: linear-gradient(135deg, rgba(35, 18, 12, 0.78) 0%, rgba(35, 18, 12, 0.88) 100%), url('https://images.unsplash.com/photo-1501339847302-ac426a4a7cbb?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: var(--text-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.menu-hero .section-title {
  color: var(--text-light);
  font-size: 3.2rem;
  margin-bottom: 12px;
}

.menu-hero .section-subtitle {
  color: var(--secondary-light);
  font-size: 1.2rem;
  max-width: 650px;
  margin: 15px auto 0;
  opacity: 0.95;
}

.menu-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 40px 0;
  background-color: var(--bg);
  position: sticky;
  top: 72px;
  z-index: 100;
}

.menu-nav-link {
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 500;
  background-color: var(--white);
  color: var(--text);
  border: 2px solid var(--bg-alt);
  transition: var(--transition);
}

.menu-nav-link:hover, .menu-nav-link.active {
  background-color: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
}

.menu-category {
  padding: 60px 0;
}

.menu-category:nth-child(even) {
  background-color: var(--bg-alt);
}

.menu-category-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 8px;
  color: var(--primary);
}

.menu-category-subtitle {
  color: var(--text-muted);
  margin-bottom: 40px;
  font-size: 0.95rem;
}

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

.menu-card {
  display: flex;
  background-color: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.menu-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.menu-card-img {
  width: 130px;
  min-height: 130px;
  flex-shrink: 0;
  overflow: hidden;
}

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

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

.menu-card-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

.menu-card-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  margin-bottom: 4px;
}

.menu-card-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.menu-card-price {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
}

.menu-note {
  text-align: center;
  padding: 16px;
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: italic;
}

/* 10. Gallery Page */
.gallery-hero {
  padding: 170px 20px 95px;
  background: linear-gradient(135deg, rgba(35, 18, 12, 0.78) 0%, rgba(35, 18, 12, 0.88) 100%), url('https://images.unsplash.com/photo-1554118811-1e0d58224f24?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: var(--text-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.gallery-hero .section-title {
  color: var(--text-light);
  font-size: 3.2rem;
  margin-bottom: 12px;
}

.gallery-hero .section-subtitle {
  color: var(--secondary-light);
  font-size: 1.2rem;
  max-width: 650px;
  margin: 15px auto 0;
  opacity: 0.95;
}

.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  padding: 40px 0;
  flex-wrap: wrap;
}

.gallery-filter-btn {
  padding: 10px 24px;
  border-radius: 50px;
  font-weight: 500;
  background-color: var(--white);
  color: var(--text);
  border: 2px solid var(--bg-alt);
  transition: var(--transition);
  cursor: pointer;
}

.gallery-filter-btn:hover, .gallery-filter-btn.active {
  background-color: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
}

.gallery-grid {
  columns: 3;
  column-gap: 20px;
  padding: 0 0 60px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.02);
}

.gallery-item img {
  width: 100%;
  display: block;
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(44,24,16,0.4);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
}

.gallery-item:hover .gallery-item-overlay {
  opacity: 1;
}

.lightbox {
  position: fixed;
  inset: 0;
  background-color: rgba(0,0,0,0.9);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}

.lightbox.active {
  display: flex;
  opacity: 1;
}

.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  border-radius: var(--radius);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 30px;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  background: transparent;
  border: none;
  z-index: 2001;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: white;
  font-size: 3rem;
  cursor: pointer;
  background-color: rgba(255,255,255,0.1);
  border: none;
  padding: 10px 16px;
  border-radius: 50%;
}

.lightbox-prev {
  left: 20px;
}

.lightbox-next {
  right: 20px;
}

/* 11. About Page */
.about-hero {
  padding: 170px 20px 95px;
  background: linear-gradient(135deg, rgba(35, 18, 12, 0.78) 0%, rgba(35, 18, 12, 0.88) 100%), url('https://images.unsplash.com/photo-1442512595331-e89e73853f31?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: var(--text-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.about-hero .section-title {
  color: var(--text-light);
  font-size: 3.2rem;
  margin-bottom: 12px;
}

.about-hero .section-subtitle {
  color: var(--secondary-light);
  font-size: 1.2rem;
  max-width: 650px;
  margin: 15px auto 0;
  opacity: 0.95;
}

.about-story {
  padding: 100px 0;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-story-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 500px;
}

.about-story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-story-content p {
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-muted);
}

.about-values {
  padding: 100px 0;
  background-color: var(--bg-alt);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.value-card {
  text-align: center;
  padding: 40px 30px;
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.value-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 12px;
}

.value-desc {
  color: var(--text-muted);
  line-height: 1.7;
}

.about-culture {
  padding: 100px 0;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

.culture-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.culture-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 400px;
}

.culture-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.culture-content p {
  line-height: 1.8;
  opacity: 0.9;
  margin-bottom: 20px;
}

/* 12. Contact Page */
.contact-hero {
  padding: 170px 20px 95px;
  background: linear-gradient(135deg, rgba(35, 18, 12, 0.78) 0%, rgba(35, 18, 12, 0.88) 100%), url('https://images.unsplash.com/photo-1525610553991-2bede1a236e2?auto=format&fit=crop&w=1920&q=80') center/cover no-repeat;
  color: var(--text-light);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact-hero .section-title {
  color: var(--text-light);
  font-size: 3.2rem;
  margin-bottom: 12px;
}

.contact-hero .section-subtitle {
  color: var(--secondary-light);
  font-size: 1.2rem;
  max-width: 650px;
  margin: 15px auto 0;
  opacity: 0.95;
}

.contact-info-section {
  padding: 80px 0;
}

.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 60px;
}

.contact-info-card {
  text-align: center;
  padding: 30px;
  background-color: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.contact-info-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--secondary);
}

.contact-info-title {
  font-weight: 600;
  margin-bottom: 8px;
}

.contact-info-text {
  color: var(--text-muted);
}

.book-table-section {
  padding: 100px 0;
  background-color: var(--bg-alt);
}

.book-table-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-form {
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 14px 16px;
  border: 2px solid var(--bg-alt);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--bg);
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--secondary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(212,165,116,0.2);
}

.form-group textarea {
  min-height: 100px;
  resize: vertical;
}

.form-submit {
  width: 100%;
  padding: 16px;
  margin-top: 10px;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px;
  color: var(--primary);
}

.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  min-height: 450px;
  box-shadow: var(--shadow);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* 13. Footer */
.footer {
  background-color: var(--bg-dark);
  color: var(--text-light);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 60px;
}

.footer-logo {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 16px;
  color: var(--secondary);
}

.footer-col p {
  opacity: 0.8;
  line-height: 1.7;
  font-size: 0.95rem;
}

.footer-col h4 {
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  opacity: 0.8;
  transition: var(--transition);
}

.footer-col ul a:hover {
  opacity: 1;
  color: var(--secondary);
}

.footer-socials {
  display: flex;
  gap: 16px;
  margin-top: 20px;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-socials a:hover {
  background-color: var(--secondary);
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 30px;
  text-align: center;
  opacity: 0.6;
  font-size: 0.9rem;
}

/* 14. Chatbot Widget */
.chatbot {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1500;
}

.chatbot-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--text-light);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
}

.chatbot-toggle:hover {
  transform: scale(1.1);
  background-color: var(--primary-light);
}

.chatbot-window {
  position: absolute;
  bottom: 80px;
  right: 0;
  width: 380px;
  max-height: 500px;
  background-color: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: slideUp 0.3s ease;
}

.chatbot-window.active {
  display: flex;
}

.chatbot-header {
  background-color: var(--primary);
  color: var(--text-light);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.chatbot-header h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
}

.chatbot-close {
  background-color: transparent;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 340px;
}

.chat-msg {
  max-width: 85%;
  padding: 12px 16px;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
}

.chat-msg.bot {
  background-color: var(--bg-alt);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
}

.chat-msg.user {
  background-color: var(--primary);
  color: var(--text-light);
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chatbot-input {
  display: flex;
  padding: 12px;
  border-top: 1px solid var(--bg-alt);
  gap: 8px;
}

.chatbot-input input {
  flex: 1;
  padding: 10px 16px;
  border: 2px solid var(--bg-alt);
  border-radius: 50px;
  font-size: 0.9rem;
  outline: none;
}

.chatbot-input input:focus {
  border-color: var(--secondary);
}

.chatbot-input button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--primary);
  color: var(--text-light);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.chatbot-input button:hover {
  background-color: var(--primary-light);
}

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

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
  40% { transform: translateX(-50%) translateY(-15px); }
  60% { transform: translateX(-50%) translateY(-8px); }
}

.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.slide-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.slide-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.slide-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* 16. Responsive (CRITICAL - mobile-first approach) */
@media (max-width: 992px) {
  h1 {
    font-size: 2.8rem;
  }
  .hero-title {
    font-size: 3.2rem;
  }
  .about-preview-grid, .about-story-grid, .culture-grid, .book-table-grid {
    grid-template-columns: 1fr;
  }
  .about-preview-img, .about-story-img, .culture-img {
    height: 350px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .gallery-grid {
    columns: 2;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  h2 {
    font-size: 1.8rem;
  }
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-subtitle {
    font-size: 1.1rem;
  }
  .nav-toggle {
    display: flex;
  }
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    flex-direction: column;
    background-color: var(--white);
    padding: 100px 40px 40px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.1);
    transition: right 0.3s ease;
  }
  .nav-menu.active {
    right: 0;
  }
  .nav-menu .nav-link {
    color: var(--text);
    padding: 14px 0;
    font-size: 1.1rem;
    border-bottom: 1px solid var(--bg-alt);
  }
  .nav-menu .nav-cta {
    margin-top: 20px;
    text-align: center;
    justify-content: center;
  }
  .navbar.scrolled .nav-toggle span {
    background-color: var(--text);
  }
  .menu-grid {
    grid-template-columns: 1fr;
  }
  .menu-card-img {
    width: 110px;
    min-height: 110px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .featured-grid {
    grid-template-columns: 1fr;
  }
  .testimonial-grid {
    grid-template-columns: 1fr;
  }
  .gallery-grid {
    columns: 2;
  }
  .chatbot-window {
    width: calc(100vw - 40px);
    right: -10px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2.2rem;
  }
  .hero-cta {
    flex-direction: column;
    align-items: center;
  }
  .gallery-grid {
    columns: 1;
  }
  .menu-nav {
    gap: 8px;
  }
  .menu-nav-link {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
  .contact-info-grid {
    grid-template-columns: 1fr;
  }
  .chatbot {
    bottom: 20px;
    right: 20px;
  }
  .chatbot-window {
    width: calc(100vw - 32px);
    right: -10px;
    bottom: 75px;
    max-height: 75vh;
  }
}

/* CTA Banner */
.cta-banner {
  background: var(--secondary);
  padding: 80px 20px;
  text-align: center;
}
.cta-banner h2 {
  color: var(--primary);
  margin-bottom: 12px;
}
.cta-banner p {
  color: var(--primary);
  opacity: 0.8;
  margin-bottom: 30px;
  font-size: 1.1rem;
}
.cta-banner .btn-group {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
