/* ============================================
   Blahaj Church - Custom Styles
   ============================================ */

/* --- Fonts --- */
@font-face {
  font-family: 'Copperplate Gothic';
  src: url('../fonts/COPRGTL.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Copperplate Gothic';
  src: url('../fonts/COPRGTB.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* --- CSS Variables --- */
:root {
  --pink: #f6a8b6;
  --pink-dark: #e8899a;
  --pink-light: #fce4ec;
  --blue: #8acbef;
  --blue-light: #b3e0f7;
  --blue-dark: #5bcefa;
  --trans-pink: #f5a9b8;
  --trans-blue: #5bcefa;
  --trans-white: #ffffff;
  --text-dark: #333333;
  --text-medium: #555555;
  --text-light: #666666;
  --bg-light: #f9f9f9;
  --font-heading: 'Copperplate Gothic', 'Copperplate', 'Georgia', serif;
  --font-body: 'Montserrat', 'Helvetica Neue', Arial, sans-serif;
}

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-dark);
  background: #fff;
}

a {
  color: var(--pink-dark);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--blue-dark);
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 300;
  color: var(--text-dark);
  line-height: 1.3;
}

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

/* --- Header --- */
.site-header {
  text-align: center;
  padding: 20px 0 0;
  background: #fff;
}

.header-logo {
  padding: 15px 0;
}

.header-logo img {
  max-height: 120px;
  width: auto;
}

.header-nav {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 0;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--text-dark);
  padding: 12px 20px;
  cursor: pointer;
}

.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 0;
  margin: 0;
  padding: 0;
}

.nav-menu li a {
  display: block;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-medium);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: color 0.2s, background 0.2s;
}

.nav-menu li a:hover {
  color: var(--pink-dark);
  background: var(--pink-light);
}

/* --- Page Hero --- */
.page-hero {
  padding: 50px 0 40px;
  text-align: center;
  background: #fff;
}

.page-title {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 300;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* --- Section Padding --- */
.section-padding {
  padding: 40px 0 60px;
}

/* --- Page Content --- */
.page-content {
  background: #fff;
}

.page-content h2 {
  font-size: 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 50px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--pink);
}

.page-content h2:first-child {
  margin-top: 0;
}

.page-content h3 {
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 30px;
  margin-bottom: 12px;
  color: var(--pink-dark);
}

.page-content p {
  margin-bottom: 16px;
  color: var(--text-medium);
  font-weight: 400;
}

.page-content ul, .page-content ol {
  margin-bottom: 16px;
  padding-left: 24px;
  color: var(--text-medium);
}

.page-content li {
  margin-bottom: 8px;
}

/* --- Two-Column Definition Layout --- */
.def-grid {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 20px 40px;
  margin: 20px 0;
}

.def-grid dt {
  font-family: var(--font-heading);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--pink-dark);
  padding-top: 4px;
}

.def-grid dd {
  color: var(--text-medium);
  margin: 0;
  padding-bottom: 16px;
  border-bottom: 1px solid #eee;
}

.def-grid dd:last-child {
  border-bottom: none;
}

/* --- Doctrine/Discipline two-column --- */
.two-col-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin: 30px 0;
}

.two-col-section h3 {
  text-transform: uppercase;
  font-size: 20px;
  letter-spacing: 1px;
}

/* --- Checklist --- */
.checklist {
  list-style: none;
  padding-left: 0;
}

.checklist li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
}

.checklist li::before {
  content: '\f00c';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  left: 0;
  color: var(--pink);
  font-size: 14px;
}

/* --- CTA Bar --- */
.cta-bar {
  background: var(--blue);
  padding: 50px 0;
}

.cta-bar h2 {
  font-family: var(--font-body);
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  margin-bottom: 25px;
  border: none;
}

.cta-bar .brand-name {
  font-family: var(--font-heading);
  font-weight: 300;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
}

.btn-pill {
  display: inline-block;
  padding: 12px 30px;
  background: var(--pink);
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  border-radius: 50px;
  text-transform: none;
  transition: background 0.2s, transform 0.2s;
  border: none;
  cursor: pointer;
}

