/* ============================================================
   PHILL HERITAGE MULTIMEDIA — Premium Corporate Website
   Color palette derived from logo: gold + deep brown
   ============================================================ */

:root {
  --primary: #4A2C0A;
  --primary-dark: #2E1A06;
  --secondary: #C9A84C;
  --secondary-light: #E8C96A;
  --secondary-dark: #A68A3A;
  --accent: #D4AF37;
  --accent-orange: #C47B2B;
  --bg-cream: #F8F5F0;
  --bg-white: #FFFFFF;
  --bg-light: #F5F3EF;
  --bg-dark: #1A1208;
  --text-dark: #1A1A1A;
  --text-body: #4A4A4A;
  --text-muted: #7A7A7A;
  --text-light: #F0ECE4;
  --border: rgba(74, 44, 10, 0.12);
  --shadow-sm: 0 2px 12px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 8px 32px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.14);
  --shadow-gold: 0 4px 24px rgba(201, 168, 76, 0.25);
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --nav-height: 80px;
  --radius: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--nav-height);
}

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.3;
}

/* ---------- Loader ---------- */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-cream);
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-ring {
  width: 100px; height: 100px;
  border: 3px solid rgba(201, 168, 76, 0.2);
  border-top-color: var(--secondary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 1rem;
}
.loader-logo { width: 60px; margin: 0 auto; }
.loader-text {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  color: var(--primary);
  letter-spacing: 3px;
  text-transform: uppercase;
  text-align: center;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Navigation ---------- */
.navbar-custom {
  background: var(--bg-cream);
  padding: 0.75rem 0;
  transition: var(--transition);
  border-bottom: 1px solid transparent;
}
.navbar-custom.scrolled {
  background: rgba(248, 245, 240, 0.97);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
  padding: 0.5rem 0;
}
.navbar-brand img { height: 50px; width: auto; }
.navbar-brand .brand-text {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 1px;
  line-height: 1.2;
}
.navbar-nav .nav-link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
  padding: 0.5rem 1rem !important;
  position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active { color: var(--accent-orange); }
.navbar-nav .nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0; left: 50%;
  transform: translateX(-50%);
  width: 20px; height: 2px;
  background: var(--accent-orange);
}
.navbar-nav .dropdown-menu {
  border: none;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  padding: 0.5rem;
  margin-top: 0.5rem;
}
.navbar-nav .dropdown-item {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
}
.navbar-nav .dropdown-item:hover {
  background: rgba(201, 168, 76, 0.1);
  color: var(--primary);
}
.btn-nav-cta {
  background: var(--primary);
  color: var(--text-light) !important;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  padding: 0.65rem 1.5rem;
  border-radius: 4px;
  border: 2px solid var(--primary);
  text-transform: uppercase;
}
.btn-nav-cta:hover {
  background: transparent;
  color: var(--primary) !important;
}
.navbar-toggler {
  border: none;
  padding: 0.25rem 0.5rem;
}
.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon-custom {
  width: 24px; height: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.navbar-toggler-icon-custom span {
  display: block;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ---------- Hero Slider ---------- */
.hero-slider {
  position: relative;
  height: 85vh;
  min-height: 550px;
  max-height: 800px;
  overflow: hidden;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
  background-size: cover;
  background-position: center;
}
.hero-slide.active { opacity: 1; z-index: 1; }
.hero-slide.fade { transition: opacity 1.5s ease; }
.hero-slide.zoom {
  transform: scale(1);
  transition: opacity 1.2s ease, transform 6s ease;
}
.hero-slide.zoom.active { transform: scale(1.08); }
.hero-slide.kenburns {
  transition: opacity 1.2s ease, transform 8s ease;
  transform: scale(1) translate(0, 0);
}
.hero-slide.kenburns.active {
  transform: scale(1.12) translate(-2%, -1%);
}
.hero-slide.parallax {
  background-attachment: fixed;
  transition: opacity 1.5s ease;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 50%, rgba(0,0,0,0.1) 100%);
  z-index: 2;
}
.hero-content-wrap {
  position: absolute;
  inset: 0;
  z-index: 3;
  display: flex;
  align-items: center;
}
.hero-caption-box {
  background: linear-gradient(135deg, var(--primary) 0%, #3D2310 100%);
  padding: 2.5rem 3rem;
  border-radius: var(--radius);
  max-width: 520px;
  box-shadow: var(--shadow-lg);
}
.hero-caption-box h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  color: var(--text-light);
  font-weight: 700;
  margin-bottom: 0.5rem;
  letter-spacing: 2px;
}
.hero-caption-box .hero-sub {
  font-size: 0.9rem;
  color: var(--secondary-light);
  margin-bottom: 0.75rem;
  font-weight: 500;
}
.hero-caption-box .hero-slogan {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.85);
  font-style: italic;
  margin-bottom: 1.75rem;
  font-family: var(--font-heading);
}
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-hero-primary {
  background: var(--bg-white);
  color: var(--primary);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1px;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  text-transform: uppercase;
  border: 2px solid var(--bg-white);
  position: relative;
  overflow: hidden;
}
.btn-hero-primary:hover {
  background: transparent;
  color: var(--text-light);
}
.btn-hero-outline {
  background: transparent;
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 1px;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  text-transform: uppercase;
  border: 2px solid rgba(255,255,255,0.6);
}
.btn-hero-outline:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  color: var(--primary-dark);
}
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.9);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  color: var(--primary);
  font-size: 1.2rem;
}
.hero-arrow:hover {
  background: var(--secondary);
  color: var(--primary-dark);
  transform: translateY(-50%) scale(1.1);
}
.hero-arrow.prev { left: 2rem; }
.hero-arrow.next { right: 2rem; }
.hero-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 0.5rem;
}
.hero-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.hero-dot.active {
  background: var(--secondary);
  transform: scale(1.3);
}

