/* ══════════════════════════════════════════════════════════════════════════
   BYE BYE LEMON — Shared Stylesheet
   All pages link to this single CSS file for consistent styling
   ══════════════════════════════════════════════════════════════════════════ */

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

:root {
  /* Core Colors */
  --navy:    #1B3A5C;
  --blue:    #2B6CB0;
  --sky:     #EBF4FF;
  --accent:  #F6C443;
  --white:   #FFFFFF;
  --gray:    #6B7A8D;
  --light:   #F7FAFD;
  --text:    #1A2533;
  
  /* Semantic Colors */
  --green:   #27AE60;
  --green-bg: #F0FBF4;
  --red:     #C0392B;
  --red-bg:  #FDF2F1;
  
  /* Sizing */
  --radius:  14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
}

/* ══════════════════════════════════════════════════════════════════════════
   NAVIGATION
   ══════════════════════════════════════════════════════════════════════════ */

nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 6vw;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(43,108,176,0.1);
  box-shadow: 0 2px 20px rgba(27,58,92,0.06);
}

.logo {
  font-family: 'Nunito', sans-serif;
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--navy);
  text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.logo span { color: var(--blue); }
.logo-icon {
  width: 38px; height: 38px;
  background: var(--accent);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}

.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  text-decoration: none;
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--blue); }

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 10px 22px;
  border-radius: 50px;
  transition: background 0.2s, transform 0.2s !important;
}
.nav-cta:hover { background: var(--navy) !important; transform: translateY(-1px); }

/* Mobile Nav */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--navy);
}

@media (max-width: 900px) {
  .nav-links { 
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  }
  .nav-links.open { display: flex; }
  .mobile-menu-btn { display: block; }
}

/* ══════════════════════════════════════════════════════════════════════════
   PAGE HEADERS
   ══════════════════════════════════════════════════════════════════════════ */

.page-hero {
  padding: 140px 6vw 80px;
  background: linear-gradient(135deg, var(--sky) 0%, #D6EAFF 50%, #EEF7FF 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-hero.red-theme {
  background: linear-gradient(135deg, #FDF2F1 0%, #FDE8E6 50%, #FFF5F4 100%);
}

.page-hero.green-theme {
  background: linear-gradient(135deg, var(--green-bg) 0%, #E8F8EE 50%, #F0FBF4 100%);
}

.page-hero::before {
  position: absolute;
  font-size: 18rem;
  opacity: 0.04;
  top: -40px; right: -40px;
  pointer-events: none;
}

.page-tag {
  display: inline-block;
  background: rgba(43,108,176,0.1);
  color: var(--blue);
  font-weight: 800; font-size: 0.78rem;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 6px 16px; border-radius: 50px;
  margin-bottom: 20px;
}

.page-tag.red { background: rgba(192,57,43,0.1); color: var(--red); }
.page-tag.green { background: rgba(39,174,96,0.1); color: var(--green); }

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900; color: var(--navy);
  line-height: 1.2; margin-bottom: 18px;
}

.page-hero p {
  font-family: 'Lora', serif;
  font-size: 1.15rem; color: var(--gray);
  line-height: 1.75; max-width: 640px;
  margin: 0 auto 36px;
}

/* ══════════════════════════════════════════════════════════════════════════
   BUTTONS
   ══════════════════════════════════════════════════════════════════════════ */

.btn-primary {
  display: inline-block;
  background: var(--blue);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(43,108,176,0.35);
  border: none;
  cursor: pointer;
}
.btn-primary:hover { background: var(--navy); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(27,58,92,0.3); }

.btn-secondary {
  display: inline-block;
  background: white;
  color: var(--blue);
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  border: 2px solid var(--blue);
  transition: all 0.2s;
  cursor: pointer;
}
.btn-secondary:hover { background: var(--sky); transform: translateY(-2px); }

.btn-accent {
  display: inline-block;
  background: var(--accent);
  color: var(--navy);
  padding: 18px 40px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1.05rem;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(246,196,67,0.4);
  border: none;
  cursor: pointer;
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(246,196,67,0.5); }

.btn-green {
  display: inline-block;
  background: var(--green);
  color: white;
  padding: 16px 32px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 4px 20px rgba(39,174,96,0.35);
  border: none;
  cursor: pointer;
}
.btn-green:hover { background: #219a52; transform: translateY(-2px); }

/* ══════════════════════════════════════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════════════════════════════════════ */

.section { padding: 90px 6vw; }
.section-alt { background: var(--light); }

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}

.section-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: white;
  border: 1.5px solid rgba(43,108,176,0.2);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  color: var(--navy);
  margin-bottom: 16px;
}

.section-header p {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  color: var(--gray);
  line-height: 1.7;
}

.section-label {
  display: flex; align-items: center; gap: 16px;
  font-weight: 900; font-size: 0.78rem;
  letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 48px;
}
.section-label.blue { color: var(--blue); }
.section-label.green { color: var(--green); }
.section-label.red { color: var(--red); }
.section-label::after {
  content: '';
  height: 2px; flex: 1;
  background: currentColor;
  opacity: 0.2;
}

/* ══════════════════════════════════════════════════════════════════════════
   CARDS
   ══════════════════════════════════════════════════════════════════════════ */

.card {
  background: white;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 4px 24px rgba(27,58,92,0.08);
  transition: transform 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 12px 36px rgba(27,58,92,0.13); }

/* ══════════════════════════════════════════════════════════════════════════
   CTA SECTION
   ══════════════════════════════════════════════════════════════════════════ */

.cta-section {
  background: linear-gradient(135deg, var(--navy) 0%, #224a73 100%);
  padding: 80px 6vw;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 900;
  color: white;
  margin-bottom: 16px;
}

.cta-section p {
  font-family: 'Lora', serif;
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

/* ══════════════════════════════════════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════════════════════════════════════ */

footer {
  background: var(--navy);
  color: white;
  padding: 60px 6vw 30px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand p {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 300px;
}

.footer-col h4 {
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  color: var(--accent);
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  font-size: 0.92rem;
  margin-bottom: 12px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .footer-brand p { margin: 16px auto 0; }
  .footer-bottom { justify-content: center; text-align: center; }
}

/* ══════════════════════════════════════════════════════════════════════════
   FORMS
   ══════════════════════════════════════════════════════════════════════════ */

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(43,108,176,0.15);
  border-radius: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  background: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(43,108,176,0.1);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--gray);
  opacity: 0.7;
}

.form-hint {
  font-size: 0.82rem;
  color: var(--gray);
  margin-top: 6px;
}

/* ══════════════════════════════════════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════════════════════════════════════ */

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-up {
  animation: fadeUp 0.6s ease both;
}

/* ══════════════════════════════════════════════════════════════════════════
   UTILITIES
   ══════════════════════════════════════════════════════════════════════════ */

.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mt-0 { margin-top: 0; }
