@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500&family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,300;1,400&display=swap');

:root {
  --navy: #1A2744;
  --rose-gold: #C9956C;
  --cream: #FAF7F2;
  --sage: #8FAF9A;
  --gold: #D4AF7A;
  --blush: #F0E4DA;
  --white: #FFFFFF;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
  color: var(--navy);
  background-color: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.2;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

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

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--navy);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 2px 20px rgba(26, 39, 68, 0.3);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.nav-logo {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--cream);
  letter-spacing: 1px;
}

.nav-logo span {
  color: var(--rose-gold);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}

.nav-links a {
  color: var(--cream);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 1px;
  text-transform: uppercase;
  position: relative;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rose-gold);
  transition: width 0.3s ease;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--rose-gold);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background: var(--cream);
  transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

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

.btn {
  display: inline-block;
  padding: 14px 36px;
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background: var(--rose-gold);
  color: var(--white);
  border-color: var(--rose-gold);
}

.btn-primary:hover {
  background: transparent;
  color: var(--rose-gold);
}

.btn-secondary {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}

.btn-secondary:hover {
  background: var(--cream);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--cream);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
}

.btn-gold:hover {
  background: transparent;
  color: var(--gold);
}

.btn-sage {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}

.btn-sage:hover {
  background: transparent;
  color: var(--sage);
}

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

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--navy);
  color: var(--cream);
  padding: 120px 24px 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(201, 149, 108, 0.08) 0%, transparent 60%),
              radial-gradient(ellipse at 70% 30%, rgba(143, 175, 154, 0.06) 0%, transparent 50%);
}

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

.hero-badge {
  display: inline-block;
  padding: 8px 24px;
  border: 1px solid var(--rose-gold);
  border-radius: 30px;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin-bottom: 32px;
}

.hero h1 {
  font-size: clamp(2.8rem, 6vw, 5rem);
  margin-bottom: 24px;
  font-weight: 300;
  line-height: 1.1;
}

.hero h1 em {
  font-style: italic;
  color: var(--rose-gold);
}

.hero p {
  font-size: 1.15rem;
  line-height: 1.8;
  opacity: 0.85;
  margin-bottom: 40px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.page-hero {
  min-height: 50vh;
  padding: 140px 24px 80px;
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

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

.section {
  padding: 100px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-header .label {
  display: inline-block;
  font-size: 0.8rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin-bottom: 16px;
}

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

.section-header p {
  max-width: 600px;
  margin: 0 auto;
  color: var(--navy);
  opacity: 0.7;
  font-size: 1.05rem;
}

.section-alt {
  background: var(--white);
}

.section-navy {
  background: var(--navy);
  color: var(--cream);
}

.section-navy .section-header h2 {
  color: var(--cream);
}

.section-navy .section-header p {
  color: var(--cream);
}

.section-blush {
  background: var(--blush);
}

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

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.card {
  background: var(--white);
  border-radius: 8px;
  padding: 40px 32px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(26, 39, 68, 0.06);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(26, 39, 68, 0.1);
}

.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  font-size: 1.6rem;
}

.card-icon.rose { background: rgba(201, 149, 108, 0.15); color: var(--rose-gold); }
.card-icon.sage { background: rgba(143, 175, 154, 0.15); color: var(--sage); }
.card-icon.gold { background: rgba(212, 175, 122, 0.15); color: var(--gold); }
.card-icon.navy { background: rgba(26, 39, 68, 0.1); color: var(--navy); }
.card-icon.blush { background: var(--blush); color: var(--rose-gold); }

.card h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--navy);
}

.card p {
  font-size: 0.95rem;
  opacity: 0.75;
  line-height: 1.7;
  margin-bottom: 20px;
}

.card .btn {
  padding: 10px 28px;
  font-size: 0.8rem;
}

/* ═══════════════════════════════════════
   ABOUT CONTENT
   ═══════════════════════════════════════ */

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image-placeholder {
  width: 100%;
  aspect-ratio: 4/5;
  background: linear-gradient(135deg, var(--blush), var(--rose-gold));
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 4rem;
  color: var(--white);
  opacity: 0.9;
}

.about-image::after {
  content: '';
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 2px solid var(--rose-gold);
  border-radius: 8px;
  z-index: -1;
}

.about-text h2 {
  font-size: 2.4rem;
  margin-bottom: 8px;
}

.about-text .subtitle {
  color: var(--rose-gold);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.about-text p {
  margin-bottom: 16px;
  opacity: 0.8;
  line-height: 1.8;
}

.credential-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.credential-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.credential-tag.rose { background: rgba(201, 149, 108, 0.15); color: var(--rose-gold); }
.credential-tag.sage { background: rgba(143, 175, 154, 0.15); color: var(--sage); }
.credential-tag.gold { background: rgba(212, 175, 122, 0.15); color: #9a7d45; }
.credential-tag.navy-tag { background: rgba(26, 39, 68, 0.1); color: var(--navy); }

/* ═══════════════════════════════════════
   COURSES
   ═══════════════════════════════════════ */

.filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 48px;
}

.filter-tab {
  padding: 10px 24px;
  border: 1px solid var(--navy);
  border-radius: 30px;
  background: transparent;
  color: var(--navy);
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--navy);
  color: var(--cream);
}

.course-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.course-card {
  background: var(--white);
  border-radius: 8px;
  padding: 32px 28px;
  border: 1px solid rgba(26, 39, 68, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.course-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(26, 39, 68, 0.08);
}

.course-card .course-category {
  font-size: 0.75rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rose-gold);
  margin-bottom: 12px;
  font-weight: 700;
}

