/* ==========================================================================
   A FLEUR DE MAREE - BALADES NATURE | Official Theme Stylesheet
   Palette: Sunshine Gold (#F3BA2F), Vibrant Coral (#ED5236), 
            Navy-Charcoal (#1F2531), Light Gray (#F8F9FA),
            Pure White (#FFFFFF), Border Gray (#E2E8F0), Slate Text (#64748B)
   Compliant with Google Ad Grants Non-Commercial Public Interest Guidelines
   ========================================================================== */

:root {
  --primary-gold: #F3BA2F;
  --primary-gold-hover: #dca31f;
  --coral-accent: #ED5236;
  --coral-hover: #d74126;
  --navy-dark: #1F2531;
  --navy-surface: #293141;
  --bg-light: #F8F9FA;
  --bg-white: #FFFFFF;
  --border-light: #E2E8F0;
  --text-dark: #1E293B;
  --text-slate: #64748B;
  --text-muted: #94A3B8;
  --success-green: #10B981;
  --font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  --transition-smooth: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-subtle: 0 4px 15px rgba(0, 0, 0, 0.05);
  --shadow-elevated: 0 10px 25px -5px rgba(31, 37, 49, 0.1), 0 8px 10px -6px rgba(31, 37, 49, 0.05);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-family);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.7;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  color: var(--navy-dark);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; letter-spacing: -0.02em; }
h2 { font-size: 2rem; letter-spacing: -0.015em; margin-top: 1.75rem; }
h3 { font-size: 1.4rem; margin-top: 1.25rem; }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1.25rem;
  color: #334155;
  font-size: 1.05rem;
}

a {
  color: var(--coral-accent);
  text-decoration: none;
  transition: var(--transition-smooth);
}

a:hover {
  color: var(--coral-hover);
}

/* Accessibility & Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-main {
  flex: 1 0 auto;
}

/* Top Utility Bar */
.top-utility-bar {
  background-color: #171c26;
  color: #cbd5e1;
  font-size: 0.825rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-utility-bar .utility-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.utility-badge-group {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.utility-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.utility-badge strong {
  color: var(--primary-gold);
}

.utility-link {
  color: #e2e8f0;
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 0.825rem;
}
.utility-link:hover {
  color: var(--primary-gold);
}

/* Sticky Main Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background-color: var(--bg-white);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  border-bottom: 3px solid var(--primary-gold);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand-logo {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}

.brand-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--navy-dark);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.brand-subtitle {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--coral-accent);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Nav Menu */
.main-nav {
  display: flex;
  align-items: center;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--navy-dark);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.65rem 0.75rem;
  border-radius: var(--radius-sm);
  transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
  color: var(--coral-accent);
  background-color: #fff5f2;
}

/* Dropdown */
.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevated);
  list-style: none;
  padding: 0.5rem 0;
  z-index: 1001;
}

.nav-item:hover .dropdown-menu,
.nav-item:focus-within .dropdown-menu {
  display: block;
}

.dropdown-link {
  display: block;
  padding: 0.65rem 1.25rem;
  color: var(--navy-dark);
  font-size: 0.9rem;
  font-weight: 500;
}

.dropdown-link:hover {
  background-color: #fff9ed;
  color: var(--coral-accent);
  padding-left: 1.5rem;
}

.mobile-toggle {
  display: none;
  background: none;
  border: 2px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 0.5rem;
  cursor: pointer;
  min-width: 44px;
  min-height: 44px;
}

/* Buttons and Direct CTAs */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.6rem;
  min-height: 44px;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: var(--radius-md);
  cursor: pointer;
  border: none;
  transition: var(--transition-smooth);
  text-align: center;
}

.btn-primary {
  background-color: var(--coral-accent);
  color: #ffffff !important;
}

