/* CSS Variables for easy customization - change these to update colors site-wide */
:root {
  --warm-cream: #FFF5E6; /* Background and light accents */
  --waffle-brown: #2e2715; /* Primary brand color, buttons */
  --dark-brown: #4A2E1C; /* Accents, text */
  --soft-mint: #CFF6E2; /* Highlights, badges */
  --text-color: #333; /* Default text */
  --shadow: rgba(0, 0, 0, 0.1); /* Subtle shadows */
  --transition: all 0.3s ease; /* Smooth transitions */
}

/* Reset and base styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif; /* Body font - change in Google Fonts link if needed */
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--warm-cream);
  overflow-x: hidden; /* Prevent horizontal scroll */
}

h1, h2, h3, h4 {
  font-family: 'Lora', serif; /* Heading font - change in Google Fonts link if needed */
  font-weight: 700;
}

img {
  max-width: 100%;
  height: auto;
}

/* Utility classes */
.container {
  max-width: 1200px; /* Desktop max width */
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border: none;
  border-radius: 50px; /* Rounded pill shape */
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background: linear-gradient(45deg, var(--waffle-brown), #7b7070); /* Subtle gradient */
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px var(--shadow);
}

.btn-secondary {
  background: transparent;
  color: var(--waffle-brown);
  border: 2px solid var(--waffle-brown);
}

.btn-secondary:hover {
  background: var(--waffle-brown);
  color: white;
}

/* Header and Navigation */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(255, 245, 230, 0.95); /* Semi-transparent for overlay effect */
  z-index: 100;
  box-shadow: 0 2px 4px var(--shadow);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem ;
  max-height: 90px;
}

.logo {
  display: flex;
  align-items: center;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark-brown);
}

.logo img {
  height: 900px;
  max-height: 90px;
  width:auto;
  object-fit: contain;
  display: block;
  margin-right: 0.5rem;
}

.nav-toggle {
  display: none; /* Hidden on desktop */
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer; 
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin-left: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-brown);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--waffle-brown);
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: rgb(238, 236, 231);
  background-image: url("silkin.jpeg");
 
  background-size: cover;
  background-position: center;
}

.hero img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  
  z-index: -1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(212, 158, 49, 0.5); /* Dark brown overlay for high contrast */
  z-index: -1;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

/* About Section */
.about {
  padding: 4rem 0;
  background: white;
}

.about-content {
  display: flex;
  
  gap: 2.5rem;
  align-items: center;

}

.about-text {
  flex: 1;
}


/* Specials Section */
.specials {
  padding: 4rem 0;
  background: var(--warm-cream);
}











/* Menu Section */
.menu {
  padding: 4rem 0;
  background: white;
}

.menu-categories {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.category ul {
  list-style: none;
}

.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid #eee;
}

.menu-item:hover {
  background: var(--warm-cream); /* Hover reveal */
}

.add-btn {
  background: var(--waffle-brown);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
}

