/* ==========================================================================
   Nueva Vida Wesley Chapel — custom design system (2026 refresh)
   Built on top of the existing Bootstrap 4 + Rubik font already loaded by
   the page; this file owns all visual design for the rebuilt homepage.
   ========================================================================== */

:root {
    --nv-orange: #fc8706;
    --nv-orange-dark: #b35f02;
    --nv-orange-light: #ffb15c;
    --nv-ink: #17140f;
    --nv-charcoal: #201c17;
    --nv-cream: #fff8ef;
    --nv-paper: #ffffff;
    --nv-muted: #6b6357;
    --nv-border: #ece4d6;
    --nv-radius: 18px;
    --nv-radius-sm: 10px;
    --nv-shadow: 0 20px 45px -20px rgba(23, 20, 15, 0.35);
    --nv-shadow-sm: 0 8px 24px -12px rgba(23, 20, 15, 0.28);
    font-family: 'Rubik', sans-serif;
}

.nv body, body {
    background: var(--nv-paper);
}

.nv-section {
    padding: 5.5rem 0;
}

@media (max-width: 767px) {
    .nv-section {
        padding: 3.25rem 0;
    }
}

.nv-section--tight {
    padding: 3.5rem 0;
}

.nv-section--cream {
    background: var(--nv-cream);
}

.nv-section--dark {
    background: var(--nv-ink);
    color: #f1ece2;
}

.nv-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--nv-orange);
    margin-bottom: 0.9rem;
}

.nv-eyebrow::before {
    content: "";
    width: 1.6rem;
    height: 2px;
    background: var(--nv-orange);
    display: inline-block;
}

.nv-h1 {
    font-weight: 700;
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    line-height: 1.08;
    margin-bottom: 1.25rem;
}

.nv-h2 {
    font-weight: 700;
    font-size: clamp(1.9rem, 3.4vw, 2.6rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

.nv-lead {
    font-size: 1.15rem;
    color: var(--nv-muted);
    line-height: 1.65;
}

.nv-section--dark .nv-lead {
    color: #cfc7b8;
}

/* ---- Buttons ---- */
.nv-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0.95rem 2rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
    border: 2px solid transparent;
    line-height: 1.2;
}

.nv-btn:hover, .nv-btn:focus {
    transform: translateY(-2px);
    text-decoration: none;
}

.nv-btn--primary {
    background: var(--nv-orange);
    color: #fff;
    box-shadow: var(--nv-shadow-sm);
}

.nv-btn--primary:hover, .nv-btn--primary:focus {
    background: var(--nv-orange-dark);
    color: #fff;
}

.nv-btn--outline {
    border-color: rgba(255, 255, 255, 0.55);
    color: #fff;
}

.nv-btn--outline:hover, .nv-btn--outline:focus {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.08);
}

.nv-btn--outline-dark {
    border-color: var(--nv-ink);
    color: var(--nv-ink);
}

.nv-btn--outline-dark:hover, .nv-btn--outline-dark:focus {
    background: var(--nv-ink);
    color: #fff;
}

.nv-btn--sm {
    padding: 0.6rem 1.3rem;
    font-size: 0.9rem;
}

/* ---- Navbar ---- */
.nv-navbar {
    padding: 0.85rem 0;
    background: rgba(23, 20, 15, 0.92);
    backdrop-filter: saturate(160%) blur(10px);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.nv-navbar .navbar-brand img {
    height: 2.7rem;
    width: auto;
}

.nv-navbar .nav-link {
    color: #f1ece2 !important;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.5rem 0.9rem !important;
    opacity: 0.88;
}

.nv-navbar .nav-link:hover {
    opacity: 1;
    color: var(--nv-orange-light) !important;
}

.nv-navbar .nv-btn--primary {
    padding: 0.6rem 1.4rem;
}

/* ---- Hero ---- */
.nv-hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center 30%;
    color: #fff;
    overflow: hidden;
}

.nv-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 12, 8, 0.35) 0%, rgba(15, 12, 8, 0.55) 55%, rgba(15, 12, 8, 0.92) 100%);
}

.nv-hero__content {
    position: relative;
    z-index: 2;
    padding: 3.5rem 0 4rem;
}

.nv-hero__tag {
    display: inline-block;
    background: rgba(252, 135, 6, 0.18);
    border: 1px solid rgba(252, 135, 6, 0.55);
    color: var(--nv-orange-light);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 1.4rem;
}

.nv-hero h1 {
    font-weight: 800;
    font-size: clamp(2.6rem, 6vw, 4.2rem);
    line-height: 1.04;
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
    margin-bottom: 1.1rem;
}

.nv-hero p.nv-lead {
    color: #ece6d9;
    max-width: 34rem;
    margin-bottom: 2rem;
}

.nv-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    margin-bottom: 2.4rem;
}

.nv-hero__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.6rem 2.4rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.6rem;
}

.nv-hero__meta-item {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    font-size: 0.95rem;
}

.nv-hero__meta-item .mbr-iconfont {
    color: var(--nv-orange);
    font-size: 1.35rem;
}

