/* ===========================
   Home Page Styles - Professional Light Theme
   =========================== */

/* Hero Section */
.hero {
  height: 100vh;
  min-height: 100vh;
  max-height: 100vh;
  width: 100vw;
  margin: 0 !important;
  padding: 0 !important;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(
      135deg,
      rgba(149, 31, 68, 0.45),
      rgba(184, 54, 91, 0.45)
    ),
    url("/images/homebanner.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at bottom,
    rgba(255, 255, 255, 0.05),
    transparent
  );
  pointer-events: none;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  color: white;
  max-width: 900px;
  /* padding: 40px 20px; */
  animation: fadeInUp 0.8s ease-out;
}

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

.hero-welcome {
  font-family: "Cinzel", "Playfair Display", serif !important;
  font-size: 1.8rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: white;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.5);
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.95;
}

/* Rotating greeting (வணக்கம் / Namaste) */
.hero-welcome .greeting-rotator {
  display: inline-block;
  position: relative;
  padding: 6px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
  transform-origin: center center;
  will-change: transform, opacity;
}

.greeting-enter {
  animation: greetIn 600ms cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.greeting-exit {
  animation: greetOut 300ms cubic-bezier(0.4, 0, 1, 1) forwards;
}

@keyframes greetIn {
  0% {
    opacity: 0;
    transform: scale(0.85);
    filter: blur(2px);
  }
  60% {
    opacity: 1;
    transform: scale(1.03);
    filter: blur(0.5px);
  }
  100% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
}

@keyframes greetOut {
  0% {
    opacity: 1;
    transform: scale(1);
    filter: blur(0);
  }
  100% {
    opacity: 0;
    transform: scale(0.85);
    filter: blur(2px);
  }
}

.hero-title {
  font-size: 5rem;
  margin-bottom: 25px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: 2px;
  color: white;
}

.hero-description {
  font-size: 1.25rem;
  margin-top: 20px;
  margin-bottom: 40px;
  color: white;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  opacity: 0.98;
  line-height: 1.8;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-footer {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  margin-top: 35px;
  flex-wrap: wrap;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  padding: 14px 32px;
  border: 2px solid white;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-decoration: none;
  display: inline-block;
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: white;
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.down-arrow {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  animation: bounce 2s infinite;
}

.down-arrow a {
  color: white;
  font-size: 2.5rem;
  text-decoration: none;
  display: block;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.down-arrow a:hover {
  color: rgba(255, 255, 255, 0.8);
  transform: translateY(5px);
}

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

/* About Section */
.about {
  background: white;
  padding: 100px 0;
}

.about-content {
  max-width: 900px;
  margin: 0 auto;
}

.about-text {
  font-size: 1.05rem;
  line-height: 1.9;
  color: var(--text-light);
}

.about-text p {
  margin-bottom: 25px;
  text-align: left;
}

.about-text h3 {
  color: var(--primary-dark);
  font-size: 1.5rem;
  margin-top: 40px;
  margin-bottom: 20px;
}

.about-list {
  list-style: none;
  margin: 25px 0;
}

.about-list li {
  padding: 14px 0 14px 35px;
  position: relative;
  color: var(--text-light);
  line-height: 1.8;
  margin-bottom: 8px;
}

.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary);
  font-weight: bold;
  font-size: 1.3rem;
}

/* Venus-Style About Section */
.about-venus {
  padding: 80px 0 60px 0;
  background: #fff;
}
.about-venus-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  max-width: 1300px;
  margin: 0 auto;
  flex-wrap: wrap;
}
.about-venus-images {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.about-venus-img {
  width: 320px;
  height: 420px;
  object-fit: cover;
  border-radius: 32px;
  box-shadow: 0 8px 32px rgba(80, 0, 0, 0.1);
  background: #f8f6f2;
  animation: slideInLeft 0.8s ease-out forwards;
}

.about-venus-img2 {
  margin-top: -60px;
  z-index: 1;
  animation-delay: 0.2s;
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-60px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}
.about-venus-badge {
  position: absolute;
  top: 30px;
  left: 50%;
  transform: translateX(-50%);
  background: #8d153a;
  color: #fff;
  border: 6px solid #ffd77a;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 4px 24px rgba(80, 0, 0, 0.1);
}
.about-venus-badge-label {
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 1px;
  color: #fff;
  opacity: 0.85;
}
.about-venus-badge-year {
  font-size: 2.2rem;
  font-weight: 800;
  color: #fff;
  margin-top: 2px;
}
.about-venus-content {
  flex: 1 1 420px;
  min-width: 340px;
  max-width: 600px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.about-venus-meta {
  font-size: 1.05rem;
  font-weight: 700;
  color: #8d153a;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.about-venus-title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #222;
  line-height: 1.15;
  margin-bottom: 8px;
}
.about-venus-desc {
  font-size: 1.18rem;
  color: #444;
  margin-bottom: 18px;
  line-height: 1.7;
}
.about-venus-stats {
  display: flex;
  gap: 24px;
  margin: 24px 0 18px 0;
  flex-wrap: wrap;
}
.about-venus-stat-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 6px 24px rgba(80, 0, 0, 0.1);
  padding: 28px 32px 22px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 170px;
  min-height: 120px;
  transition: box-shadow 0.2s;
}
.about-venus-stat-card:hover {
  box-shadow: 0 12px 32px rgba(80, 0, 0, 0.16);
}
.about-venus-stat-icon {
  font-size: 2.1rem;
  color: #fbbf24;
  margin-bottom: 10px;
}
.about-venus-stat-value {
  font-size: 1.7rem;
  font-weight: 800;
  color: #8d153a;
  margin-bottom: 4px;
}
.about-venus-stat-label {
  font-size: 1.08rem;
  color: #222;
  font-weight: 600;
  text-align: center;
}
.about-venus-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 12px 28px;
  background: #fff;
  color: #8d153a;
  border: 2px solid #8d153a;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
  box-shadow: 0 2px 8px rgba(80, 0, 0, 0.06);
}
.about-venus-btn:hover {
  background: #8d153a;
  color: #fff;
}
@media (max-width: 1100px) {
  .about-venus-container {
    flex-direction: column;
    gap: 40px;
    align-items: center;
  }
  .about-venus-images {
    flex-direction: row;
    gap: 18px;
    justify-content: center;
  }
  .about-venus-img {
    width: 220px;
    height: 300px;
  }
  .about-venus-badge {
    width: 90px;
    height: 90px;
    font-size: 0.9rem;
    top: 10px;
  }
  .about-venus-badge-year {
    font-size: 1.3rem;
  }
}
@media (max-width: 700px) {
  .about-venus {
    padding: 38px 0 24px 0;
  }
  .about-venus-container {
    gap: 22px;
  }
  .about-venus-images {
    flex-direction: row;
    gap: 16px;
    justify-content: center;
    align-items: flex-end;
    position: relative;
    min-height: 170px;
  }
  .about-venus-img {
    width: 140px;
    height: 180px;
    border-radius: 18px;
    box-shadow: 0 2px 12px rgba(80, 0, 0, 0.1);
    background: #f8f6f2;
  }
  .about-venus-img1 {
    margin-top: 24px;
    z-index: 2;
  }
  .about-venus-img2 {
    margin-top: 0;
    margin-left: -10px;
    z-index: 1;
  }
  .about-venus-badge {
    width: 64px;
    height: 64px;
    min-width: 64px;
    min-height: 64px;
    max-width: 64px;
    max-height: 64px;
    border-radius: 50%;
    font-size: 0.8rem;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    box-shadow: 0 2px 8px rgba(80, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #8d153a;
    border: 4px solid #ffd77a;
  }
  .about-venus-badge-label {
    font-size: 0.8rem;
  }
  .about-venus-badge-year {
    font-size: 1.15rem;
  }
  .about-venus-content {
    min-width: 0;
    max-width: 100%;
    padding: 0 8px;
  }
  .about-venus-title {
    font-size: 1.3rem;
  }
  .about-venus-stats {
    gap: 10px;
  }
  .about-venus-stat-card {
    padding: 14px 10px 10px 10px;
    min-width: 90px;
    min-height: 70px;
  }
  .about-venus-btn {
    padding: 8px 16px;
    font-size: 0.95rem;
  }
}

/* Services Section */
.services {
  padding: 100px 0;
  background: var(--bg-light);
}

.services .section-title {
  color: var(--text-dark);
  background: transparent !important;
  text-shadow: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.service-card {
  background: white;
  padding: 40px;
  border-radius: 12px;
  text-align: left;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0)
  );
  opacity: 0;
  transform: scaleX(0) scaleY(0);
  transform-origin: top left;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover::after {
  opacity: 0.8;
  transform: scaleX(1) scaleY(1);
}

.service-card h3 {
  color: var(--primary-dark);
  margin-bottom: 12px;
  font-size: 1.3rem;
  font-weight: 600;
}

.service-card p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 0.95rem;
  margin: 0;
}

/* Why Choose Us Section */
.why-choose {
  padding: 100px 0;
  background: #ffffff;
  position: relative;
}

.why-choose .section-title {
  color: var(--text-dark);
  background: transparent !important;
  text-shadow: none;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 35px;
  margin-top: 60px;
}

.feature {
  background: var(--bg-light);
  padding: 40px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-light);
}