/* ---------- Section Shared ---------- */
.section-padding { padding: 5rem 0; }
.section-padding-sm { padding: 3.5rem 0; }
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--secondary-dark);
  margin-bottom: 0.75rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary);
}
.section-subtitle {
  font-size: 1rem;
  color: var(--text-muted);
  max-width: 600px;
}
.bg-cream { background: var(--bg-cream); }
.bg-light-section { background: var(--bg-light); }
.bg-dark-section {
  background: var(--bg-dark);
  color: var(--text-light);
}
.bg-dark-section .section-title { color: var(--secondary-light); }
.bg-dark-section .section-subtitle { color: rgba(255,255,255,0.6); }

/* ---------- Buttons ---------- */
.btn-primary-custom {
  background: linear-gradient(135deg, var(--secondary), var(--secondary-dark));
  color: var(--primary-dark);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  border: none;
  text-transform: uppercase;
  position: relative;
  overflow: hidden;
  display: inline-block;
}
.btn-primary-custom:hover {
  background: linear-gradient(135deg, var(--secondary-light), var(--secondary));
  color: var(--primary-dark);
  box-shadow: var(--shadow-gold);
  transform: translateY(-2px);
}
.btn-dark-custom {
  background: var(--primary);
  color: var(--text-light);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  border: 2px solid var(--primary);
  text-transform: uppercase;
}
.btn-dark-custom:hover {
  background: transparent;
  color: var(--primary);
}
.btn-outline-custom {
  background: transparent;
  color: var(--primary);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 1px;
  padding: 0.8rem 2rem;
  border-radius: 4px;
  border: 2px solid var(--primary);
  text-transform: uppercase;
}
.btn-outline-custom:hover {
  background: var(--primary);
  color: var(--text-light);
}

/* Ripple effect */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  transform: scale(0);
  animation: rippleAnim 0.6s ease-out;
  pointer-events: none;
}
@keyframes rippleAnim {
  to { transform: scale(4); opacity: 0; }
}

/* ---------- Service Cards ---------- */
.service-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 2rem 1.75rem;
  height: 100%;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 168, 76, 0.3);
}
.service-card:hover::before { transform: scaleX(1); }
.service-card-icon {
  width: 64px; height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.1);
  margin-bottom: 1.25rem;
  transition: var(--transition);
}
.service-card-icon i {
  font-size: 1.5rem;
  color: var(--secondary-dark);
}
.service-card:hover .service-card-icon {
  background: var(--secondary);
  transform: scale(1.1);
}
.service-card:hover .service-card-icon i { color: var(--primary-dark); }
.service-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}
.service-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.service-card ul {
  font-size: 0.82rem;
  color: var(--text-body);
  margin-bottom: 1.25rem;
}
.service-card ul li {
  padding: 0.2rem 0;
  padding-left: 1rem;
  position: relative;
}
.service-card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--secondary);
}
.service-card .read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.service-card .read-more:hover { color: var(--primary); }
.service-card .read-more i { transition: transform 0.3s; }
.service-card .read-more:hover i { transform: translateX(4px); }

