/* ============================================================
   ASHAPURA PRINTERS — Custom CSS
   Complements Tailwind CSS with custom animations & effects
   ============================================================ */

:root {
  --navy:   #080F3D;
  --blue:   #101A5C;
  --cyan:   #00AFCB;
  --sky:    #42C6E8;
  --light:  #F5F9FC;
  --white:  #FFFFFF;
  --gradient-primary: linear-gradient(135deg, #080F3D 0%, #101A5C 40%, #00AFCB 100%);
  --gradient-hero: linear-gradient(135deg, #080F3D 0%, #101A5C 50%, #1a2a7a 100%);
  --gradient-cta: linear-gradient(135deg, #00AFCB 0%, #42C6E8 100%);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  background-color: var(--white);
  color: #1a1a2e;
  overflow-x: hidden;
}

/* ─── Typography ────────────────────────────────────────── */
.font-display { font-family: 'Outfit', 'Inter', sans-serif; }

/* ─── Navbar ────────────────────────────────────────────── */
#navbar {
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

#navbar.scrolled {
  background: rgba(8, 15, 61, 0.96) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 4px 32px rgba(0,0,0,0.28);
}

.nav-link {
  position: relative;
  transition: color 0.25s ease;
}

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

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* Mobile Menu */
#mobile-menu {
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease,
              transform 0.4s ease;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transform: translateY(-8px);
}

#mobile-menu.open {
  max-height: 420px;
  opacity: 1;
  transform: translateY(0);
}

/* ─── Hero Section ──────────────────────────────────────── */
.hero-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0,175,203,0.18) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(66,198,232,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(16,26,92,0.3) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,175,203,0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,175,203,0.06) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
}

/* ─── Logo Float Animation ──────────────────────────────── */
@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  33%       { transform: translateY(-12px) rotate(1deg); }
  66%       { transform: translateY(-6px) rotate(-0.5deg); }
}

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

.logo-float { animation: float 5s ease-in-out infinite; }
.float-slow { animation: floatSlow 6s ease-in-out infinite; }
.float-delay-1 { animation-delay: 0.8s; }
.float-delay-2 { animation-delay: 1.6s; }
.float-delay-3 { animation-delay: 2.4s; }

/* ─── Gradient Text ─────────────────────────────────────── */
.gradient-text {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--sky) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-warm {
  background: linear-gradient(135deg, #fff 0%, var(--sky) 60%, var(--cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Scroll Animations ─────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in {
  opacity: 0;
  transition: opacity 0.8s ease;
}

.fade-in.visible { opacity: 1; }

.slide-left {
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.slide-left.visible { opacity: 1; transform: translateX(0); }

.slide-right {
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.slide-right.visible { opacity: 1; transform: translateX(0); }

/* Staggered delay utilities */
.delay-100 { transition-delay: 0.1s !important; }
.delay-200 { transition-delay: 0.2s !important; }
.delay-300 { transition-delay: 0.3s !important; }
.delay-400 { transition-delay: 0.4s !important; }
.delay-500 { transition-delay: 0.5s !important; }
.delay-600 { transition-delay: 0.6s !important; }

/* ─── Service Cards ─────────────────────────────────────── */
.service-card {
  background: #fff;
  border: 1px solid rgba(0, 175, 203, 0.12);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--cyan), var(--sky));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.service-card:hover::before { transform: scaleX(1); }

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0, 175, 203, 0.18), 0 8px 32px rgba(8,15,61,0.12);
  border-color: rgba(0,175,203,0.3);
}

.service-icon-wrap {
  width: 56px; height: 56px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(0,175,203,0.12), rgba(66,198,232,0.08));
  transition: all 0.3s ease;
  margin-bottom: 1.2rem;
}

.service-card:hover .service-icon-wrap {
  background: linear-gradient(135deg, var(--cyan), var(--sky));
}

.service-card:hover .service-icon-wrap svg {
  color: white !important;
  stroke: white !important;
}

/* ─── Feature Cards (Why Us) ────────────────────────────── */
.feature-card {
  background: linear-gradient(135deg, rgba(8,15,61,0.04) 0%, rgba(0,175,203,0.04) 100%);
  border: 1px solid rgba(0,175,203,0.15);
  border-radius: 16px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.feature-card:hover {
  background: linear-gradient(135deg, rgba(8,15,61,0.06) 0%, rgba(0,175,203,0.08) 100%);
  border-color: var(--cyan);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,175,203,0.12);
}

/* ─── Buttons ───────────────────────────────────────────── */
.btn-primary {
  background: linear-gradient(135deg, var(--cyan) 0%, var(--sky) 100%);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(0,175,203,0.45);
  background: linear-gradient(135deg, #00c4e3 0%, #5ccff0 100%);
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 10px;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  letter-spacing: 0.01em;
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--sky);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: white;
  border: none;
  border-radius: 10px;
  padding: 0.85rem 2rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-navy:hover {
  background: var(--blue);
  transform: translateY(-2px);
  box-shadow: 0 12px 36px rgba(8,15,61,0.3);
}

/* ─── Section Labels ────────────────────────────────────── */
.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0,175,203,0.1);
  border: 1px solid rgba(0,175,203,0.25);
  color: var(--cyan);
  padding: 0.4rem 1.1rem;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

/* ─── Brand Statement Section ───────────────────────────── */
.brand-section {
  background: var(--gradient-hero);
  position: relative;
  overflow: hidden;
}

