@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

h1, h2, h3, p, span {
  font-family: 'DM Sans', sans-serif;
}


html {
  scroll-behavior: smooth;
}

html, body {
  cursor: none;  /* Hide default cursor */
}

a {
  text-decoration: none; /* Remove underline */
  color: inherit;        /* Keep icon color unchanged */
}

/* Basic cursor style */
.custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate3d(-50%, -50%, 0);
  transition: transform 0.15s cubic-bezier(0.25, 0.8, 0.25, 1),
              width 0.15s ease, height 0.15s ease;
  z-index: 9999;
  border: 2px solid rgba(255, 255, 255, 0.7);
}

/* Hover effect - Make cursor larger with smooth transition */
.custom-cursor.hovered {
  width: 35px;  /* Larger size for hover effect */
  height: 35px;
  border-width: 2px;
  transition: width 0.15s ease, height 0.15s ease;
}

/* Force custom cursor on links and buttons */
a:hover, button:hover, input:hover, [role="button"]:hover {
  cursor: none; /* Hide default pointer */
}



/* hide scrollbar */
::-webkit-scrollbar {
  width: 1px;
  height: 1px;
}

::-webkit-scrollbar-button {
  width: 1px;
  height: 1px;
}
.external {
  min-height: 100vh;   /* allow it to be taller than the viewport */
  overflow-x: hidden;  /* keep horizontal hidden if needed */
  overflow-y: auto;    /* allow vertical scrolling */
}

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

body {
  font-family: 'DM Sans', sans-serif;
  background-color: #0A0A0A;
  color: white;
  line-height: 1.6;
}

/* Header container */
.site-header {
  background: #0A0A0A;
  padding: 16px 24px;
}

/* Navbar layout */
.navbar {
  font-family: 'DM Sans', sans-serif;
  margin: 0 auto;
  max-width: 1200px;
  display: flex;
  align-items: center;
  justify-content: space-between; /* keep brand left, nav right */
  gap: 40px; /* balanced space */
}

/* ---------- Brand ---------- */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: inherit;
  min-width: 0;
}

.brand__img {
  margin-left: 46px;
  width: 44px;
  height: auto;
}

.brand__stack {
  display: inline-flex;
  align-items: center;  /* instead of baseline */
  gap: 6px;
}

.brand__name {
  position: relative; 
  font-family: 'DM Sans', sans-serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.1px;
  left: 5px;   /* moves it 30px to the right */  
}

.brand__tag {
  position: relative; 
  font-size: 12px;
  letter-spacing: 5px;
  color: #999;
  margin-top: 5px; /* lift slightly so it aligns with “Fresh” */
  left: 14px;   /* moves it 30px to the right */  
}

/* ---------- Search ---------- */
.search {
  flex: 1;                         /* expand to take center space */
  max-width: 500px;                 /* cap width */
  margin: 0 40px;                   /* spacing on both sides */
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;                /* smaller height */
  background-color: #1a1a1a;
  border: 1px solid #444;
  border-radius: 9999px;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 0 0 rgba(255,255,255,0);
}

.search:hover {
  box-shadow: 0 0 5px rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.25);
}

.search:focus-within {
  box-shadow: 0 0 12px rgba(255,255,255,0.55);
  border-color: rgba(255,255,255,0.55);
}

.search i {
  font-size: 16px;
  color: #888;
}

.search input {
  font-family: 'DM Sans', sans-serif;
  flex: 1;
  font-size: 14px;
  padding: 4px 0;
  background: transparent; /* should fix */
  border: none;
  color: #eaeaea;
  outline: none;
}



/* Suggestion list keeps your existing IDs/classes */
.suggestion-list {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 8px);
  list-style: none;
  margin: 0;
  padding: 0;
  z-index: 20;
}

/* ---------- Nav ---------- */
.primary-nav { min-width: 0; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  color: #eaeaea;
  font-size: 15px;
  transition: opacity .2s ease;
}

.nav-links a:hover { opacity: .8; }

