/* ============================================
   Seven Sails Logistics - Main Stylesheet
   Color Palette: Navy + Gold (Brand Colors)
   ============================================ */

/* ── CSS Variables / Design Tokens ── */
:root {
  --navy: #0b1f3a;
  --navy2: #112a4e;
  --navy3: #1a3d6b;
  --navy-light: #244870;
  --gold: #e8a020;
  --gold2: #f4b942;
  --gold-light: #fff8e6;
  --blue: #1e6fbf;
  --blue2: #2980d4;
  --green: #18a062;
  --green2: #22c47b;
  --red: #d63b2f;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-400: #94a3b8;
  --gray-500: #64748b;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --white: #ffffff;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(11,31,58,0.08);
  --shadow-md: 0 4px 16px rgba(11,31,58,0.1);
  --shadow-lg: 0 8px 32px rgba(11,31,58,0.12);
  --shadow-xl: 0 16px 48px rgba(11,31,58,0.15);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --font-sans: 'Inter', 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --transition: all 0.25s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: var(--blue); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--blue2); }
img { max-width: 100%; height: auto; }
ul { list-style: none; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--navy), var(--navy3));
  color: var(--white);
  box-shadow: 0 4px 14px rgba(11,31,58,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(11,31,58,0.35);
  color: var(--white);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--white);
  color: var(--white);
}
.btn-lg { padding: 15px 34px; font-size: 16px; border-radius: var(--radius-lg); }
.btn-xl { padding: 18px 44px; font-size: 17px; border-radius: var(--radius-lg); }

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--navy);
}
.logo-icon {
  font-size: 32px;
  filter: drop-shadow(0 2px 4px rgba(232,160,32,0.3));
}
.logo-text-group { display: flex; flex-direction: column; }
.logo-name { font-size: 18px; font-weight: 800; color: var(--navy); letter-spacing: 0.02em; }
.logo-en { font-size: 10px; color: var(--gray-400); text-transform: uppercase; letter-spacing: 0.08em; }

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
}
.nav-link {
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-600);
  transition: var(--transition);
  position: relative;
}
.nav-link:hover,
.nav-link.active {
  color: var(--navy);
  background: var(--gray-50);
}
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--gold);
  border-radius: 1px;
}
.nav-highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold2)) !important;
  color: var(--white) !important;
  font-weight: 700;
  border-radius: var(--radius-sm) !important;
  padding: 8px 20px !important;
}
.nav-highlight:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(232,160,32,0.35);
  color: var(--white) !important;
}

/* Mobile Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy2) 40%, var(--navy3) 100%);
  overflow: hidden;
  padding-top: 72px;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse 80% 60% at 80% 40%, rgba(30,111,191,0.15) 0%, transparent 70%),
    radial-gradient(ellipse 40% 70% at 10% 85%, rgba(232,160,32,0.1) 0%, transparent 60%);
  pointer-events: none;
}
.hero-bg-grid::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 48px 48px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 2;
  padding: 48px 24px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(232,160,32,0.15);
  border: 1px solid rgba(232,160,32,0.35);
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold2);
  margin-bottom: 20px;
}
.hero-title {
  font-size: 52px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.hero-title-accent {
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 520px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 48px;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.stat-item strong {
  font-size: 28px;
  font-weight: 800;
  color: var(--gold2);
}
.stat-item span {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  font-weight: 500;
}
.stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.15);
}

/* Route Map Visual */
.route-map {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-xl);
  padding: 40px 32px;
  backdrop-filter: blur(8px);
}
.route-node {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 20px;
  background: rgba(255,255,255,0.07);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255,255,255,0.08);
}
.route-origin { margin-bottom: 16px; }
.route-dest { margin-top: 16px; }
.route-flag { font-size: 28px; }
.route-city { font-size: 18px; font-weight: 700; color: var(--white); }
.route-ports { font-size: 12px; color: rgba(255,255,255,0.45); }
.route-line {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 0;
}
.route-line::before {
  content: '';
  flex: 1;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), rgba(232,160,32,0.2), var(--gold));
  border-radius: 1px;
}
.route-ship-icon { font-size: 22px; animation: shipFloat 3s ease-in-out infinite; }
@keyframes shipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
.route-time {
  font-size: 12px;
  color: var(--gold2);
  font-weight: 600;
  background: rgba(232,160,32,0.15);
  padding: 3px 12px;
  border-radius: 12px;
}

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 96px 0; }
.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-block;
  padding: 5px 16px;
  background: var(--gold-light);
  color: #92400e;
  font-size: 13px;
  font-weight: 700;
  border-radius: 20px;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}
