/* =========================================
   TESTIMONIALS.INDISHMARKETER.COM
   Design System — Eucalyptus Grove
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Playfair+Display:ital,wght@0,600;0,700;1,500;1,600&display=swap');

/* --- Design Tokens --- */
:root {
  --color-primary: #2D5F4B;
  --color-primary-light: #3A7D63;
  --color-primary-dark: #1E3F32;
  --color-accent: #C4A35A;
  --color-accent-warm: #D4B06A;
  --color-bg-primary: #F7F5F0;
  --color-bg-card: #FFFFFF;
  --color-bg-dark: #0F1F18;
  --color-text-primary: #1A2E26;
  --color-text-secondary: #5A7068;
  --color-text-on-dark: #E8E4DC;
  --color-text-muted: #8A9E96;
  --color-border: #D4CFC4;
  --color-border-light: #E8E4DC;
  --color-gradient-start: #0F1F18;
  --color-gradient-end: #1E3F32;
  --color-star: #C4A35A;
  --color-overlay: rgba(15, 31, 24, 0.7);

  --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-accent: 'Playfair Display', Georgia, serif;

  --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 12px 40px rgba(0,0,0,0.12);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
  --shadow-glow: 0 0 30px rgba(196, 163, 90, 0.15);

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);

  --container-max: 1200px;
  --container-narrow: 900px;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  color: var(--color-text-primary);
  background: var(--color-bg-primary);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: var(--container-narrow);
}

/* --- Section Shared --- */
.section {
  padding: 100px 0;
}

.section__label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section__label::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--color-accent);
  display: inline-block;
}

.section__title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin-bottom: 16px;
}

.section__subtitle {
  font-size: 17px;
  color: var(--color-text-secondary);
  max-width: 600px;
  line-height: 1.7;
}

.section__header {
  text-align: center;
  margin-bottom: 60px;
}

.section__header .section__label { justify-content: center; }
.section__header .section__subtitle { margin: 0 auto; }

/* --- Animations --- */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1), transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-on-scroll.delay-1 { transition-delay: 0.1s; }
.animate-on-scroll.delay-2 { transition-delay: 0.2s; }
.animate-on-scroll.delay-3 { transition-delay: 0.3s; }

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

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

@keyframes shimmer {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

@keyframes pulse-glow {
  0%, 100% { box-shadow: 0 0 20px rgba(196, 163, 90, 0.1); }
  50% { box-shadow: 0 0 40px rgba(196, 163, 90, 0.25); }
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(160deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 50%, var(--color-primary) 100%);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.25;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 31, 24, 0.6) 0%, rgba(30, 63, 50, 0.8) 100%);
  z-index: 1;
}

/* Decorative particles */
.hero__particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
}

.hero__particles span {
  position: absolute;
  width: 4px;
  height: 4px;
  background: var(--color-accent);
  border-radius: 50%;
  opacity: 0;
  animation: particle-rise 8s linear infinite;
}

.hero__particles span:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 10s; }
.hero__particles span:nth-child(2) { left: 25%; animation-delay: 2s; animation-duration: 8s; }
.hero__particles span:nth-child(3) { left: 40%; animation-delay: 4s; animation-duration: 12s; }
.hero__particles span:nth-child(4) { left: 55%; animation-delay: 1s; animation-duration: 9s; }
.hero__particles span:nth-child(5) { left: 70%; animation-delay: 3s; animation-duration: 11s; }
.hero__particles span:nth-child(6) { left: 85%; animation-delay: 5s; animation-duration: 7s; }
.hero__particles span:nth-child(7) { left: 15%; animation-delay: 6s; animation-duration: 10s; width: 3px; height: 3px; }
.hero__particles span:nth-child(8) { left: 65%; animation-delay: 7s; animation-duration: 9s; width: 5px; height: 5px; }

@keyframes particle-rise {
  0% { transform: translateY(100vh) scale(0); opacity: 0; }
  10% { opacity: 0.6; }
  90% { opacity: 0.2; }
  100% { transform: translateY(-10vh) scale(1); opacity: 0; }
}

.hero__content {
  position: relative;
  z-index: 2;
  padding: 40px 24px;
  max-width: 800px;
}

.hero__logo {
  width: 80px;
  height: 80px;
  border-radius: var(--radius-lg);
  margin: 0 auto 32px;
  animation: fadeInUp 0.8s ease-out both;
  box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.hero__title {
  font-family: var(--font-accent);
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.15;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero__title span {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-warm) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: clamp(16px, 2vw, 19px);
  color: var(--color-text-on-dark);
  line-height: 1.7;
  margin-bottom: 40px;
  opacity: 0.85;
  animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero__stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  animation: fadeInUp 0.8s ease-out 0.6s both;
}

.hero__stat {
  text-align: center;
}

.hero__stat-number {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 800;
  color: var(--color-accent);
  display: block;
}

.hero__stat-label {
  font-size: 13px;
  color: var(--color-text-on-dark);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

.hero__scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: float 2s ease-in-out infinite;
}

.hero__scroll svg {
  width: 24px;
  height: 24px;
  stroke: var(--color-text-on-dark);
  opacity: 0.5;
}

/* =========================================
   TEXT TESTIMONIAL CARDS
   ========================================= */
.text-testimonials {
  background: var(--color-bg-primary);
}

.testimonial-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-light);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
  position: relative;
  overflow: hidden;
}

.testimonial-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
}

