/* ========================================
   HERO & LAYOUT - SHARED STYLES
   Used across all pages (contact, testimonials, etc)
======================================== */

:root {
    /* REVISED PALETTE: Monochrome + Gold */
    --color-safari-green: #111111;   /* Main Heading/Dark elements (Was Green) */
    --color-safari-gold: #c5a059;    /* Accent Gold (Unchanged) */
    --color-body-bg: #ffffff;        /* Main Background (Was Off-white) */
    --color-text-main: #333333;      /* Standard Text */
    --color-text-light: #666666;     /* Muted Text */
    --color-white: #ffffff;
    --color-footer-bg: #000000;      /* Footer Black */
}

body {
    background-color: var(--color-body-bg);
    color: var(--color-text-main);
    font-family: 'Raleway', sans-serif; /* Ensuring consistency */
}

/* ========================================
   PAGE HERO SECTION (Standard across all pages)
======================================== */

.page-hero {
    position: relative;
    /* Changed gradient overlay to Black/Dark Grey */
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)), url("assets/img/hero-elephant.jpg");
    background-size: cover;
    background-position: center 20%;
    padding: 10rem 0 5rem;
    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: 700;
    font-size: 0.95rem;
}

.page-hero__title {
    font-weight: 700;
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.5);
}

.page-hero__subtitle {
    font-size: 1.125rem;
    opacity: 0.95;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 300;
}

/* ========================================
   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); /* Now Black */
    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: 4px; /* Sharper corners for modern look */
    padding: 3rem 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Softer shadow */
    height: 100%;
    border-top: 4px solid transparent;
    border: 1px solid #eee; /* Light border definition */
    text-align: center;
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
    border-top-color: var(--color-safari-gold);
    border-color: #e0e0e0;
}

.content-card__title {
    color: var(--color-safari-green); /* Now Black */
    font-weight: 700;
    margin-bottom: 1.5rem;
    font-size: 1.25rem;
}

.icon-circle {
    width: 70px;
    height: 70px;
    /* Neutral grey background instead of green tint */
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: var(--color-text-main); /* Dark Grey Icon */
    font-size: 1.75rem;
    transition: all .3s ease;
}

.content-card:hover .icon-circle {
    background: var(--color-safari-green); /* Black background on hover */
    color: var(--color-safari-gold);       /* Gold icon on hover */
}

/* ========================================
   TEXT & LINK UTILITIES
======================================== */

.text-safari-green {
    color: var(--color-safari-green) !important; /* Black */
}

.text-safari-gold {
    color: var(--color-safari-gold) !important;
}

.text-dark-green {
    color: #000000 !important; /* Pure Black */
}

.text-gold {
    color: var(--color-safari-gold) !important;
}

.font-heading {
    font-weight: 700;
    font-family: 'Raleway', sans-serif;
}

.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); /* Black Background */
    color: var(--color-white);
    border-radius: 50px;
    padding: 1rem 3rem;
    font-weight: 700;
    letter-spacing: 1px;
    transition: all .3s;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    display: inline-block;
    text-decoration: none;
    border: 1px solid var(--color-safari-green);
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.btn-safari:hover {
    background: var(--color-safari-gold);
    border-color: var(--color-safari-gold);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
    color: #000; /* Black text on Gold background */
}

.btn-outline-safari {
    border: 2px solid var(--color-safari-green); /* Black Border */
    color: var(--color-safari-green);            /* Black Text */
    border-radius: 50px;
    padding: 0.6rem 2rem;
    font-weight: 700;
    transition: all .3s;
    display: inline-block;
    text-decoration: none;
    background: transparent;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 0.85rem;
}

.btn-outline-safari:hover {
    background: var(--color-safari-green); /* Black Background */
    color: var(--color-safari-gold);       /* Gold Text */
    border-color: var(--color-safari-green);
}

/* ========================================
   CTA SECTION (Call-to-action)
======================================== */

.cta-section {
    text-align: center;
    padding: 3rem 0;
    background-color: #f9f9f9; /* Light Grey background */
}

.cta-section__title {
    font-weight: 700;
    color: var(--color-safari-green); /* Black */
    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;
    font-weight: 300;
}

/* ========================================
   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;
    }
}