.btn-primary:hover {
  background-color: var(--coral-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(237, 82, 54, 0.3);
}

.btn-gold {
  background-color: var(--primary-gold);
  color: var(--navy-dark) !important;
}

.btn-gold:hover {
  background-color: var(--primary-gold-hover);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(243, 186, 47, 0.35);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--navy-dark);
  color: var(--navy-dark) !important;
}

.btn-outline:hover {
  background-color: var(--navy-dark);
  color: #ffffff !important;
}

.btn-outline-white {
  background-color: transparent;
  border: 2px solid #ffffff;
  color: #ffffff !important;
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--navy-dark) !important;
}

/* Hero Section */
.hero-section {
  position: relative;
  background-color: var(--navy-dark);
  color: #ffffff;
  padding: 4.5rem 0 5rem 0;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(31, 37, 49, 0.92) 0%, rgba(31, 37, 49, 0.8) 100%);
  z-index: 1;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 920px;
}

.hero-badge {
  display: inline-block;
  background-color: rgba(243, 186, 47, 0.2);
  color: var(--primary-gold);
  border: 1px solid var(--primary-gold);
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-headline {
  color: #ffffff;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-headline span {
  color: var(--primary-gold);
}

.hero-summary {
  font-size: 1.2rem;
  line-height: 1.7;
  color: #f1f5f9;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Breadcrumb & Subpage Header */
.page-hero {
  background-color: var(--navy-dark);
  color: #ffffff;
  padding: 3rem 0;
  position: relative;
}

.page-hero-title {
  color: #ffffff;
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.page-hero-lead {
  color: #cbd5e1;
  font-size: 1.1rem;
  max-width: 800px;
}

/* Mandatory Mission Highlight Box */
.notre-mission-box {
  background: #ffffff;
  border-left: 6px solid var(--coral-accent);
  padding: 2.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-elevated);
  margin: 2.5rem 0;
  position: relative;
}

.notre-mission-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--coral-accent);
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.notre-mission-text {
  font-size: 1.12rem;
  line-height: 1.8;
  color: #1e293b;
  font-weight: 500;
  margin-bottom: 0;
}

/* Sections & Content Blocks */
.content-section {
  padding: 4rem 0;
}

.content-section.bg-white {
  background-color: var(--bg-white);
}

.content-section.bg-light {
  background-color: var(--bg-light);
}

.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 3rem auto;
}

.section-subtitle {
  color: var(--coral-accent);
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.section-title {
  font-size: 2.2rem;
  color: var(--navy-dark);
}

/* Cause / Pillar Cards */
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.pillar-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  display: flex;
  flex-direction: column;
  transition: var(--transition-smooth);
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-elevated);
  border-color: #cbd5e1;
}

.pillar-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.pillar-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pillar-status-badge {
  display: inline-block;
  background-color: #eff6ff;
  color: #1d4ed8;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
  align-self: flex-start;
}

.pillar-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.pillar-desc {
  font-size: 0.95rem;
  color: var(--text-slate);
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.progress-container {
  margin-bottom: 1.25rem;
}

.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 0.35rem;
}

.progress-track {
  width: 100%;
  height: 8px;
  background-color: #e2e8f0;
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-gold), var(--coral-accent));
  border-radius: 9999px;
}

/* Impact Numbers Grid */
.impact-banner {
  background-color: var(--navy-dark);
  color: #ffffff;
  padding: 4rem 0;
  border-top: 4px solid var(--primary-gold);
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  text-align: center;
}

.impact-item {
  padding: 1.5rem;
}

.impact-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--primary-gold);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.impact-label {
  font-size: 1.05rem;
  font-weight: 600;
  color: #e2e8f0;
  margin-bottom: 0.25rem;
}