/* Gallery Section */
.gallery {
  padding: 4rem 0;
  background: var(--warm-cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-grid img {
  cursor: pointer;

  transition: var(--transition);
}

.gallery-grid img:hover {
  transform: scale(1.05);
}

/* Reviews Section */
.reviews {
  padding: 4rem 0;
  background: white;
}

.testimonials {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

blockquote {
  border-left: 4px solid var(--waffle-brown);
  padding-left: 1rem;
  font-style: italic;
}

.stars {
  color: var(--waffle-brown);
  margin-top: 0.5rem;
}

/* Footer */
.footer {
  background: var(--dark-brown);
  color: white;
  padding: 2rem 0;
}

.footer-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
}

.social-icons a {
  color: white;
  transition: var(--transition);
}

.social-icons a:hover {
  color: var(--soft-mint);
}

.map {
  margin-top: 2rem;
}

/* Modals */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
}

.modal.show {
  display: flex;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  max-width: 500px;
  width: 90%;
  position: relative;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 2rem;
  cursor: pointer;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

input, textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  transition: var(--transition);
}

input:focus, textarea:focus {
  border-color: var(--waffle-brown);
  outline: none;
  box-shadow: 0 0 0 2px rgba(190, 138, 74, 0.2);
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox.show {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--waffle-brown);
  color: white;
  padding: 1rem;
  border-radius: 8px;
  opacity: 0;
  transform: translateY(100px);
  transition: var(--transition);
  z-index: 1001;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Reservation Banner */
.reservation-banner {
  position: fixed;
  top: 80px;
  right: 20px;
  background: var(--soft-mint);
  color: var(--dark-brown);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px var(--shadow);
  z-index: 99;
}

/* Responsive Breakpoints */
@media (min-width: 768px) { /* Tablet */
  .about-content, .footer-content {
    flex-direction: row;
  }

  .hero-content h1 {
    font-size: 4rem;
  }

  .nav-toggle {
    display: block; /* Show toggle on tablet if needed, but keep links visible */
  }

  
  .menu-categories {
    flex-direction: row;
  }
}

@media (min-width: 1200px) { /* Desktop */
  .hero-content h1 {
    font-size: 5rem;
  }

  .container {
    padding: 0 2rem;
  }
}

/* Accessibility: Focus states for keyboard navigation */
.btn:focus, a:focus, input:focus, textarea:focus {
  outline: 2px solid var(--waffle-brown);
  outline-offset: 2px;
}

/* Print styles (basic) */
@media print {
  .modal, .lightbox, .nav-toggle {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
  }

  .about-slider {
    max-width: 100%;
    height: 260px;
  }
}

.about-slider {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 320px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 14px var(--shadow);
  flex:1;
}

.slides {
  width: 100%;
  height: 100%;
}

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.slide.active {
  opacity: 1;
}

/* Navigation buttons */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 1.5rem;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
}

.slider-btn.prev { left: 10px; }
.slider-btn.next { right: 10px; }

.slider-btn:hover {
  background: rgba(0,0,0,0.75);
}
.about-text {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.about-text p {
  flex: 1;
}

.about-slider {
  flex: 1;
}
@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background-size: cover;
  background-position: center;
  transition: background-image 0.8s ease-in-out;
  color: rgb(255, 255, 255);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4); /* dark overlay */
  z-index: 0;
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 1;
}

.changing-text {
  font-weight: bold;
  color: #e6b168;
}

.cursor {
  display: inline-block;
  margin-left: 2px;
  width: 1ch;
  animation: blink 0.7s step-start infinite;
}

@keyframes blink {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}
/* ===== CINEMATIC HERO EFFECT ===== */
.hero {
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1);
  transition: opacity 1.2s ease-in-out;
  z-index: -2;
  opacity: 1;
}

.hero.fade::before {
  opacity: 0;
}

/* Slow cinematic zoom */
@keyframes slowZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.hero.cinematic::before {
  animation: slowZoom 8s ease-in-out forwards;
}
.changing-text {
  transition: opacity 0.4s ease;
}
.changing-text.fade-text {
  opacity: 0;
}

/* ===== SERVICES SECTION (CLEAN + PREMIUM) ===== */


/* Card */

/* Reveal text when card shows */



/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 2rem;
  background-color: #000000;
  padding: 20px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color:white;
  
}

.section-header p {
  font-size: 1rem;
  color: #fdf8f8;
}

/* Cards */


/* Professional Gallery */
.gallery {
  padding: 4rem 0;
  background: var(--warm-cream);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: brightness(1.1);
}

.overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .overlay {
  opacity: 1;
}

.zoom-icon {
  font-size: 2rem;
  color: white;
}

/* Lightbox */
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  inset: 0;
  background: rgba(0,0,0,0.9);
  justify-content: center;
  align-items: center;
  padding: 1rem;
}

.lightbox.show {
  display: flex;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

.lightbox .close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 3rem;
  color: white;
  cursor: pointer;
}

#food-description {
  transition: opacity 0.4s ease, transform 0.4s ease;
}


.about {
  transition: background-color 0.8s ease;
}
.about-text h2 {
  letter-spacing: 1px;
}


.about {
  transition: background-color 0.9s ease;
}

.about-text h2,
.about-text p {
  color: white;
}

.about-text {
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}

.about::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0,0,0,0.15),
    rgba(0,0,0,0.35)
  );
  pointer-events: none;
}

.about {
  position: relative;
}

/* ===== SERVICES SECTION (CLEAN + PREMIUM) ===== */

.waffle-cards {
  display: flex;
  gap: 2rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Card */
.waffle-card {
  width: 300px;
  background: #fff;
  border-radius: 7px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.18);
 
  transition:
    transform 0.9s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.9s ease,
    box-shadow 0.4s ease;
}

/* When visible */
.waffle-card.show {
  opacity: 1;
  transform: translateY(0);
}

/* Image */
.waffle-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 1.1s ease;
}

/* Hover cinematic zoom */
.waffle-card:hover img {
  transform: scale(1.12);
}

/* Hover elevation */
.waffle-card:hover {
  box-shadow: 0 22px 50px rgba(0,0,0,0.35);
}

/* Content */
.card-content {
  padding: 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

/* Title */
.card-content h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #2e2715;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.6s ease;
}

