/* ── RESET & BASE ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: #111111;
  background: #fff;
  overflow-x: hidden;
}

/* ── COLORS ───────────────────────────────────────────────────── */
:root {
  --accent:      #C9922A;
  --accent-dark: #A67820;
  --accent-light:#E8B84B;
  --dark:        #111111;
  --dark2:       #1e1e1e;
  --gray:        #6b7280;
  --light-gray:  #e5e7eb;
  --off-white:   #f7f7f7;
}

/* ── LANGUAGE SWITCHER ────────────────────────────────────────── */
.lang-bar {
  background: var(--dark);
  padding: 6px 0;
}
.lang-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  align-items: center;
}
.lang-btn {
  background: none;
  border: 2px solid transparent;
  cursor: pointer;
  padding: 3px 10px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 13px;
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  color: rgba(255,255,255,0.55);
  transition: all 0.2s;
}
.lang-btn:hover { color: #fff; background: rgba(255,255,255,0.08); }
.lang-btn.active {
  color: var(--accent-light);
  border-color: var(--accent-light);
  background: rgba(232,184,75,0.08);
}
.lang-flag { font-size: 16px; line-height: 1; }
.lang-divider { color: rgba(255,255,255,0.15); font-size: 12px; margin: 0 2px; }

/* ── NAVBAR ───────────────────────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 1px 0 var(--light-gray);
  transition: all 0.3s;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 40px;
  height: 40px;
  background: var(--dark);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav-logo-icon svg { fill: #fff; width: 22px; height: 22px; }
.nav-logo-text {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.3px;
}
.nav-logo-text span { color: var(--accent); }
.nav-links {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 4px;
}
.nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-size: 15px;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 6px;
  transition: all 0.2s;
}
.nav-links a:hover { background: var(--off-white); color: var(--accent); }
.nav-links a.active { color: var(--accent); }
.nav-cta {
  background: var(--dark) !important;
  color: #fff !important;
  padding: 9px 20px !important;
  border-radius: 6px !important;
}
.nav-cta:hover { background: var(--dark2) !important; color: #fff !important; }

/* ── NAV DROPDOWN ─────────────────────────────────────────────── */
.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--dark);
  color: #fff;
  padding: 9px 20px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.nav-dropdown-btn:hover { background: var(--dark2); }