.feature:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  background: white;
}

.feature-icon {
  display: inline-block;
  width: 70px;
  height: 70px;
  line-height: 70px;
  background: var(--gradient-primary);
  color: white;
  border-radius: 12px;
  font-size: 1.8rem;
  margin-bottom: 25px;
  box-shadow: 0 4px 15px rgba(201, 152, 62, 0.2);
  font-weight: bold;
}

.feature h4 {
  color: var(--primary-dark);
  margin-bottom: 12px;
  font-size: 1.1rem;
  font-weight: 600;
}

.feature p {
  color: var(--text-light);
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* Testimonials Section */
.testimonials {
  padding: 100px 0;
  background: linear-gradient(
    135deg,
    rgba(232, 184, 92, 0.12),
    rgba(255, 255, 255, 1) 50%,
    rgba(232, 184, 92, 0.08)
  );
  position: relative;
}

.testimonials::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(
      circle at 20% 50%,
      rgba(232, 184, 92, 0.05) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 50%,
      rgba(232, 184, 92, 0.05) 0%,
      transparent 50%
    );
  pointer-events: none;
}

.testimonials .container {
  position: relative;
  z-index: 1;
}

.testimonials .section-title {
  color: var(--text-dark);
  background: transparent !important;
  text-shadow: none;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.testimonial-card {
  background: linear-gradient(135deg, #ffffff 0%, #fef5e6 100%);
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(201, 152, 62, 0.15);
  border-left: 5px solid var(--primary);
  border-top: 1px solid rgba(232, 184, 92, 0.1);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200px;
  height: 200px;
  background: radial-gradient(
    circle,
    rgba(232, 184, 92, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(201, 152, 62, 0.25);
  background: linear-gradient(135deg, #ffffff 0%, #f5e6d3 100%);
}

.rating {
  color: #ffd700 !important; /* Gold color for stars */
  font-size: 1.3em;
  letter-spacing: 2px;
  margin-bottom: 8px;
  display: block;
  text-align: center;
  margin-top: 0.1em;
}

.testimonial-card p {
  color: #374151;
  line-height: 1.8;
  font-size: 1.05rem;
  margin: 0;
  font-weight: 500;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.reviewer-name {
  display: block;
  font-size: 1.08rem;
  font-weight: 700;
  color: #8d153a;
  margin-bottom: 0.2em;
  letter-spacing: 0.2px;
  text-align: center;
}

.testimonial-slide {
  position: relative;
  padding-top: 8px;
}

@media (max-width: 768px) {
  .reviewer-name {
    font-size: 0.98rem;
    margin-bottom: 0.15em;
  }
  .rating {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }
}

/* FAQ Section */
.faq {
  padding: 100px 0;
  background: #f8fafa;
}

.faq .section-title {
  color: var(--text-dark);
  background: transparent !important;
  text-shadow: none;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 30px;
  margin-top: 60px;
}

.faq-item {
  background: var(--bg-light);
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 1px 8px rgba(0, 0, 0, 0.05);
  border-top: 3px solid var(--primary);
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.faq-item h4 {
  color: var(--primary-dark);
  margin-bottom: 12px;
  font-size: 1rem;
  font-weight: 600;
}

.faq-item p {
  color: var(--text-light);
  line-height: 1.8;
  font-size: 0.95rem;
  margin: 0;
}

/* Slideshow Buttons (shared with gallery) */
.slide-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  color: #c9983e;
  border: 2px solid #c9983e;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 2rem;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(201, 152, 62, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border 0.2s;
  z-index: 2;
  opacity: 0.92;
}

.slide-btn:hover {
  background: #c9983e;
  color: #fff;
  border-color: #e8b85c;
  opacity: 1;
}

.slide-btn.prev {
  left: 18px;
}

.slide-btn.next {
  right: 18px;
}

/* Slideshow containers for each section */
.slideshow-container {
  position: relative;
  max-width: 800px;
  margin: 40px auto 0 auto;
  background: none;
  border-radius: 20px;
  box-shadow: 0 6px 32px rgba(201, 152, 62, 0.1);
  overflow: hidden;
}

/* Hide all slides by default */
.slide,
.testimonial-slide,
.feature-slide,
.faq-slide,
.service-slide,
.gallery-slide {
  display: none;
}

/* Show the first slide by default (JS will handle switching) */
.slide.active,
.testimonial-slide.active,
.feature-slide.active,
.faq-slide.active,
.service-slide.active,
.gallery-slide.active {
  display: block;
}

/* Icon styles for replacing emoji */
.icon {
  display: inline-block;
  vertical-align: middle;
  width: 28px;
  height: 28px;
  margin-bottom: 8px;
  background: none !important;
  background-color: transparent !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}

/* Center gallery images in grid */
.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
  justify-items: center;
}
.gallery-preview-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.gallery-preview-image img {
  display: block;
  margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content {
    margin-top: 100px;
    margin-bottom: 50px;
  }

  .hero-welcome {
    font-size: 1.3rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .hero-description {
    font-size: 1.05rem;
  }

  .hero-footer {
    flex-direction: column;
    gap: 15px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    max-width: 280px;
  }

  .down-arrow {
    display: none;
  }

  .services-grid,
  .testimonials-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }

  .about {
    padding: 60px 0;
  }

  .services,
  .why-choose,
  .testimonials,
  .faq {
    padding: 60px 0;
  }

  .slideshow-container {
    max-width: 98vw;
    margin: 24px auto 0 auto;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(201, 152, 62, 0.1);
    padding: 0 0 18px 0;
    position: relative;
  }
  .slide-btn,
  .slide-btn.prev,
  .slide-btn.next {
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
    left: 8px;
    right: 8px;
    top: 48%;
    z-index: 10;
  }
  .slide-btn.prev {
    left: 8px;
    right: auto;
  }
  .slide-btn.next {
    right: 8px;
    left: auto;
  }
  .service-slide,
  .feature-slide,
  .faq-slide,
  .testimonial-slide,
  .gallery-slide {
    padding: 18px 8px 8px 8px;
    font-size: 1rem;
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(201, 152, 62, 0.08);
    background: #fff;
    margin: 0 0 10px 0;
    min-height: 120px;
    max-width: 100vw;
    overflow: hidden;
    display: none;
  }
  .service-slide.active,
  .feature-slide.active,
  .faq-slide.active,
  .testimonial-slide.active,
  .gallery-slide.active {
    display: block;
  }
  .testimonial-slide p,
  .faq-slide p,
  .feature-slide p,
  .service-slide p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0;
  }
  .testimonial-slide .rating {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
  .gallery-slide img,
  .gallery-preview-image img {
    width: 100%;
    max-width: 100vw;
    height: 180px;
    border-radius: 8px;
    object-fit: cover;
  }
}

/* Center slideshow buttons below each section on mobile */
@media (max-width: 768px) {
  .slideshow-container .slide-btn {
    position: static !important;
    display: inline-block;
    margin: 16px 8px 0 8px;
    vertical-align: middle;
  }
  .slideshow-container {
    text-align: center;
  }
  /* Move buttons below slides */
  .slideshow-container .slide-btn.prev,
  .slideshow-container .slide-btn.next {
    display: none;
  }
  .slideshow-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 12px;
  }
}

@media (min-width: 769px) {
  .slideshow-container {
    max-width: 1100px;
    margin: 40px auto 0 auto;
    border-radius: 20px;
    box-shadow: 0 6px 32px rgba(201, 152, 62, 0.1);
    overflow: visible;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    align-items: stretch;
  }
  .slide-btn {
    display: none !important;
  }
  .service-slide,
  .feature-slide,
  .faq-slide,
  .testimonial-slide,
  .gallery-slide {
    display: block !important;
    padding: 24px 18px 18px 18px;
    margin: 0;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 1px 8px rgba(201, 152, 62, 0.08);
    min-height: 120px;
    max-width: 100%;
    width: 100%;
  }
}

/* ===========================
   Home Gallery Preview Section
   =========================== */

.home-gallery {
  padding: 80px 0;
  background: linear-gradient(135deg, #f0f9f7 0%, #ffffff 100%);
}

.home-gallery .section-title {
  color: var(--text-dark);
  background: transparent !important;
  text-shadow: none;
}

.gallery-preview-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 25px;
  margin-bottom: 40px;
}

.gallery-preview-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(15, 118, 110, 0.15);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  height: 320px;
}

.gallery-preview-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 15px 40px rgba(15, 118, 110, 0.25);
}

.gallery-preview-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(135deg, #16a085, #1abc9c);
  transition: all 0.4s ease;
}

.gallery-preview-item:hover .gallery-preview-image {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 118, 110, 0.3),
    rgba(15, 118, 110, 0.85)
  );
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  transition: all 0.4s ease;
}

