/* Color Palette: Terracotta Red, Warm Teak Gold, Charcoal, Off-White */
:root {
  --primary-color: #A03D1E;   /* Traditional Terracotta */
  --secondary-color: #D4AF37; /* Warm Gold accent */
  --dark-color: #222222;      /* Slate Charcoal */
  --light-color: #F8F5F0;     /* Cream background */
  --white: #FFFFFF;
  --text-color: #444444;
  --transition: all 0.3s ease-in-out;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography Overrides */
h1, h2, h3, h4, .logo {
  font-family: 'Cinzel', serif;
  color: var(--dark-color);
}

/* Top Bar */
.top-bar {
  background: var(--dark-color);
  color: var(--light-color);
  font-size: 0.85rem;
  padding: 8px 0;
}
.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.top-bar i { color: var(--secondary-color); margin-right: 5px; }
.divider { margin: 0 10px; color: #555; }
.top-socials a { color: var(--light-color); margin-left: 12px; transition: var(--transition); }
.top-socials a:hover { color: var(--secondary-color); }

/* Navigation Header */
.header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
}
.logo {
  font-size: 1.5rem;
  font-weight: 700;
  text-decoration: none;
  color: var(--primary-color);
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo strong { color: var(--dark-color); }
.navbar ul {
  display: flex;
  list-style: none;
  gap: 25px;
}
.nav-link {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
}
.nav-link:hover { color: var(--primary-color); }
.menu-btn { display: none; font-size: 1.5rem; cursor: pointer; color: var(--dark-color); }

/* Hero Slider */
.slider-container {
  position: relative;
  height: 80vh;
  min-height: 500px;
  overflow: hidden;
}
.slide {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.slide.active { opacity: 1; }
.slide-bg {
  position: absolute;
  top:0; left:0; width:100%; height:100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
}
.slide-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 800px;
  padding: 0 20px;
}
.slide-content h2 {
  font-size: 3rem;
  color: var(--white);
  margin-bottom: 15px;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.slide-content p {
  font-size: 1.2rem;
  margin-bottom: 25px;
}
.btn {
  display: inline-block;
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 30px;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  border: none;
  cursor: pointer;
}
.btn:hover { background: var(--secondary-color); color: var(--dark-color); }

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  color: var(--white);
  border: none;
  font-size: 1.5rem;
  padding: 15px 12px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}
.slider-btn:hover { background: var(--primary-color); }
.prev-btn { left: 10px; }
.next-btn { right: 10px; }

/* Sections & Grids */
.section { padding: 80px 0; }
.bg-light { background-color: var(--light-color); }
.section-title {
  text-align: center;
  margin-bottom: 50px;
}
.section-title h2 { font-size: 2.2rem; margin-bottom: 10px; color: var(--primary-color); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

/* About Us */
.about-img img { width: 100%; border-radius: 8px; box-shadow: 0 5px 15px rgba(0,0,0,0.15); }
.sub-heading { color: var(--primary-color); font-weight: 600; text-transform: uppercase; font-size: 0.85rem; }
.about-text h2 { font-size: 1.5rem; margin: 10px 0 10px; }
.about-text p { margin: 10px 0 10px; text-align:justify; }
.mission-vision { margin-top: 30px; display: flex; flex-direction: column; gap: 20px;  }
.mv-box { display: flex; gap: 15px; align-items: flex-start; width:100%; float:left; background: #f8f5f0; padding:20px; border-radius:20px; }
.mv-box i { font-size: 1.8rem; color: var(--secondary-color); background: var(--light-color); padding: 12px; border-radius: 50%; }

/* Features / Why Choose Us */
.feature-card {
  background: var(--white);
  padding: 30px 20px;
  text-align: center;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
  transition: var(--transition);
}
.feature-card:hover { transform: translateY(-8px); }
.feature-card i { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 15px; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 10px; }

/* Service Cards */
.service-card {
  background: var(--white);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-5px); }
.service-card img { width: 100%; height: 200px; object-fit: cover; }
.service-content { padding: 20px; }
.service-content h3 { font-size: 1.2rem; margin-bottom: 10px; color: var(--dark-color); }

/* Review Carousel */
.review-carousel { position: relative; max-width: 800px; margin: 0 auto; overflow: hidden; }
.review-track { display: flex; transition: transform 0.5s ease; }
.review-card {
  min-width: 100%;
  background: var(--white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  text-align: center;
}
.review-text { font-style: italic; font-size: 1.1rem; margin-bottom: 20px; }
.review-author h4 { color: var(--primary-color); }
.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
.dot { width: 12px; height: 12px; background: #ccc; border-radius: 50%; cursor: pointer; }
.dot.active { background: var(--primary-color); }

/* Gallery Section */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 15px; }
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 6px;
  cursor: pointer;
  height: 220px;
}
.gallery-item 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(160, 61, 30, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 2rem;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Lightbox Modal */
.lightbox {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
}
.lightbox.active { display: flex; }
.lightbox-img { max-width: 85%; max-height: 80%; border-radius: 4px; box-shadow: 0 0 20px rgba(255,255,255,0.2); }
.lightbox-close {
  position: absolute;
  top: 20px; right: 30px;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
}
.lightbox-btn {
  position: absolute;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2.5rem;
  cursor: pointer;
  padding: 20px;
}
.lb-prev { left: 20px; }
.lb-next { right: 20px; }

/* Contact Section */
.info-item { display: flex; gap: 20px; margin-top: 25px; align-items: flex-start; }
.info-item i { font-size: 1.5rem; color: var(--primary-color); background: var(--white); padding: 15px; border-radius: 50%; box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

/* Footer */
.footer { background: var(--dark-color); color: var(--light-color); text-align: center; padding: 20px 0 20px; }
.footer-logo { font-size: 1.6rem; color: var(--white); margin-bottom: 15px; font-weight: 700; }
.footer-socials { margin-bottom: 20px; }
.footer-socials a { color: var(--white); font-size: 1.2rem; margin: 0 10px; transition: var(--transition); }
.footer-socials a:hover { color: var(--secondary-color); }
.copyright { font-size: 0.85rem; color: #888; border-top: 1px solid #333; padding-top: 20px; }

/* Scroll Animations Base State */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .top-bar { display: none; }
  .menu-btn { display: block; }
  .navbar {
    position: absolute;
    top: 100%; left: 0; width: 100%;
    background: var(--white);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
  }
  .navbar.active { max-height: 350px; }
  .navbar ul { flex-direction: column; padding: 20px; gap: 15px; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .slide-content h2 { font-size: 2rem; }
  .gallery-grid { grid-template-columns: 1fr; }
}