/* Description */
.card-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.6s ease;
}

/* Price — ALWAYS VISIBLE */
.card-content .price {
  font-weight: 700;
  font-size: 1.05rem;
  color: #7b4f2f;
  margin-top: 4px;
}

/* Reveal text when card shows */
.waffle-card.show h4 {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.waffle-card.show p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.35s;
}

.card-content p {
  opacity: 1 !important;
}

/* Menu Book Section */
/* Indian Menu Book Style */
.menu-swipe {
  position: relative;
  padding: 4rem 1rem;
  overflow: hidden;
  color: #fff;
}

/* Background */
.menu-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(15px) brightness(0.45);
  transform: scale(1.15);
  transition: background-image 0.6s ease;
  z-index: 0;
}

.menu-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

/* Swipe container */
.menu-wrapper {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 2;
}

.menu-wrapper::-webkit-scrollbar {
  display: none;
}

/* Menu page */
.menu-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(12px) brightness(0.6) saturate(1.3);
  transform: scale(1.15);
  transition: background-image 0.6s ease, filter 0.4s ease;
  z-index: 0;
}

.menu-page h3 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px dashed rgba(255,255,255,0.4);
}

/* Menu item */
.menu-swipe {
  position: relative;
  padding: 4rem 1rem;
  overflow: hidden;
  color: #fff;
}

/* Background */
.menu-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(15px) brightness(0.45);
  transform: scale(1.15);
  transition: background-image 0.6s ease;
  z-index: 0;
}

.menu-title {
  text-align: center;
  font-size: 2.2rem;
  margin-bottom: 2rem;
  position: relative;
  z-index: 2;
}

/* Swipe container */
.menu-wrapper {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 2;
}

.menu-wrapper::-webkit-scrollbar {
  display: none;
}

/* Menu page */
.menu-page {
  min-width: 85%;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(8px);
  border-radius: 5px;
  padding: 1.5rem;
  scroll-snap-align: center;
}

.menu-page h3 {
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
  border-bottom: 1px dashed rgba(255,255,255,0.4);
}

/* Menu item */
.menu-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.9rem 0;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.menu-item:hover {
  transform: translateX(6px);
}

/* PNG image */
.menu-item img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  flex-shrink: 0;
}

/* Text */
.menu-info {
  display: flex;
  flex-direction: column;
}

.dish {
  font-size: 1.15rem;
  font-weight: 600;
}

.price {
  font-size: 1rem;
  color: #ffd27d;
  font-weight: 700;
}

/* Desktop */
@media (min-width: 900px) {
  .menu-wrapper {
    justify-content: center;
    overflow-x: hidden;
  }
  .menu-page {
    min-width: 340px;
  }
}
/* ===============================
   MENU SECTION – PREMIUM BACKGROUND
================================ */
/* ===============================
   MENU HEADER
================================ */
.menu-header {
  position: relative;
  text-align: center;
  margin-bottom: 3rem;
  z-index: 2;
}

/* Menu Title – Premium & Calm */
.menu-title {
  font-family: 'Lora', serif;
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #f6d28b;

  position: relative;
  display: inline-block;
  padding: 0.6rem 1.4rem;
}

/* Soft glow halo (luxury, not flashy) */
.menu-title::before {
  content: "";
  position: absolute;
  inset: -8px;
  background: radial-gradient(
    circle,
    rgba(246, 210, 139, 0.35) 0%,
    rgba(0, 0, 0, 0) 70%
  );
  border-radius: 14px;
  z-index: -1;
  animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%   { opacity: 0.45; transform: scale(1); }
  50%  { opacity: 0.7;  transform: scale(1.08); }
  100% { opacity: 0.45; transform: scale(1); }
}


/* ===============================
   MENU SECTION BACKGROUND
================================ */
.menu-swipe {
  position: relative;
  padding: 5rem 1.5rem;
  
  overflow: hidden;
  color: #fff;

  background: linear-gradient(
    135deg,
    rgba(121, 94, 57, 0.9),
    rgba(28, 18, 8, 0.9)
  );
}

/* Blurred cinematic background slideshow */
.menu-swipe::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(5px) brightness(0.55);
  transform: scale(1.1);
  z-index: 0;
  animation: menuBgSlide 24s ease-in-out infinite;
  transition: background-image 1.2s ease;
}

/* Gentle grain overlay (depth) */
.menu-swipe::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at top,
    rgba(255, 255, 255, 0.04),
    transparent 70%
  );
  pointer-events: none;
  z-index: 1;
}

