/* ========================================
   HERO & LAYOUT - SHARED STYLES
   Used across all pages (contact, testimonials, etc)
======================================== */

:root {
    --color-safari-green: #1a3c34;
    --color-safari-gold: #c5a059;
    --color-body-bg: #f7f7f5;
    --color-text-main: #2c3e50;
    --color-text-light: #666;
    --color-white: #fff;
}

body {
    background-color: var(--color-body-bg);
    color: var(--color-text-main);
}

/* ========================================
   PAGE HERO SECTION (Standard across all pages)
======================================== */

.page-hero {
    position: relative;
    background: linear-gradient(to bottom, rgba(15, 46, 32, .85), rgba(15, 46, 32, .7)), url("assets/img/hero-elephant.jpg");
    background-size: cover;
    background-position: center 30%;
    padding: 10rem 0 12rem;
    color: var(--color-white);
    text-align: center;
    z-index: 1;
}

.page-hero .container {
    position: relative;
    z-index: 2;
}

.page-hero__brand {
    display: block;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: .5rem;
    color: var(--color-safari-gold);
    font-weight: 600;
    font-size: 0.95rem;
}

.page-hero__title {
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
}

.page-hero__subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* ========================================
   OVERLAP SECTION (Cards below hero)
======================================== */

.overlap-section {
    margin-top: -7rem;
    position: relative;
    z-index: 10;
    padding-bottom: 5rem;
}

.overlap-section__title {
    text-align: center;
    margin-bottom: 2rem;
}

.overlap-section__title h2 {
    font-weight: 700;
    color: var(--color-safari-green);
    margin-bottom: 1rem;
}

.overlap-section__subtitle {
    color: var(--color-safari-gold);
    font-weight: 600;
}

/* ========================================
   CONTENT CARDS (Reusable card styling)
======================================== */

.content-card {
    background: var(--color-white);
    border-radius: 16px;
    padding: 3rem 2rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);
    height: 100%;
    border-top: 5px solid transparent;
    border-left: 1px solid rgba(0, 0, 0, 0.02);
    border-right: 1px solid rgba(0, 0, 0, 0.02);
    border-bottom: 1px solid rgba(0, 0, 0, 0.02);
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.12);
    border-top-color: var(--color-safari-gold);
}

.content-card__title {
    color: var(--color-safari-green);
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.icon-circle {
    width: 70px;
    height: 70px;
    background: rgba(26, 60, 52, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-safari-green);
    font-size: 1.75rem;
    transition: all .3s ease;
}

.content-card:hover .icon-circle {
    background: var(--color-safari-green);
    color: var(--color-safari-gold);
}

/* ========================================
   TEXT & LINK UTILITIES
======================================== */

.text-safari-green {
    color: var(--color-safari-green) !important;
}

.text-safari-gold {
    color: var(--color-safari-gold) !important;
}

.text-dark-green {
    color: var(--color-safari-green) !important;
}

.text-gold {
    color: var(--color-safari-gold) !important;
}

.font-heading {
    font-weight: 700;
}

.contact-link {
    color: var(--color-text-main);
    text-decoration: none;
    font-weight: 600;
    transition: color .2s;
}

.contact-link:hover {
    color: var(--color-safari-gold);
}

/* ========================================
   BUTTON STYLES
======================================== */

.btn-safari {
    background: var(--color-safari-green);
    color: var(--color-white);
    border-radius: 50px;
    padding: 1rem 3rem;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all .3s;
    box-shadow: 0 10px 20px rgba(26, 60, 52, 0.2);
    display: inline-block;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-safari:hover {
    background: var(--color-safari-gold);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(197, 160, 89, 0.3);
    color: var(--color-white);
}

.btn-outline-safari {
    border: 2px solid var(--color-safari-green);
    color: var(--color-safari-green);
    border-radius: 50px;
    padding: 0.6rem 2rem;
    font-weight: 600;
    transition: all .3s;
    display: inline-block;
    text-decoration: none;
    background: transparent;
    cursor: pointer;
}

.btn-outline-safari:hover {
    background: var(--color-safari-green);
    color: var(--color-white);
}

/* ========================================
   CTA SECTION (Call-to-action)
======================================== */

.cta-section {
    text-align: center;
    padding: 3rem 0;
}

.cta-section__title {
    font-weight: 700;
    color: var(--color-safari-green);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.cta-section__subtitle {
    color: var(--color-text-light);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 768px) {
    .page-hero {
        padding: 8rem 0;
    }

    .page-hero__title {
        font-size: 2.5rem;
    }

    .page-hero__subtitle {
        font-size: 1rem;
    }

    .overlap-section {
        margin-top: -4rem;
        padding-bottom: 3rem;
    }

    .content-card {
        padding: 2rem 1.5rem;
    }

    .cta-section__title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .page-hero {
        padding: 6rem 0 8rem;
    }

    .page-hero__title {
        font-size: 2rem;
    }

    .page-hero__brand {
        font-size: 0.85rem;
    }

    .overlap-section {
        margin-top: -2rem;
    }
}