/*
Theme Name: OceanLove
Theme URI: https://oceanlove.org
Author: OceanLove Foundation
Author URI: https://oceanlove.org
Description: A beautiful ocean conservation theme for the OceanLove Foundation. Features a stunning hero video section, mission cards, treaty information, founder bio, and email signup. Fully customizable through the WordPress Customizer.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: oceanlove
Tags: one-page, custom-logo, custom-menu, featured-images, theme-options, full-width-template
*/

/* ==========================================================================
   CSS Custom Properties
   ========================================================================== */

:root {
  --primary: #0e7490;
  --primary-dark: #0a5c72;
  --primary-foreground: #ffffff;
  --cyan-300: #67e8f9;
  --cyan-400: #22d3ee;
  --teal-500: #14b8a6;
  --teal-600: #0d9488;
  --teal-700: #0f766e;
  --blue-50: #eff6ff;
  --blue-100: #dbeafe;
  --blue-50-alpha: rgba(239, 246, 255, 0.8);
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-400: #94a3b8;
  --slate-600: #475569;
  --slate-900: #0f172a;
  --slate-950: #020617;
  --background: #ffffff;
  --muted-foreground: #64748b;
  --font-display: 'Plus Jakarta Sans', 'DM Sans', sans-serif;
  --font-body: 'DM Sans', 'Inter', sans-serif;
  --font-mono: 'Fira Code', 'JetBrains Mono', monospace;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
  --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ==========================================================================
   Base / Reset
   ========================================================================== */

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

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--slate-900);
  background-color: var(--background);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.admin-bar .site-nav {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .site-nav {
    top: 46px;
  }
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul, ol {
  list-style: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  border: none;
  background: none;
}

input {
  font-family: inherit;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.font-display {
  font-family: var(--font-display);
}

.font-mono {
  font-family: var(--font-mono);
}

/* ==========================================================================
   Layout / Container
   ========================================================================== */

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 768px) {
  .container {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

/* ==========================================================================
   Glass Effects
   ========================================================================== */

.glass-dark {
  background: rgba(15, 23, 42, 0.85);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

/* ==========================================================================
   Navigation
   ========================================================================== */

.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.75rem 0;
  box-shadow: var(--shadow-lg);
}

.site-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-nav .brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.site-nav .brand-icon {
  width: 2rem;
  height: 2rem;
  color: var(--cyan-300);
  transition: color 0.3s ease;
}

.site-nav .brand-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  transition: color 0.3s ease;
}

.site-nav .nav-desktop {
  display: none;
  align-items: center;
  gap: 2rem;
}

@media (min-width: 768px) {
  .site-nav .nav-desktop {
    display: flex;
  }
}

.site-nav .nav-link {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
}

.site-nav .nav-link:hover {
  color: var(--cyan-300);
}

/* WordPress nav menu styling */
.site-nav .nav-desktop .menu {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav .nav-desktop .menu li a {
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: color 0.2s ease;
  text-decoration: none;
}

.site-nav .nav-desktop .menu li a:hover {
  color: var(--cyan-300);
}

.btn-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.5rem;
  min-height: 2.25rem;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.875rem;
  border-radius: 9999px;
  border: 1px solid rgba(14, 116, 144, 0.2);
  transition: all 0.3s ease;
  box-shadow: var(--shadow-lg);
}

.btn-nav:hover {
  background: #ecfeff;
  box-shadow: 0 10px 15px -3px rgba(6, 182, 212, 0.25);
  transform: translateY(-1px);
}

.btn-nav:active {
  transform: translateY(1px);
}

/* Mobile toggle */
.nav-toggle {
  display: block;
  color: #fff;
  background: none;
  border: none;
  padding: 0.25rem;
}

@media (min-width: 768px) {
  .nav-toggle {
    display: none;
  }
}

.nav-toggle svg {
  width: 1.5rem;
  height: 1.5rem;
}

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  top: 60px;
  z-index: 49;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
}

.nav-mobile.active {
  display: block;
}

@media (min-width: 768px) {
  .nav-mobile {
    display: none !important;
  }
}

.nav-mobile .nav-mobile-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 2rem;
  padding: 2rem 1.5rem;
}

