/* Sargent Docks & Terminal - Professional Styles */

:root {
  --navy: #0b1f33;
  --navy-light: #16324f;
  --blue: #1a4f7a;
  --blue-accent: #2563a8;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-800: #1e293b;
  --white: #ffffff;
  --text: #1e293b;
}

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

html {
  scroll-padding-top: 90px; /* offset for sticky header so section anchors land on the title */
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: var(--blue-accent);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 3px solid var(--blue);
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

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

.logo-link img {
  height: 64px;
  width: auto;
}

.nav {
  display: flex;
  gap: 1.6rem;
  align-items: center;
  flex-wrap: wrap;
}

.nav a {
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
}

.nav a:hover {
  color: var(--blue-accent);
}

.nav .cta {
  background: var(--navy);
  color: white !important;
  padding: 0.5rem 1.1rem;
  border-radius: 4px;
  font-weight: 600;
}

.nav .cta:hover {
  background: var(--blue);
  text-decoration: none;
}

/* Hero */
.hero {
  position: relative;
  color: white;
  padding: 5.5rem 0 5.5rem;
  text-align: center;
  background: var(--navy);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.42;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.45);
}

.hero .tagline {
  font-size: 1.25rem;
  opacity: 0.95;
  max-width: 560px;
  margin: 0 auto 1.75rem;
  text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.hero-cta {
  display: inline-flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}

.btn-primary {
  background: var(--blue-accent);
  color: white;
}

.btn-primary:hover {
  background: #1d4f8c;
  text-decoration: none;
  color: white;
}

.btn-secondary {
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.85);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
  text-decoration: none;
  color: white;
}

/* Sections */
section {
  padding: 3.75rem 0;
}

.section-alt {
  background: var(--gray-50);
}

.section-title {
  font-size: 1.85rem;
  color: var(--navy);
  margin-bottom: 1.25rem;
  font-weight: 700;
  text-align: center;
}

.section-intro {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.25rem;
  color: var(--gray-700);
  font-size: 1.05rem;
}

/* Cards */
.card {
  background: white;
  border: 1px solid var(--gray-200);
  border-radius: 8px;
  padding: 1.75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.card h3 {
  color: var(--navy);
  margin-bottom: 0.7rem;
  font-size: 1.2rem;
}

.card p {
  color: var(--gray-700);
  font-size: 1rem;
}

/* Photo grid */
.photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.photo-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.photo-wide {
  margin: 2rem auto 0;
  max-width: 960px;
}

.photo-wide img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.12);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 1.9rem;
  }
  .logo-link img {
    height: 52px;
  }
  .photo-grid img {
    height: 200px;
  }
}

.contact-info h3 {
  color: var(--navy);
  margin-bottom: 1rem;
}

.contact-info p {
  margin-bottom: 0.45rem;
  color: var(--gray-700);
}

.contact-info a {
  color: var(--blue);
  font-weight: 600;
}

.form-group {
  margin-bottom: 1.05rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.3rem;
  color: var(--navy);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  color: var(--text);
  background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px rgba(37, 99, 168, 0.15);
}

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

.form-note {
  font-size: 0.85rem;
  color: var(--gray-600);
  margin-top: 0.75rem;
}

/* Salt page */
.salt-hero {
  background: linear-gradient(135deg, #0b1f33 0%, #1a3a5c 100%);
}

.option-card {
  border: 2px solid var(--gray-200);
  border-radius: 8px;
  padding: 1.5rem;
  background: white;
  height: 100%;
}

.option-card.featured {
  border-color: var(--blue-accent);
  box-shadow: 0 4px 12px rgba(37, 99, 168, 0.12);
}

.option-card h3 {
  color: var(--navy);
  margin-bottom: 0.4rem;
}

.price {
  font-size: 1.55rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0.4rem 0 0.9rem;
}

.option-card ul {
  list-style: none;
  padding: 0;
}

.option-card li {
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: 0.95rem;
  color: var(--gray-700);
}

.option-card li:last-child {
  border-bottom: none;
}

.terms-box {
  background: #fffbeb;
  border: 1px solid #fbbf24;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin: 2rem 0;
  font-size: 0.95rem;
  color: var(--gray-800);
}

.terms-box h4 {
  color: #92400e;
  margin-bottom: 0.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255,255,255,0.88);
  padding: 2.5rem 0 1.5rem;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (max-width: 700px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.site-footer h4 {
  color: white;
  margin-bottom: 0.75rem;
  font-size: 1rem;
}

.site-footer a {
  color: rgba(255,255,255,0.85);
}

.site-footer a:hover {
  color: white;
}

.copyright {
  border-top: 1px solid rgba(255,255,255,0.15);
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  opacity: 0.7;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 1.5rem; }