/* ---------- Small width polish (keeps one row longer) ---------- */
@media (max-width: 1100px) {
  .brand__name { font-size: 24px; }
  .brand__tag  { letter-spacing: 4px; font-size: 11px; top: 1px; }
  .nav-links   { gap: 18px; }
  .search      { width: clamp(240px, 36vw, 480px); padding: 8px 14px; }
}

@media (max-width: 960px) {
  .brand__name { font-size: 22px; }
  .nav-links   { gap: 14px; }
  .search      { width: clamp(220px, 34vw, 420px); }
}

.chelbreaker {
  display: block;   /* forces a line break */
}

.chelbreaker2 {
  display: block;
  height: 10px;
  content: "";
}





/* Intro Supports */
/* ===== Sermon Overview ===== */
/* ===== Local font (you said fonts/SpecialGothicExpandedOne-Regular.ttf) ===== */
@font-face {
  font-family: "Special Gothic Expanded One";
  src: url("/fonts/SpecialGothicExpandedOne-Regular.woff2") format("woff2"),
       url("/fonts/SpecialGothicExpandedOne-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Fallback for body text */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;600;700&display=swap');

/* ===== Sermon Hero (1:1 Figma-style) ===== */
:root{
  --hero-min-height: 720px;       /* desktop baseline (adjust if you need pixel-perfect) */
  --hero-padding-left: 92px;      /* distance from left edge to text (tweak +10/ -10) */
  --hero-padding-top: 100px;      /* vertical offset from top */
  --title-clamp-min: 36px;
  --title-clamp-max: 120px;
  --accent: #ff7a1a;
}

/* container */
.sermon-hero{
  position: relative;
  width: 100%;
  min-height: var(--hero-min-height);
  overflow: hidden;
  background: #000;
  color: #ffffff;
  font-family: 'DM Sans', system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

/* slides */
.sermon-hero__slides { position: absolute; inset: 0; z-index: 0; }
.sermon-hero__slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  transition: opacity 900ms cubic-bezier(.2,.9,.2,1);
  will-change: opacity;
}
.sermon-hero__slide.is-active { opacity: 1; }

/* bottom-to-top gradient overlay (sits above image but below text) */
.sermon-hero__overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      to top,
      rgba(0,0,0,0.78) 0%,
      rgba(0,0,0,0.46) 28%,
      rgba(0,0,0,0.18) 48%,
      rgba(0,0,0,0) 72%
    );
}

