/* ============================================================
   RELEVANT BIBLE STUDY v2 — Light & Airy Redesign
   Palette: White/Cream dominant · Navy/Gold/Teal as accents
   Fonts: Cormorant Garamond (display) + Lato (body)
   ============================================================ */
:root {
  --navy:        #1B3A6B;
  --navy-deep:   #0D1F3C;
  --navy-soft:   #2A4E8C;
  --gold:        #C9A84C;
  --gold-light:  #E8C96B;
  --gold-pale:   #FBF3DC;
  --teal:        #2A7B7B;
  --teal-light:  #3aabab;
  --teal-pale:   #EAF5F5;
  --white:       #FFFFFF;
  --off-white:   #FDFAF5;
  --cream:       #FAF6EF;
  --cream-warm:  #F4ECD8;
  --text:        #1C1C1C;
  --text-mid:    #4D4D4D;
  --text-muted:  #909090;
  --border:      rgba(27,58,107,0.09);
  --shadow-xs:   0 2px 8px rgba(27,58,107,0.06);
  --shadow-sm:   0 4px 20px rgba(27,58,107,0.08);
  --shadow-md:   0 12px 40px rgba(27,58,107,0.11);
  --shadow-lg:   0 24px 60px rgba(27,58,107,0.14);
}

*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{font-family:'Lato',sans-serif;background:var(--off-white);color:var(--text);overflow-x:hidden;line-height:1.65;}
img{max-width:100%;display:block;}
a{text-decoration:none;color:inherit;}

/* ── NAV ── */
.rbs-nav{
  position:fixed;top:0;left:0;right:0;z-index:200;
  height:68px;padding:0 5%;
  display:flex;align-items:center;justify-content:space-between;
  background:rgba(253,250,245,0.94);
  backdrop-filter:blur(20px);-webkit-backdrop-filter:blur(20px);
  border-bottom:1px solid rgba(201,168,76,0.15);
  transition:box-shadow 0.3s;
}
.rbs-nav.scrolled{box-shadow:0 2px 24px rgba(27,58,107,0.08);}

.nav-logo{
  font-family:'Cormorant Garamond',serif;
  font-size:1.4rem;font-weight:700;
  color:var(--navy-deep);letter-spacing:0.01em;
  display:flex;align-items:center;gap:0.3rem;
}
.logo-cross{
  width:18px;height:18px;position:relative;flex-shrink:0;
  display:flex;align-items:center;justify-content:center;
}
.logo-cross::before,.logo-cross::after{
  content:'';position:absolute;background:var(--gold);border-radius:2px;
}
.logo-cross::before{width:2px;height:14px;}
.logo-cross::after{width:10px;height:2px;}
.logo-accent{color:var(--gold);}

.nav-links{display:flex;align-items:center;gap:0.1rem;}
.nav-links a{
  font-size:0.82rem;font-weight:600;color:var(--text-mid);
  padding:0.45rem 0.75rem;border-radius:8px;
  transition:color 0.2s,background 0.2s;letter-spacing:0.01em;
}
.nav-links a:hover{color:var(--navy);background:rgba(27,58,107,0.05);}
.nav-links a.active{color:var(--navy);font-weight:700;}
.nav-cta{
  background:var(--navy)!important;color:white!important;
  padding:0.5rem 1.1rem!important;border-radius:8px!important;
  font-weight:700!important;transition:background 0.2s!important;
  margin-left:0.3rem;
}
.nav-cta:hover{background:var(--teal)!important;}

.nav-hamburger{
  display:none;flex-direction:column;gap:5px;
  cursor:pointer;padding:4px;background:none;border:none;
}
.nav-hamburger span{display:block;width:22px;height:2px;background:var(--navy);border-radius:99px;}
.nav-mobile{
  display:none;position:fixed;
  top:68px;left:0;right:0;
  background:var(--white);
  border-bottom:1px solid var(--border);
  padding:1.5rem 5%;z-index:199;
  flex-direction:column;gap:0.3rem;
  box-shadow:0 8px 30px rgba(27,58,107,0.1);
}
.nav-mobile.open{display:flex;}
.nav-mobile a{
  font-size:0.92rem;font-weight:500;color:var(--text-mid);
  padding:0.7rem 0;border-bottom:1px solid var(--border);
}
.nav-mobile a:last-child{border:none;color:var(--navy);font-weight:700;}

