/* Pacific Seafarer's Net - Custom Styles */

:root {
  /* Primary Colors - Maritime Blue Theme */
  --primary-50: #e6f0f7;
  --primary-100: #b3d4e9;
  --primary-300: #66a3cc;
  --primary-500: #2c5f8d;
  --primary-700: #1e4a6f;
  --primary-900: #0f2737;

  /* Accent - Ocean Teal */
  --accent-400: #00758f;
  --accent-500: #003366;
  --accent-600: #002347;

  /* Neutral Colors */
  --gray-50: #fafafa;
  --gray-100: #f4f4f4;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #1f2937;

  /* Text */
  --text-primary: #1f2937;
  --text-secondary: #4b5563;
  --text-light: #f9fafb;

  /* Semantic */
  --success: #10b981;
  --warning: #f59e0b;
  --info: #3b82f6;

  /* Highlight from research */
  --highlight: #ffffe0;
}

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

body {
  font-family: 'Source Sans Pro', 'Helvetica Neue', Arial, sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background: #ffffff;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Merriweather', Georgia, serif;
  font-weight: 700;
  color: var(--primary-700);
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-bottom: 3px solid var(--primary-100);
  padding-bottom: 0.5rem;
}

h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
  color: var(--primary-500);
}

p {
  margin-bottom: 1rem;
  color: var(--text-secondary);
}

a {
  color: var(--primary-500);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--accent-400);
  text-decoration: underline;
}

/* Top Navigation Bar */
.top-bar {
  background: linear-gradient(135deg, var(--primary-700) 0%, var(--primary-500) 100%);
  padding: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.top-bar-title {
  padding: 1rem 1.5rem;
}

.top-bar-title a {
  color: white;
  font-family: 'Merriweather', serif;
  font-size: 1.3rem;
  font-weight: 700;
}

.top-bar-title a:hover {
  text-decoration: none;
  opacity: 0.9;
}

.top-bar-right ul {
  background: transparent;
}

.top-bar-right li {
  border-left: 1px solid rgba(255,255,255,0.1);
}

.top-bar-right a {
  color: white;
  padding: 1.2rem 1.5rem;
  display: block;
  transition: background 0.3s ease;
}

.top-bar-right a:hover {
  background: rgba(255,255,255,0.1);
  text-decoration: none;
}

.top-bar-right .active {
  background: rgba(255,255,255,0.15);
  border-bottom: 3px solid var(--accent-400);
}

/* Hero Section */
.hero-section {
  position: relative;
  height: 500px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-align: center;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(30, 74, 111, 0.7), rgba(44, 95, 141, 0.85));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 2rem;
}

.hero-content h1 {
  color: white;
  font-size: 3rem;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-content p {
  font-size: 1.25rem;
  color: var(--gray-100);
  margin-bottom: 2rem;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.button {
  background: var(--accent-400);
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 4px;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
}

.button:hover {
  background: var(--accent-600);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  text-decoration: none;
  color: white;
}

/* Main Content */
.main-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
}

.content-section {
  margin-bottom: 3rem;
}

.content-section img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  margin: 2rem 0;
}

/* Callout Boxes */
.callout {
  background: var(--gray-50);
  border-left: 5px solid var(--primary-500);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
}

.callout.alert {
  background: #fef3cd;
  border-left-color: var(--warning);
}

.callout.success {
  background: #d1fae5;
  border-left-color: var(--success);
}

.callout h3 {
  margin-top: 0;
  color: var(--primary-700);
}

/* Cards */
.card {
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  padding: 2rem;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.card h3 {
  color: var(--primary-700);
  margin-top: 0;
}

/* Grid Layouts */
.grid-x {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -0.625rem;
}

.cell {
  padding: 0 0.625rem;
}

.small-12 {
  width: 100%;
}

.medium-6 {
  width: 50%;
}

.medium-4 {
  width: 33.333%;
}

/* Lists */
ul, ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
  color: var(--text-secondary);
}

/* Footer */
.footer {
  background: var(--gray-900);
  color: var(--gray-300);
  padding: 3rem 2rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h4 {
  color: white;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-family: 'Source Sans Pro', sans-serif;
}

.footer-section ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-section li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: var(--gray-300);
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-300);
  text-decoration: none;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--gray-700);
  color: var(--gray-500);
  font-size: 0.9rem;
}

/* Responsive */
@media screen and (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-section {
    height: 400px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .main-content {
    padding: 2rem 1rem;
  }

  .medium-6, .medium-4 {
    width: 100%;
  }

  .top-bar-right li {
    border-left: none;
    border-top: 1px solid rgba(255,255,255,0.1);
  }
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.highlight {
  background: var(--highlight);
  padding: 0.2rem 0.5rem;
  border-radius: 3px;
}