.nav-mobile .nav-mobile-link {
  font-size: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  transition: color 0.2s ease;
}

.nav-mobile .nav-mobile-link:hover {
  color: var(--cyan-300);
}

/* Mobile WordPress menu */
.nav-mobile .menu {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-mobile .menu li a {
  font-size: 1.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  transition: color 0.2s ease;
  text-decoration: none;
}

.nav-mobile .menu li a:hover {
  color: var(--cyan-300);
}

.btn-mobile-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  min-height: 2.5rem;
  background: #fff;
  color: var(--primary);
  font-weight: 700;
  font-size: 1.125rem;
  border-radius: 9999px;
  width: 100%;
  max-width: 20rem;
  margin-top: 1rem;
  border: 1px solid rgba(14, 116, 144, 0.2);
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  background-color: var(--slate-900);
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 23, 42, 0.3),
    transparent 50%,
    var(--background)
  );
}

.hero-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--primary-dark) 50%, var(--primary) 100%);
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-inner {
  padding: 0 1rem;
  text-align: center;
  z-index: 10;
}

.hero-title {
  font-size: 2.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.hero-title .highlight {
  color: var(--cyan-300);
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 4.5rem;
  }
}

.hero-subtitle {
  font-size: 1.125rem;
  color: var(--blue-100);
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  font-weight: 300;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  line-height: 1.7;
}

@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.5rem;
  }
}

.btn-hero {
  display: inline-block;
  padding: 1rem 2rem;
  background: #fff;
  color: var(--primary);
  border-radius: 9999px;
  font-size: 1.125rem;
  font-weight: 700;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-hero:hover {
  box-shadow: 0 10px 40px -5px rgba(6, 182, 212, 0.5);
  transform: translateY(-2px);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  cursor: pointer;
}

.hero-scroll-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}

.hero-scroll-inner:hover {
  color: #fff;
}

.hero-scroll-inner span {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.hero-scroll-inner svg {
  width: 1.5rem;
  height: 1.5rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-8px); }
  60% { transform: translateY(-4px); }
}

/* ==========================================================================
   Section: Mission
   ========================================================================== */

.section-mission {
  padding: 6rem 0;
}

@media (min-width: 768px) {
  .section-mission {
    padding: 8rem 0;
  }
}

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

@media (min-width: 768px) {
  .section-header {
    margin-bottom: 4rem;
  }
}

.section-header h2 {
  font-size: 1.875rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--primary);
}

@media (min-width: 768px) {
  .section-header h2 {
    font-size: 3rem;
  }
}

.section-header p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--muted-foreground);
  max-width: 48rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .section-header p {
    font-size: 1.25rem;
  }
}

.section-header .divider {
  margin-top: 1.5rem;
  height: 0.25rem;
  width: 5rem;
  border-radius: 9999px;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--primary);
}

/* Mission Cards */
.mission-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 4rem;
}

@media (min-width: 768px) {
  .mission-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.mission-card {
  background: #fff;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--slate-100);
  transition: all 0.3s ease;
}

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

.mission-card .card-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--blue-50);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.mission-card .card-icon svg {
  width: 1.75rem;
  height: 1.75rem;
  color: var(--primary);
  transition: color 0.3s ease;
}

.mission-card:hover .card-icon {
  background: var(--primary);
}

.mission-card:hover .card-icon svg {
  color: #fff;
}

.mission-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--slate-900);
  margin-bottom: 0.75rem;
}

.mission-card p {
  color: var(--slate-600);
  line-height: 1.7;
}

/* ==========================================================================
   Section: Treaty
   ========================================================================== */

.section-treaty {
  padding: 6rem 0;
  background: var(--primary);
  color: #fff;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .section-treaty {
    padding: 8rem 0;
  }
}

.section-treaty .bg-blobs {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  opacity: 0.1;
  pointer-events: none;
}

.section-treaty .blob-1 {
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50%;
  height: 50%;
  border-radius: 50%;
  background: var(--cyan-300);
  filter: blur(100px);
}

.section-treaty .blob-2 {
  position: absolute;
  top: 40%;
  right: -10%;
  width: 40%;
  height: 60%;
  border-radius: 50%;
  background: #3b82f6;
  filter: blur(120px);
}

.section-treaty .section-header h2 {
  color: #fff;
}