/* ── BUTTONS ── */
.btn{
  display:inline-flex;align-items:center;gap:0.5rem;
  font-family:'Lato',sans-serif;font-size:0.9rem;font-weight:700;
  padding:0.85rem 1.8rem;border-radius:10px;border:none;
  cursor:pointer;transition:all 0.25s;letter-spacing:0.01em;
  white-space:nowrap;text-decoration:none;
}
.btn .arr{transition:transform 0.2s;}
.btn:hover .arr{transform:translateX(4px);}

.btn-navy{
  background:var(--navy);color:white;
  box-shadow:0 4px 16px rgba(27,58,107,0.22);
}
.btn-navy:hover{background:var(--navy-soft);transform:translateY(-2px);box-shadow:0 8px 24px rgba(27,58,107,0.3);}

.btn-gold{
  background:linear-gradient(135deg,var(--gold),var(--gold-light));
  color:var(--navy-deep);
  box-shadow:0 4px 16px rgba(201,168,76,0.28);
}
.btn-gold:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(201,168,76,0.4);}

.btn-outline{
  background:transparent;color:var(--navy);
  border:2px solid rgba(27,58,107,0.2);
}
.btn-outline:hover{border-color:var(--navy);background:rgba(27,58,107,0.04);}

.btn-outline-white{
  background:transparent;color:white;
  border:2px solid rgba(255,255,255,0.35);
}
.btn-outline-white:hover{background:rgba(255,255,255,0.1);border-color:rgba(255,255,255,0.6);}

.btn-teal{background:var(--teal);color:white;box-shadow:0 4px 16px rgba(42,123,123,0.22);}
.btn-teal:hover{background:var(--teal-light);transform:translateY(-2px);}

/* ── LAYOUT ── */
.section{padding:6rem 5%;}
.section-inner{max-width:1160px;margin:0 auto;}
.section-sm{padding:4rem 5%;}
.section-white{background:var(--white);}
.section-cream{background:var(--cream);}
.section-navy{background:var(--navy-deep);}
.section-gold-pale{background:var(--gold-pale);}

/* ── TYPOGRAPHY COMPONENTS ── */
.eyebrow{
  display:inline-flex;align-items:center;gap:0.5rem;
  font-size:0.68rem;font-weight:700;letter-spacing:0.2em;
  text-transform:uppercase;color:var(--gold);margin-bottom:0.8rem;
}
.eyebrow::before{content:'';width:18px;height:2px;background:var(--gold);border-radius:99px;flex-shrink:0;}
.eyebrow-teal{color:var(--teal);}
.eyebrow-teal::before{background:var(--teal);}
.eyebrow-navy{color:var(--navy);}
.eyebrow-navy::before{background:var(--navy);}
.eyebrow-white{color:rgba(255,255,255,0.65);}
.eyebrow-white::before{background:rgba(255,255,255,0.4);}

.h1{font-family:'Cormorant Garamond',serif;font-size:clamp(2.6rem,5vw,4rem);font-weight:700;line-height:1.1;color:var(--navy-deep);}
.h2{font-family:'Cormorant Garamond',serif;font-size:clamp(1.8rem,3.5vw,2.8rem);font-weight:700;line-height:1.15;color:var(--navy-deep);}
.h3{font-family:'Cormorant Garamond',serif;font-size:1.35rem;font-weight:700;line-height:1.2;color:var(--navy-deep);}
.h1 em,.h2 em,.h3 em{font-style:italic;color:var(--teal);}
.h1 .g,.h2 .g{color:var(--gold);}
.white-text{color:white!important;}
.white-text em{color:var(--gold-light)!important;}

.body-lg{font-size:1.05rem;line-height:1.78;color:var(--text-mid);}
.body-md{font-size:0.92rem;line-height:1.75;color:var(--text-mid);}
.body-sm{font-size:0.82rem;line-height:1.7;color:var(--text-muted);}

/* ── GOLD SHIMMER BAR ── */
.shimmer-bar{
  height:3px;
  background:linear-gradient(90deg,var(--teal),var(--gold),var(--gold-light),var(--gold),var(--teal));
  background-size:200% 100%;
  animation:shimmer 3s linear infinite;
}
@keyframes shimmer{0%{background-position:200% 0}100%{background-position:-200% 0}}

/* ── CARDS ── */
.card{
  background:var(--white);border-radius:18px;
  border:1px solid var(--border);
  box-shadow:var(--shadow-sm);
  overflow:hidden;transition:transform 0.3s,box-shadow 0.3s;
}
.card:hover{transform:translateY(-5px);box-shadow:var(--shadow-md);}

