/* ─────────────────────────────────────────────────────────────
   Euroship Fulfillment — Custom Stylesheet
   Complements Tailwind CSS CDN
───────────────────────────────────────────────────────────── */

/* ── Brand Tokens ── */
:root {
  --navy:        #0B2545;
  --navy-light:  #1A3A6C;
  --navy-dark:   #071A36;
  --orange:      #F4821F;
  --orange-dark: #D4680F;
  --orange-light:#FEF3E8;
  --gray-light:  #F8FAFC;
  --border:      #E2E8F0;
  --text:        #1A202C;
  --text-muted:  #718096;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ── Header ── */
#header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  transition: box-shadow 0.3s;
}

#header.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}

.nav-link {
  color: rgba(255,255,255,0.82);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  padding: 0.4rem 0;
  position: relative;
  transition: color 0.2s;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--orange);
  transition: width 0.25s;
}

.nav-link:hover { color: #fff; }
.nav-link:hover::after { width: 100%; }

/* ── Language Switcher ── */
.lang-btn {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 4px;
  border: 1px solid rgba(255,255,255,0.3);
  background: transparent;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  transition: all 0.2s;
}

.lang-btn.active,
.lang-btn:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

/* ── CTA Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--orange);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  border: 2px solid var(--orange);
  transition: background 0.2s, transform 0.15s;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  border: 2px solid rgba(255,255,255,0.5);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.btn-secondary:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.1);
  transform: translateY(-1px);
}

.btn-outline-orange {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--orange);
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 6px;
  text-decoration: none;
  border: 2px solid var(--orange);
  transition: all 0.2s;
}

.btn-outline-orange:hover {
  background: var(--orange);
  color: #fff;
  transform: translateY(-1px);
}

/* ── Section Badges ── */
.section-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  background: var(--orange-light);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.section-badge-white {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--orange);
  background: rgba(244,130,31,0.15);
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

/* ── Hero ── */
#hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy-dark);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1553413077-190dd305871c?w=1920&q=80');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

/* ── Stats Bar ── */
#stats {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
}

.stat-item {
  text-align: center;
  padding: 1.5rem 1rem;
  border-right: 1px solid rgba(255,255,255,0.1);
}

.stat-item:last-child { border-right: none; }

.stat-value {
  font-size: 2rem;
  font-weight: 800;
  color: var(--orange);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.7);
  margin-top: 0.3rem;
  font-weight: 500;
  letter-spacing: 0.03em;
}

/* ── Service Cards ── */
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: box-shadow 0.3s, transform 0.3s;
}

.service-card:hover {
  box-shadow: 0 12px 40px rgba(11,37,69,0.12);
  transform: translateY(-4px);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: var(--orange-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  color: var(--orange);
}

/* ── How It Works ── */
.step-card {
  position: relative;
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}

.step-connector {
  position: absolute;
  top: 28px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange-light) 100%);
  z-index: 0;
}

/* ── International Section ── */
#international {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

#international::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 320px; height: 320px;
  border-radius: 50%;
  background: rgba(244,130,31,0.08);
}

#international::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -40px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(244,130,31,0.05);
}

.intl-benefit {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 0.75rem 0;
}

.intl-check {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

/* ── Coverage Zones ── */
.zone-card {
  border-radius: 12px;
  padding: 1.75rem;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.2s;
}

.zone-card:hover {
  border-color: var(--orange);
  transform: translateY(-3px);
}

.zone-card.next-day { background: #EFF6FF; }
.zone-card.two-three { background: #F0FDF4; }
.zone-card.four-day  { background: #FFF7ED; }

.zone-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  display: inline-block;
  margin-right: 0.4rem;
}

.dot-blue   { background: #3B82F6; }
.dot-green  { background: #22C55E; }
.dot-orange { background: var(--orange); }

/* ── Carrier / Integration Badges ── */
.carrier-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0.85rem 1.5rem;
  font-weight: 700;
  font-size: 1rem;
  color: var(--navy);
  letter-spacing: 0.02em;
  transition: box-shadow 0.2s, border-color 0.2s;
  min-width: 120px;
  text-align: center;
}

.carrier-badge:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 16px rgba(244,130,31,0.15);
}

.integration-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  padding: 0.6rem 1.1rem;
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--navy);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.integration-pill:hover {
  border-color: var(--orange);
  box-shadow: 0 4px 12px rgba(244,130,31,0.12);
}

.integration-more {
  display: inline-flex;
  align-items: center;
  background: var(--orange-light);
  border: 1.5px solid var(--orange);
  color: var(--orange-dark);
  border-radius: 8px;
  padding: 0.6rem 1.1rem;
  font-weight: 600;
  font-size: 0.88rem;
}

/* ── Testimonials ── */
.testimonial-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  position: relative;
  transition: box-shadow 0.3s;
}

.testimonial-card:hover {
  box-shadow: 0 12px 40px rgba(11,37,69,0.1);
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem; left: 1.5rem;
  font-size: 4rem;
  color: var(--orange-light);
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--orange));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

/* ── Pricing Cards ── */
.pricing-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: 14px;
  padding: 2rem;
  transition: box-shadow 0.3s, border-color 0.3s, transform 0.3s;
}

.pricing-card:hover {
  border-color: var(--orange);
  box-shadow: 0 12px 40px rgba(244,130,31,0.12);
  transform: translateY(-4px);
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: #4A5568;
}

.pricing-check {
  color: var(--orange);
  flex-shrink: 0;
}

/* ── Contact Form ── */
.form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 0.92rem;
  color: var(--text);
  background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s;
  font-family: 'Inter', sans-serif;
}

.form-input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(244,130,31,0.12);
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #4A5568;
  margin-bottom: 0.4rem;
}

/* ── Footer ── */
#footer {
  background: var(--navy-dark);
}

.footer-link {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 0.88rem;
  display: block;
  padding: 0.2rem 0;
  transition: color 0.2s;
}

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

/* ── Mobile Menu ── */
#mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy-dark);
  border-top: 1px solid rgba(255,255,255,0.1);
}

#mobile-menu.open { display: flex; }

.mobile-nav-link {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 0.9rem 1.5rem;
  font-size: 0.95rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  transition: color 0.2s, background 0.2s;
}

.mobile-nav-link:hover {
  color: #fff;
  background: rgba(255,255,255,0.05);
}

/* ── Scroll Reveal Animations ── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

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

/* ── Success Message ── */
#form-success {
  display: none;
  background: #F0FDF4;
  border: 1.5px solid #22C55E;
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  color: #15803D;
  font-weight: 500;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:last-child { border-bottom: none; }
  .step-connector { display: none; }

  .hero-content { padding: 0 1rem; }
}

@media (max-width: 640px) {
  .stat-value { font-size: 1.6rem; }
}

/* ── Back to Top ── */
#back-to-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 46px; height: 46px;
  background: var(--orange);
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  z-index: 999;
  transition: background 0.2s, transform 0.2s;
}

#back-to-top.visible { display: flex; }
#back-to-top:hover { background: var(--orange-dark); transform: translateY(-2px); }