.section-treaty .section-header p {
  color: var(--blue-100);
}

.section-treaty .section-header .divider {
  background-color: var(--cyan-300);
}

.treaty-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 10;
}

@media (min-width: 1024px) {
  .treaty-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.treaty-text p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #eff6ff;
  margin-bottom: 1.5rem;
}

.treaty-list {
  margin-bottom: 2rem;
}

.treaty-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.treaty-list li .list-icon {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 50%;
  background: var(--cyan-400);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.treaty-list li .list-icon svg {
  width: 0.75rem;
  height: 0.75rem;
  color: var(--primary);
}

.treaty-list li span {
  font-size: 1.125rem;
  font-weight: 500;
}

/* Livestream Card */
.livestream-card {
  background: rgba(255, 255, 255, 0.1);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: 1rem;
  padding: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-2xl);
}

.livestream-card .card-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.livestream-card .card-header svg {
  width: 2.5rem;
  height: 2.5rem;
  color: var(--cyan-300);
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.livestream-card .card-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.livestream-card p {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  color: #eff6ff;
}

.livestream-card .quote-box {
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.livestream-card .quote-box p {
  font-size: 0.875rem;
  font-family: var(--font-mono);
  color: var(--cyan-300);
  margin-bottom: 0;
}

/* ==========================================================================
   Section: Founder
   ========================================================================== */

.section-founder {
  padding: 6rem 0;
  background: var(--slate-50);
}

@media (min-width: 768px) {
  .section-founder {
    padding: 8rem 0;
  }
}

.founder-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--slate-100);
  margin-top: 3rem;
  max-width: 56rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .founder-card {
    padding: 3rem;
  }
}

.founder-inner {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 768px) {
  .founder-inner {
    flex-direction: row;
    align-items: flex-start;
  }
}

.founder-avatar {
  width: 8rem;
  height: 8rem;
  border-radius: 50%;
  flex-shrink: 0;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: var(--shadow-lg);
}

@media (min-width: 768px) {
  .founder-avatar {
    width: 10rem;
    height: 10rem;
  }
}

.founder-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.founder-avatar .avatar-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--teal-500));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.875rem;
  font-family: var(--font-display);
  font-weight: 700;
}

.founder-info h3 {
  font-size: 1.5rem;
  font-weight: 700;
  font-family: var(--font-display);
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.founder-info .founder-title {
  color: var(--teal-600);
  font-weight: 500;
  margin-bottom: 1rem;
}

.founder-info p {
  color: var(--slate-600);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.founder-info p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   Section: CTA / Join
   ========================================================================== */

.section-cta {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--slate-900), var(--primary));
  color: #fff;
  position: relative;
}

@media (min-width: 768px) {
  .section-cta {
    padding: 8rem 0;
  }
}

.section-cta .cta-bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-size: cover;
  background-position: center;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 42rem;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.25rem;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
}

@media (min-width: 768px) {
  .cta-content h2 {
    font-size: 3rem;
  }
}

.cta-content > p {
  font-size: 1.25rem;
  color: var(--blue-100);
  margin-bottom: 2.5rem;
}

.cta-form-wrap {
  max-width: 28rem;
  margin: 0 auto;
}

.cta-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.cta-form .input-wrap {
  position: relative;
}

.cta-form .input-icon {
  position: absolute;
  top: 50%;
  left: 0.75rem;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--muted-foreground);
}

.cta-form .input-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.cta-form input[type="email"] {
  width: 100%;
  height: 3.5rem;
  padding: 0.5rem 0.75rem 0.5rem 2.5rem;
  border-radius: 9999px;
  border: 2px solid rgba(14, 116, 144, 0.2);
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  font-size: 1rem;
  color: var(--slate-900);
  box-shadow: var(--shadow-xl);
  transition: all 0.2s ease;
  outline: none;
}

.cta-form input[type="email"]::placeholder {
  color: var(--muted-foreground);
}

.cta-form input[type="email"]:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(14, 116, 144, 0.1), var(--shadow-xl);
}