/* ---------- About Section ---------- */
.about-text-block p {
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--text-body);
}
.about-feature-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  height: 100%;
}
.about-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.about-feature-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}
.about-feature-card .card-body {
  padding: 1.5rem;
}
.about-feature-card h4 {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}
.about-feature-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ---------- Stats / Counters ---------- */
.stat-box {
  text-align: center;
  padding: 2rem 1rem;
}
.stat-number {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
}
.stat-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 0.5rem;
}

/* ---------- Timeline ---------- */
.timeline { position: relative; padding-left: 2rem; }
.timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--secondary), var(--primary));
}
.timeline-item {
  position: relative;
  padding-bottom: 2rem;
  padding-left: 1.5rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.3rem;
  width: 12px; height: 12px;
  border-radius: 50%;
  background: var(--secondary);
  border: 3px solid var(--bg-white);
  transform: translateX(-5px);
}
.timeline-year {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--secondary-dark);
}
.timeline-text {
  font-size: 0.9rem;
  color: var(--text-body);
}

/* ---------- Milestone Grid ---------- */
.milestone-grid { max-width: 1100px; margin: 0 auto; }
.milestone-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  height: 100%;
  text-align: center;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}
.milestone-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--secondary), var(--accent));
}
.milestone-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(201, 168, 76, 0.3);
}
.milestone-number {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--secondary-dark);
  margin-bottom: 0.5rem;
}
.milestone-year {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 1rem;
}
.milestone-text {
  font-size: 0.88rem;
  color: var(--text-body);
  line-height: 1.65;
  margin-bottom: 0;
}

/* ---------- Portfolio ---------- */
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--border);
  padding: 0.5rem 1.25rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-body);
  cursor: pointer;
  transition: var(--transition);
}
.filter-btn:hover,
.filter-btn.active {
  background: var(--primary);
  color: var(--text-light);
  border-color: var(--primary);
}
.portfolio-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  margin-bottom: 1.5rem;
}
.portfolio-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.portfolio-item:hover img { transform: scale(1.08); }
.portfolio-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(74,44,10,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: var(--transition);
}
.portfolio-item:hover .portfolio-overlay { opacity: 1; }
.portfolio-overlay h4 {
  color: var(--text-light);
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
}
.portfolio-overlay span {
  color: var(--secondary-light);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.portfolio-carousel-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
  transition: var(--transition);
}
.portfolio-carousel-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}
.portfolio-carousel-card .card-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 1.5rem;
  background: linear-gradient(0deg, rgba(0,0,0,0.8), transparent);
}
.portfolio-carousel-card .card-tag {
  display: inline-block;
  background: var(--secondary);
  color: var(--primary-dark);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
}
.portfolio-carousel-card h4 {
  color: var(--text-light);
  font-size: 1rem;
}

/* ---------- Why Choose Us ---------- */
.why-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--secondary);
}
.why-card-icon {
  width: 56px; height: 56px;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(201, 168, 76, 0.12);
}
.why-card-icon i {
  font-size: 1.3rem;
  color: var(--secondary-dark);
}
.why-card h4 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}
.why-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ---------- Clients Slider ---------- */
.clients-section .divider {
  width: 60px;
  height: 2px;
  background: var(--border);
  margin: 1.5rem auto 2.5rem;
}
.client-logo-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}
.client-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  opacity: 0.7;
  transition: var(--transition);
  min-width: 120px;
}
.client-logo-item:hover { opacity: 1; transform: scale(1.05); }
.client-logo-item i {
  font-size: 2rem;
  color: var(--primary);
}
.client-logo-item span {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-dark);
  text-align: center;
}
.client-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  margin-top: 2rem;
}
.client-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}
.client-dot.active { background: var(--primary); }
.clients-carousel { position: relative; min-height: 120px; }
.client-slide { display: none; }
.client-slide.active { display: block; }