.impact-sub {
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Documentary Photos and Captions */
.docu-figure {
  margin: 2rem 0 1.5rem 0;
}

.docu-img {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid #E5E7EB;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  margin: 20px 0 8px 0;
  object-fit: cover;
  max-height: 520px;
}

.docu-caption {
  font-size: 0.875rem;
  color: #64748B;
  font-style: italic;
  margin-bottom: 20px;
  display: block;
}

/* Agenda Ledger */
.agenda-ledger {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  margin-bottom: 2.5rem;
}

.agenda-item {
  display: grid;
  grid-template-columns: 140px 1fr auto;
  gap: 1.5rem;
  padding: 1.75rem 2rem;
  border-bottom: 1px solid var(--border-light);
  align-items: center;
}

.agenda-item:last-child {
  border-bottom: none;
}

.agenda-date-badge {
  background: #fff8e6;
  border: 1px solid #fde68a;
  border-radius: var(--radius-md);
  padding: 0.75rem;
  text-align: center;
}

.agenda-date-day {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--coral-accent);
  line-height: 1;
}

.agenda-date-month {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-dark);
  text-transform: uppercase;
}

.agenda-info h3 {
  margin-top: 0;
  margin-bottom: 0.35rem;
  font-size: 1.25rem;
}

.agenda-meta {
  display: flex;
  gap: 1.25rem;
  font-size: 0.875rem;
  color: var(--text-slate);
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}

/* Call to Action Banner */
.cta-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, #2a3447 100%);
  color: #ffffff;
  border-radius: var(--radius-lg);
  padding: 3.5rem 2.5rem;
  text-align: center;
  margin: 3.5rem 0;
  border: 2px solid rgba(243, 186, 47, 0.3);
}

.cta-banner h2 {
  color: #ffffff;
  margin-top: 0;
  font-size: 2.2rem;
}

.cta-banner p {
  color: #e2e8f0;
  max-width: 750px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
}

/* Tables for Financial Transparency & Legal */
.data-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--bg-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-subtle);
  margin: 2rem 0;
}

.data-table th, .data-table td {
  padding: 1rem 1.25rem;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}

.data-table th {
  background-color: #171c26;
  color: #ffffff;
  font-weight: 600;
  font-size: 0.95rem;
}

.data-table tr:hover td {
  background-color: #f8fafc;
}

/* Forms */
.form-card {
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-elevated);
}

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

.form-label {
  display: block;
  font-weight: 600;
  color: var(--navy-dark);
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.form-input, .form-textarea, .form-select {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}

.form-input:focus, .form-textarea:focus, .form-select:focus {
  outline: none;
  border-color: var(--coral-accent);
  box-shadow: 0 0 0 3px rgba(237, 82, 54, 0.15);
}

/* Modal Popup */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #ffffff;
  border-radius: var(--radius-lg);
  max-width: 550px;
  width: 100%;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
  animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.modal-icon {
  width: 64px;
  height: 64px;
  background-color: #ecfdf5;
  color: var(--success-green);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

/* Footer */
.site-footer {
  background-color: var(--navy-dark);
  color: #cbd5e1;
  padding: 4.5rem 0 2rem 0;
  border-top: 5px solid var(--primary-gold);
}

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

.footer-title {
  color: var(--primary-gold);
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.footer-text {
  color: #94a3b8;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

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

.footer-links li {
  margin-bottom: 0.65rem;
}

.footer-links a {
  color: #cbd5e1;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: var(--primary-gold);
  padding-left: 4px;
}

.footer-disclosure {
  background-color: #171c26;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: #e2e8f0;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.75rem;
  text-align: center;
  font-size: 0.85rem;
  color: #94a3b8;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
  .hero-headline { font-size: 2.4rem; }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .agenda-item {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-white);
    padding: 1.5rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border-top: 1px solid var(--border-light);
  }
  .main-nav.active {
    display: block;
  }
  .nav-menu {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .dropdown-menu {
    position: static;
    display: block;
    box-shadow: none;
    border: none;
    background: #f8fafc;
    border-left: 3px solid var(--primary-gold);
    margin: 0.5rem 0;
    padding-left: 1rem;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .utility-content {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-headline {
    font-size: 1.9rem;
  }
}