.gallery-preview-item:hover .gallery-overlay {
  background: linear-gradient(
    to bottom,
    rgba(15, 118, 110, 0.5),
    rgba(15, 118, 110, 0.95)
  );
}

.gallery-overlay h3 {
  color: white;
  font-size: 1.8rem;
  margin-bottom: 10px;
  font-weight: 800;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  transform: translateY(0);
  transition: all 0.4s ease;
}

.gallery-preview-item:hover .gallery-overlay h3 {
  transform: translateY(-5px);
}

.gallery-overlay p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.1rem;
  font-weight: 500;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease;
}

.gallery-preview-item:hover .gallery-overlay p {
  opacity: 1;
  transform: translateY(0);
}

/* Gallery Category Images */
.wedding-img {
  background: linear-gradient(135deg, #d946ef, #c026d3);
}

.birthday-img {
  background: linear-gradient(135deg, #f97316, #fb923c);
}

.corporate-img {
  background: linear-gradient(135deg, #0ea5e9, #38bdf8);
}

.traditional-img {
  background: linear-gradient(135deg, #16a085, #1abc9c);
}

.buffet-img {
  background: linear-gradient(135deg, #8b5cf6, #a78bfa);
}

.decoration-img {
  background: linear-gradient(135deg, #ec4899, #f472b6);
}

.gallery-cta {
  text-align: center;
  margin-top: 50px;
}

.gallery-cta .btn-primary {
  padding: 16px 45px;
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.3);
}

.gallery-cta .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(15, 118, 110, 0.4);
}

/* Responsive Gallery */
@media (max-width: 1024px) {
  .gallery-preview-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }

  .gallery-preview-item {
    height: 280px;
  }
}

@media (max-width: 768px) {
  .home-gallery {
    padding: 60px 0;
  }

  .gallery-preview-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .gallery-preview-item {
    height: 250px;
  }

  .gallery-overlay h3 {
    font-size: 1.5rem;
  }

  .gallery-overlay p {
    font-size: 1rem;
    opacity: 1;
  }
}

/* Mobile testimonial card fix */
@media (max-width: 768px) {
  .testimonial-slide,
  .service-slide,
  .feature-slide,
  .faq-slide {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(201, 152, 62, 0.1);
    padding: 18px 12px 12px 12px;
    margin: 0 8px 12px 8px;
    min-width: 0;
    max-width: 98vw;
    text-align: left;
    display: block;
  }
  .testimonial-slide .rating {
    font-size: 1.2rem;
    margin-bottom: 8px;
  }
}

/* Prevent horizontal overflow */
body,
html {
  overflow-x: hidden;
  width: 100vw;
  max-width: 100vw;
}

.container {
  max-width: 1200px;
  width: 100%;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
  box-sizing: border-box;
}

.gallery-preview-grid {
  width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
}

/* Show more/less button styles */
.show-more-btn {
  background: var(--primary, #e0b13f);
  color: #fff;
  border: none;
  border-radius: 24px;
  padding: 10px 28px;
  font-size: 1em;
  font-weight: 600;
  margin: 20px auto 0 auto;
  display: block;
  cursor: pointer;
  transition: background 0.2s;
}
.show-more-btn:hover {
  background: #c99a2e;
}

@media (min-width: 769px) {
  .show-more-btn {
    display: none !important;
  }
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
  }
  .footer-section ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-left: 0;
    margin: 0;
  }
  .footer-section ul li {
    flex: 1 1 30%;
    min-width: 90px;
    max-width: 33%;
    list-style: none;
    margin: 0 0 8px 0;
    text-align: center;
    padding: 0;
  }
  .footer-section ul li a {
    display: block;
    padding: 6px 2px;
    font-size: 1em;
    word-break: break-word;
  }
}

@media (max-width: 768px) {
  .mobile-hero-welcome {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
    font-size: 1.05rem !important;
    padding-top: 0 !important;
    color: #fff !important;
    font-weight: 600 !important;
  }
  .mobile-hero-brand {
    color: #fff !important;
    font-size: 2.7rem !important;
    font-weight: 900 !important;
    margin-bottom: 8px !important;
    margin-top: 0 !important;
    letter-spacing: 1px;
    line-height: 1.05;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  }
  .hero-title {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    margin-bottom: 10px !important;
    color: #fff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.18);
  }
  .hero-description {
    font-size: 0.98rem !important;
    color: #fff !important;
    margin-bottom: 18px !important;
    margin-top: 0 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  }
  .hero-content {
    padding-top: 0 !important;
  }
}

.hero-brand {
  color: #fff !important;
  font-size: 3.2rem;
  font-weight: 900;
  margin-bottom: 12px;
  margin-top: 0;
  letter-spacing: 1px;
  line-height: 1.1;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
