@import url('fonts.css');

html {
  scroll-behavior: smooth;
}

:root {
  --bg: #ffffff;
  --bg-elevated: #f8f9fa;
  --fg: #1a1a1a;
  --muted: #666666;
  --accent: #1DEB8E; /* Vibrant Green from logo */
  --accent-secondary: #1A2B99; /* Deep Blue from logo */
  --accent-warm: #E91E63; /* Pink from logo */
  --card: #ffffff;
  --border: #e0e0e0;
  --shadow: 0 10px 30px rgba(0,0,0,0.05);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--bg);
  color: var(--fg);
  overflow-x: hidden;
}

.font-display {
  font-family: 'Cormorant Garamond', serif;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}
::-webkit-scrollbar-thumb {
  background: var(--accent);
  border-radius: 4px;
}

/* Noise texture overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Gradient orbs */
.gradient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  pointer-events: none;
}

.orb-1 {
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -300px;
  right: -200px;
  animation: float 20s ease-in-out infinite;
}

.orb-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--accent-warm) 0%, transparent 70%);
  bottom: -200px;
  left: -200px;
  animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(50px, -50px) scale(1.1); }
  66% { transform: translate(-30px, 30px) scale(0.9); }
}

/* Hero slideshow */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background-size: cover;
  background-position: center;
}

.hero-slide.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0.2) 50%, rgba(255,255,255,0.9) 100%);
  z-index: 1;
}

/* Section highlights */
.bg-vibrant-pink { background-color: var(--accent-warm); color: white; }
.bg-vibrant-green { background-color: var(--accent); color: var(--accent-secondary); }
.bg-vibrant-blue { background-color: var(--accent-secondary); color: white; }

/* Text reveal animations */
.reveal-text {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-text.visible {
  opacity: 1;
  transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* Button styles */
.btn-primary {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 36px;
  background: var(--accent-secondary);
  color: white;
  font-weight: 600;
  border-radius: 50px;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 25px rgba(26, 43, 153, 0.2);
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--accent);
  transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary span, .btn-primary svg {
  position: relative;
  z-index: 1;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(29, 235, 142, 0.3);
  color: var(--accent-secondary);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  border: 2px solid var(--accent-secondary);
  color: var(--accent-secondary);
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: var(--accent-secondary);
  color: white;
  transform: translateY(-2px);
}

/* Navigation */
.nav-container img {
  mix-blend-mode: multiply;
}

.nav-container, .stats-glass {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 100px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border: 1px solid rgba(255,255,255,0.5);
}

.nav-container {
  padding: 12px 30px;
}

.stats-glass {
  padding: 24px 40px;
}

.nav-link {
  position: relative;
  color: var(--accent-secondary);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-warm);
  transform: translateY(-1px);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--accent-warm);
  transition: width 0.3s ease;
  border-radius: 10px;
}

/* Hero text enhancements */
.hero-title {
  color: var(--bg); /* White text */
  font-weight: 800;
  text-shadow: 
    -2px -2px 0 #000,  
     2px -2px 0 #000,
    -2px  2px 0 #000,
     2px  2px 0 #000,
     0px 10px 30px rgba(0,0,0,0.5); /* Big glow for extra depth */
}

.hero-subtitle {
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  background: rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
  padding: 12px 24px;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 24px;
  border: 1px solid rgba(255,255,255,0.2);
  text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

/* Gallery cards */
.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  cursor: pointer;
  box-shadow: var(--shadow);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(26, 43, 153, 0.7) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

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

.gallery-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 30px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  color: white;
}

.gallery-card:hover .gallery-card-content {
  transform: translateY(0);
  opacity: 1;
}

/* Service cards */
.service-card {
  position: relative;
  padding: 50px 40px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: var(--shadow);
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

/* Testimonial slider */
.testimonial-track {
  display: flex;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-slide {
  min-width: 100%;
  padding: 0 20px;
}

.quote-mark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 140px;
  line-height: 1;
  color: var(--accent-warm);
  opacity: 0.2;
}

/* Form styles */
.form-input {
  width: 100%;
  padding: 18px 24px;
  background: #f8f9fa;
  border: 2px solid transparent;
  border-radius: 16px;
  color: var(--fg);
  font-family: 'DM Sans', sans-serif;
  font-size: 16px;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background: white;
  box-shadow: 0 0 0 4px rgba(29, 235, 142, 0.1);
}

/* Mobile menu */
.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: var(--accent-secondary);
  z-index: 100;
  transform: translateX(100%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  color: white;
}

.mobile-menu.open {
  transform: translateX(0);
}

/* Hamburger */
.hamburger {
  width: 32px;
  height: 24px;
  position: relative;
  cursor: pointer;
}

.hamburger span {
  position: absolute;
  left: 0;
  width: 100%;
  height: 3px;
  background: var(--accent-secondary);
  transition: all 0.3s ease;
  border-radius: 3px;
}

.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.hamburger span:nth-child(3) { bottom: 0; }

.hamburger.active span:nth-child(1) {
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  background: white;
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  bottom: 50%;
  transform: translateY(50%) rotate(-45deg);
  background: white;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(26, 43, 153, 0.98);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox.active {
  opacity: 1;
  pointer-events: all;
}

.lightbox img {
  max-width: 85%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 20px;
  box-shadow: 0 40px 100px rgba(0,0,0,0.5);
}

/* Marquee */
.marquee {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: flex;
  animation: marquee 30s linear infinite;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Stats counter */
.stat-number {
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}