/* content block positioned to match Figma 1:1 feel */
.sermon-hero__content{
  position: absolute;
  left: var(--hero-padding-left);
  top: var(--hero-padding-top);
  z-index: 2;
  max-width: 760px;              /* keeps the title line breaks like Figma */
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Title: exact local font, uppercase, tight leading like your Figma */
.sermon-title {
  margin: 0 0 6px 0;
  margin-top: -25px;
  font-family: "Special Gothic Expanded One", "DM Sans", sans-serif; /* keep your font */
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 0.86;
  color: #ffffff;
  font-size: clamp(var(--title-clamp-min), 5.4vw, var(--title-clamp-max));
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: inline-block;
  overflow: hidden; /* keep text contained */
}

.sermon-title span {
  display: inline-block;
  font-family: inherit; /* keep the font */
  transform: translateY(-100%);
  opacity: 0;
  animation: dropText 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

/* stagger each word slightly, fast but smooth */
.sermon-title span:nth-child(1) { animation-delay: 0s; }
.sermon-title span:nth-child(2) { animation-delay: 0.08s; }
.sermon-title span:nth-child(3) { animation-delay: 0.16s; }
.sermon-title span:nth-child(4) { animation-delay: 0.24s; }
.sermon-title span:nth-child(5) { animation-delay: 0.32s; }
.sermon-title span:nth-child(6) { animation-delay: 0.40s; }

@keyframes dropText {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}


.chelbreaker {
  display: block;
  height: 13px; /* adjust gap */
}

/* Meta & subtitle */
.sermon-meta{
  transform: translateX(20px);  /* move right */
  margin: 0;
  color: #f2f2f2;
  font-weight: 600;
  font-size: 16px;
}
.sermon-sub{
  transform: translateX(20px);  /* move right */
  margin: 0;
  margin-top: -5px;
  color: #bfbfbf;
  font-size: 14px;
}

/* CTAs */
.sermon-ctas{
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 12px;
}

/* Read Sermon button: pill, hover => orange, opens new tab (target=_blank already) */
.btn-read-sermon{
  transform: translateX(20px);  /* move right */
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 12px 20px;
  border-radius: 9999px;
  background: #ffffff;
  color: #0a0a0a;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.12);
  transition: all 0.4s ease; /* smooth like butter */
}

.btn-read-sermon:hover{
  transform: translateX(20px) translateY(-1px);
  background: var(--accent);
  color: #0a0a0a;
  box-shadow: 0 6px 20px rgba(255,122,26,0.28);
}

/* thin glowing hover for the secondary link */
.link-full-service{
  transform: translateX(24px);  /* move right */
  color: #e6e6e6;
  text-decoration: none;
  font-weight: 600;
  transition: text-shadow .18s ease, opacity .18s ease, transform .12s ease;
  opacity: .95;
}
.link-full-service:hover{
  text-shadow: 0 0 10px rgba(255,255,255,0.18);
  transform: translateX(24px);
  opacity: 2;
}

/* make sure text is above overlay */
.sermon-hero__content * { position: relative; z-index: 3; }

/* fine tuning: nudges to match figma */
.sermon-hero__content { transform: translateX(0); } /* tweak left/right via --hero-padding-left */
.sermon-title { margin-bottom: 6px; }

/* Mobile / responsive rules: preserve layout and readability */
@media (max-width: 1100px){
  :root { --hero-min-height: 640px; }
  .sermon-hero__content { left: calc(var(--hero-padding-left) * 0.7); top: 72px; max-width: 60%; }
  .sermon-title { font-size: clamp(34px, 9.2vw, 84px); }
}
@media (max-width: 800px){
  :root { --hero-min-height: 520px; }
  .sermon-hero__content { left: 28px; top: 48px; max-width: 86%; }
  .sermon-title { font-size: clamp(28px, 10.8vw, 62px); line-height: 1.02; }
  .sermon-meta { font-size: 14px; }
  .sermon-sub  { font-size: 13px; }
  .btn-read-sermon { padding: 10px 14px; }
}
/* small phones: stack CTA under title, slightly larger gradient for legibility */
@media (max-width: 420px){
  :root { --hero-min-height: 420px; }
  .sermon-hero__content { left: 18px; top: 40px; max-width: 92%; }
  .sermon-ctas { flex-direction: column; align-items: flex-start; gap: 10px; margin-top: 18px; }
  .sermon-hero__overlay {
    background:
      linear-gradient(
        to top,
        rgba(0,0,0,0.88) 0%,
        rgba(0,0,0,0.56) 28%,
        rgba(0,0,0,0.18) 48%,
        rgba(0,0,0,0) 72%
      );
  }
}

/* accessibility reduced motion respect */
@media (prefers-reduced-motion: reduce){
  .sermon-hero__slide { transition: none !important; }
  .btn-read-sermon, .link-full-service { transition: none !important; }
}

/* Intro Supports */





/* Intro block */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

:root{
  --bg:#0b0b0b;
  --panel:#121212;
  --panel-2:#181818;
  --stroke:#2b2b2b;
  --text:#e7e7e7;
  --muted:#b8b8b8;
  --chip:#1b1b1b;
  --shadow:0 12px 32px rgba(0,0,0,.35);
  --radius:9999px;
  --radius-lg:16px;
}

#sermons-section{
  background:var(--bg);
  font-family:'DM Sans',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  padding:24px 0 12px;
}

.sr-wrap{
  max-width:1050px;
  margin:0 auto;
  padding:0 22px;
}

.sr-controls{
  display:flex;
  align-items:center;
  gap:14px;
  position:relative;
}

/* Search pill */
.sr-search{
  flex:1;
  height:46px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:0 16px 0 14px;
  background:var(--panel);
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  font-family:'DM Sans';
}
.sr-ico{
  width:18px;height:18px;fill:#8b8b8b;flex:0 0 auto;
}
#sermons-search{
  width:100%;
  height:100%;
  border:0; outline:0;
  background:transparent;
  color:var(--text);
  font-size:15px;
}
#sermons-search::placeholder{color:#8e8e8e}

