/* ==========================================================================
   Disaster Relief — modern redesign
   All styles are scoped under `.dr-modern` so nothing here affects other
   templates that share .food-section / .disaster-client / .gallery-disaster.
   ========================================================================== */

.dr-modern {
    --dr-red: #A41D21;
    --dr-red-dark: #7d1518;
    --dr-ink: #14171a;
    --dr-muted: #5c6670;
    --dr-line: #e6e8ec;
    --dr-soft: #f5f6f8;
    --dr-radius: 18px;
    --dr-shadow: 0 24px 60px rgba(20, 23, 26, 0.12);
    color: var(--dr-ink);
    font-family: 'Azo Sans', sans-serif;
    overflow-x: hidden;
}

.dr-modern *,
.dr-modern *::before,
.dr-modern *::after {
    box-sizing: border-box;
}

.dr-modern .dr-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* --- Shared bits --------------------------------------------------------- */
.dr-kicker {
    display: inline-block;
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--dr-red);
    margin: 0 0 18px;
}

.dr-kicker--light {
    color: #fff;
}

.dr-kicker--pill {
    background: rgba(164, 29, 33, 0.08);
    padding: 8px 16px;
    border-radius: 999px;
}

.dr-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-decoration: none;
    padding: 17px 34px;
    border-radius: 999px;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
    line-height: 1;
}

.dr-btn svg {
    width: 16px;
    height: 16px;
    transition: transform .25s ease;
}

.dr-btn:hover svg {
    transform: translateX(4px);
}

.dr-btn--primary {
    background: var(--dr-red);
    color: #fff;
    box-shadow: 0 14px 30px rgba(164, 29, 33, 0.32);
}

.dr-btn--primary:hover {
    background: var(--dr-red-dark);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(164, 29, 33, 0.42);
}

.dr-btn--ghost {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.55);
}

.dr-btn--ghost:hover {
    background: #fff;
    color: var(--dr-ink);
    transform: translateY(-3px);
}

/* --- Hero ---------------------------------------------------------------- */
.dr-hero {
    position: relative;
    min-height: 640px;
    display: flex;
    align-items: center;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.dr-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 12, 14, 0.55) 0%, rgba(10, 12, 14, 0.35) 45%, rgba(10, 12, 14, 0.85) 100%);
}

.dr-hero__inner {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 140px 24px 120px;
}

.dr-hero__title {
    font-size: clamp(44px, 7vw, 84px);
    font-weight: 900;
    line-height: 1.03;
    text-transform: uppercase;
    margin: 0 0 22px;
    color: #fff;
    text-shadow: 0 6px 30px rgba(0, 0, 0, 0.35);
}

.dr-hero__subtitle {
    font-size: clamp(18px, 2.2vw, 24px);
    line-height: 1.5;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 auto 38px;
    max-width: 680px;
}

.dr-hero__cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.dr-hero__scroll {
    position: absolute;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    width: 30px;
    height: 50px;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
}

.dr-hero__scroll::after {
    content: "";
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: #fff;
    border-radius: 4px;
    animation: dr-scroll 1.6s ease-in-out infinite;
}

@keyframes dr-scroll {
    0%   { opacity: 0; transform: translate(-50%, 0); }
    40%  { opacity: 1; }
    80%  { opacity: 0; transform: translate(-50%, 14px); }
    100% { opacity: 0; }
}

/* --- Intro / overview ---------------------------------------------------- */
.dr-intro {
    padding: 110px 0 90px;
    text-align: center;
}

.dr-intro__title {
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 900;
    line-height: 1.15;
    margin: 0 auto 26px;
    max-width: 860px;
}

.dr-intro__lead {
    font-size: 19px;
    line-height: 1.75;
    color: var(--dr-muted);
    max-width: 820px;
    margin: 0 auto 40px;
}

/* --- Feature rows (disaster_relief_list) --------------------------------- */
.dr-features {
    padding: 30px 0 40px;
}

.dr-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
    padding: 50px 0;
}

.dr-feature__media {
    position: relative;
}

.dr-feature__media img {
    width: 100%;
    height: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: var(--dr-radius);
    box-shadow: var(--dr-shadow);
    display: block;
}

.dr-feature__index {
    position: absolute;
    top: -26px;
    left: -26px;
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: var(--dr-red);
    color: #fff;
    font-size: 30px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 14px 30px rgba(164, 29, 33, 0.35);
}

.dr-feature__title {
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 900;
    line-height: 1.2;
    margin: 14px 0 20px;
    text-transform: capitalize;
}

.dr-feature__title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: var(--dr-red);
    border-radius: 4px;
    margin-top: 18px;
}

.dr-feature__text {
    font-size: 18px;
    line-height: 1.8;
    color: var(--dr-muted);
    margin: 0;
}

/* reverse every even row */
.dr-feature:nth-child(even) .dr-feature__media {
    order: 2;
}

.dr-feature:nth-child(even) .dr-feature__index {
    left: auto;
    right: -26px;
}

/* --- Full-width banner --------------------------------------------------- */
.dr-banner {
    position: relative;
    margin: 60px 0;
    height: 420px;
    overflow: hidden;
}

.dr-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* --- Differentiators (dark highlight band) ------------------------------- */
.dr-highlight {
    background: linear-gradient(135deg, #1a1d21 0%, #2a1113 100%);
    color: #fff;
    padding: 100px 0;
}

.dr-highlight__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 70px;
}