@media (min-width: 768px) {
  .cta-form input[type="email"] {
    font-size: 0.875rem;
  }
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 3.5rem;
  padding: 0 1rem;
  border-radius: 9999px;
  background: linear-gradient(to right, var(--primary), var(--teal-600));
  color: #fff;
  font-size: 1.125rem;
  font-weight: 700;
  box-shadow: 0 10px 15px -3px rgba(14, 116, 144, 0.25);
  border: 1px solid rgba(14, 116, 144, 0.2);
  transition: all 0.2s ease;
  cursor: pointer;
}

.btn-cta:hover {
  background: linear-gradient(to right, var(--primary-dark), var(--teal-700));
  box-shadow: 0 20px 25px -5px rgba(14, 116, 144, 0.4);
  transform: translateY(-2px);
}

.btn-cta:active {
  transform: translateY(0);
}

.btn-cta svg {
  width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.5rem;
}

.cta-note {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--slate-950);
  color: var(--slate-400);
  padding: 3rem 0;
  border-top: 1px solid var(--slate-900);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-brand svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.footer-brand span {
  font-family: var(--font-display);
  font-weight: 700;
  color: #fff;
  font-size: 1.125rem;
}

.footer-copy {
  font-size: 0.875rem;
}

.footer-social {
  display: flex;
  gap: 1.5rem;
}

.footer-social a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--slate-400);
  transition: color 0.2s ease;
}

.footer-social a:hover {
  color: #fff;
}

/* ==========================================================================
   Buttons - Generic
   ========================================================================== */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  border-radius: 9999px;
  transition: all 0.3s ease;
  border: 1px solid rgba(14, 116, 144, 0.2);
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-lg);
}

/* ==========================================================================
   Animations
   ========================================================================== */

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.stagger-children .fade-in-up:nth-child(1) { transition-delay: 0ms; }
.stagger-children .fade-in-up:nth-child(2) { transition-delay: 150ms; }
.stagger-children .fade-in-up:nth-child(3) { transition-delay: 300ms; }

/* ==========================================================================
   Screen Reader Only
   ========================================================================== */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ==========================================================================
   WordPress Specific
   ========================================================================== */

/* Page & Post templates */
.site-content {
  padding-top: 80px;
}

.page-content,
.post-content {
  max-width: 48rem;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.page-content h1,
.post-content h1 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.post-content .entry-meta {
  color: var(--muted-foreground);
  margin-bottom: 2rem;
  font-size: 0.875rem;
}

.post-content .entry-body p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
  color: var(--slate-600);
}

.post-content .entry-body a {
  color: var(--primary);
  text-decoration: underline;
}

.post-content .entry-body img {
  border-radius: 0.5rem;
  margin: 2rem 0;
}

/* Blog listing */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 48rem;
  margin: 0 auto;
  padding: 4rem 1rem;
}

.blog-card {
  background: #fff;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--slate-100);
  transition: all 0.3s ease;
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.blog-card h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.blog-card h2 a {
  color: var(--primary);
  transition: color 0.2s ease;
}

.blog-card h2 a:hover {
  color: var(--primary-dark);
}

.blog-card .post-meta {
  color: var(--muted-foreground);
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.blog-card .excerpt {
  color: var(--slate-600);
  line-height: 1.7;
}

/* 404 Page */
.error-404 {
  text-align: center;
  padding: 8rem 1rem;
}

.error-404 h1 {
  font-size: 6rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.error-404 p {
  font-size: 1.25rem;
  color: var(--muted-foreground);
  margin-bottom: 2rem;
}

/* Pagination */
.pagination {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  padding: 2rem 0 4rem;
}

.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  font-weight: 600;
  transition: all 0.2s ease;
}

.pagination a {
  background: #fff;
  color: var(--primary);
  border: 1px solid var(--slate-200);
}

.pagination a:hover {
  background: var(--primary);
  color: #fff;
}

.pagination .current {
  background: var(--primary);
  color: #fff;
}

/* WordPress alignment classes */
.alignwide {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.alignfull {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
}

.aligncenter {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.alignleft {
  float: left;
  margin-right: 1.5rem;
  margin-bottom: 1rem;
}

.alignright {
  float: right;
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

/* WordPress captions */
.wp-caption {
  max-width: 100%;
}

.wp-caption-text {
  font-size: 0.875rem;
  color: var(--muted-foreground);
  text-align: center;
  padding-top: 0.5rem;
}