/* Filter button */
.sr-filter-btn{
  height:46px;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:0 18px;
  background:var(--panel);
  border:1px solid var(--stroke);
  border-radius:var(--radius);
  color:#e1e1e1;
  cursor:pointer;
  transition:transform .12s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
}
.sr-filter-btn:hover{background:var(--panel-2); box-shadow:0 6px 20px rgba(0,0,0,.25)}
.sr-filter-btn:active{transform:translateY(1px)}

/* Dropdown (appears when button pressed) */
.sr-filter-dropdown{
  position:absolute;
  top:56px; /* 46 + 10 gap */
  right:0;
  width:320px;
  background:#151515;
  border:1px solid var(--stroke);
  border-radius:var(--radius-lg);
  padding:10px;
  box-shadow:var(--shadow);
  display:none;
}
.sr-filter-dropdown {
  display: none;
}

.sr-filter-dropdown.open {
  display: block;
}

.sr-filter-item{
  position:relative;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 10px;
  border-radius:10px;
  color:#ddd;
  font-size:14px;
  line-height:1;
  user-select:none;
}
.sr-filter-item:hover{background:#1c1c1c}

.sr-filter-item input{
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  width:15px;height:15px;border:1px solid var(--stroke);border-radius:4px;background:#101010;display:inline-block;position:relative;
}
.sr-filter-item input:checked{background:#222}
.sr-filter-item input:checked::after{
  content:""; position:absolute; inset:2px; background:#ff7a1a;
  border-radius:2px;
}

/* Topic pills below search */
/* Hidden by default (collapsed, but not display:none) */
/* container (collapsed by default but animatable) */
#sr-tags{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  overflow:hidden;
  max-height:0;                    /* collapsed */
  opacity:0;
  transform:translateY(-6px);
  transition: max-height 450ms ease, opacity 350ms ease, transform 350ms ease;
}

/* visible container */
#sr-tags.open{
  max-height:1000px; /* large enough to fit all tags */
  opacity:1;
  transform:translateY(0);
}

/* base tag (uses transition so closing is smooth) */
.sr-tag {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 14px;
  background: var(--chip);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  color: #d0d0d0;
  font-size: 14px;
  white-space: nowrap;

  /* animation / transition */
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 350ms ease, transform 350ms ease, background 180ms ease, color 180ms ease;
  pointer-events: none; /* <-- disable interaction while animating */
  
    /* initial hidden state for opening animation */
  opacity:0;
  transform:translateY(10px);

  /* transition used for closing */
  transition: opacity 350ms ease, transform 350ms ease;
}

/* When the container is fully ready, allow pointer events */
#sr-tags.ready .sr-tag {
  pointer-events: auto;
  transition: 
    opacity 350ms ease, 
    transform 350ms ease, 
    box-shadow 250ms ease, 
    border-color 250ms ease; /* added border-color transition */
  cursor: none; /* hides default cursor so only your custom one shows */
}

/* Hover style — only active when .ready is present */
#sr-tags.ready .sr-tag:hover {
  border-color: #bdbdbd;           /* glowing border color */
  box-shadow: 0 0 8x 1.2px #cecece; /* subtle glow */
  opacity: 0.9;
  transform: translateY(-2px);     /* optional lift */
  cursor: pointer;
}

/* opening cascade (animation, staggered) */
@keyframes fadeSlideUp {
  to { opacity:1; transform:translateY(0); }
}
#sr-tags.open .sr-tag { animation: fadeSlideUp 600ms ease forwards; }
#sr-tags.open .sr-tag:nth-child(1){ animation-delay: 0.10s; }
#sr-tags.open .sr-tag:nth-child(2){ animation-delay: 0.20s; }
#sr-tags.open .sr-tag:nth-child(3){ animation-delay: 0.30s; }
#sr-tags.open .sr-tag:nth-child(4){ animation-delay: 0.40s; }
#sr-tags.open .sr-tag:nth-child(5){ animation-delay: 0.50s; }
#sr-tags.open .sr-tag:nth-child(6){ animation-delay: 0.60s; }
#sr-tags.open .sr-tag:nth-child(7){ animation-delay: 0.70s; }
#sr-tags.open .sr-tag:nth-child(8){ animation-delay: 0.80s; }

