/* RESET & VARIABLES */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --navy: #1a2a4a; --gold: #c9a84c; --light-gold: #e8c96a;
  --white: #e8e3d5; --off-white: #f8f6f2; --gray: #666;
  --light-gray: #e8e8e8; --dark: #111;
}

html { scroll-behavior: smooth; }
body { font-family: 'Lato', sans-serif; color: var(--dark); background: var(--white); }

/* TOPBAR */
.topbar { background: var(--navy); padding: 10px 40px; display: flex; justify-content: flex-end; align-items: center; gap: 14px; }
.topbar a { color: #aab8d0; font-size: 12px; text-decoration: none; transition: color .2s; }
.topbar a:hover { color: var(--gold); }
.topbar .social-icons { display: flex; gap: 10px; }
.topbar .social-icons a { width: 26px; height: 26px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 11px; color: #ccc; transition: background .2s, color .2s; }
.topbar .social-icons a:hover { background: var(--gold); color: var(--white); }

/* NAVIGATION */
nav { background: var(--white); box-shadow: 0 2px 12px rgba(0,0,0,0.08); position: sticky; top: 0; z-index: 1000; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 12px; text-decoration: none; padding: 14px 0; }
.nav-logo .logo-icon { width: 44px; height: 44px; background: var(--navy); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-weight: 700; color: var(--gold); font-size: 16px; }
.nav-logo .logo-text { display: flex; flex-direction: column; }
.nav-logo .logo-name { font-family: 'Playfair Display', serif; font-size: 15px; color: var(--navy); font-weight: 700; line-height: 1.2; }
.nav-logo .logo-sub { font-size: 10px; color: var(--gray); letter-spacing: 1.5px; text-transform: uppercase; }

.nav-links { display: flex; align-items: center; gap: 0; list-style: none; }
.nav-links > li { position: relative; }
.nav-links > li > a { 
  display: block; 
  padding: 22px 8px;    
  font-size: 12px;      
  font-weight: 700; 
  text-transform: uppercase; 
  letter-spacing: .5px; 
  color: var(--navy); 
  text-decoration: none; 
  transition: color .2s; 
  position: relative; 
}

.nav-links > li > a::after { 
  content: ''; 
  position: absolute; 
  bottom: 0; 
  left: 8px;           
  right: 8px;           
  height: 3px; 
  background: var(--gold); 
  transform: scaleX(0); 
  transition: transform .25s; 
}
.nav-links > li:hover > a { color: var(--gold); }
.nav-links > li:hover > a::after { transform: scaleX(1); }

/* DROPDOWN */
.dropdown { position: absolute; top: 100%; left: 0; background: var(--white); box-shadow: 0 8px 30px rgba(0,0,0,0.12); min-width: 200px; opacity: 0; pointer-events: none; transform: translateY(-8px); transition: all .25s; z-index: 999; border-top: 3px solid var(--gold); }
.nav-links > li:hover .dropdown { opacity: 1; pointer-events: all; transform: translateY(0); }
.dropdown a { display: block; padding: 10px 18px; font-size: 13px; color: #333; text-decoration: none; transition: background .2s, color .2s; }
.dropdown a:hover { background: var(--off-white); color: var(--gold); }

/* MOBILE MENU */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; }
.hamburger span { width: 24px; height: 2px; background: var(--navy); transition: .3s; }

/* HERO SECTION */
.hero { position: relative; height: 88vh; min-height: 540px; background: linear-gradient(135deg, #0d1f3c 0%, #1a3a6e 50%, #0d2a52 100%); display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg-pattern { position: absolute; inset: 0; background-image: radial-gradient(circle at 20% 30%, rgba(201,168,76,0.12) 0%, transparent 50%), radial-gradient(circle at 80% 70%, rgba(201,168,76,0.08) 0%, transparent 50%); }
.hero-cross { position: absolute; right: 8%; top: 50%; transform: translateY(-50%); opacity: .06; font-size: 420px; color: #fff; font-family: serif; line-height: 1; user-select: none; }
.hero-content { text-align: center; z-index: 2; padding: 0 20px; animation: fadeUp .8s ease; }
.hero-eyebrow { display: inline-block; font-size: 12px; letter-spacing: 4px; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 20px; padding: 6px 20px; border: 1px solid rgba(201,168,76,0.4); border-radius: 30px; }
.hero-title { font-family: 'Playfair Display', serif; font-size: clamp(2.8rem, 6vw, 5rem); color: var(--white); font-weight: 700; line-height: 1.15; margin-bottom: 16px; }
.hero-title span { color: var(--gold); }
.hero-sub { font-size: 1.1rem; color: #b0c4de; margin-bottom: 36px; font-weight: 300; letter-spacing: .3px; }

/* BUTTONS */
.btn-primary { padding: 14px 32px; background: var(--gold); color: var(--navy); font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; text-decoration: none; border-radius: 4px; transition: background .2s, transform .2s, box-shadow .2s; box-shadow: 0 4px 20px rgba(201,168,76,0.4); display: inline-block; }
.btn-primary:hover { background: var(--light-gold); transform: translateY(-2px); box-shadow: 0 8px 30px rgba(201,168,76,0.5); }
.btn-outline { padding: 14px 32px; border: 2px solid rgba(255,255,255,0.5); color: var(--white); font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; text-decoration: none; border-radius: 4px; transition: border-color .2s, background .2s; display: inline-block; }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.08); }

/* SERVICE BANNER */
.service-banner { background: var(--gold); padding: 16px 40px; display: flex; align-items: center; justify-content: center; gap: 40px; flex-wrap: wrap; }
.service-banner .item { display: flex; align-items: center; gap: 10px; }
.service-banner .icon { font-size: 20px; }
.service-banner .label { font-size: 13px; font-weight: 700; color: var(--navy); letter-spacing: .5px; }
.service-banner .value { font-size: 13px; color: var(--navy); }
.service-banner .divider { width: 1px; height: 30px; background: rgba(26,42,74,0.2); }

/* WELCOME SECTION */
.welcome { padding: 90px 40px; background: var(--off-white); display: flex; align-items: center; justify-content: center; gap: 70px; flex-wrap: wrap; }
.welcome-text { max-width: 540px; }
.section-label { font-size: 11px; letter-spacing: 3px; text-transform: uppercase; color: var(--gold); font-weight: 700; margin-bottom: 14px; }
.section-title { font-family: 'Playfair Display', serif; font-size: 2.4rem; color: var(--navy); margin-bottom: 20px; line-height: 1.3; }
.section-body { font-size: 1rem; color: #555; line-height: 1.8; margin-bottom: 28px; }
.welcome-image { width: 400px; max-width: 100%; height: 300px; background: linear-gradient(135deg, var(--navy) 0%, #2a5298 100%); border-radius: 8px; display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.15); }
.welcome-image .cross-big { font-size: 160px; color: rgba(255,255,255,0.07); font-family: serif; position: absolute; }
.welcome-image .watch-btn { position: relative; z-index: 1; background: rgba(255,255,255,0.1); border: 2px solid rgba(255,255,255,0.4); color: var(--white); padding: 16px 24px; border-radius: 50%; font-size: 28px; cursor: pointer; transition: .3s; text-decoration: none; display: flex; align-items: center; justify-content: center; }
.welcome-image .watch-label { position: absolute; bottom: 24px; color: rgba(255,255,255,0.8); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; }

/* ACTIVITIES */
.activities { padding: 90px 40px; background: var(--white); }
.section-header { text-align: center; margin-bottom: 56px; }
.activities-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; max-width: 1100px; margin: 0 auto; }
.activity-card { background: var(--off-white); border-radius: 10px; overflow: hidden; transition: transform .3s, box-shadow .3s; text-decoration: none; color: inherit; border: 1px solid var(--light-gray); }
.activity-card:hover { transform: translateY(-6px); box-shadow: 0 20px 50px rgba(0,0,0,0.1); }
.activity-card .card-img { height: 170px; display: flex; align-items: center; justify-content: center; font-size: 60px; position: relative; overflow: hidden; }
.activity-card .card-body { padding: 22px; }
.activity-card h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--navy); margin-bottom: 8px; }
.activity-card p { font-size: 13px; color: var(--gray); line-height: 1.6; margin-bottom: 16px; }
.card-link { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--gold); text-decoration: none; }

/* SERMONS */
.sermon-section { padding: 80px 40px; background: var(--navy); text-align: center; }
.sermon-section .section-label { color: var(--gold); }
.sermon-section .section-title { color: var(--white); }
.sermon-section p { color: #9ab; font-size: 0.95rem; margin-bottom: 36px; max-width: 500px; margin-left: auto; margin-right: auto; }
.sermon-thumbnail { max-width: 640px; margin: 0 auto 36px; background: rgba(255,255,255,0.05); border-radius: 10px; overflow: hidden; border: 1px solid rgba(255,255,255,0.1); position: relative; cursor: pointer; }
.sermon-thumbnail .thumb-inner { height: 280px; background: linear-gradient(135deg, #0d2a52, #1a3a6e); display: flex; align-items: center; justify-content: center; position: relative; }
.sermon-thumbnail .play-btn { width: 70px; height: 70px; background: var(--gold); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 22px; color: var(--navy); z-index: 1; transition: .3s; }

/* INVOLVED SECTION */
.get-involved { padding: 90px 40px; background: var(--off-white); }
.involved-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; max-width: 1100px; margin: 0 auto; }
.involved-card { background: var(--white); border-radius: 10px; padding: 32px 28px; display: flex; flex-direction: column; border-left: 4px solid var(--gold); transition: transform .3s, box-shadow .3s; text-decoration: none; color: inherit; }
.involved-card h3 { font-family: 'Playfair Display', serif; font-size: 1.15rem; color: var(--navy); margin-bottom: 8px; }
.involved-card p { font-size: 13px; color: var(--gray); line-height: 1.6; flex: 1; margin-bottom: 18px; }

/* CONNECT SECTION */
.connect { padding: 90px 40px; background: var(--navy); display: flex; align-items: flex-start; justify-content: center; gap: 80px; flex-wrap: wrap; }
.connect-info { color: #ccc; max-width: 340px; }
.connect-detail { margin: 10px 0; color: #fff; font-size: 14px; }
.connect-form { width: 380px; max-width: 100%; }
.connect-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.connect-form input, .connect-form textarea { width: 100%; padding: 13px 16px; background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.15); border-radius: 6px; color: var(--white); font-size: 14px; font-family: 'Lato', sans-serif; outline: none; margin-bottom: 10px; }
.connect-form button { width: 100%; padding: 14px; background: var(--gold); color: var(--navy); font-size: 13px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; border: none; border-radius: 6px; cursor: pointer; transition: background .2s; }
.success-msg { display: none; color: var(--gold); margin-top: 15px; font-weight: bold; }

/* FOOTER */
footer { background: #0d1525; padding: 40px 40px 24px; color: #fff; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 36px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,0.07); margin-bottom: 24px; }
.footer-brand { max-width: 300px; }
.footer-brand p { font-size: 13px; color: #6a7f99; margin-top: 10px; }
.footer-nav ul { list-style: none; }
.footer-nav a { color: #6a7f99; font-size: 13px; text-decoration: none; display: block; margin-bottom: 8px; }
.footer-nav h4 { margin-bottom: 15px; font-size: 16px; color: var(--gold); }
.footer-bottom { text-align: center; color: #444; font-size: 12px; }

/* MAP */
.map-container { margin: 20px 0; width: 100%; border-radius: 8px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.2); }
.map-container iframe { display: block; }
.connect-info .section-title { margin-bottom: 10px; }

/* TEAM */
.team-section { padding: 90px 40px; background: var(--white); }
.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 30px; max-width: 1100px; margin: 0 auto; }
.team-card { background: var(--off-white); border-radius: 12px; overflow: hidden; transition: transform 0.3s ease, box-shadow 0.3s ease; border: 1px solid var(--light-gray); text-align: center; }
.team-card:hover { transform: translateY(-10px); box-shadow: 0 15px 40px rgba(0,0,0,0.1); }
.team-image { height: 300px; background: #e0e0e0; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.team-image img { width: 100%; height: 100%; object-fit: cover; }
.image-placeholder { font-size: 80px; color: #bbb; }
.team-info { padding: 24px; }
.team-info h3 { font-family: 'Playfair Display', serif; color: var(--navy); font-size: 1.4rem; margin-bottom: 6px; }
.team-role { font-size: 12px; color: var(--gold); font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; }
.team-divider { width: 40px; height: 2px; background: var(--gold); margin: 15px auto; }
.team-contact { display: inline-block; font-size: 12px; text-decoration: none; color: var(--navy); font-weight: 700; text-transform: uppercase; transition: color 0.2s; }
.team-contact:hover { color: var(--gold); }

/* ANIMATIONS */
@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { padding: 0 20px; position: relative; }
  .topbar { padding: 8px 20px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 0;
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
    z-index: 999;
    max-height: 80vh;
    overflow-y: auto;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
  }

  .nav-links > li { width: 100%; border-bottom: 1px solid var(--light-gray); }

  .nav-links > li > a {
    padding: 14px 20px;
    font-size: 13px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .nav-links > li > a::after { display: none; }

  .dropdown {
    position: static !important;
    opacity: 1 !important;
    pointer-events: all !important;
    transform: none !important;
    box-shadow: none !important;
    border-top: none !important;
    border-left: 3px solid var(--gold);
    background: var(--off-white);
    display: none;
    min-width: unset;
  }

  .nav-links > li.open-dropdown .dropdown { display: block; }

  .dropdown a {
    padding: 12px 30px;
    font-size: 13px;
    border-bottom: 1px solid var(--light-gray);
  }

  .hamburger { display: flex; }

  .service-banner { gap: 16px; padding: 16px 20px; }
  .welcome, .activities, .get-involved { padding: 60px 20px; }
  .connect { padding: 60px 20px; gap: 40px; }
  footer { padding: 40px 20px 24px; }
  .team-section { padding: 60px 20px; }
}

@media (max-width: 600px) {
  .team-section { padding: 60px 20px; }
}