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

:root {
    --forest: #155c44;
    --moss: #2e8b57;
    --gold: #ef8127;
    --cream: #fcf7f0;
    --ink: #17352b
}

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--ink);
    background: var(--cream)
}

h1,
h2,
h3,
.display-font {
    font-family: 'Playfair Display', serif
}

.navbar {
    background: #fffdf9
}

.navbar-brand {
    font-family: 'Playfair Display', serif;
    color: var(--forest) !important;
    font-weight: 700
}

.brand-mark {
    display: inline-block;
    width: 35px;
    height: 41px;
    background: url('seventh-day-adventist-logo.svg') center/contain no-repeat;
    vertical-align: middle;
    font-size: 0
}

.sda-logo {
    width: 35px;
    height: 41px;
    object-fit: contain;
    vertical-align: middle
}

.nav-link {
    font-weight: 600;
    color: var(--ink) !important
}

.btn-gold {
    background: var(--gold);
    border-color: var(--gold);
    color: #fff;
    font-weight: 700
}

.btn-gold:hover {
    background: #cf6517;
    color: #fff
}

.eyebrow {
    color: var(--gold);
    letter-spacing: .16em;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase
}

.eyebrow.green {
    color: var(--moss)
}

.section-pad {
    padding: 88px 0
}

.section-title {
    font-size: clamp(2.3rem, 4vw, 3.7rem)
}

.paragraph-title {
    font-size: clamp(1.3rem, 2vw, 1.7rem);
    color: rgba(var(--bs-success-rgb), var(--bs-text-opacity)) !important;
}

.hero {
    min-height: 625px;
    background: linear-gradient(90deg, rgba(12, 67, 45, .9), rgba(12, 67, 45, .4)), url('https://wellingsda.co.uk/wp-content/uploads/2025/04/Peace-pexels-pixabay-33582-scaled.avif') center/cover
}

.hero h1 {
    font-size: clamp(3rem, 6vw, 5.9rem);
    line-height: .98
}

.page-hero {
    /* background: linear-gradient(110deg, #155c44, #2e8b57); */
    background: linear-gradient(90deg, rgba(12, 67, 45, .9), rgba(12, 67, 45, .4)), url('https://wellingsda.co.uk/wp-content/uploads/2025/04/Peace-pexels-pixabay-33582-scaled.avif') center/cover;
    color: white;
    padding: 84px 0 65px
}

.page-hero h1 {
    font-size: clamp(3rem, 5vw, 4.7rem)
}

.soft-card,
.resource-card,
.ministry-card,
.person-card {
    background: #fff;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(18, 59, 50, .07)
}

.icon-circle {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #e8f3e9;
    color: var(--moss);
    font-size: 1.35rem
}

.quote-card {
    background: var(--forest);
    color: white;
    border-radius: 22px
}

.ministry-card {
    transition: .2s
}

.ministry-card:hover {
    transform: translateY(-4px)
}

.event-date {
    background: var(--gold);
    color: #fff;
    min-width: 66px;
    border-radius: 12px;
    text-align: center;
    font-weight: 700;
    padding: 10px
}

.devotion {
    min-height: 340px;
    background-size: cover;
    background-position: center;
    position: relative;
    isolation: isolate
}

.devotion:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(10, 45, 38, .9), transparent 70%);
    z-index: -1
}

.verse-day {
    background: #fff;
    border-radius: 14px;
    padding: 22px;
    border-left: 4px solid var(--gold);
    height: 100%
}

.verse-day-home {
    background: #fff;
    border-radius: 14px;
    padding: 22px;
    border-left: 4px solid var(--gold);
    /* height: 100% */
}

.day {
    color: var(--moss);
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .1em
}

.resource-card {
    overflow: hidden
}

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

.person-card {
    text-align: center;
    padding: 25px 15px
}

.person-card img {
    height: 130px;
    max-width: 100%;
    object-fit: contain
}

.person-card a {
    color: var(--moss);
    text-decoration: none;
    font-size: .88rem
}

.footer {
    background: #103d35;
    color: #d9e8e2
}

.footer a {
    color: #d9e8e2;
    text-decoration: none
}

.form-control,
.form-select {
    padding: .8rem;
    border-color: #d7dfdb
}

.form-control:focus,
.form-select:focus {
    border-color: var(--moss);
    box-shadow: 0 0 0 .2rem rgba(46, 139, 87, .15)
}

.privacy-policy-link {
    color: #d9e8e2 !important;
    text-decoration: underline !important; 
}

/* Uniform Guide & Inspection Styles */
.guide-card {
    background: #ffffff;
    border-radius: 18px;
    border: 1px solid rgba(21, 92, 68, 0.08);
    box-shadow: 0 10px 30px rgba(18, 59, 50, 0.06);
    overflow: hidden;
    height: 100%;
    transition: transform 0.25s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.guide-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(18, 59, 50, 0.12);
}

.guide-card img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    background: #f4f8f6;
    border-bottom: 1px solid rgba(21, 92, 68, 0.06);
}

.guide-card .card-body {
    padding: 1.75rem;
}

.guide-card h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--forest);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.badge-section {
    display: inline-block;
    background: #e8f3e9;
    color: var(--forest);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 0.85rem;
    border-radius: 50px;
    margin-bottom: 0.85rem;
}

.badge-section.burgundy {
    background: #fcedee;
    color: #921c24;
}

.badge-section.gold {
    background: #fff8eb;
    color: #b45d09;
}

.measurement {
    background: #f6faf8;
    border-left: 3px solid var(--moss);
    padding: 0.75rem 1rem;
    border-radius: 0 8px 8px 0;
    font-size: 0.88rem;
    color: var(--ink);
    margin-top: 0.85rem;
}

.notice {
    background: #fdfbf7;
    border: 1px solid rgba(239, 129, 39, 0.25);
    border-left: 4px solid var(--gold);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 15px rgba(239, 129, 39, 0.05);
}

.notice strong {
    color: var(--forest);
    font-size: 1.05rem;
}

.uniform-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
}

.uniform-list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 0.85rem;
    font-size: 0.98rem;
    line-height: 1.5;
}

.uniform-list li::before {
    content: "\F26E";
    font-family: "bootstrap-icons";
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--moss);
    font-size: 1.1rem;
    font-weight: bold;
}

.full-uniform {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 20px;
    border: 2px solid #ffffff;
    box-shadow: 0 12px 35px rgba(18, 59, 50, 0.1);
}

.uniform-nav-pill {
    background: #ffffff;
    border: 1px solid rgba(21, 92, 68, 0.15);
    color: var(--ink);
    padding: 0.65rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.uniform-nav-pill:hover,
.uniform-nav-pill.active {
    background: var(--forest);
    color: #ffffff;
    border-color: var(--forest);
    box-shadow: 0 4px 14px rgba(21, 92, 68, 0.2);
}

/* Cookie Consent Banner Styling */
.cookie-banner-card {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1080;
    max-width: 440px;
    width: calc(100% - 48px);
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 16px 45px rgba(18, 59, 50, 0.18);
    border: 1px solid rgba(21, 92, 68, 0.12);
    padding: 1.5rem;
    transform: translateY(140%);
    opacity: 0;
    transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.45s ease;
}

.cookie-banner-card.show {
    transform: translateY(0);
    opacity: 1;
}

.cookie-banner-card .cookie-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--forest);
}

@media (max-width: 576px) {
    .cookie-banner-card {
        bottom: 12px;
        right: 12px;
        left: 12px;
        width: auto;
        padding: 1.25rem;
    }
}