@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Playfair+Display:ital,wght@0,600;1,600&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
  --primary: #D35400; /* Rich terracotta orange */
  --primary-dark: #A04000;
  --secondary: #27AE60; /* Banana leaf green */
  --dark: #1E1E1E;
  --light: #FDFBF7; /* Warm off-white */
  --text: #333333;
  --text-light: #777777;
  --white: #FFFFFF;
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 15px 40px rgba(211, 84, 0, 0.2);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--text);
  background-color: var(--light);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
  color: var(--dark);
  margin-bottom: 1rem;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ================= HEADER & NAVIGATION ================= */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 4px 0;
  background: rgba(253, 251, 247, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
}

header.scrolled {
  padding: 4px 0;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-weight: 600;
  font-size: 1.1rem;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.btn-enquiry {
  background: var(--primary);
  color: var(--white);
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  box-shadow: 0 4px 15px rgba(211, 84, 0, 0.3);
  display: inline-block;
  border: 2px solid var(--primary);
}

.btn-enquiry:hover {
  background: transparent;
  color: var(--primary);
  box-shadow: none;
}

.mobile-menu-btn {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark);
}

/* ================= HERO SLIDER SECTION ================= */
.hero-slider-section {
  height: 100vh;
  min-height: 600px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 80px;
}

.slider-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.slide.active {
  opacity: 1;
}

.slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.6);
  transform: scale(1.05);
}

.slide.active .slide-bg {
  animation: heroZoom 10s infinite alternate linear;
}

@keyframes heroZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.15); }
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
  z-index: 1;
}

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

.hero-subtitle {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 4px;
  color: var(--primary);
  margin-bottom: 1rem;
  display: inline-block;
}

.hero-title {
  font-size: 4.5rem;
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 1.5rem;
  font-family: 'Playfair Display', serif;
}

.hero-desc {
  font-size: 1.2rem;
  margin-bottom: 2.5rem;
  opacity: 0.9;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  display: inline-block;
  border: 2px solid var(--white);
  transition: var(--transition);
}

.btn-outline-white:hover {
  background: var(--white);
  color: var(--dark);
}

/* Slider Dots */
.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 2;
}

.dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* Slide Up Animations */
.slide-up {
  opacity: 0;
  transform: translateY(40px);
  animation: slideUpFade 1s forwards cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes slideUpFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ================= COMMON SECTIONS ================= */
.section {
  padding: 3rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-subtitle {
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 3rem;
  color: var(--dark);
}

/* ================= WHY CHOOSE US ================= */
.why-choose-us {
  background-color: var(--light);
}

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

.feature-card {
  background: var(--white);
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: var(--primary);
  transition: var(--transition);
  z-index: -1;
  border-radius: 20px 20px 0 0;
}

.feature-card:hover::before {
  height: 100%;
  border-radius: 20px;
}

.feature-card:hover {
  transform: translateY(-15px);
  color: var(--white);
}

.feature-icon {
  width: 80px;
  height: 80px;
  background: rgba(211, 84, 0, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem auto;
  transition: var(--transition);
}

.feature-card:hover .feature-icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  transform: scale(1.1) rotateY(180deg);
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.feature-card:hover .feature-title {
  color: var(--white);
}

.feature-desc {
  color: var(--text-light);
  font-size: 1.05rem;
  transition: var(--transition);
}

.feature-card:hover .feature-desc {
  color: rgba(255, 255, 255, 0.9);
}

/* ================= ABOUT SECTION ================= */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-img-wrapper {
  position: relative;
}

.about-img {
  border-radius: 20px;
  box-shadow: var(--shadow);
}

.about-img-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: var(--secondary);
  color: var(--white);
  padding: 2rem;
  border-radius: 50%;
  text-align: center;
  width: 150px;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow);
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}

.badge-year {
  font-size: 2rem;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
}

.about-text h3 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

.about-text p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  font-weight: 600;
  display: inline-block;
  box-shadow: 0 4px 15px rgba(211, 84, 0, 0.3);
  border: 2px solid var(--primary);
}

.btn-primary:hover {
  background: transparent;
  color: var(--primary);
  box-shadow: none;
}

/* ================= SERVICES SECTION ================= */
.services-section {
  background-color: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background: var(--light);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-hover);
}

.service-img-wrapper {
  height: 250px;
  overflow: hidden;
}

.service-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.service-content {
  padding: 2rem;
  text-align: center;
}

.service-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-desc {
  color: var(--text-light);
}

/* ================= TESTIMONIALS ================= */
.testimonials-section {
  background-color: var(--light);
  overflow: hidden;
}

.testimonial-slider-wrapper {
  overflow: hidden;
  padding: 2rem 0;
}

.testimonial-slider {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  gap: 30px;
}

.testimonial-card {
  min-width: calc((100% - 60px) / 3);
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  opacity: 0.5;
  transform: scale(0.95);
  border-top: 5px solid transparent;
}

.testimonial-card.active-card {
  opacity: 1;
  transform: scale(1);
  box-shadow: 0 15px 35px rgba(211, 84, 0, 0.15);
  border-top: 5px solid var(--primary);
}

@media (max-width: 992px) {
  .testimonial-card { min-width: calc((100% - 30px) / 2); }
}