/* closing: disable opening animation and force all tags to move up together */
#sr-tags.closing .sr-tag{
  animation: none !important;
  opacity:0;
  transform:translateY(-8px);
  /* transition already defined on .sr-tag controls timing */
}




/* Title + Subtitle */
.sr-title {
  font-size: 53px;
  font-weight: 700;
  margin: 0 0 4px;
  color: var(--text);
}

.sr-subtitle {
  font-size: 15px;
  font-weight: 400;
  color: var(--muted);
  margin: 0 0 22px;
}








/* same corner + hairline look as fields */
#sermons-list {
  background: var(--bg);
  font-family: 'DM Sans', sans-serif;
  padding: 40px 0;
  color: var(--text);
}

.sl-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 22px;
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* always 3 per row */
  gap: 28px;
}

/* Card */
.sermon-card {
  background: var(--panel);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1),
              box-shadow 0.35s ease,
              opacity 0.3s ease;
  cursor: pointer;
  transform: scale(1);
}

.sermon-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.sermon-card h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 10px 14px 4px;
  color: var(--text);
}

.sermon-card p {
  font-size: 13px;
  color: var(--muted);
  margin: 0 14px 14px;
}

/* Hover focus effect */
.sl-wrap:hover .sermon-card {
  transform: scale(0.95);
  opacity: 0.8;
}

.sl-wrap .sermon-card:hover {
  transform: scale(1.07);
  opacity: 1;
  z-index: 5;
  box-shadow: 0 12px 28px rgba(0,0,0,0.45);
}




/* Optional: Adding focus styles to input for more visual feedback */
.search-input-wrapper input:focus {
  outline: none; /* Remove the default outline */
  border-color: rgba(255, 255, 255, 0.4); /* Light gray border on focus */
}

.search-input-wrapper input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 16px;
  color: white;
}

.suggestion-list {
  position: absolute;
  top: 100%; /* ⬅ pushes it below the input */
  left: 0;
  z-index: 99;
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
  background: #1a1a1a;
  border: 1px solid #444;
  border-radius: 8px;
  max-height: 200px;
  overflow-y: auto;
  width: 100%; /* match width of input */
  display: none;
}

.suggestion-list li {
  padding: 10px 16px;
  cursor: pointer;
  color: #fff;
}

.suggestion-list li:hover {
  background-color: #333;
}

.pastor-section {
  background: #1a1a1a;
  padding: 2rem;
  border-radius: 16px;
  max-width: 720px;
  margin: auto;
  color: #d1d1d1;
  font-family: 'DM Sans', sans-serif;
    transform: scale(1.6);
  transform-origin: top center; /* keep it anchored in place */
}

.pastor-subtitle {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.4rem;
}

.pastor-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: #fff;
}