.testimonial-card__quote-icon {
  font-family: var(--font-accent);
  font-size: 72px;
  line-height: 1;
  color: var(--color-accent);
  opacity: 0.2;
  position: absolute;
  top: 24px;
  right: 36px;
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-card__stars svg {
  width: 18px;
  height: 18px;
  fill: var(--color-star);
}

.testimonial-card__text {
  font-family: var(--font-accent);
  font-size: clamp(17px, 2vw, 20px);
  font-weight: 500;
  font-style: italic;
  line-height: 1.8;
  color: var(--color-text-primary);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 16px;
}

.testimonial-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--color-border-light);
  flex-shrink: 0;
}

.testimonial-card__name {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-text-primary);
}

.testimonial-card__role {
  font-size: 14px;
  color: var(--color-text-secondary);
  margin-top: 2px;
}

/* =========================================
   VIDEO TESTIMONIALS
   ========================================= */
.video-testimonials {
  background: linear-gradient(180deg, var(--color-bg-primary) 0%, #EDE9E0 100%);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.video-card {
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border-light);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.video-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.video-card__embed {
  position: relative;
  padding-bottom: 56.25%;
  background: var(--color-bg-dark);
  cursor: pointer;
  overflow: hidden;
}

.video-card__embed img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.video-card:hover .video-card__embed img {
  transform: scale(1.05);
}

.video-card__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 64px;
  height: 64px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  z-index: 2;
}

.video-card__play svg {
  width: 24px;
  height: 24px;
  fill: var(--color-primary-dark);
  margin-left: 3px;
}

.video-card:hover .video-card__play {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 6px 30px rgba(0,0,0,0.4);
}

.video-card__body {
  padding: 28px;
}

.video-card__text {
  font-size: 15px;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.video-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border-light);
}

.video-card__avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-border-light);
  flex-shrink: 0;
}

.video-card__name {
  font-weight: 700;
  font-size: 15px;
  color: var(--color-text-primary);
}

.video-card__role {
  font-size: 13px;
  color: var(--color-text-secondary);
}

/* =========================================
   IMAGE TESTIMONIALS GALLERY
   ========================================= */
.image-testimonials {
  background: var(--color-bg-primary);
}

.gallery-grid {
  columns: 3;
  column-gap: 20px;
}

.gallery-grid__item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.gallery-grid__item:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.gallery-grid__item img {
  width: 100%;
  display: block;
  transition: transform var(--transition-slow);
}

.gallery-grid__item:hover img {
  transform: scale(1.03);
}

.gallery-grid__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 31, 24, 0.3) 100%);
  opacity: 0;
  transition: opacity var(--transition-base);
  pointer-events: none;
}

.gallery-grid__item:hover::after {
  opacity: 1;
}

.gallery-zoom-icon {
  position: absolute;
  bottom: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  z-index: 2;
}

.gallery-zoom-icon svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-text-primary);
}

.gallery-grid__item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* --- Lightbox --- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
  backdrop-filter: blur(8px);
}

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

.lightbox__img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: scale(0.9);
  transition: transform var(--transition-base);
}

.lightbox.is-active .lightbox__img {
  transform: scale(1);
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox__close:hover { background: rgba(255,255,255,0.2); }
.lightbox__close svg { width: 20px; height: 20px; stroke: #fff; }

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background var(--transition-fast);
}

.lightbox__nav:hover { background: rgba(255,255,255,0.2); }
.lightbox__nav svg { width: 20px; height: 20px; stroke: #fff; }
.lightbox__nav--prev { left: 20px; }
.lightbox__nav--next { right: 20px; }

/* =========================================
   CTA / BOOKING SECTION
   ========================================= */
.cta-section {
  background: linear-gradient(160deg, var(--color-gradient-start) 0%, var(--color-gradient-end) 60%, var(--color-primary) 100%);
  position: relative;
  overflow: hidden;
  padding: 100px 0 60px;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(196, 163, 90, 0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(58, 125, 99, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}

.cta__header {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  z-index: 1;
}

.cta__title {
  font-family: var(--font-accent);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.2;
  margin-bottom: 16px;
}

.cta__title span {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-warm) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta__subtitle {
  font-size: 17px;
  color: var(--color-text-on-dark);
  opacity: 0.8;
  max-width: 550px;
  margin: 0 auto;
  line-height: 1.7;
}

.cta__embed-wrapper {
  position: relative;
  z-index: 1;
  background: var(--color-bg-card);
  border-radius: var(--radius-xl);
  padding: 4px;
  box-shadow: var(--shadow-xl), 0 0 60px rgba(196, 163, 90, 0.1);
  max-width: 1000px;
  margin: 0 auto;
  min-height: 600px;
  overflow: hidden;
}

.cta__embed-wrapper > div {
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 600px;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--color-bg-dark);
  padding: 40px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.06);
}

.footer__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer__logo {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
}

.footer__text {
  font-size: 14px;
  color: var(--color-text-muted);
}

.footer__links {
  display: flex;
  gap: 24px;
}

.footer__links a {
  font-size: 13px;
  color: var(--color-text-muted);
  transition: color var(--transition-fast);
}

.footer__links a:hover { color: var(--color-accent); }

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

@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .hero__stats { gap: 32px; }
  .hero__stat-number { font-size: 26px; }
  .testimonial-card { padding: 32px; }
  .testimonial-card__quote-icon { font-size: 48px; top: 16px; right: 20px; }
  .video-grid { grid-template-columns: 1fr; gap: 24px; }
  .gallery-grid { columns: 2; column-gap: 12px; }
  .gallery-grid__item { margin-bottom: 12px; }
  .cta__embed-wrapper { margin: 0 8px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero__stats { flex-direction: column; gap: 16px; }
  .gallery-grid { columns: 2; }
  .testimonial-card { padding: 24px; }
  .video-card__body { padding: 20px; }
  .lightbox__nav { display: none; }
}
