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

:root {
  --navy: #0b1e2d;
  --navy-mid: #142840;
  --navy-light: #1e3a52;
  --sea: #1a6e8a;
  --sea-light: #2a8faf;
  --gold: #c9a84c;
  --gold-light: #e0c06a;
  --off-white: #f5f3ee;
  --warm-gray: #e8e4dc;
  --text-dark: #0f1c28;
  --text-mid: #3a4a58;
  --text-light: #7a8e9e;
  --font-serif: 'Cormorant Garamond', Georgia, serif;
  --font-sans: 'DM Sans', sans-serif;
  --transition: 0.3s ease;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: var(--off-white);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── Typography ─── */
h1, h2, h3, h4 { font-family: var(--font-serif); font-weight: 400; line-height: 1.15; }

.section-tag {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--sea);
  margin-bottom: 0.75rem;
}
.section-tag.light { color: var(--gold-light); }

.section-title {
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--text-mid);
  max-width: 560px;
  font-size: 1rem;
}

.section-head {
  margin-bottom: 3.5rem;
}

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(11, 30, 45, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201, 168, 76, 0.15);
  transition: var(--transition);
}

.nav-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: white;
}

.logo-anchor {
  font-size: 22px;
  color: var(--gold);
  line-height: 1;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 18px;
  font-weight: 500;
  color: white;
  letter-spacing: 0.02em;
}

.logo-text span {
  color: var(--gold-light);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.75);
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.04em;
  transition: color var(--transition);
}

.nav-links a:hover { color: white; }

.nav-cta {
  color: var(--gold) !important;
  border: 1px solid rgba(201, 168, 76, 0.5);
  padding: 6px 18px;
  border-radius: 2px;
  transition: background var(--transition), color var(--transition) !important;
}

.nav-cta:hover {
  background: var(--gold) !important;
  color: var(--navy) !important;
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: white;
  transition: var(--transition);
}

/* ─── Mobile Menu ─── */
.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  background: var(--navy);
  z-index: 99;
  padding: 1.5rem 2rem 2rem;
  border-bottom: 1px solid rgba(201,168,76,0.2);
}

.mobile-menu.open { display: block; }
.mobile-menu ul { list-style: none; }
.mobile-menu li { padding: 0.75rem 0; border-bottom: 1px solid rgba(255,255,255,0.06); }
.mob-link { text-decoration: none; color: white; font-size: 1.1rem; font-family: var(--font-serif); }

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

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.horizon-line {
  position: absolute;
  top: 62%;
  left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3) 30%, rgba(42,143,175,0.4) 70%, transparent);
}

.water-layer {
  position: absolute;
  top: 62%;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(180deg, #0d3a55 0%, #071a28 100%);
  opacity: 0.8;
}

/* Canal stripes - iconic Suez feel */
.canal-stripe {
  position: absolute;
  top: 62%;
  left: 50%;
  transform: translateX(-50%);
  width: 180px;
  bottom: 0;
  background: linear-gradient(180deg, rgba(26,110,138,0.4) 0%, rgba(26,110,138,0.15) 100%);
}

/* Ship silhouette using CSS */
.ship-silhouette {
  position: absolute;
  top: 50%;
  right: 12%;
  width: 280px;
  height: 120px;
  transform: translateY(-50%);
  opacity: 0.12;
}

.ship-silhouette::before {
  content: '';
  position: absolute;
  bottom: 30px;
  left: 0; right: 0;
  height: 40px;
  background: white;
  clip-path: polygon(5% 100%, 0% 30%, 10% 0%, 90% 0%, 100% 30%, 95% 100%);
}

.ship-silhouette::after {
  content: '';
  position: absolute;
  bottom: 70px;
  left: 35%;
  width: 4px;
  height: 80px;
  background: white;
  box-shadow: 20px 0 0 white, 40px 10px 0 white;
}

/* Stars */
.hero-bg::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 62%;
  background:
    radial-gradient(1px 1px at 10% 15%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 25% 8%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 40% 22%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 55% 12%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 68% 28%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(1px 1px at 78% 10%, rgba(255,255,255,0.4) 0%, transparent 100%),
    radial-gradient(1px 1px at 88% 20%, rgba(255,255,255,0.6) 0%, transparent 100%),
    radial-gradient(1px 1px at 15% 40%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(1px 1px at 85% 45%, rgba(255,255,255,0.3) 0%, transparent 100%),
    radial-gradient(2px 2px at 32% 18%, rgba(255,255,255,0.5) 0%, transparent 100%),
    radial-gradient(2px 2px at 72% 8%, rgba(201,168,76,0.4) 0%, transparent 100%);
}

/* Night sky gradient */
.hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 62%;
  background: linear-gradient(180deg, #05111c 0%, #0b1e2d 60%, #102436 100%);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 2rem;
  max-width: 1140px;
  margin: 0 auto;
  width: 100%;
  padding-top: 68px;
}

.hero-tag {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 300;
  color: white;
  line-height: 1.05;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 1.05rem;
  max-width: 480px;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-block;
  background: var(--gold);
  color: var(--navy);
  text-decoration: none;
  padding: 14px 32px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: background var(--transition), transform var(--transition);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.btn-outline {
  display: inline-block;
  border: 1px solid rgba(255,255,255,0.35);
  color: white;
  text-decoration: none;
  padding: 14px 32px;
  font-size: 13.5px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  transition: border-color var(--transition), background var(--transition);
}

.btn-outline:hover {
  border-color: white;
  background: rgba(255,255,255,0.06);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 2;
  animation: fadeInUp 1s 0.8s both;
}

.hero-scroll span {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}

.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(180deg, rgba(201,168,76,0.6), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.1); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* ─── STATS BAR ─── */
.stats-bar {
  background: white;
  border-bottom: 1px solid var(--warm-gray);
  padding: 1.75rem 0;
}

.stats-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 3rem;
}

.stat-num {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  font-weight: 400;
  color: var(--navy);
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 4px;
}

.stat-div {
  width: 1px;
  height: 36px;
  background: var(--warm-gray);
}

/* ─── SERVICES ─── */
.services {
  padding: 7rem 0;
  background: var(--off-white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--warm-gray);
  border: 1.5px solid var(--warm-gray);
}

.service-card {
  background: white;
  padding: 2.5rem 2rem;
  transition: background var(--transition);
}

.service-card:hover {
  background: #fafaf8;
}

.service-icon {
  width: 42px;
  height: 42px;
  color: var(--sea);
  margin-bottom: 1.25rem;
}

.service-icon svg {
  width: 100%;
  height: 100%;
}

.service-card h3 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ─── ABOUT ─── */
.about {
  padding: 7rem 0;
  background: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: center;
}

.about-visual {
  display: flex;
  justify-content: center;
}

.about-map {
  width: 100%;
  max-width: 280px;
  background: var(--navy);
  border-radius: 4px;
  padding: 2rem 1.5rem;
  position: relative;
}

.map-svg {
  width: 100%;
  height: auto;
}

.sea-label {
  font-family: var(--font-serif);
  font-size: 13px;
  fill: rgba(255,255,255,0.4);
  font-style: italic;
}

.port-label {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  fill: var(--gold);
  letter-spacing: 0.05em;
}

.port-dot {
  fill: var(--gold);
  filter: drop-shadow(0 0 6px rgba(201,168,76,0.6));
}

.mid-dot { fill: rgba(42,143,175,0.8); }

.mid-label {
  font-family: var(--font-sans);
  font-size: 11px;
  fill: rgba(255,255,255,0.5);
}

.dist-label {
  font-family: var(--font-sans);
  font-size: 10px;
  fill: rgba(42,143,175,0.6);
  letter-spacing: 0.05em;
}

.canal-line {
  stroke: rgba(42,143,175,0.5);
  stroke-width: 2;
  fill: none;
}

.arrow-head { fill: rgba(42,143,175,0.7); }
.arrow-head-inv { fill: rgba(201,168,76,0.5); }

.about-content .section-title {
  margin-bottom: 1.25rem;
}

.about-content > p {
  color: var(--text-mid);
  margin-bottom: 1rem;
  font-size: 0.975rem;
}

.about-points {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.about-point {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-mid);
}

.point-mark {
  color: var(--gold);
  font-weight: 500;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ─── COVERAGE ─── */
.coverage {
  padding: 7rem 0;
  background: var(--off-white);
}

.ports-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.port-item {
  background: white;
  border: 1px solid var(--warm-gray);
  border-radius: 3px;
  padding: 2rem 1.5rem;
  position: relative;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.port-item:hover {
  border-color: rgba(26,110,138,0.3);
  box-shadow: 0 4px 20px rgba(11,30,45,0.06);
}

.port-item.featured {
  border-color: var(--gold);
  border-width: 1.5px;
}

.port-flag {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.port-item h4 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.5rem;
}

.port-item p {
  font-size: 0.875rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.port-badge {
  display: inline-block;
  margin-top: 1rem;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid rgba(201,168,76,0.4);
  padding: 3px 10px;
  border-radius: 2px;
}

/* ─── CONTACT ─── */
.contact-section {
  background: var(--navy);
  padding: 7rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-info .section-title {
  color: white;
  margin-bottom: 1.25rem;
}

.contact-desc {
  color: rgba(255,255,255,0.55);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
  line-height: 1.8;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.c-label {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gold);
}

.contact-item span,
.contact-item a {
  color: rgba(255,255,255,0.75);
  font-size: 0.9rem;
  text-decoration: none;
  transition: color var(--transition);
}

.contact-item a:hover { color: white; }

/* ─── Form ─── */
.contact-form-wrap {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 2.5rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
  padding: 11px 14px;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  border-radius: 2px;
  outline: none;
  transition: border-color var(--transition);
  -webkit-appearance: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255,255,255,0.25);
}

.form-group select option { background: var(--navy-mid); color: white; }

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(201,168,76,0.5);
  background: rgba(255,255,255,0.08);
}

.form-group textarea { resize: vertical; min-height: 100px; }

.form-submit {
  background: var(--gold);
  color: var(--navy);
  border: none;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background var(--transition), transform var(--transition);
  align-self: flex-start;
}

.form-submit:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.form-note {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
  line-height: 1.5;
}

/* ─── FOOTER ─── */
.footer {
  background: #060f17;
  padding: 2.5rem 0;
  border-top: 1px solid rgba(201,168,76,0.12);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-brand .logo-anchor {
  font-size: 18px;
  color: var(--gold);
}

.footer-name {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: white;
}

.footer-brand p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.35);
  width: 100%;
  margin-left: 26px;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  text-decoration: none;
  color: rgba(255,255,255,0.4);
  font-size: 0.85rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: rgba(255,255,255,0.8); }

.footer-legal {
  text-align: right;
}

.footer-legal p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.25);
  line-height: 1.6;
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .ports-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-visual { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 3rem; }
  .stat { padding: 0 1.5rem; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .burger { display: flex; }
  .services-grid { grid-template-columns: 1fr; }
  .ports-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .stats-bar .container { flex-wrap: wrap; gap: 1rem; }
  .stat-div { display: none; }
  .hero-title { font-size: 2.8rem; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-legal { text-align: center; }
  .footer-links { justify-content: center; }
  .contact-form-wrap { padding: 1.5rem; }
}

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

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