/* ── FORM ELEMENTS ── */
.form-group{margin-bottom:1.1rem;}
.form-label{display:block;font-size:0.76rem;font-weight:700;color:var(--navy);margin-bottom:0.4rem;letter-spacing:0.02em;}
.form-input{
  width:100%;padding:0.78rem 1rem;
  border:1.5px solid rgba(27,58,107,0.14);border-radius:9px;
  font-family:'Lato',sans-serif;font-size:0.88rem;color:var(--text);
  background:var(--off-white);outline:none;
  transition:border-color 0.2s,background 0.2s;
}
.form-input:focus{border-color:var(--navy);background:var(--white);}
.form-input::placeholder{color:var(--text-muted);}
textarea.form-input{resize:vertical;min-height:120px;}
select.form-input{appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%231B3A6B' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 1rem center;padding-right:2.5rem;}
.form-fine{font-size:0.7rem;color:var(--text-muted);margin-top:0.7rem;line-height:1.5;}

/* ── SCROLL REVEAL ── */
[data-reveal]{opacity:0;transform:translateY(24px);transition:opacity 0.65s ease,transform 0.65s cubic-bezier(0.22,1,0.36,1);}
[data-reveal].revealed{opacity:1;transform:translateY(0);}
[data-reveal-delay="1"]{transition-delay:0.1s;}
[data-reveal-delay="2"]{transition-delay:0.2s;}
[data-reveal-delay="3"]{transition-delay:0.3s;}
[data-reveal-delay="4"]{transition-delay:0.4s;}

/* ── PAGE HERO (light version) ── */
.page-hero{
  padding:9rem 5% 5rem;
  background:linear-gradient(150deg,var(--cream) 0%,var(--gold-pale) 50%,var(--teal-pale) 100%);
  position:relative;overflow:hidden;border-bottom:1px solid var(--border);
}
.page-hero::before{
  content:'';position:absolute;
  width:500px;height:500px;border-radius:50%;
  background:radial-gradient(circle,rgba(201,168,76,0.1) 0%,transparent 70%);
  top:-150px;right:-100px;pointer-events:none;
}
.page-hero .inner{position:relative;z-index:1;max-width:1160px;margin:0 auto;}
.page-hero h1{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(2.2rem,4.5vw,3.4rem);
  font-weight:700;line-height:1.12;color:var(--navy-deep);margin-bottom:1rem;
}
.page-hero h1 em{font-style:italic;color:var(--teal);}
.page-hero p{font-size:1rem;color:var(--text-mid);line-height:1.75;max-width:540px;margin-bottom:2rem;}

/* ── FOOTER ── */
.rbs-footer{background:var(--navy-deep);color:rgba(255,255,255,0.6);padding:4rem 5% 2rem;}
.footer-grid{
  max-width:1160px;margin:0 auto;
  display:grid;grid-template-columns:2fr 1fr 1fr 1fr;
  gap:3rem;padding-bottom:3rem;
  border-bottom:1px solid rgba(255,255,255,0.08);
}
.footer-brand .nav-logo{font-size:1.4rem;margin-bottom:1rem;color:white;}
.footer-brand p{font-size:0.82rem;line-height:1.7;max-width:240px;}
.footer-col h4{font-size:0.68rem;font-weight:700;letter-spacing:0.15em;text-transform:uppercase;color:var(--gold-light);margin-bottom:1rem;}
.footer-col a{display:block;font-size:0.82rem;color:rgba(255,255,255,0.5);margin-bottom:0.5rem;transition:color 0.2s;}
.footer-col a:hover{color:white;}
.footer-bottom{
  max-width:1160px;margin:2rem auto 0;
  display:flex;justify-content:space-between;align-items:center;
  flex-wrap:wrap;gap:0.5rem;
  font-size:0.7rem;color:rgba(255,255,255,0.25);
}
.footer-verse{font-family:'Cormorant Garamond',serif;font-style:italic;font-size:0.8rem;color:rgba(255,255,255,0.3);}

/* ── RESPONSIVE ── */
@media(max-width:960px){
  .nav-links{display:none;} .nav-hamburger{display:flex;}
  .footer-grid{grid-template-columns:1fr 1fr;}
}
@media(max-width:600px){
  .section{padding:4rem 5%;}
  .footer-grid{grid-template-columns:1fr;gap:2rem;}
  .footer-bottom{flex-direction:column;text-align:center;}
}
