/* assets/css/main.css - Official Specification Implementation */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;0,800;1,600&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --green-dark: #14381C;
  --green-deep: #0D2613;
  --green-vibrant: #1E8539;
  --brown-dark: #4A230B;
  --brown-hover: #361907;
  --gold-accent: #C59B27;
  --gold-light: #FFF9E6;
  --cream-bg: #F5F2EB;
  --card-bg: #EBE7DD;
  --card-border: #DCD6C8;
  --card-white: #FFFFFF;
  --dark-header: #09110B;
  --text-main: #212529;
  --text-muted: #555555;
  --font-serif: 'Playfair Display', 'Cinzel', serif;
  --font-sans: 'Plus Jakarta Sans', sans-serif;
  --shadow-sm: 0 4px 12px rgba(0,0,0,0.04);
  --shadow-md: 0 10px 25px rgba(0,0,0,0.08);
  --shadow-lg: 0 18px 40px rgba(0,0,0,0.15);
  --radius-card: 18px;
  --radius-pill: 50px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  background-color: var(--cream-bg);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

/* 1. Top Contact Bar (Dark Forest Green) */
.top-bar-dark {
  background: var(--dark-header);
  color: #CBD5E1;
  font-size: 0.85rem;
  padding: 0.5rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.top-bar-flex {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.top-contact-items {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.top-contact-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #E2E8F0;
  font-weight: 500;
}
.top-contact-item i {
  color: var(--green-vibrant);
}
.top-contact-item:hover {
  color: #FFFFFF;
}

.top-social-items {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.social-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  color: #FFFFFF;
  transition: var(--transition);
}
.social-icon-circle:hover {
  transform: scale(1.15);
}
.social-fb { background: #1877F2; }
.social-insta { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.social-yt { background: #FF0000; }
.social-wa { background: #25D366; }

/* 2. Header & Sticky Navigation */
header.sticky-header {
  background: var(--cream-bg);
  border-bottom: 1px solid var(--card-border);
  padding: 0.8rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.header-flex {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.brand-logo-link img {
  height: 52px;
  width: auto;
}
.brand-title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--green-dark);
  line-height: 1;
}
.brand-tagline {
  font-size: 0.7rem;
  font-weight: 700;
  color: #8C6212;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-menu-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-menu-links a {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 0.92rem;
  color: #1E293B;
  padding: 0.35rem 0;
  position: relative;
}
.nav-menu-links a.active,
.nav-menu-links a:hover {
  color: var(--green-dark);
}
.nav-menu-links a.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--green-dark);
  border-radius: 2px;
}

/* 3. Hero Section with Auto-Slider & Controls */
.hero-wrapper {
  position: relative;
  overflow: hidden;
  padding: 5.5rem 1.5rem 6.5rem;
  min-height: 680px;
  display: flex;
  align-items: center;
}
.hero-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 1;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.8s ease-in-out, transform 8s linear;
  transform: scale(1.05);
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to right, rgba(245, 242, 235, 0.95) 0%, rgba(245, 242, 235, 0.76) 48%, rgba(0, 0, 0, 0.15) 100%);
}
.hero-inner-flex {
  max-width: 1280px;
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: center;
  position: relative;
  z-index: 3;
}
.hero-left-content {
  max-width: 720px;
}
.hero-main-title {
  font-family: var(--font-serif);
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--green-dark);
  line-height: 1.15;
  margin-bottom: 0.5rem;
  letter-spacing: -0.5px;
}
.hero-sub-divider {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 1.25rem;
}
.hero-desc-para {
  font-size: 0.98rem;
  color: #2D3748;
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Hero Controls */
.hero-arrow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(20, 56, 28, 0.6);
  color: #FFFFFF;
  border: none;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}
.hero-arrow-nav:hover {
  background: var(--green-dark);
}
.hero-arrow-prev { left: 1.5rem; }
.hero-arrow-next { right: 1.5rem; }

.hero-slider-dots {
  position: absolute;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.5rem;
}
.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(20, 56, 28, 0.3);
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active {
  background: var(--green-dark);
  width: 28px;
  border-radius: 12px;
}

/* Pill Buttons */
.hero-btn-grid {
  display: flex;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.pill-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.72rem 1.4rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.18);
  transition: var(--transition);
  text-transform: uppercase;
}
.pill-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.pill-green { background: var(--green-dark); }
.pill-green:hover { background: var(--green-deep); }
.pill-brown { background: var(--brown-dark); }
.pill-brown:hover { background: var(--brown-hover); }
.pill-whatsapp { background: var(--green-vibrant); }
.pill-whatsapp:hover { background: #186E2E; }

/* 4. Trust Bar */
.trust-ribbon-bar {
  background: var(--green-dark);
  color: #FFFFFF;
  padding: 1.1rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.trust-ribbon-flex {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.25rem;
}
.trust-ribbon-item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.86rem;
  font-weight: 600;
}
.trust-ribbon-item i {
  font-size: 1.3rem;
  color: var(--gold-accent);
}

/* Feature Section Baseline */
.ref-cards-section {
  padding: 3.5rem 1.5rem;
  background: var(--cream-bg);
}
.ref-container, .container {
  max-width: 1280px;
  margin: 0 auto;
}

/* 3-Col Cards Grid */
.top-cards-grid, .cards-grid-3col {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 1.75rem;
}

/* Card Visual Frame */
.ref-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 1.35rem;
  display: flex;
  flex-direction: column;
  text-align: left;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.ref-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--green-dark);
}
.ref-card-header h3 {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--green-dark);
  letter-spacing: 0.5px;
  margin-bottom: 0.2rem;
}
.ref-card-header p {
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  font-style: italic;
}
.ref-card-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 0.85rem;
  transition: var(--transition);
}
.ref-card:hover .ref-card-img {
  transform: scale(1.02);
}
.ref-card-desc {
  font-size: 0.86rem;
  color: #333333;
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

/* Filter Tabs */
.filter-tabs {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}
.filter-btn {
  background: #EBE7DD;
  border: 1px solid #DCD6C8;
  padding: 0.5rem 1.3rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.82rem;
  color: var(--green-dark);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--green-dark);
  color: #FFFFFF;
  border-color: var(--green-dark);
  box-shadow: 0 4px 10px rgba(20,56,28,0.2);
}

