:root {
  var(--primary-navy): #222640;
  var(--secondary-navy): #181d33;
  --accent-gold: #c5a059;
  --light-bg: #f5f7fa;
  --text-dark: #222222;
  --text-light: #ffffff;
  --border-color: #dbe2ea;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

body {
  background-color: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.6;
}

/* Header & Nav */
header {
  background-color: #222640;
  padding: 0.8rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 100;
}

/* New Horizontal Logo Layout */
.logo {
  display: flex;
  align-items: center;
  gap: 15px; /* Adds space between the compass icon and the text */
  text-decoration: none;
}

.logo img {
  height: 55px; /* Perfectly sizes the compass icon */
  width: auto;
  object-fit: contain;
  display: block;
}

.logo-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-main {
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.1;
}

.logo-sub {
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 4px; /* Spreads out the bottom text just like your mockup */
}

/* Navigation Links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: #c0c7d6;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a.active, .nav-links a:hover {
  color: var(--text-light);
  border-bottom: 2px solid var(--accent-gold);
}

/* Containers */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.section-title {
  font-size: 2rem;
  color: #222640;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 550px;
  background: linear-gradient(rgba(34, 38, 64, 0.8), rgba(34, 38, 64, 0.8)), url('images/hero-ship.jpg') center/cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4rem 8%;
  color: var(--text-light);
}

.hero-text {
  max-width: 650px;
}

.hero-text h1 {
  font-size: 2.75rem;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  color: #d1d9e6;
}

.btn-gold {
  background-color: #ffffff;
  color: #222640;
  padding: 0.85rem 2rem;
  border-radius: 4px;
  text-decoration: none;
  font-weight: 700;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background-color 0.2s;
}

.btn-gold:hover {
  background-color: var(--accent-gold);
  color: var(--text-light);
}

.hero-graphic img {
  max-width: 280px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

/* Highlights Grid (Home) */
.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  margin-top: -3rem;
  position: relative;
  z-index: 10;
}

.highlight-card {
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.card-header {
  background-color: #181d33;
  color: var(--text-light);
  padding: 1rem;
  text-align: center;
  font-weight: 600;
  letter-spacing: 1px;
}

.card-images {
  display: flex;
  height: 180px;
}

.card-images img {
  width: 50%;
  object-fit: cover;
}

/* Product Cards */
.product-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.product-box {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  border: 1px solid var(--border-color);
}

.product-box h2 {
  color: #222640;
  border-bottom: 2px solid var(--accent-gold);
  padding-bottom: 0.5rem;
  margin-bottom: 1rem;
}

.product-images {
  display: flex;
  gap: 10px;
  margin: 1.5rem 0;
}

.product-images img {
  width: 50%;
  height: 160px;
  object-fit: cover;
  border-radius: 4px;
}

/* Timeline (About) */
.timeline {
  display: flex;
  justify-content: space-between;
  margin: 3rem 0;
  text-align: center;
}

.timeline-item {
  flex: 1;
  padding: 1rem;
  border-top: 3px solid var(--accent-gold);
  position: relative;
}

.timeline-item strong {
  display: block;
  font-size: 1.4rem;
  color: #222640;
  margin-bottom: 0.5rem;
}

/* Mission Box */
.mission-box {
  background-color: #222640;
  color: white;
  padding: 2.5rem;
  border-radius: 8px;
  margin-top: 2rem;
  text-align: center;
}

/* Contact Page */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info {
  background: #222640;
  color: white;
  padding: 2rem;
  border-radius: 8px;
}

.contact-info h3 {
  color: var(--accent-gold);
  margin: 1.5rem 0 0.5rem;
}

.contact-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

/* Footer */
footer {
  background-color: #222640;
  color: #8fa0ba;
  padding: 2rem 5%;
  text-align: center;
  margin-top: 4rem;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .hero { flex-direction: column; text-align: center; }
  .hero-graphic { display: none; }
  .product-detail-grid, .contact-layout { grid-template-columns: 1fr; }
  .timeline { flex-direction: column; gap: 1.5rem; }
}
.btn-submit {
  background-color: var(--primary-navy);
  color: var(--text-light);
  padding: 0.85rem 2rem;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 0.5rem;
  width: 100%; /* Makes the button fill the whole width under the form */
}

.btn-submit:hover {
  background-color: var(--accent-gold);
}

/* =========================================
   MOBILE RESPONSIVE RULES (Phone & Tablet)
   ========================================= */
@media (max-width: 768px) {
  /* 1. Stack the header and center everything */
  header {
    flex-direction: column;
    padding: 1rem;
    gap: 1rem;
  }

  /* 2. Shrink the logo slightly for small screens */
  .logo {
    justify-content: center;
  }
  
  .logo img {
    height: 45px; 
  }
  
  .logo-main {
    font-size: 1.3rem;
  }
  
  .logo-sub {
    font-size: 0.7rem;
  }

  /* 3. Make the navigation links wrap nicely so they don't fall off screen */
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  /* 4. Adjust the main hero banner text size */
  .hero { 
    flex-direction: column; 
    text-align: center; 
    padding: 3rem 1.5rem;
  }
  
  .hero-text h1 {
    font-size: 2rem; /* Smaller text to prevent awkward word breaks */
  }
  
.hero-graphic img {
  max-width: 280px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
  mix-blend-mode: multiply; /* This makes the white background disappear! */
}

  /* 5. Force all grids to become a single, vertical column */
  .highlights-grid,
  .product-detail-grid, 
  .contact-layout { 
    grid-template-columns: 1fr; 
  }
  
  .timeline { 
    flex-direction: column; 
    gap: 1.5rem; 
  }
}


/* BULLETPROOF SUBMIT BUTTON */
.btn-submit {
  background-color: #222640 !important; /* Hardcoded Primary Navy */
  color: #ffffff !important;            /* Hardcoded White text */
  padding: 1rem 2rem !important;
  border-radius: 4px;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  width: 100%;
  margin-top: 1rem;
  transition: background-color 0.3s;
}

.btn-submit:hover {
  background-color: #c5a059 !important; /* Hardcoded Accent Gold */
  color: #ffffff !important;
}