/* ═══════════════════════════════════════════════
   Guangzhou Maritime Express — Global Stylesheet
   ═══════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Outfit:wght@300;400;500;600&display=swap');

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

:root {
  --red:       #C8102E;
  --red-dark:  #9E0B22;
  --gold:      #C9921A;
  --gold-light:#F5D080;
  --dark:      #111010;
  --dark2:     #1C1B1B;
  --cream:     #FAF7F2;
  --cream2:    #F2EDE4;
  --muted:     #7A7068;
  --white:     #FFFFFF;
  --border:    rgba(0,0,0,0.08);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--cream);
  color: var(--dark);
  overflow-x: hidden;
}

/* ── SCROLLBAR ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--cream2); }
::-webkit-scrollbar-thumb { background: var(--red); border-radius: 3px; }

/* ══════════════ NAVIGATION ══════════════ */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  background: rgba(17,16,16,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.logo-mark {
  width: 38px; height: 38px;
  background: var(--red);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.logo-mark svg { width: 22px; height: 22px; fill: white; }
.logo-text { line-height: 1.2; }
.logo-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.02em;
}
.logo-name span { color: var(--gold-light); }
.logo-sub {
  font-size: 10px;
  color: rgba(255,255,255,0.38);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}
.nav-links a {
  color: rgba(255,255,255,0.62);
  text-decoration: none;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: white; }
.nav-links a.active { color: var(--gold-light); }

.nav-cta {
  background: var(--red) !important;
  color: white !important;
  padding: 8px 20px !important;
  border-radius: 6px;
  font-weight: 500 !important;
  font-size: 13px !important;
  transition: background 0.2s !important;
}
.nav-cta:hover { background: var(--red-dark) !important; }

/* Hamburger (mobile) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  width: 22px; height: 2px;
  background: rgba(255,255,255,0.7);
  border-radius: 2px;
  transition: 0.3s;
}

/* ══════════════ PAGE HERO BANNER ══════════════ */
.page-hero {
  background: var(--dark);
  padding: 8rem 2rem 4rem;
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(200,16,46,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200,16,46,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}
.page-hero-glow {
  position: absolute;
  top: -150px; right: -150px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,16,46,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero-inner { position: relative; max-width: 700px; margin: 0 auto; }
.page-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-light);
  border: 1px solid rgba(201,146,26,0.3);
  background: rgba(201,146,26,0.06);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.page-hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: white;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.page-hero h1 span { color: var(--red); }
.page-hero p {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  max-width: 480px;
  margin: 0 auto;
}

/* ══════════════ SECTION COMMONS ══════════════ */
section { padding: 5rem 2rem; }
.section-inner { max-width: 1100px; margin: 0 auto; }

.section-eyebrow {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 8px;
}
.section-eyebrow::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--red);
  border-radius: 2px;
}
.section-eyebrow.gold { color: var(--gold-light); }
.section-eyebrow.gold::before { background: var(--gold-light); }

.section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 0.75rem;
}
.section-title.white { color: white; }

.section-sub {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.8;
  max-width: 500px;
  margin-bottom: 3rem;
}
.section-sub.white { color: rgba(255,255,255,0.45); }

/* ══════════════ DARK SECTION ══════════════ */
.dark-section { background: var(--dark); }

/* ══════════════ BUTTONS ══════════════ */
.btn-red {
  background: var(--red);
  color: white;
  padding: 13px 28px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  letter-spacing: 0.02em;
  transition: background 0.2s, transform 0.15s;
  display: inline-block;
}
.btn-red:hover { background: var(--red-dark); transform: translateY(-1px); }

.btn-ghost {
  background: transparent;
  color: rgba(255,255,255,0.7);
  padding: 13px 28px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 400;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.18);
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: border-color 0.2s, color 0.2s;
  display: inline-block;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.45); color: white; }