/* Google/Facebook Style Review Card */
.review-card-google {
  background: #FFFFFF;
  border: 1px solid var(--card-border);
  border-radius: var(--radius-card);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.review-user-hdr {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.review-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--green-dark);
  color: #FFFFFF;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* Footer Dark */
.footer-dark-ref {
  background: var(--dark-header);
  color: #CBD5E1;
  padding: 3.75rem 1.5rem 1.5rem;
  font-size: 0.88rem;
}
.footer-ref-grid {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.footer-ref-col h4 {
  color: #FFFFFF;
  font-size: 1.05rem;
  margin-bottom: 1rem;
  font-family: var(--font-sans);
}
.footer-ref-col ul {
  list-style: none;
}
.footer-ref-col ul li {
  margin-bottom: 0.5rem;
}
.footer-ref-col ul li a:hover {
  color: var(--green-vibrant);
}

/* Form Styles */
.form-group {
  margin-bottom: 1.2rem;
}
.form-group label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
  color: #334155;
}
.form-control {
  width: 100%;
  padding: 0.75rem 0.95rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  border: 1px solid #CBD5E1;
  border-radius: 8px;
  background: #FFFFFF;
  transition: var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--green-dark);
  box-shadow: 0 0 0 3px rgba(20, 56, 28, 0.15);
}

/* Modal Window */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 17, 11, 0.75);
  backdrop-filter: blur(5px);
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background: #FFFFFF;
  border-radius: var(--radius-card);
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.25rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
}
.modal-overlay.active .modal-box {
  transform: translateY(0);
}
.modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--cream-bg);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.35rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-main);
  transition: var(--transition);
}
.modal-close:hover {
  background: #E2E8F0;
}