.pastor-image {
  width: 100%;
  height: 300px; /* adjust height as needed */
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.pastor-section p {
  margin-bottom: 1rem;
  font-size: 0.8rem;
  line-height: 1.6;
  color: #A8A8A8;
}

.pastor-buttons {
  display: flex;
  justify-content: center; /* centers horizontally */
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Base button */
.pastor-btn {
  position: relative;
  display: inline-block;
  padding: 0.6rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  color: #000;                 /* text stays black */

  /* gradient lives under a white mask */
  background-image: linear-gradient(270deg, #ff7b00, #ff3c00, #ff7b00);
  background-size: 200% 100%;
  background-position: 0% 50%;

  /* pre-wire the animation but keep it paused */
  animation: pastorGradient 3s linear infinite;
  animation-play-state: paused;

  overflow: hidden;            /* keep mask rounded */
}

/* white mask that hides the gradient until hover */
.pastor-btn {
  position: relative;
  display: inline-block;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 6rem; /* wider padding for longer look */
  min-width: 220px;       /* force a minimum width */
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  text-align: center;     /* center text inside */
  color: #000; /* always black */
  background: #fff; /* base white */
  overflow: hidden;
}

.pastor-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff7b00, #ff3c00);
  opacity: 0; /* hidden initially */
  transition: opacity 0.6s ease;
  z-index: 0; /* behind the text */
}

.pastor-btn span {
  position: relative;
  z-index: 1; /* text always visible */
  color: #000; /* force black text */
}

.pastor-btn:hover::before {
  opacity: 1; /* fade gradient in smoothly */
}

/*-------*/ 

/* make the CTA break out of any parent grid/flex and center */
.visit-wrapper{
  grid-column: 1 / -1;          /* span all grid columns if inside a grid */
  width: min(100%, var(--content-max, 1150px));
  margin: clamp(24px, 4vw, 40px) auto 0;  /* center + spacing from previous */
  display: flex;
  justify-content: center;
}

.visit-section {
  background: #1a1a1a;
  border-radius: 22px;
  text-align: center;
  padding: clamp(28px, 5vw, 46px) clamp(22px, 4.5vw, 44px);
  max-width: 1000px; /* increase from 720px to 1000px or whatever matches Figma */
  width: 100%;

    /* scale magic */
  transform: scale(1.15); /* 1.0 = default size, 1.2 = 20% bigger */
  transform-origin: center;
}

.visit-logo {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 1rem;
}

.visit-title {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0.5rem 0 0.25rem;
}

.visit-subtitle {
  color: #aaa;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.visit-btn {
  display: inline-block;
  padding: 0.7rem 9rem;
  background: #fff;
  color: #000;
  font-weight: bold;
  font-family: 'DM Sans', sans-serif;
  border-radius: 999px;
  text-decoration: none;

  background-size: 200% auto;
  background-position: left center;

  transition: 
    background-position 0.6s ease-in, 
    background-color 0.6s ease-in, 
    color 0.6s ease-in, 
    box-shadow 0.6s ease-in;
}

.visit-btn:hover {
  background: linear-gradient(90deg, #ff7b00, #ff3c00);
  background-size: 200% auto;
  background-position: right center;
  color: #000;
  
  /* ease-out for hover-out smoothness */
  transition: 
    background-position 0.6s ease-out, 
    background-color 0.6s ease-out, 
    color 0.6s ease-out, 
    box-shadow 0.6s ease-out;
}


/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.nav-links li a {
  text-decoration: none;
  color: #ccc;
  transition: co  lor 0.3s ease;
}

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

/* Hero Slideshow */
.hero-slideshow {
  position: relative;
  width: 100%;
  height: 85vh;
  overflow: hidden;
}

.image-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.4), transparent 60%);
  z-index: 1;
  top: 0;
  left: 0;
  pointer-events: none;
}

.slides {
  width: 100%;
  height: 100%;
  position: relative;
}

.slide {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  top: 0;
  left: 0;
}

.slide.active {
  opacity: 1;
  z-index: 1;
}

/* Arrows */
.prev, .next {
  position: absolute;
  top: 50%;
  font-size: 2rem;
  color: white;
  background-color: rgba(0,0,0,0.5);
  border: none;
  padding: 10px;
  cursor: pointer;
  transform: translateY(-50%);
  z-index: 10;
}

.prev { left: 20px; }
.next { right: 20px; }

/* Hero Text Overlay */
.hero-text {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0);
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  color: white;
  max-width: 90%;
  z-index: 5;
}
.hero-text h1 {
  font-size: 32px;
  margin-bottom: 10px;
}
.hero-text p {
  font-size: 18px;
  margin-bottom: 25px;
}
.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}
.btn {
  padding: 10px 20px;
  background-color: #ffffff11;
  color: white;
  text-decoration: none;
  border: 1px solid white;
  border-radius: 27px;
  font-family: 'DM Sans', sans-serif;
  text-decoration: none; /* Remove underline */
  transition: background 0.3s ease;
}
.btn.white {
  font-family: 'DM Sans', sans-serif;
  text-decoration: none; /* Remove underline */
  background-color: white;
  color: #000;
}
.btn:hover {
  background-color: #ffffff33;
  color: white;
}