.btn-pill:hover {
  background: var(--pink-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* --- Footer --- */
.site-footer {
  background: var(--pink);
}

.footer-main {
  padding: 60px 0 40px;
}

.footer-logo-area {
  margin-bottom: 20px;
}

.footer-logo {
  max-height: 80px;
  width: auto;
}

.footer-col h4 {
  font-family: var(--font-heading);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #fff;
  margin-bottom: 16px;
}

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

.footer-links li {
  margin-bottom: 8px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  transition: color 0.2s;
}

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

.footer-contact a {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-social {
  margin-top: 16px;
  display: flex;
  gap: 12px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  font-size: 16px;
  transition: background 0.2s;
}

.footer-social a:hover {
  background: rgba(255, 255, 255, 0.4);
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding: 15px 0;
}

.footer-bottom p,
.footer-bottom a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  margin: 0;
}

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

/* --- Home Hero --- */
.home-hero {
  background: linear-gradient(135deg, var(--pink-light) 0%, var(--blue-light) 100%);
  padding: 80px 0;
  text-align: center;
}

.home-hero img {
  max-height: 160px;
  margin-bottom: 24px;
}

.home-hero h1 {
  font-family: var(--font-heading);
  font-size: 42px;
  text-transform: uppercase;
  letter-spacing: 3px;
  margin-bottom: 16px;
}

.home-hero .subtitle {
  font-size: 18px;
  color: var(--text-medium);
  max-width: 600px;
  margin: 0 auto 30px;
  font-weight: 400;
}

.home-hero .btn-pill {
  font-size: 16px;
  padding: 14px 40px;
}

/* --- Home Sections --- */
.home-section {
  padding: 60px 0;
}

.home-section.alt-bg {
  background: var(--bg-light);
}

.home-section h2 {
  font-size: 28px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
  padding-bottom: 12px;
  border-bottom: none;
}

.home-section h2::after {
  content: '';
  display: block;
  width: 60px;
  height: 2px;
  background: var(--pink);
  margin: 12px auto 0;
}

/* --- Goals Grid --- */
.goals-list .goal-item {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 20px 40px;
  padding: 24px 0;
  border-bottom: 1px solid #eee;
}

.goals-list .goal-item:last-child {
  border-bottom: none;
}

.goal-item h3 {
  font-family: var(--font-heading);
  font-size: 14px;
  color: var(--pink-dark);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.5;
}

.goal-item p {
  margin: 0;
}

/* --- Acts of Worship --- */
.worship-section {
  margin-bottom: 40px;
}

.worship-section h3 {
  font-size: 20px;
  color: var(--pink-dark);
  margin-bottom: 12px;
  text-transform: uppercase;
}

/* --- Events placeholder --- */
.events-placeholder {
  text-align: center;
  padding: 60px 20px;
  color: var(--text-light);
}

.events-placeholder i {
  font-size: 48px;
  color: var(--pink);
  margin-bottom: 20px;
  display: block;
}

/* --- Contact --- */
.contact-info {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 40px;
  margin: 20px 0;
}

.contact-info h3 {
  margin-top: 0;
}

.contact-info a {
  color: var(--pink-dark);
  font-weight: 500;
}

/* --- Become a minister box --- */
.become-minister {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 40px;
  margin: 40px 0;
}

.become-minister h3 {
  margin-top: 0;
  font-size: 22px;
  color: var(--text-dark);
}

/* --- Responsive --- */
@media (max-width: 991px) {
  .two-col-section {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .goals-list .goal-item {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .def-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .def-grid dt {
    padding-top: 12px;
  }
}

@media (max-width: 767px) {
  .nav-toggle {
    display: block;
    width: 100%;
    text-align: center;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu li a {
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
  }

  .page-title {
    font-size: 26px;
  }

  .home-hero h1 {
    font-size: 28px;
  }

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

  .btn-pill {
    width: 200px;
    text-align: center;
  }

  .footer-col {
    margin-bottom: 30px;
  }
}

/* --- Skip Link --- */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--pink-dark);
  color: #fff;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 500;
  z-index: 9999;
  transition: top 0.2s;
}

.skip-link:focus {
  top: 8px;
  color: #fff;
  outline: 3px solid var(--blue-dark);
  outline-offset: 2px;
}

/* --- Focus Visible --- */
:focus-visible {
  outline: 3px solid var(--blue-dark);
  outline-offset: 2px;
}

button:focus-visible,
a:focus-visible {
  outline: 3px solid var(--blue-dark);
  outline-offset: 2px;
}

/* --- Disclaimer Banner --- */
.disclaimer-banner {
  background: #fffbeb;
  border: 1px solid #fcd34d;
  border-radius: 10px;
  padding: 16px 20px;
  margin: 24px 0;
  font-size: 14px;
  line-height: 1.6;
}

.disclaimer-banner p {
  margin: 0;
  color: #92400e;
}

.disclaimer-banner i {
  color: #d97706;
  margin-right: 6px;
}

/* --- Safety Notice --- */
.safety-notice {
  background: rgba(138, 203, 239, 0.1);
  border: 1px solid rgba(138, 203, 239, 0.3);
  border-radius: 10px;
  padding: 14px 20px;
  margin: 16px 0;
  font-size: 14px;
  color: var(--text-medium);
}

.safety-notice i {
  color: var(--blue-dark);
  margin-right: 6px;
}

.safety-notice a {
  font-weight: 500;
}

/* --- Blahaj Explainer (default/page context) --- */
.page-content .blahaj-explainer {
  background: var(--bg-light);
  border: 1px solid rgba(138, 203, 239, 0.25);
  border-radius: 16px;
  padding: 24px 28px;
  margin: 24px 0;
}

.page-content .blahaj-explainer h3 {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--blue-dark);
  margin-bottom: 8px;
  margin-top: 0;
}

.page-content .blahaj-explainer p {
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
}

/* --- Footer Disclaimer --- */
.footer-disclaimer {
  padding: 12px 0;
  background: rgba(0, 0, 0, 0.05);
}

.footer-disclaimer-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
  margin: 0;
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Utility --- */
.text-center { text-align: center; }
.mt-content { margin-top: 30px; }
.mb-content { margin-bottom: 30px; }
.text-md-right { text-align: right; }

@media (max-width: 767px) {
  .text-md-right { text-align: left; }
}