/* Header & Brand Layout */
.sticky-header {
  background: var(--cream-bg);
  border-bottom: 1px solid #DCD6C8;
  padding: 0.8rem 1.5rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.header-flex {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
.brand-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}
.brand-logo-link img {
  height: 52px;
  width: auto;
}
.brand-title {
  font-family: var(--font-serif);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--green-dark);
  line-height: 1;
}
.brand-tagline {
  font-size: 0.7rem;
  font-weight: 700;
  color: #8C6212;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 2px;
}
.mobile-menu-toggle {
  display: none;
  background: var(--green-dark);
  color: #FFFFFF;
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  font-size: 1.25rem;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.mobile-menu-toggle:hover {
  background: var(--green-vibrant);
}

/* Responsive Breakpoints */
@media (max-width: 1100px) {
  .top-cards-grid, .cards-grid-3col { grid-template-columns: repeat(2, 1fr); }
  .hero-inner-flex { grid-template-columns: 1fr; }
  .footer-ref-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .mobile-menu-toggle {
    display: flex;
  }
  .nav-menu-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #14381C;
    flex-direction: column;
    padding: 1.25rem 1.5rem;
    gap: 0.5rem;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
    display: none;
    z-index: 1050;
    box-sizing: border-box;
  }
  .nav-menu-links.active {
    display: flex;
  }
  .nav-menu-links a {
    color: #FFFFFF !important;
    font-size: 1rem;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    display: block;
    width: 100%;
    box-sizing: border-box;
  }
  .nav-menu-links a:last-child {
    border-bottom: none;
  }
  .nav-menu-links a.active,
  .nav-menu-links a:hover {
    color: #FCD34D !important;
  }
  .top-bar-dark {
    padding: 0.5rem 1rem;
  }
  .top-bar-flex {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .top-contact-items {
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.78rem;
    gap: 0.75rem;
  }
  .top-social-items {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  .top-cards-grid, .cards-grid-3col { grid-template-columns: 1fr; }
  .footer-ref-grid { grid-template-columns: 1fr; }
  .hero-main-title { font-size: 1.85rem !important; line-height: 1.25 !important; }
  .hero-arrow-nav { display: none !important; }
  .modal-box { padding: 1.5rem; }
  .ref-container, .container { padding-left: 1rem !important; padding-right: 1rem !important; max-width: 100% !important; box-sizing: border-box !important; }
  .ref-card { width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
}

@media (max-width: 600px) {
  body, html { width: 100% !important; max-width: 100vw !important; overflow-x: hidden !important; }
  .brand-title { font-size: 1.15rem; }
  .brand-tagline { font-size: 0.62rem; letter-spacing: 1px; }
  .brand-logo-link img { height: 42px; }
  .hero-tagline-text { font-size: 0.9rem !important; }
  .hero-desc-text { font-size: 0.85rem !important; }
  .hero-cta-group { flex-direction: column !important; width: 100% !important; }
  .hero-cta-group .pill-btn { width: 100% !important; justify-content: center !important; }
  .ref-container { padding-left: 1rem !important; padding-right: 1rem !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
  .ref-card { padding: 1rem !important; width: 100% !important; max-width: 100% !important; box-sizing: border-box !important; }
}

/* Mobile Sticky Footer Bar & Floating WhatsApp */
.mobile-sticky-footer-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--dark-header);
  border-top: 1px solid rgba(255,255,255,0.15);
  padding: 0.5rem 0.75rem;
  z-index: 1100;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.35);
  gap: 0.5rem;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
}

.mobile-footer-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.65rem 0.5rem;
  border-radius: 50px;
  font-family: var(--font-sans);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition);
}

.mobile-btn-call {
  background: var(--brown-dark);
  color: #FFFFFF;
}

.mobile-btn-enquire {
  background: var(--green-vibrant);
  color: #FFFFFF;
}

.mobile-btn-wa {
  background: #25D366;
  color: #FFFFFF;
}

.floating-wa-btn {
  position: fixed;
  bottom: 25px;
  right: 20px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  z-index: 1090;
  transition: var(--transition);
  animation: pulse-wa 2s infinite;
}

.floating-wa-btn:hover {
  transform: scale(1.1);
  color: #FFFFFF;
}

@keyframes pulse-wa {
  0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.6); }
  70% { box-shadow: 0 0 0 14px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 768px) {
  .mobile-sticky-footer-bar {
    display: flex;
  }
  .floating-wa-btn {
    bottom: 75px;
    right: 15px;
    width: 50px;
    height: 50px;
    font-size: 1.65rem;
  }
  body {
    padding-bottom: 60px !important;
  }
}