/* Features Section */
.features {
  text-align: center;
  padding: 60px 30px;
  background-color: #0A0A0A;
}
.features h2 {
  font-size: 2.2rem;
  font-weight: bold;
  margin-bottom: 0.5rem;
}
.features p {
  max-width: 700px;
  margin: 0 auto 2rem auto;
  line-height: 1.6;
  color: #ccc;
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
}

.feature-box {
  background: #111;
  padding: 20px;
  border-radius: 10px;
  text-align: left;
}
.feature-box h4 {
  margin-bottom: 10px;
}
.feature-box a {
  color: #fff;
  font-weight: bold;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease; /* Smooth color and transform transition */
}
.feature-box a:hover {
  color: #E74224; /* Set the color on hover (or any other color you prefer) */
  transform: scale(1.1); /* Optional: Slight zoom effect when hovering */
}

.worship-section {
    background-color: #11111100;
    color: #fff;
    text-align: center;
    padding: 4rem 1rem;
    overflow: hidden;
  }
  
  .worship-header h2 {
    font-size: 2.2rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
  }
  
  .worship-header p {
    max-width: 700px;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
    color: #ccc;
  }

    /*********************************/
  
.horizontal-scroll-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100vh;
  transform: rotate(-90deg) translate3d(0,-100vh,0);
  transform-origin: right top;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  height: 100vw;
  perspective: 1px;
	transform-style: preserve-3d;
  padding-bottom: 10rem;
}
.img-wrapper {
  transform: rotate(90deg);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 40vh;
  transform-origin: 50% 50%;
  transform: rotate(90deg) translateZ(.1px) scale(0.9) translateX(0px) translateY(-3vh);
  transition: 1s;
}

.img-wrapper:hover {
 min-height: 65vh;
}

.slower {
  transform: rotate(90deg) translateZ(-.2px) scale(1.1) translateX(0%) translateY(-10vh);
}
.slower1 {
  transform: rotate(90deg) translateZ(-.25px) scale(1.05) translateX(0%) translateY(8vh);
}
.slower2 {
  transform: rotate(90deg) translateZ(-.3px) scale(1.3) translateX(0%) translateY(2vh);
}
.slower-down {
  transform: rotate(90deg) translateZ(-.2px) scale(1.1) translateX(0%) translateY(16vh) ;
}
.faster {
  transform: rotate(90deg) translateZ(.15px) scale(0.8) translateX(0%) translateY(14vh) ;
}
.faster1 {
  transform: rotate(90deg) translateZ(.05px) scale(0.8) translateX(0%) translateY(10vh) ;
}
.fastest {
  transform: rotate(90deg) translateZ(.22px) scale(0.7) translateX(-10vh) translateY(-15vh) ;
}
.vertical {
   transform: rotate(90deg) translateZ(-.15px) scale(1.15) translateX(0%) translateY(0%) ;
}
.last {
  transform: rotate(90deg) translateZ(-.2px) scale(1.1) translateX(25vh) translateY(-8vh) ;
}

.scroll-info {
  top: 1rem;
}

a {
  color: inherit;
  font-weight: 500;
}

.img-wrapper a {
  overflow: hidden;
  display: block;
  padding: 0.5vh ;
  background: #ededed;
  box-shadow: 0 10px 50px #1f1f1f82;
}

a:hover img {
  filter: none;
}

.scroll-info {
  display: flex;
  align-items: center;
}
.icon svg {
    width: 50px;
    fill: currentcolor;
}
  
  /*********************************/


  /* Remove background from buttons */
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: white;
    font-size: 3rem;
    cursor: pointer;
    z-index: 10;
    padding: 0;
    line-height: 1;
  }
  
  .carousel-btn.prev {
    left: 10px;
  }
  
  .carousel-btn.next {
    right: 10px;
  }
  
  /* Smooth scroll and fade-in effect */
body {
  margin: 0;
  overflow-x: hidden; /* hides horizontal scroll only */
  overflow-y: auto;   /* allows vertical scrolling */
  font-family: sans-serif;
}

.section {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease, transform 1s ease;
}

.section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Text animation when it appears */
.text-animate {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.text-animate.visible {
  opacity: 1;
  transform: translateY(0);
}

  