/* ==============================
   Click-PhotoStation — style.css
   ============================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700;900&family=DM+Sans:wght@300;400;500;600&display=swap');

:root {
  --indigo: #4f46e5;
  --indigo-dark: #3730a3;
  --indigo-light: #818cf8;
  --dark: #0f0f1a;
  --gray-soft: #f8f8fc;
  --text: #1e1e2e;
  --text-muted: #6b7280;
  --radius: 1.5rem;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
}

/* ── Navbar ── */
nav {
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(255,255,255,0.92) !important;
  border-bottom: 1px solid rgba(79,70,229,0.08);
}

nav a {
  position: relative;
  font-family: 'DM Sans', sans-serif;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2px;
  background: var(--indigo);
  transition: width var(--transition);
}
nav a:hover::after { width: 100%; }

/* ── Hero Slideshow ── */
.hero-slideshow {
  position: relative;
  overflow: hidden;
}

.slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.2s ease, transform 6s ease;
}

.slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,15,26,0.72) 0%,
    rgba(79,70,229,0.35) 60%,
    rgba(15,15,26,0.55) 100%
  );
}

/* Slideshow dots */
.slideshow-dots {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.5rem;
  z-index: 20;
}
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all 0.3s;
}
.dot.active {
  background: white;
  width: 24px;
  border-radius: 4px;
}

/* ── Cards ── */
.portfolio-card, .service-card {
  transition: transform var(--transition), box-shadow var(--transition);
}
.portfolio-card:hover, .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 48px rgba(79,70,229,0.15);
}

/* ── Stats strip ── */
.stat-card {
  position: relative;
  overflow: hidden;
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--indigo), #7c3aed);
  opacity: 0;
  transition: opacity var(--transition);
}
.stat-card:hover::before { opacity: 1; }
.stat-card:hover .stat-num, .stat-card:hover .stat-label { color: white; }
.stat-num, .stat-label { position: relative; z-index: 1; }

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--indigo);
  color: white;
  padding: 0.875rem 2.25rem;
  border-radius: 9999px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  letter-spacing: 0.01em;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--indigo-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(79,70,229,0.35);
}
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border: 2px solid white;
  color: white;
  padding: 0.875rem 2.25rem;
  border-radius: 9999px;
  font-weight: 600;
  font-family: 'DM Sans', sans-serif;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}
.btn-outline:hover {
  background: white;
  color: var(--text);
  transform: translateY(-2px);
}

/* ── Section headings ── */
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 900;
  line-height: 1.15;
  color: var(--text);
}
.section-subtitle {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── Process timeline ── */
.process-step {
  position: relative;
}
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 3rem;
  left: 50%;
  width: 2px;
  height: calc(100% - 3rem);
  background: linear-gradient(to bottom, var(--indigo), transparent);
}

/* ── Pricing cards ── */
.pricing-card {
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.pricing-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 32px 64px rgba(79,70,229,0.2);
}
.pricing-card.featured::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, #4f46e5, #7c3aed);
  z-index: 0;
}
.pricing-card.featured > * { position: relative; z-index: 1; }

/* ── Blog cards ── */
.blog-card {
  transition: transform var(--transition), box-shadow var(--transition);
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(79,70,229,0.12);
}
.blog-tag {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: rgba(79,70,229,0.1);
  color: var(--indigo);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Footer ── */
footer {
  background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 100%);
}
footer a { transition: color var(--transition); }
footer a:hover { color: var(--indigo-light); }

/* ── Scroll reveal ── */
[data-aos] { will-change: transform, opacity; }

/* ── Testimonials ── */
.testimonial-card {
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: -0.5rem;
  left: 1.25rem;
  font-size: 6rem;
  font-family: 'Playfair Display', serif;
  color: rgba(79,70,229,0.12);
  line-height: 1;
  pointer-events: none;
}

/* ── Marquee ── */
.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── Mobile menu ── */
#mobile-menu {
  transition: max-height 0.35s ease, opacity 0.35s ease;
}

/* ── Scroll-to-top ── */
#scroll-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--indigo);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 100;
  border: none;
  box-shadow: 0 4px 16px rgba(79,70,229,0.4);
}
#scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Gradient text ── */
.gradient-text {
  background: linear-gradient(135deg, #4f46e5, #a855f7);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Active nav link ── */
.nav-active { color: #4f46e5 !important; }
.nav-active::after { width: 100% !important; }

/* ── Responsive tweaks ── */
@media (max-width: 768px) {
  .hero-slideshow { min-height: 100svh; }
  .section-title { font-size: 2rem; }
}

/* ── Loading skeleton (nice touch) ── */
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.4s infinite;
  border-radius: 0.5rem;
}

/* ── WhatsApp float ── */
.whatsapp-float {
  position: fixed;
  bottom: 5.5rem; right: 2rem;
  z-index: 100;
  transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }
