/* ============================================================
   Redshift Shipping Inc. — Shared Stylesheet
   Reg. No. 117908, Republic of the Marshall Islands
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: #1a2035;
  background: #f5f7fa;
  line-height: 1.6;
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

a { text-decoration: none; color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

/* --- Variables --- */
:root {
  --navy:   #0f2044;
  --teal:   #1a8fa8;
  --light:  #f5f7fa;
  --border: #e2e8f0;
  --muted:  #64748b;
  --white:  #ffffff;
}

/* --- Utilities --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--dark { background: var(--navy); color: var(--white); }
.section--muted { background: #eef2f7; }
.label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--teal);
  display: block;
  margin-bottom: 14px;
}
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-weight: 600;
  font-size: 15px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all .25s;
}
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: #15798f; }
.btn--outline { background: transparent; border-color: var(--white); color: var(--white); }
.btn--outline:hover { background: var(--white); color: var(--navy); }
.btn--outline-dark { background: transparent; border-color: var(--navy); color: var(--navy); }
.btn--outline-dark:hover { background: var(--navy); color: var(--white); }

/* --- Navbar --- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15, 32, 68, 0.96);
  backdrop-filter: blur(8px);
  padding: 20px 0;
  transition: padding .3s, background .3s, box-shadow .3s;
}
.navbar.scrolled {
  background: rgba(255,255,255,0.97);
  padding: 12px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,.1);
}
.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--white);
  transition: color .3s;
}
.navbar-brand svg { width: 32px; height: 32px; }
.navbar.scrolled .navbar-brand { color: var(--navy); }
.navbar-brand svg path { fill: currentColor; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,.85);
  transition: color .25s;
}
.navbar.scrolled .nav-links a { color: var(--navy); }
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.navbar.scrolled .nav-links a:hover { color: var(--teal); }

.nav-cta {
  margin-left: 8px;
  padding: 10px 22px;
  background: var(--teal);
  color: var(--white) !important;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: background .25s !important;
}
.nav-cta:hover { background: #15798f !important; color: var(--white) !important; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  transition: background .3s;
}
.navbar.scrolled .nav-toggle span { background: var(--navy); }

.nav-mobile {
  display: none;
  flex-direction: column;
  background: var(--navy);
  padding: 16px 24px 24px;
  gap: 4px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  color: rgba(255,255,255,.85);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 1px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  text-transform: uppercase;
}
.nav-mobile a:hover { color: var(--teal); }

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s ease;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,32,68,.85) 30%, rgba(15,32,68,.4) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 760px;
}
.hero-content h1 {
  font-size: clamp(28px, 4vw, 56px);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 24px;
  white-space: nowrap;
}
.hero-content h1 span { color: var(--teal); }
.hero-content p {
  font-size: 18px;
  color: rgba(255,255,255,.85);
  margin-bottom: 40px;
  max-width: 580px;
  font-weight: 300;
  letter-spacing: .3px;
}
.hero-btns { display: flex; gap: 16px; flex-wrap: wrap; }

/* --- Page Header --- */
.page-header {
  padding: 140px 0 72px;
  background: var(--navy);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../hero-1.png');
  background-size: cover;
  background-position: center;
  opacity: .08;
}
.page-header .container { position: relative; z-index: 1; }
.page-header h1 { font-size: clamp(32px, 5vw, 60px); margin-bottom: 12px; }
.page-header p { font-size: 18px; color: rgba(255,255,255,.75); max-width: 560px; font-weight: 300; }
.page-header .reg { margin-top: 20px; font-size: 12px; color: rgba(255,255,255,.4); letter-spacing: 1.5px; font-family: monospace; }

/* --- Section Headings --- */
.section-heading { text-align: center; max-width: 700px; margin: 0 auto 64px; }
.section-heading h2 { font-size: clamp(28px, 4vw, 44px); color: var(--navy); margin-bottom: 16px; }
.section-heading p { font-size: 17px; color: var(--muted); }
.section--dark .section-heading h2 { color: var(--white); }
.section--dark .section-heading p { color: rgba(255,255,255,.7); }

/* --- Grid Layouts --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* --- Cards --- */
.card {
  background: var(--white);
  padding: 40px 32px;
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
  transition: box-shadow .3s, transform .3s;
}
.card:hover { box-shadow: 0 8px 40px rgba(0,0,0,.12); transform: translateY(-3px); }
.card-icon {
  width: 64px; height: 64px;
  background: rgba(15,32,68,.06);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
  transition: background .3s;
}
.card:hover .card-icon { background: var(--navy); }
.card-icon svg { width: 28px; height: 28px; fill: var(--navy); transition: fill .3s; }
.card:hover .card-icon svg { fill: var(--white); }
.card h3 { font-size: 20px; margin-bottom: 12px; color: var(--navy); }
.card p { color: var(--muted); font-size: 15px; line-height: 1.7; }

/* --- Stats Bar --- */
.stats-bar { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { text-align: center; padding: 40px 20px; border-right: 1px solid rgba(255,255,255,.15); }
.stat:last-child { border-right: none; }
.stat-number { font-family: 'Playfair Display', serif; font-size: 52px; font-weight: 700; color: var(--teal); display: block; margin-bottom: 8px; }
.stat-label { font-size: 11px; letter-spacing: 2.5px; text-transform: uppercase; color: rgba(255,255,255,.6); }

/* --- Why Choose Section --- */
.feature-list { display: flex; flex-direction: column; gap: 32px; }
.feature-item { display: flex; gap: 20px; align-items: flex-start; }
.feature-icon {
  width: 44px; height: 44px; min-width: 44px;
  background: var(--teal);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.feature-icon svg { width: 22px; height: 22px; fill: var(--white); }
.feature-content h4 { font-size: 18px; margin-bottom: 6px; color: var(--white); }
.feature-content p { color: rgba(255,255,255,.7); font-size: 15px; line-height: 1.7; }

/* --- Gallery --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item { position: relative; overflow: hidden; aspect-ratio: 4/3; }
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item.wide { grid-column: span 2; }

/* --- News Cards --- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { cursor: pointer; }
.news-card-img { height: 220px; overflow: hidden; position: relative; margin-bottom: 20px; background: #ddd; }
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-tag {
  position: absolute; top: 14px; left: 14px;
  background: rgba(255,255,255,.92);
  font-size: 10px; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 5px 10px; color: var(--navy);
}
.news-card-date { font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.news-card h3 { font-size: 20px; color: var(--navy); line-height: 1.35; transition: color .25s; }
.news-card:hover h3 { color: var(--teal); }

/* --- CTA Band --- */
.cta-band { background: var(--teal); color: var(--white); text-align: center; padding: 80px 0; }
.cta-band h2 { font-size: clamp(26px, 3.5vw, 40px); margin-bottom: 20px; }
.cta-band p { font-size: 17px; margin-bottom: 36px; opacity: .9; max-width: 560px; margin-left: auto; margin-right: auto; }

/* --- About Page --- */
.about-text { font-size: 17px; color: var(--muted); line-height: 1.85; }
.about-text p + p { margin-top: 20px; }
.vision-mission { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.vm-card { padding: 40px; position: relative; overflow: hidden; }
.vm-card::before { content: ''; position: absolute; top: 0; left: 0; width: 4px; height: 100%; background: var(--teal); }
.vm-card--light { background: var(--white); box-shadow: 0 4px 24px rgba(0,0,0,.06); }
.vm-card--dark { background: var(--navy); }
.vm-card h3 { font-size: 24px; margin-bottom: 16px; }
.vm-card--light h3 { color: var(--navy); }
.vm-card--dark h3 { color: var(--white); }
.vm-card p { font-size: 16px; line-height: 1.75; }
.vm-card--light p { color: var(--muted); }
.vm-card--dark p { color: rgba(255,255,255,.75); }

.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.value-item { padding: 28px 24px; text-align: center; border: 1px solid var(--border); transition: border-color .3s; }
.value-item:hover { border-color: var(--teal); }
.value-item h4 { font-size: 18px; color: var(--navy); margin-bottom: 10px; }
.value-item p { font-size: 14px; color: var(--muted); }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.team-card { text-align: center; }
.team-avatar {
  width: 160px; height: 160px;
  border-radius: 0;
  overflow: hidden;
  margin: 0 auto 20px;
  border: 4px solid transparent;
  transition: border-color .3s;
  background: #dde4ee;
  display: flex; align-items: center; justify-content: center;
}
.team-card:hover .team-avatar { border-color: var(--teal); }
.team-avatar img { width: 100%; height: 100%; object-fit: cover; }
.team-initials { font-family: 'Playfair Display', serif; font-size: 40px; color: var(--navy); }
.team-card h4 { font-size: 18px; color: var(--navy); margin-bottom: 4px; }
.team-card span { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--teal); }

/* --- Services Page --- */
.services-hero-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.service-card { background: var(--white); padding: 36px; box-shadow: 0 4px 24px rgba(0,0,0,.05); transition: box-shadow .3s; border-top: 3px solid transparent; }
.service-card:hover { box-shadow: 0 8px 36px rgba(0,0,0,.1); border-top-color: var(--teal); }
.service-card-icon { margin-bottom: 20px; }
.service-card-icon svg { width: 40px; height: 40px; fill: var(--teal); }
.service-card h3 { font-size: 22px; margin-bottom: 12px; color: var(--navy); }
.service-card p { color: var(--muted); font-size: 15px; line-height: 1.75; }
.service-card ul { margin-top: 16px; display: flex; flex-direction: column; gap: 8px; }
.service-card ul li { font-size: 14px; color: var(--muted); padding-left: 18px; position: relative; }
.service-card ul li::before { content: '›'; position: absolute; left: 0; color: var(--teal); font-weight: 700; }

/* --- Contact Page --- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; }
.contact-info h2 { font-size: 32px; color: var(--navy); margin-bottom: 36px; }
.contact-item { display: flex; gap: 18px; align-items: flex-start; margin-bottom: 28px; }
.contact-item-icon { width: 44px; height: 44px; min-width: 44px; background: #eef2f7; display: flex; align-items: center; justify-content: center; }
.contact-item-icon svg { width: 20px; height: 20px; fill: var(--teal); }
.contact-item h4 { font-size: 16px; font-weight: 700; margin-bottom: 4px; color: var(--navy); }
.contact-item p { font-size: 14px; color: var(--muted); line-height: 1.6; }

.contact-form { background: var(--white); padding: 40px; box-shadow: 0 4px 24px rgba(0,0,0,.06); }
.contact-form h3 { font-size: 26px; margin-bottom: 28px; color: var(--navy); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--navy); letter-spacing: .3px; }
.form-group input,
.form-group textarea {
  padding: 12px 16px;
  border: 1px solid var(--border);
  background: var(--light);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--navy);
  outline: none;
  transition: border-color .25s;
  width: 100%;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--teal); }
.form-group textarea { min-height: 140px; resize: vertical; }
.form-submit { margin-top: 8px; width: 100%; padding: 16px; background: var(--navy); color: var(--white); border: none; font-family: 'Inter', sans-serif; font-size: 16px; font-weight: 600; cursor: pointer; letter-spacing: .5px; transition: background .25s; }
.form-submit:hover { background: var(--teal); }

/* --- Map Banner --- */
.map-banner { background: var(--navy); color: var(--white); padding: 24px 0; }
.map-banner p { font-size: 14px; color: rgba(255,255,255,.6); letter-spacing: .5px; }
.map-banner strong { color: var(--white); }

/* --- Footer --- */
.footer { background: var(--navy); color: var(--white); padding: 72px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1.2fr 1fr; gap: 48px; padding-bottom: 56px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-brand-name { font-family: 'Playfair Display', serif; font-size: 20px; font-weight: 700; letter-spacing: 1.5px; }
.footer-brand svg { width: 28px; height: 28px; fill: var(--teal); }
.footer-desc { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.75; margin-bottom: 20px; }
.footer-reg { font-size: 11px; color: rgba(255,255,255,.35); line-height: 1.8; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.08); font-family: monospace; letter-spacing: .5px; }
.footer h4 { font-size: 15px; font-weight: 600; letter-spacing: .5px; margin-bottom: 20px; color: var(--white); }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.6); transition: color .25s; }
.footer-links a:hover { color: var(--teal); }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 14px; }
.footer-contact-item svg { width: 16px; height: 16px; fill: var(--teal); min-width: 16px; margin-top: 2px; }
.footer-contact-item span { font-size: 13px; color: rgba(255,255,255,.6); line-height: 1.6; }
.footer-social { display: flex; gap: 12px; margin-top: 8px; }
.footer-social a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  border-radius: 50%;
  transition: background .25s;
}
.footer-social a:hover { background: var(--teal); }
.footer-social svg { width: 16px; height: 16px; fill: var(--white); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.4); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links a { font-size: 12px; color: rgba(255,255,255,.4); transition: color .25s; }
.footer-bottom-links a:hover { color: var(--white); }

/* --- Image side --- */
.img-side { position: relative; }
.img-side img { width: 100%; height: 500px; object-fit: cover; }
.img-badge {
  position: absolute;
  bottom: -32px; left: -32px;
  background: var(--navy);
  color: var(--white);
  padding: 28px 32px;
  max-width: 220px;
}
.img-badge strong { display: block; font-family: 'Playfair Display', serif; font-size: 40px; margin-bottom: 6px; }
.img-badge span { font-size: 12px; letter-spacing: 1.5px; text-transform: uppercase; opacity: .7; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .news-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-bar { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.15); }
  .vision-mission { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item.wide { grid-column: span 1; }
  .services-hero-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .img-badge { display: none; }
}