.course-card h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.course-card p {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.7;
  margin-bottom: 20px;
  flex-grow: 1;
}

.course-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  font-size: 0.8rem;
  opacity: 0.6;
}

.course-card .btn {
  width: 100%;
  text-align: center;
  padding: 12px 24px;
  font-size: 0.8rem;
}

/* ═══════════════════════════════════════
   MODAL
   ═══════════════════════════════════════ */

.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(26, 39, 68, 0.6);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

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

.modal {
  background: var(--cream);
  border-radius: 12px;
  max-width: 520px;
  width: 100%;
  padding: 48px 40px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--navy);
  opacity: 0.5;
  transition: opacity 0.3s ease;
  line-height: 1;
}

.modal-close:hover {
  opacity: 1;
}

.modal h2 {
  font-size: 2rem;
  margin-bottom: 8px;
}

.modal .course-name {
  color: var(--rose-gold);
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 1.1rem;
  margin-bottom: 24px;
}

.modal form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 14px 16px;
  border: 1px solid rgba(26, 39, 68, 0.15);
  border-radius: 4px;
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  background: var(--white);
  color: var(--navy);
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--rose-gold);
}

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

/* ═══════════════════════════════════════
   TIMELINE
   ═══════════════════════════════════════ */

.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  padding-left: 40px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--rose-gold);
  opacity: 0.3;
}

.timeline-item {
  position: relative;
  margin-bottom: 48px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -46px;
  top: 6px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--rose-gold);
  border: 3px solid var(--cream);
}

.timeline-item h3 {
  font-size: 1.3rem;
  margin-bottom: 8px;
  color: var(--navy);
}

.timeline-item p {
  opacity: 0.75;
  line-height: 1.7;
}

/* ═══════════════════════════════════════
   QUOTE BLOCK
   ═══════════════════════════════════════ */

.quote-section {
  text-align: center;
  padding: 80px 24px;
}

.quote-section blockquote {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-style: italic;
  color: var(--cream);
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.5;
}

.quote-section cite {
  display: block;
  margin-top: 24px;
  font-family: 'Lato', sans-serif;
  font-style: normal;
  font-size: 0.9rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--rose-gold);
}

/* ═══════════════════════════════════════
   FEATURES LIST
   ═══════════════════════════════════════ */

.features-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 32px;
}

.feature-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  background: rgba(201, 149, 108, 0.15);
  color: var(--rose-gold);
}

.feature-item h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.feature-item p {
  font-size: 0.9rem;
  opacity: 0.7;
  line-height: 1.6;
}

/* ═══════════════════════════════════════
   BOOK / BIBLE CLUB
   ═══════════════════════════════════════ */

.club-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.book-list {
  list-style: none;
}

.book-list li {
  padding: 20px 0;
  border-bottom: 1px solid rgba(26, 39, 68, 0.08);
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.book-list li:last-child {
  border-bottom: none;
}

.book-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  font-weight: 300;
  color: var(--rose-gold);
  line-height: 1;
  min-width: 40px;
}

.book-list h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.book-list p {
  font-size: 0.9rem;
  opacity: 0.7;
}

/* ═══════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════ */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 24px;
}

.contact-info p {
  margin-bottom: 16px;
  opacity: 0.8;
  line-height: 1.8;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(26, 39, 68, 0.08);
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(201, 149, 108, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-form-wrapper {
  background: var(--white);
  border-radius: 8px;
  padding: 40px;
}

.contact-form-wrapper h3 {
  font-size: 1.5rem;
  margin-bottom: 24px;
}

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

.footer {
  background: var(--navy);
  color: var(--cream);
  padding: 80px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  margin-bottom: 16px;
  display: inline-block;
}

.footer-brand p {
  opacity: 0.6;
  font-size: 0.9rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-col h4 {
  font-family: 'Lato', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  color: var(--rose-gold);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 0.9rem;
  opacity: 0.6;
  transition: opacity 0.3s ease;
}

.footer-col a:hover {
  opacity: 1;
  color: var(--rose-gold);
}

.footer-bottom {
  border-top: 1px solid rgba(250, 247, 242, 0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.5;
}

.footer-bottom a {
  opacity: 0.7;
}

.footer-bottom a:hover {
  opacity: 1;
}

/* ═══════════════════════════════════════
   DECORATIVE
   ═══════════════════════════════════════ */

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 12px 0;
}

.divider span {
  width: 60px;
  height: 1px;
  background: var(--rose-gold);
  opacity: 0.4;
}

.divider-icon {
  color: var(--rose-gold);
  font-size: 0.9rem;
  opacity: 0.6;
}

.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  color: var(--rose-gold);
  margin-bottom: 4px;
}

.stat-item p {
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  opacity: 0.6;
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */

@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    padding: 32px 24px;
    gap: 20px;
    transform: translateY(-120%);
    transition: transform 0.3s ease;
    box-shadow: 0 4px 20px rgba(26, 39, 68, 0.3);
  }

  .nav-links.active {
    transform: translateY(0);
  }

  .hamburger {
    display: flex;
  }

  .about-grid,
  .club-layout,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2.4rem;
  }

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

  .section {
    padding: 64px 0;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .about-image::after {
    display: none;
  }

  .modal {
    padding: 32px 24px;
  }

  .contact-form-wrapper {
    padding: 24px;
  }
}