/* ---- Mission / Vision cards ---- */
.nv-card {
    background: var(--nv-paper);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius);
    padding: 2.4rem;
    height: 100%;
    box-shadow: var(--nv-shadow-sm);
}

.nv-card__icon {
    width: 3.4rem;
    height: 3.4rem;
    border-radius: 50%;
    background: rgba(252, 135, 6, 0.12);
    color: var(--nv-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.3rem;
}

.nv-card h3 {
    font-weight: 700;
    font-size: 1.35rem;
    margin-bottom: 0.75rem;
}

.nv-card ul {
    list-style: none;
    padding-left: 0 !important;
    margin-bottom: 0;
    columns: 2;
    column-gap: 1.5rem;
}

.nv-card ul li {
    position: relative;
    padding-left: 1.3rem;
    margin-bottom: 0.6rem;
    break-inside: avoid;
}

.nv-card ul li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--nv-orange);
}

/* ---- Homepage featured events ---- */
.nv-events {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.nv-event-card {
    background: var(--nv-charcoal);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--nv-radius-sm);
    padding: 1.8rem;
}

.nv-event-card__when {
    color: var(--nv-orange-light);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 0.6rem;
}

.nv-event-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.6rem;
}

.nv-event-card p {
    color: #cfc7b8;
    line-height: 1.55;
    margin-bottom: 1.3rem;
}

/* ---- Service-times strip ---- */
.nv-times {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
}

.nv-times__item {
    background: var(--nv-paper);
    border: 1px solid var(--nv-border);
    border-radius: var(--nv-radius-sm);
    padding: 1.3rem 1.5rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.nv-times__item .mbr-iconfont {
    color: var(--nv-orange);
    font-size: 1.5rem;
    margin-top: 0.1rem;
}

.nv-times__item strong {
    display: block;
    font-size: 1rem;
}

.nv-times__item span {
    color: var(--nv-muted);
    font-size: 0.92rem;
}

/* ---- Ministries chips ---- */
.nv-ministries {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.nv-chip {
    background: rgba(252, 135, 6, 0.1);
    color: var(--nv-orange-dark);
    border: 1px solid rgba(252, 135, 6, 0.35);
    border-radius: 999px;
    padding: 0.5rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 600;
}

/* ---- Watch live ---- */
.nv-watch {
    position: relative;
    border-radius: var(--nv-radius);
    overflow: hidden;
    min-height: 22rem;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: #fff;
}

.nv-watch::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(15, 12, 8, 0.9) 10%, rgba(15, 12, 8, 0.35) 90%);
}

.nv-watch__body {
    position: relative;
    z-index: 2;
    padding: 3rem;
    max-width: 32rem;
}

.nv-watch__play {
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 50%;
    background: var(--nv-orange);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 1.4rem;
    box-shadow: 0 0 0 8px rgba(252, 135, 6, 0.2);
}

/* ---- Gallery ---- */
.nv-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 12rem;
    gap: 0.6rem;
}

.nv-gallery a {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

.nv-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.nv-gallery a:hover img {
    transform: scale(1.08);
}

.nv-gallery a::after {
    content: "\f031";
    font-family: "mobirise-iconfont" , sans-serif;
}

.nv-gallery .is-tall {
    grid-row: span 2;
}

@media (max-width: 767px) {
    .nv-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 9rem;
    }
}

/* ---- Team ---- */
.nv-team {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.6rem;
}

.nv-team__card {
    text-align: center;
}

.nv-team__photo {
    border-radius: var(--nv-radius);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    margin-bottom: 1rem;
    box-shadow: var(--nv-shadow-sm);
}

.nv-team__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nv-team__card strong {
    display: block;
    font-size: 1.1rem;
}

.nv-team__card span {
    color: var(--nv-muted);
    font-size: 0.9rem;
}

/* ---- Contact ---- */
.nv-contact-card {
    background: var(--nv-ink);
    color: #fff;
    border-radius: var(--nv-radius);
    padding: 2.4rem;
}

.nv-contact-card .nv-contact-row {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.nv-contact-card .nv-contact-row:last-child {
    border-bottom: none;
}

.nv-contact-card .mbr-iconfont {
    color: var(--nv-orange);
    font-size: 1.4rem;
}

#form1-c .form-control {
    min-height: 3.1rem;
    border-radius: var(--nv-radius-sm);
    border: 1px solid var(--nv-border);
}

#form1-c textarea.form-control {
    min-height: 8rem;
}

/* ---- Footer ---- */
.nv-footer {
    background: var(--nv-ink);
    color: #cfc7b8;
    padding: 3rem 0 1.5rem;
}

.nv-footer a {
    color: #f1ece2;
}

.nv-footer .soc-item a {
    width: 2.6rem;
    height: 2.6rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-left: 0.5rem;
}

.nv-footer .soc-item a:hover {
    background: var(--nv-orange);
}

.nv-footer .soc-item .socicon {
    color: #fff !important;
    fill: #fff !important;
}

/* ---- Utility ---- */
.nv-divider {
    height: 1px;
    background: var(--nv-border);
    margin: 0;
}

@media (max-width: 991px) {
    .nv-gallery {
        grid-template-columns: repeat(3, 1fr);
    }
}