/* ---------- Gallery ---------- */
.gallery-masonry {
  column-count: 3;
  column-gap: 1rem;
}
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item img {
  width: 100%;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(74, 44, 10, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-item-overlay { opacity: 1; }
.gallery-item-overlay i {
  font-size: 2rem;
  color: var(--text-light);
}
.gallery-carousel {
  display: flex;
  gap: 1rem;
  overflow: hidden;
  transition: transform 0.5s ease;
}
.gallery-carousel-wrap { position: relative; overflow: hidden; }
.gallery-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  margin: 0 0.2rem;
}
.gallery-dot.active { background: var(--primary); }
@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}
.gallery-carousel-item {
  flex: 0 0 calc(33.333% - 0.67rem);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.gallery-carousel-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}
.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
}
.gallery-arrow.prev { left: 1rem; }
.gallery-arrow.next { right: 1rem; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 2rem;
  border: 1px solid var(--border);
  height: 100%;
  transition: var(--transition);
  position: relative;
}
.testimonial-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.testimonial-card .quote-icon {
  font-size: 2.5rem;
  color: var(--secondary);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 0.5rem;
}
.testimonial-card p {
  font-size: 0.95rem;
  font-style: italic;
  color: var(--text-body);
  margin-bottom: 1.5rem;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.testimonial-author img {
  width: 50px; height: 50px;
  border-radius: 50%;
  object-fit: cover;
}
.testimonial-author h5 {
  font-size: 0.95rem;
  margin-bottom: 0;
  font-family: var(--font-body);
  font-weight: 600;
}
.testimonial-author span {
  font-size: 0.8rem;
  color: var(--text-muted);
}
.testimonial-stars {
  color: var(--secondary);
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

/* ---------- Blog Cards ---------- */
.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--bg-white);
  border: 1px solid var(--border);
  transition: var(--transition);
  height: 100%;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}
.blog-card-img {
  position: relative;
  overflow: hidden;
}
.blog-card-img img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-card-img img { transform: scale(1.06); }
.blog-card-img .blog-category {
  position: absolute;
  top: 1rem; left: 1rem;
  background: var(--secondary);
  color: var(--primary-dark);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.blog-card-body { padding: 1.5rem; }
.blog-card-body .blog-date {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.blog-card-body h4 {
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  color: var(--primary);
}
.blog-card-body p {
  font-size: 0.88rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}
.blog-read-more {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--accent-orange);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ---------- CTA Section ---------- */
.cta-section {
  position: relative;
  padding: 6rem 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 18, 8, 0.75);
}
.cta-box {
  position: relative;
  z-index: 1;
  background: rgba(255,255,255,0.95);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  backdrop-filter: blur(8px);
}
.cta-box .cta-tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
  margin-bottom: 0.5rem;
}
.cta-box h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  color: var(--primary);
  margin-bottom: 1rem;
}
.cta-box p {
  font-size: 0.95rem;
  color: var(--text-body);
  margin-bottom: 2rem;
}

/* ---------- Contact ---------- */
.contact-info-block h3 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 0.5rem;
}
.contact-info-block .contact-sub {
  color: var(--text-muted);
  margin-bottom: 2rem;
}
.contact-detail {
  margin-bottom: 1.25rem;
}
.contact-detail strong {
  display: block;
  font-size: 0.85rem;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}
.contact-detail span, .contact-detail a {
  font-size: 0.95rem;
  color: var(--text-body);
}
.contact-detail a:hover { color: var(--accent-orange); }
.contact-form .form-control,
.contact-form .form-select {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}
.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}
.map-container {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  height: 100%;
  min-height: 400px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 4rem 0 0;
}
.footer-brand img { height: 60px; margin-bottom: 1rem; }
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}
.footer-heading {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--secondary-light);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.25rem;
}
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
}
.footer-links a:hover { color: var(--secondary); }
.footer-social {
  display: flex;
  gap: 0.75rem;
}
.footer-social a {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--secondary);
  font-size: 1rem;
}
.footer-social a:hover {
  background: var(--secondary);
  color: var(--primary-dark);
  border-color: var(--secondary);
}
.footer-newsletter .form-control {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  color: var(--text-light);
  border-radius: 8px 0 0 8px;
  padding: 0.65rem 1rem;
  font-size: 0.88rem;
}
.footer-newsletter .form-control::placeholder { color: rgba(255,255,255,0.4); }
.footer-newsletter .btn {
  background: var(--secondary);
  color: var(--primary-dark);
  border: none;
  font-weight: 600;
  border-radius: 0 8px 8px 0;
  padding: 0.65rem 1.25rem;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.5rem 0;
  margin-top: 3rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
}