.nav-dropdown-btn svg {
  width: 16px; height: 16px; fill: #fff;
  transition: transform 0.25s;
  flex-shrink: 0;
}
.nav-dropdown:hover .nav-dropdown-btn svg,
.nav-dropdown.open .nav-dropdown-btn svg { transform: rotate(180deg); }
.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.13);
  padding: 6px;
  min-width: 210px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s, transform 0.2s, visibility 0.2s;
  z-index: 1001;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 14px;
  color: var(--dark);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  border-radius: 6px;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a:hover { background: var(--off-white); color: var(--accent); }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  margin: 5px 0;
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── HERO ─────────────────────────────────────────────────────── */
.hero { position: relative; height: 88vh; min-height: 500px; overflow: hidden; }
.hero-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.32) 55%, rgba(0,0,0,0.06) 100%);
}
.hero-content { position: absolute; inset: 0; display: flex; align-items: center; padding: 0 10%; }
.hero-text { max-width: 560px; }
.hero-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent-light); margin-bottom: 16px; display: block;
}
.hero-title {
  font-family: 'Playfair Display', serif; font-size: clamp(36px, 5vw, 62px);
  font-weight: 900; color: #fff; line-height: 1.1; margin-bottom: 20px;
}
.hero-subtitle {
  font-size: 17px; font-weight: 300; color: rgba(255,255,255,0.82);
  line-height: 1.7; margin-bottom: 36px; max-width: 440px;
}
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── SECTIONS ─────────────────────────────────────────────────── */
section { padding: 80px 24px; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 20px;
}
.section-sub {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.7;
  max-width: 600px;
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); }
.btn-dark { background: var(--dark); color: #fff; }
.btn-dark:hover { background: var(--dark2); }
.btn-outline-white { border-color: rgba(255,255,255,0.6); color: #fff; background: transparent; }
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: #fff; }
.btn-outline-dark { border-color: var(--dark); color: var(--dark); background: transparent; }
.btn-outline-dark:hover { background: var(--dark); color: #fff; }

/* ── FOOTER ───────────────────────────────────────────────────── */
footer { background: var(--dark); color: rgba(255,255,255,0.6); padding: 64px 24px 32px; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-brand .nav-logo { margin-bottom: 16px; display: inline-flex; }
.footer-brand .nav-logo-text { color: #fff; }
.footer-brand p { font-size: 14px; line-height: 1.7; margin-bottom: 24px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social-btn {
  width: 36px; height: 36px;
  border-radius: 4px;
  background: rgba(255,255,255,0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: background 0.2s;
}
.footer-social-btn:hover { background: var(--accent); }
.footer-social-btn svg { fill: rgba(255,255,255,0.7); width: 16px; height: 16px; }
.footer-brand-contact {
  margin-top: 16px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.footer-brand-contact a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  font-size: 13px;
  line-height: 1.5;
  transition: color 0.2s;
}
.footer-brand-contact a:hover { color: #fff; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--accent-light);
  margin-bottom: 18px;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a { color: rgba(255,255,255,0.55); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  gap: 16px;
  flex-wrap: wrap;
}
.footer-bottom a { color: rgba(255,255,255,0.35); text-decoration: none; }
.footer-bottom a:hover { color: rgba(255,255,255,0.7); }

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .welcome-grid, .visit-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-cards { grid-template-columns: 1fr 1fr; }
  .sermons-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .visit-img-grid { display: none; }
}
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-hamburger { display: block; }
  .services-cards { grid-template-columns: 1fr; }
  .visit-img-grid { display: none; }
  .community-cards-grid { grid-template-columns: 1fr !important; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .newsletter-inner { flex-direction: column; align-items: flex-start; }
  .newsletter-form { width: 100%; }
  .newsletter-form input { flex: 1; width: auto; min-width: 0; }
  .hero { height: 75vh; min-height: 480px; }
  .hero-overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.80) 0%, rgba(0,0,0,0.35) 50%, rgba(0,0,0,0.05) 100%) !important;
  }
  .hero-content { padding: 0 6%; align-items: flex-end; padding-bottom: 40px; }
  .hero-subtitle { display: none; }
  .hero-title { font-size: clamp(32px, 8vw, 48px); margin-bottom: 16px; }
  .hero-buttons .btn-accent { display: none; }
  .welcome-img-badge { display: none; }
}
.nav-mobile-open .nav-links {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 70px; left: 0; right: 0;
  background: #fff;
  padding: 4px 16px 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  z-index: 999;
}
.nav-mobile-open .nav-links li { border-bottom: 1px solid var(--light-gray); }
.nav-mobile-open .nav-links li:last-child { border-bottom: none; }
.nav-mobile-open .nav-links a { padding: 12px 8px; font-size: 16px; display: block; }
.nav-mobile-open .nav-links .nav-cta {
  background: var(--dark) !important; color: #fff !important;
  padding: 11px 20px !important; border-radius: 6px !important;
  text-align: center; margin-top: 12px;
}
.nav-mobile-open .nav-dropdown { border-bottom: 1px solid var(--light-gray); }
.nav-mobile-open .nav-dropdown-btn {
  background: none !important;
  color: var(--dark) !important;
  padding: 12px 8px !important;
  border-radius: 0 !important;
  font-size: 16px !important;
  width: 100%;
  justify-content: space-between;
}
.nav-mobile-open .nav-dropdown-menu {
  position: static;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  box-shadow: none;
  border-radius: 0;
  padding: 0 0 12px 16px;
  border-left: 3px solid var(--accent);
  margin-left: 8px;
  display: none;
  transition: none;
}
.nav-mobile-open .nav-dropdown.open .nav-dropdown-menu { display: block; }
.nav-mobile-open .nav-dropdown-menu a {
  padding: 10px 8px;
  font-size: 15px;
  border-radius: 0;
  border-bottom: 1px solid var(--light-gray);
}
.nav-mobile-open .nav-dropdown-menu a:last-child { border-bottom: none; }