.brand-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(0,175,203,0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(66,198,232,0.15) 0%, transparent 50%);
  pointer-events: none;
}

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

.shimmer-text {
  background: linear-gradient(90deg, #fff 25%, var(--sky) 50%, var(--cyan) 60%, #fff 75%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

/* ─── CTA Section ───────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue) 60%, rgba(0,175,203,0.15) 100%);
  position: relative;
  overflow: hidden;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -40px; right: -40px;
  width: 280px; height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,175,203,0.15) 0%, transparent 70%);
  pointer-events: none;
}

/* ─── Contact Cards ─────────────────────────────────────── */
.contact-action-card {
  border-radius: 18px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0.8rem;
  text-decoration: none;
  transition: all 0.35s ease;
  min-height: 180px;
  cursor: pointer;
}

.contact-action-card:hover {
  transform: translateY(-6px);
}

/* ─── Process Timeline ──────────────────────────────────── */
.process-step {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.process-number {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--cyan), var(--sky));
  color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 4px 16px rgba(0,175,203,0.4);
}

/* ─── Form Styles ───────────────────────────────────────── */
.form-input {
  width: 100%;
  padding: 0.85rem 1.1rem;
  border: 1.5px solid rgba(0,175,203,0.2);
  border-radius: 10px;
  font-size: 0.95rem;
  color: #1a1a2e;
  background: #fff;
  transition: all 0.25s ease;
  outline: none;
  font-family: inherit;
}

.form-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(0,175,203,0.12);
}

.form-input.error {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.4rem;
  letter-spacing: 0.02em;
}

.error-msg {
  font-size: 0.78rem;
  color: #ef4444;
  margin-top: 0.3rem;
  display: none;
}

.error-msg.show { display: block; }

/* Success Message */
.success-toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: linear-gradient(135deg, #059669, #10b981);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(5,150,105,0.35);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 9999;
  white-space: nowrap;
  pointer-events: none;
}

.success-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ─── WhatsApp Floating Button ──────────────────────────── */
.fab-wa {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #25D366;
  color: white;
  text-decoration: none;
  border-radius: 100px;
  padding: 0.8rem 1.4rem;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 8px 28px rgba(37,211,102,0.45);
  transition: all 0.3s ease;
}

.fab-wa:hover {
  background: #20bd5a;
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(37,211,102,0.55);
}

.fab-wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 100px;
  background: #25D366;
  animation: pulse-ring 2s ease-out infinite;
  z-index: -1;
}

@keyframes pulse-ring {
  0%   { transform: scale(1); opacity: 0.7; }
  70%  { transform: scale(1.3); opacity: 0; }
  100% { transform: scale(1.3); opacity: 0; }
}

/* Mobile FAB — compact icon only */
@media (max-width: 640px) {
  .fab-wa {
    bottom: 20px; right: 20px;
    padding: 0.9rem;
    border-radius: 50%;
    font-size: 0;
    gap: 0;
    width: 58px; height: 58px;
    justify-content: center;
  }
  .fab-wa-text { display: none; }
}

/* Floating Call on mobile */
.fab-call {
  position: fixed;
  bottom: 20px; left: 20px;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--cyan), var(--sky));
  color: white;
  text-decoration: none;
  border-radius: 50%;
  width: 58px; height: 58px;
  box-shadow: 0 8px 28px rgba(0,175,203,0.45);
  transition: all 0.3s ease;
}

.fab-call:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(0,175,203,0.55); }

@media (max-width: 640px) {
  .fab-call { display: flex; }
}

/* ─── Footer ────────────────────────────────────────────── */
footer {
  background: linear-gradient(180deg, #050b2a 0%, #080F3D 100%);
}

.footer-link {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  transition: color 0.25s ease;
  font-size: 0.9rem;
}

.footer-link:hover { color: var(--sky); }

/* ─── Map Card ──────────────────────────────────────────── */
.map-card {
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(0,175,203,0.2);
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
}

/* ─── Divider ───────────────────────────────────────────── */
.cyan-line {
  display: block;
  width: 60px; height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--cyan), var(--sky));
  margin: 0 auto 1.5rem;
}

/* ─── Reduced Motion ────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .fade-up, .fade-in, .slide-left, .slide-right {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ─── Misc Utilities ────────────────────────────────────── */
.text-shadow { text-shadow: 0 2px 16px rgba(0,0,0,0.25); }

.glass-card {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 16px;
}

/* Hero visual print items */
.print-item-card {
  background: white;
  border-radius: 12px;
  padding: 1rem 1.4rem;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--navy);
  min-width: 140px;
}

/* Contact info cards */
.info-chip {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem;
  background: #fff;
  border: 1px solid rgba(0,175,203,0.15);
  border-radius: 14px;
  transition: all 0.3s ease;
}

.info-chip:hover {
  border-color: var(--cyan);
  box-shadow: 0 8px 24px rgba(0,175,203,0.12);
  transform: translateY(-2px);
}

/* Number styling */
.step-num {
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: var(--cyan);
  margin-bottom: 0.3rem;
}

/* ─── Hero Print Visual ─────────────────────────────────── */
.hero-visual-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
}

.hero-logo-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0,175,203,0.22) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(30px);
  pointer-events: none;
}

/* Responsive Fixes */
@media (max-width: 1024px) {
  .hero-visual-wrap { min-height: 340px; }
}

@media (max-width: 768px) {
  .hero-visual-wrap { min-height: 260px; }
  .fab-wa { bottom: 16px; right: 16px; }
}