.btn-outline-dark {
  background: transparent;
  color: var(--dark);
  padding: 12px 24px;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid var(--dark);
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  transition: background 0.2s, color 0.2s;
  display: inline-block;
}
.btn-outline-dark:hover { background: var(--dark); color: white; }

/* ══════════════ FORMS ══════════════ */
.form-group-f { display: flex; flex-direction: column; gap: 6px; }
.form-group-f label {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #666;
}
.form-group-f input,
.form-group-f select,
.form-group-f textarea {
  border: 1.5px solid #E8E4DC;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 13px;
  font-family: 'Outfit', sans-serif;
  color: var(--dark);
  background: #FAFAF8;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  width: 100%;
}
.form-group-f input:focus,
.form-group-f select:focus,
.form-group-f textarea:focus { border-color: var(--red); background: white; }
.form-group-f textarea { resize: vertical; min-height: 100px; }

.form-submit-btn {
  width: 100%;
  background: var(--red);
  color: white;
  border: none;
  padding: 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: background 0.2s, transform 0.15s;
  margin-top: 6px;
}
.form-submit-btn:hover { background: var(--red-dark); transform: translateY(-1px); }

.success-msg {
  display: none;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.25);
  border-radius: 8px;
  padding: 0.9rem 1rem;
  font-size: 13px;
  color: #166534;
  text-align: center;
  margin-top: 1rem;
}

/* ══════════════ STATS BAR ══════════════ */
.divider-bar {
  background: var(--red);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.dstat {
  padding: 1.4rem 2rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.dstat:last-child { border-right: none; }
.dstat-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: white;
  display: block;
  line-height: 1;
}
.dstat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  display: block;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

/* ══════════════ CONTACT BLOCKS ══════════════ */
.contact-blocks { display: flex; flex-direction: column; gap: 12px; }
.contact-block {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.contact-block.light {
  background: white;
  border: 1px solid var(--border);
}
.contact-icon {
  font-size: 20px;
  width: 40px; height: 40px;
  background: rgba(200,16,46,0.12);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.contact-block h4 {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255,255,255,0.42);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 3px;
}
.contact-block.light h4 { color: var(--muted); }
.contact-block p { font-size: 13px; color: white; font-weight: 400; }
.contact-block.light p { color: var(--dark); }
.contact-block span { font-size: 11px; color: rgba(255,255,255,0.3); }
.contact-block.light span { color: var(--muted); }

/* ══════════════ WHATSAPP FLOAT ══════════════ */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  z-index: 998;
  width: 54px; height: 54px;
  background: #25D366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
  text-decoration: none;
  animation: wa-bounce 3s ease-in-out infinite;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.5); animation: none; }
@keyframes wa-bounce { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.wa-float svg { width: 28px; height: 28px; fill: white; }

/* ══════════════ FOOTER ══════════════ */
footer {
  background: #0C0B0B;
  padding: 3.5rem 2rem 1.5rem;
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  margin-bottom: 1.5rem;
}
.footer-brand p {
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  line-height: 1.8;
  max-width: 260px;
  margin-top: 1rem;
}
.footer-tagline {
  font-size: 11px;
  color: var(--gold-light);
  font-style: italic;
  margin-top: 0.5rem;
}
.footer-col h4 {
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.5);
  margin-bottom: 1rem;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.footer-col ul li a {
  font-size: 12.5px;
  color: rgba(255,255,255,0.3);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: white; }
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,0.25); }
.footer-flags { font-size: 20px; display: flex; gap: 6px; }

/* ══════════════ FADE ANIMATION ══════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ══════════════ RESPONSIVE ══════════════ */
@media (max-width: 900px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: rgba(17,16,16,0.98); padding: 1.5rem 2rem; gap: 1rem; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .divider-bar { grid-template-columns: repeat(2,1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .footer-inner { grid-template-columns: 1fr; }
  .dstat-num { font-size: 1.7rem; }
  section { padding: 3.5rem 1.25rem; }
  nav { padding: 0 1.25rem; }
}