.dr-highlight__media img {
    width: 100%;
    max-height: 460px;
    object-fit: cover;
    border-radius: var(--dr-radius);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.45);
    display: block;
}

.dr-highlight__title {
    font-size: clamp(28px, 3.4vw, 42px);
    font-weight: 900;
    line-height: 1.15;
    margin: 0 0 24px;
    color: #fff;
}

.dr-highlight__text {
    font-size: 18px;
    line-height: 1.85;
    color: rgba(255, 255, 255, 0.78);
    margin: 0;
}

/* --- Testimonial --------------------------------------------------------- */
.dr-testimonial {
    padding: 110px 0;
    background: var(--dr-soft);
    text-align: center;
}

.dr-testimonial__title {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 900;
    margin: 0 0 50px;
}

.dr-testimonial .owl-carousel,
.dr-testimonial__single {
    max-width: 860px;
    margin: 0 auto;
}

.dr-quote {
    position: relative;
    background: #fff;
    border-radius: var(--dr-radius);
    padding: 60px 50px 50px;
    box-shadow: var(--dr-shadow);
}

.dr-quote::before {
    content: "\201C";
    position: absolute;
    top: -10px;
    left: 34px;
    font-size: 120px;
    line-height: 1;
    color: var(--dr-red);
    font-family: Georgia, serif;
    opacity: 0.9;
}

.dr-quote p {
    font-size: 21px;
    line-height: 1.7;
    color: var(--dr-ink);
    font-weight: 500;
    margin: 0 0 26px;
    font-style: italic;
}

.dr-quote span {
    display: inline-block;
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--dr-red);
}

.dr-testimonial .owl-dots {
    margin-top: 30px;
}

.dr-testimonial .owl-dots .owl-dot span {
    background: #c9ccd1 !important;
}

.dr-testimonial .owl-dots .owl-dot.active span {
    background: var(--dr-red) !important;
}

/* --- Gallery ------------------------------------------------------------- */
.dr-gallery {
    padding: 110px 0 40px;
    text-align: center;
}

.dr-gallery__title {
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 900;
    text-transform: uppercase;
    margin: 0 0 12px;
}

.dr-gallery__title::after {
    content: "";
    display: block;
    width: 70px;
    height: 4px;
    background: var(--dr-red);
    border-radius: 4px;
    margin: 20px auto 0;
}

.dr-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
    margin-top: 56px;
}

.dr-gallery__item {
    position: relative;
    border-radius: var(--dr-radius);
    overflow: hidden;
    box-shadow: 0 16px 40px rgba(20, 23, 26, 0.10);
    aspect-ratio: 4 / 3;
    display: block;
}

.dr-gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

.dr-gallery__item:hover img {
    transform: scale(1.08);
}

.dr-gallery__caption {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: flex-end;
    padding: 26px;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0.78) 100%);
    opacity: 0;
    transition: opacity .35s ease;
}

.dr-gallery__item:hover .dr-gallery__caption {
    opacity: 1;
}

.dr-gallery__caption span {
    color: #fff;
    font-size: 20px;
    font-weight: 900;
    margin: 0;
    text-align: left;
    line-height: 1.3;
}

/* --- Closing CTA band ---------------------------------------------------- */
.dr-cta {
    margin: 90px 0 0;
    padding: 90px 0;
    background: linear-gradient(135deg, var(--dr-red) 0%, var(--dr-red-dark) 100%);
    text-align: center;
    color: #fff;
}

.dr-cta__title {
    font-size: clamp(28px, 3.6vw, 44px);
    font-weight: 900;
    line-height: 1.2;
    margin: 0 auto 18px;
    max-width: 720px;
    color: #fff;
}

.dr-cta__text {
    font-size: 19px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.9);
    max-width: 620px;
    margin: 0 auto 36px;
}

.dr-cta .dr-btn--primary {
    background: #fff;
    color: var(--dr-red);
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.22);
}

.dr-cta .dr-btn--primary:hover {
    background: var(--dr-ink);
    color: #fff;
}

/* --- Responsive ---------------------------------------------------------- */
@media (max-width: 991px) {
    .dr-feature,
    .dr-highlight__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .dr-feature:nth-child(even) .dr-feature__media {
        order: 0;
    }

    .dr-feature:nth-child(even) .dr-feature__index {
        left: -18px;
        right: auto;
    }

    .dr-gallery__grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .dr-highlight__media {
        order: -1;
    }
}

@media (max-width: 767px) {
    .dr-hero {
        min-height: 520px;
    }

    .dr-hero__inner {
        padding: 110px 22px 90px;
    }

    .dr-intro {
        padding: 70px 0 60px;
    }

    .dr-feature {
        padding: 30px 0;
    }

    .dr-feature__index {
        width: 64px;
        height: 64px;
        font-size: 24px;
        top: -20px;
        left: -14px;
    }

    .dr-banner {
        height: 280px;
        margin: 40px 0;
    }

    .dr-highlight,
    .dr-testimonial,
    .dr-gallery {
        padding: 70px 0;
    }

    .dr-quote {
        padding: 50px 26px 40px;
    }

    .dr-quote p {
        font-size: 18px;
    }

    .dr-gallery__grid {
        grid-template-columns: 1fr;
    }

    .dr-cta {
        padding: 70px 0;
    }
}