/* ---------- Page Banner ---------- */
.page-banner {
  position: relative;
  padding: 8rem 0 4rem;
  background-size: cover;
  background-position: center;
  text-align: center;
}
.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(26, 18, 8, 0.7);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--text-light);
  margin-bottom: 0.5rem;
}
.page-banner .breadcrumb {
  justify-content: center;
  margin-bottom: 0;
}
.page-banner .breadcrumb-item,
.page-banner .breadcrumb-item a {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}
.page-banner .breadcrumb-item.active { color: var(--secondary-light); }
.page-banner .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ---------- Service Detail Page ---------- */
.service-detail-content h3 {
  font-size: 1.4rem;
  color: var(--primary);
  margin: 2rem 0 1rem;
}
.feature-list li {
  padding: 0.5rem 0;
  padding-left: 1.75rem;
  position: relative;
  font-size: 0.92rem;
}
.feature-list li::before {
  content: '\F26B';
  font-family: 'bootstrap-icons';
  position: absolute;
  left: 0;
  color: var(--secondary);
}
.process-step {
  text-align: center;
  padding: 1.5rem;
}
.process-number {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--primary-dark);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.1rem;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  overflow: hidden;
}
.faq-question {
  width: 100%;
  text-align: left;
  background: var(--bg-white);
  border: none;
  padding: 1.25rem 1.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}
.faq-question i { transition: transform 0.3s; }
.faq-question.active i { transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
  padding: 0 1.5rem;
  font-size: 0.9rem;
  color: var(--text-body);
}
.faq-answer.open {
  max-height: 300px;
  padding: 0 1.5rem 1.25rem;
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.92);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lightbox.active { display: flex; }
.lightbox img {
  max-width: 90%;
  max-height: 85vh;
  border-radius: var(--radius);
  object-fit: contain;
}
.lightbox-close {
  position: absolute;
  top: 1.5rem; right: 1.5rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--primary);
  color: var(--text-light);
  border: none;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
}
.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--secondary); color: var(--primary-dark); }

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 2rem; left: 2rem;
  background: #25D366;
  color: white;
  padding: 0.75rem 1.25rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 998;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: var(--transition);
}
.whatsapp-float:hover {
  color: white;
  transform: translateY(-3px);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* ---------- Animations ---------- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}
.animate-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-left.visible { opacity: 1; transform: translateX(0); }
.animate-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-right.visible { opacity: 1; transform: translateX(0); }
.animate-zoom {
  opacity: 0;
  transform: scale(0.9);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.animate-zoom.visible { opacity: 1; transform: scale(1); }

/* ---------- 404 / Coming Soon ---------- */
.error-page, .coming-soon-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--bg-cream);
  padding: 2rem;
}
.error-code {
  font-family: var(--font-heading);
  font-size: clamp(6rem, 15vw, 10rem);
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
}
.countdown-grid {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin: 2rem 0;
}
.countdown-box {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  min-width: 80px;
}
.countdown-box .num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}
.countdown-box .lbl {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--text-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
  .hero-slider { height: 70vh; min-height: 480px; }
  .hero-caption-box { padding: 2rem; max-width: 90%; }
  .hero-arrow { width: 40px; height: 40px; }
  .hero-arrow.prev { left: 1rem; }
  .hero-arrow.next { right: 1rem; }
  .gallery-masonry { column-count: 2; }
  .gallery-carousel-item { flex: 0 0 calc(50% - 0.5rem); }
  .gallery-carousel-item img { height: 280px; }
}

@media (max-width: 767.98px) {
  .section-padding { padding: 3.5rem 0; }
  .hero-slider { height: 65vh; min-height: 420px; }
  .hero-caption-box { padding: 1.5rem; }
  .hero-btns { flex-direction: column; }
  .hero-btns .btn { width: 100%; text-align: center; }
  .gallery-masonry { column-count: 1; }
  .gallery-carousel-item { flex: 0 0 100%; }
  .client-logo-slide { gap: 1.5rem; }
  .whatsapp-float { bottom: 5rem; left: 1rem; font-size: 0; padding: 0.75rem; border-radius: 50%; }
  .whatsapp-float i { font-size: 1.3rem; }
  .back-to-top { bottom: 1rem; right: 1rem; }
  .cta-box { padding: 2rem 1.5rem; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .animate-on-scroll, .animate-left, .animate-right, .animate-zoom {
    opacity: 1; transform: none;
  }
}