.section-tag-light {
  background: rgba(232,160,32,0.2);
  color: var(--gold2);
  border-color: rgba(232,160,32,0.3);
}
.section-title {
  font-size: 38px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.section-title-light { color: var(--white); }
.section-desc {
  font-size: 17px;
  color: var(--gray-500);
  margin-top: 12px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.7;
}

/* ============================================
   SERVICES GRID
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-card.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, #fffbf0 0%, var(--white) 40%);
}
.service-badge-core {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  border-radius: 12px;
  letter-spacing: 0.04em;
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 20px;
}
.service-icon-fcl { background: #eff6ff; color: var(--blue); }
.service-icon-lcl { background: #fff8e6; color: #92400e; }
.service-icon-air { background: #f0f7ff; color: var(--blue2); }
.service-icon-fba { background: #fef3c7; color: #92400e; }
.service-icon-wh { background: #ecfdf5; color: var(--green); }
.service-icon-express { background: #fce7f3; color: #be185d; }
.service-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}
.service-desc {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.7;
  margin-bottom: 16px;
}
.service-list {
  margin-bottom: 20px;
}
.service-list li {
  font-size: 13px;
  color: var(--gray-600);
  padding: 4px 0;
  padding-left: 18px;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 12px;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}
.service-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}
.service-link:hover {
  color: var(--blue2);
  gap: 8px;
}

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-section {
  background: linear-gradient(165deg, var(--navy) 0%, var(--navy3) 100%);
  position: relative;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  transition: var(--transition);
}
.why-card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  border-color: rgba(232,160,32,0.3);
}
.why-num {
  font-size: 42px;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
}
.why-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.why-card p {
  font-size: 14px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
}

/* ============================================
   QUOTE CTA SECTION
   ============================================ */
.quote-cta-section {
  padding: 64px 0;
  background: var(--gray-50);
}
.quote-cta-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(135deg, var(--navy), var(--navy3));
  border-radius: var(--radius-xl);
  padding: 48px 56px;
  gap: 32px;
}
.quote-cta-text h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
}
.quote-cta-text p {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
}

/* ============================================
   CONTACT BAR
   ============================================ */
.contact-bar {
  padding: 32px 0;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.contact-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.contact-bar-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cb-icon {
  font-size: 24px;
  width: 44px;
  height: 44px;
  background: var(--gray-50);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-bar-item strong {
  display: block;
  font-size: 13px;
  color: var(--gray-600);
  font-weight: 600;
}
.contact-bar-item span {
  font-size: 14px;
  color: var(--gray-800);
  font-weight: 500;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--navy);
  padding: 64px 0 0;
  color: rgba(255,255,255,0.6);
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
}
.footer-logo-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}
.f-logo-icon { font-size: 28px; }
.f-logo-name { display: block; font-size: 18px; font-weight: 700; color: var(--white); }
.f-logo-sub { display: block; font-size: 11px; color: rgba(255,255,255,0.4); }
.footer-about {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255,255,255,0.45);
}
.footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  transition: var(--transition);
}
.footer-col ul li a:hover {
  color: var(--gold2);
}
.footer-contact-list li {
  font-size: 14px;
  margin-bottom: 8px;
  color: rgba(255,255,255,0.45);
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.3);
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}
.footer-bottom-links a:hover { color: var(--gold2); }

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
  .hero-title { font-size: 40px; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; text-align: center; }
  .hero-content { order: 1; }
  .hero-visual { order: 2; }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .quote-cta-card { padding: 36px 32px; flex-direction: column; text-align: center; }
  .contact-bar-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .section { padding: 72px 0; }
  .section-title { font-size: 32px; }
}

/* Mobile */
@media (max-width: 768px) {
  :root { font-size: 15px; }
  .container { padding: 0 16px; }
  .navbar-inner { height: 64px; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    flex-direction: column;
    padding: 24px;
    gap: 4px;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
  }
  .nav-menu.open { transform: translateX(0); }
  .nav-link { padding: 14px 16px; font-size: 16px; border-radius: var(--radius-sm); }
  .nav-highlight { text-align: center; }

  .hero { min-height: auto; padding: 100px 0 48px; }
  .hero-title { font-size: 30px; }
  .hero-subtitle { font-size: 15px; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .hero-stats { gap: 16px; }
  .stat-item strong { font-size: 22px; }
  .route-map { padding: 24px 16px; }
  .route-node { padding: 14px; flex-wrap: wrap; }

  .section { padding: 56px 0; }
  .section-header { margin-bottom: 36px; }
  .section-title { font-size: 26px; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 20px; }
  .why-grid { grid-template-columns: 1fr; }
  .why-card { padding: 28px 20px; }
  .quote-cta-card { padding: 28px 20px; border-radius: var(--radius-lg); }

  .contact-bar-item { width: 100%; }
  .btn-xl { width: 100%; }

  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .btn-lg { padding: 13px 28px; font-size: 15px; }
}

/* Small Mobile */
@media (max-width: 400px) {
  .hero-title { font-size: 26px; }
  .stat-divider { display: none; }
  .stat-item { min-width: 70px; }
}
