/* ReefTrace Live - Custom Styles */
/* Built on Materialize CSS with custom brand colors */

:root {
  /* Brand Colors - from original site */
  --primary: #191B44;        /* Deep navy blue */
  --primary-light: #2a2d5f;
  --primary-dark: #0f1128;
  --accent: #EF2D56;         /* Coral pink/red */
  --accent-light: #ff5577;
  --accent-dark: #d41e42;

  /* Neutrals */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-600: #4b5563;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Text */
  --text-primary: #1f2937;
  --text-secondary: #6b7280;
  --text-light: #9ca3af;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

/* Override Materialize primary colors */
nav {
  background-color: var(--primary) !important;
}

.btn, .btn-large {
  background-color: var(--accent) !important;
}

.btn:hover, .btn-large:hover {
  background-color: var(--accent-dark) !important;
}

.btn-flat {
  color: var(--accent) !important;
}

/* Typography */
body {
  font-family: 'Raleway', 'Roboto', sans-serif;
  color: var(--text-primary);
  line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', 'Roboto', sans-serif;
  font-weight: 600;
  color: var(--primary);
  line-height: 1.3;
}

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

h2 {
  font-size: 2.2rem;
  margin: 2rem 0 1rem;
}

h3 {
  font-size: 1.7rem;
  margin: 1.5rem 0 0.8rem;
}

/* Navigation */
nav .brand-logo {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
}

nav ul a {
  font-weight: 500;
  transition: background-color 0.3s ease;
}

nav ul a:hover {
  background-color: var(--primary-light) !important;
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 80px 0 100px;
  margin-bottom: 0;
}

.hero h1 {
  color: white;
  font-size: 3.2rem;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero p.lead {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.8;
}

.hero-image {
  border-radius: 12px;
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.hero-image img {
  width: 100%;
  height: auto;
  display: block;
}

/* Content Sections */
.content-section {
  padding: 60px 0;
}

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

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.section-title .subtitle {
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Cards */
.card {
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

.card .card-title {
  color: var(--primary);
  font-size: 1.5rem;
  font-weight: 600;
}

.card .card-content {
  padding: 24px;
}

.card.accent-card {
  border-top: 4px solid var(--accent);
}

/* Feature Icons */
.feature-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 1.5rem;
  box-shadow: var(--shadow-md);
}

.feature-box {
  text-align: center;
  padding: 2rem 1rem;
}

.feature-box h3 {
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.feature-box p {
  color: var(--text-secondary);
}

/* Accent Elements */
.accent-text {
  color: var(--accent);
}

.primary-text {
  color: var(--primary);
}

/* Lists */
.content-list {
  list-style: none;
  padding-left: 0;
}

.content-list li {
  padding-left: 2rem;
  margin-bottom: 0.8rem;
  position: relative;
}

.content-list li:before {
  content: "▸";
  color: var(--accent);
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
}

/* Buttons */
.btn-custom {
  background-color: var(--accent);
  color: white;
  padding: 12px 32px;
  border-radius: 24px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.btn-custom:hover {
  background-color: var(--accent-dark);
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--accent);
  color: var(--accent);
}

.btn-outline:hover {
  background-color: var(--accent);
  color: white;
}

/* Images */
.content-image {
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  margin: 2rem 0;
  width: 100%;
  height: auto;
}

.inline-image {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: var(--shadow-md);
  margin: 1.5rem 0;
}

/* Footer */
.page-footer {
  background-color: var(--primary) !important;
  padding-top: 40px;
}

.page-footer h5 {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.page-footer p, .page-footer li {
  color: rgba(255, 255, 255, 0.8);
}

.page-footer a {
  color: rgba(255, 255, 255, 0.9);
  transition: color 0.3s ease;
}

.page-footer a:hover {
  color: var(--accent-light);
}

.footer-copyright {
  background-color: var(--primary-dark) !important;
  color: rgba(255, 255, 255, 0.7);
}

/* Responsive */
@media only screen and (max-width: 992px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p.lead {
    font-size: 1.1rem;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }
}

@media only screen and (max-width: 600px) {
  .hero {
    padding: 60px 0 70px;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p.lead {
    font-size: 1rem;
  }

  .content-section {
    padding: 40px 0;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }
}

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

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

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

.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Link Styles */
a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover {
  color: var(--accent-dark);
}

.content-section a {
  border-bottom: 1px solid var(--accent-light);
}

.content-section a:hover {
  border-bottom-color: var(--accent-dark);
}

/* Parallax Fixes */
.parallax-container {
  height: 400px;
}

@media only screen and (max-width: 992px) {
  .parallax-container {
    height: 300px;
  }
}