/* Ensure content stays above */
.menu-swipe > * {
  position: relative;
  z-index: 2;
}


/* ===============================
   BACKGROUND SLIDESHOW
================================ */
@keyframes menuBgSlide {
  0% {
    background-image: url("veg\ biriyani.png");
  }
  25% {
    background-image: url("onion\ bhaji.png");
  }
  50% {
    background-image: url("gulab\ jamun.png");
  }
  75% {
    background-image: url("simple\ samosa.png");
  }
  100% {
    background-image: url("kheer.png");
  }
}

/*css for the image slider in the world class food section*/

/* Heading on top */

/* About Section */
.about {
  position: relative;
  padding: 2rem 1rem;
  background-color: var(--warm-cream);
}

/* Section heading on top */
.about-text h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: #2e2715;
}

/* Flex layout: text + slider */
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  justify-content: center;
}

/* About text */
.about-text {
  flex: 1;
  min-width: 250px;
}

/* Slider */
.about-slider {
  flex: 2;
  min-width: 300px;
  max-width: 700px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  height: calc(100vh - 160px); /* dynamic height based on viewport minus header + heading */
}

/* Slides container */
.about-slider .slides {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Each slide */
.about-slider .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.about-slider .slide.active {
  opacity: 1;
}

/* Slider buttons */
.about-slider .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 1.5rem;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
}

.about-slider .slider-btn.prev { left: 10px; }
.about-slider .slider-btn.next { right: 10px; }

/* Mobile adjustments */
@media (max-width: 1024px) {
  .about-slider {
    height: 50vh; /* slightly smaller for tablets */
  }
}

@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    align-items: center;
  }

  .about-slider {
    width: 100%;
    max-width: 100%;
    min-width: auto;
    height: 40vh; /* smaller height for mobile */
    margin-top: 1rem;
  }

  .about-text h2 {
    font-size: 1.6rem;
  }
}

@media (max-width: 480px) {
  .about-slider {
    height: 35vh; /* very small devices */
  }

  .about-text h2 {
    font-size: 1.4rem;
  }
}

/* About Section */
/* About Section */
.about {
  position: relative;
  padding: 2rem 1rem;
  background-color: var(--warm-cream);
}

/* Section heading */
.about-text h2 {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
  color: #2e2715;
}

/* Flex layout */
.about-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  justify-content: center;
}

/* About text */
.about-text {
  flex: 1;
  min-width: 250px;
}

/* Slider */
.about-slider {
  flex: 2;
  min-width: 300px;
  max-width: 700px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  /* Maintain aspect ratio: 16:9 */
  aspect-ratio: 16 / 9; 
}

/* Slides container */
.about-slider .slides {
  position: relative;
  width: 100%;
  height: 100%;
}

/* Each slide */
.about-slider .slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.about-slider .slide.active {
  opacity: 1;
}

/* Slider buttons */
.about-slider .slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: white;
  border: none;
  font-size: 1.5rem;
  padding: 0.4rem 0.7rem;
  cursor: pointer;
  border-radius: 50%;
  z-index: 2;
}

.about-slider .slider-btn.prev { left: 10px; }
.about-slider .slider-btn.next { right: 10px; }



  .about-slider {
  flex: 2;
  min-width: 300px;
  max-width: 700px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;

  /* Responsive aspect ratio */
  aspect-ratio: 16 / 9; 

  /* Limit max height so it doesn’t get massive */
  max-height: 400px; 
}

/* Tablet */
@media (max-width: 1024px) {
  .about-slider {
    aspect-ratio: 4 / 3;
    max-height: 350px;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .about-slider {
    width: 100%;
    aspect-ratio: 16 / 9;
    max-height: 300px;
    margin-top: 1rem;
  }
}

@media (max-width: 480px) {
  .about-slider {
    aspect-ratio: 4 / 3;
    max-height: 250px;
  }
}

.gallery {
  padding: 4rem 0;
  background: #f8f8f8;
  text-align: center;
}

.gallery h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  grid-auto-rows: 150px;
  gap: 1rem;
}

/* Different sizes for masonry effect */
.gallery-item.large { grid-row: span 2; grid-column: span 2; }
.gallery-item.medium { grid-row: span 2; grid-column: span 1; }
.gallery-item.small { grid-row: span 1; grid-column: span 1; }

.gallery-item {
  position: relative;
  cursor: pointer;
  overflow: hidden;
  
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.5);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transition: bottom 0.4s ease;
  text-align: center;
  padding: 1rem;
}

.gallery-item:hover .overlay {
  bottom: 0;
}

.overlay h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.overlay p {
  font-size: 1rem;
}