@media (max-width: 768px) {
  .testimonial-card { min-width: 100%; }
}

.quote-icon {
  color: rgba(211, 84, 0, 0.15);
  font-size: 3rem;
  position: absolute;
  top: 20px;
  right: 20px;
}

.testimonial-text {
  font-size: 1.1rem;
  font-style: italic;
  color: var(--text);
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary);
}

.author-info h4 {
  margin: 0;
  font-size: 1.1rem;
  color: var(--dark);
}

.author-info span {
  font-size: 0.9rem;
  color: var(--primary);
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  margin-top: 2rem;
}

.t-btn {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.t-btn:hover {
  background: var(--primary);
  color: var(--white);
}

.t-dots {
  display: flex;
  gap: 8px;
}

.t-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(211, 84, 0, 0.3);
  cursor: pointer;
  transition: var(--transition);
}

.t-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* ================= GALLERY SECTION ================= */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(211, 84, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

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

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

.gallery-icon {
  color: var(--white);
  font-size: 2rem;
  transform: translateY(20px);
  transition: var(--transition);
}

.gallery-item:hover .gallery-icon {
  transform: translateY(0);
}

/* ================= CONTACT SECTION ================= */
.contact-section {
  background-color: var(--white);
  color: var(--text);
}

.contact-section .section-title {
  color: var(--dark);
}

.contact-section .section-subtitle {
  color: var(--primary);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.contact-info-card {
  background: var(--light);
  padding: 3rem;
  border-radius: 15px;
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.contact-info-card h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.contact-icon {
  background: rgba(211, 84, 0, 0.1);
  color: var(--primary);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-text h4 {
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.contact-text p {
  color: var(--text-light);
}

.contact-form-wrapper h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1.2rem;
  background: var(--light);
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 8px;
  color: var(--dark);
  font-family: 'Outfit', sans-serif;
  transition: var(--transition);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #888;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
}

.form-group textarea {
  height: 150px;
  resize: none;
}

.btn-submit {
  background: var(--primary);
  color: var(--white);
  padding: 1.2rem;
  border: none;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.btn-submit:hover {
  background: var(--primary-dark);
}

/* ================= FOOTER ================= */
footer {
  background: #111;
  color: rgba(255, 255, 255, 0.7);
  padding: 3rem 0;
  text-align: center;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.social-links a {
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--white);
  font-size: 1.2rem;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-5px);
}

/* ================= PAGE HEADERS (Inner Pages) ================= */
.page-header {
  height: 40vh;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}

.page-header h1 {
  color: var(--white);
  font-size: 3.5rem;
  position: relative;
  z-index: 2;
}

/* ================= ANIMATIONS (ScrollReveal Classes) ================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* ================= RESPONSIVE DESIGN ================= */
@media (max-width: 992px) {
  .hero-title { font-size: 3rem; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 3rem;
    transition: var(--transition);
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero-title { font-size: 2.5rem; }
  .gallery-grid { grid-template-columns: 1fr; }
}

/* ================= FILTER BUTTONS ================= */
.filter-wrapper {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.filter-btn {
  background: transparent;
  color: var(--dark);
  border: 2px solid var(--primary);
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-family: 'Outfit', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background: var(--primary);
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  z-index: -1;
}

.filter-btn:hover::before,
.filter-btn.active::before {
  width: 100%;
}

.filter-btn:hover,
.filter-btn.active {
  color: var(--white);
  box-shadow: 0 5px 15px rgba(211, 84, 0, 0.3);
  transform: translateY(-2px);
}

.menu-category-group {
  transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
}

.menu-category-group.hidden {
  display: none;
  opacity: 0;
  transform: translateY(20px);
}

.menu-category-group.visible {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* ================= DETAILED MENU SECTION ================= */
.menu-section {
  background-color: var(--light);
  padding: 6rem 0;
}

.menu-category-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-top: 3rem;
}

.menu-category h3 {
  color: var(--primary);
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  margin-bottom: 2rem;
  border-bottom: 2px dashed rgba(211, 84, 0, 0.3);
  padding-bottom: 0.5rem;
}

.menu-item {
  display: flex;
  align-items: baseline;
  margin-bottom: 1.2rem;
}

.menu-item-info {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.menu-item-header {
  display: flex;
  align-items: baseline;
}

.menu-item-name {
  font-weight: 600;
  color: var(--dark);
  font-size: 1.1rem;
}

.menu-item-dots {
  flex-grow: 1;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.2);
  margin: 0 10px;
}

.menu-item-price {
  font-weight: 800;
  color: var(--primary);
  font-size: 1.2rem;
}

.menu-item-tamil {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.2rem;
}

/* ================= LIGHTBOX ================= */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 5px;
  box-shadow: 0 5px 25px rgba(0,0,0,0.5);
  transform: scale(0.8);
  transition: var(--transition);
}

.lightbox.active img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  transition: var(--transition);
}

.lightbox-close:hover {
  color: var(--primary);
  transform: scale(1.1);
}

/* ================= COPYRIGHT TEXT ================= */
.copyright-text {
  font-size: 0.9rem;
  margin-top: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.copyright-text a {
  display: flex;
  align-items: center;
}

.copyright-text img {
  height: 28px;
  width: auto;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.copyright-text a:hover img {
  transform: scale(1.1);
}
