/* ===================================================
   Ubunifu Africa Film Safaris — Shared Styles
   Mobile-responsive section pages
   =================================================== */

:root {
    --primary-gold:  #D4AF37;
    --deep-earth:    #2C1B12;
    --accent-red:    #8B0000;
    --text-light:    #F5E6CA;
    --teal:          #0F766E;
    --coral:         #FF7A59;
    --paper:         #FAF9F7;
    --ink:           #111111;
}

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

body {
    margin: 0;
    padding: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--paper);
    color: var(--ink);
}

/* ---- Shared Navbar ---- */
.site-nav {
    background: var(--deep-earth);
    border-bottom: 3px solid var(--primary-gold);
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
    position: sticky;
    top: 0;
    z-index: 999;
}

.site-nav__brand {
    color: var(--primary-gold);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 2px;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;
}

.site-nav__links {
    display: flex;
    gap: 1.2rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-nav__links a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.site-nav__links a:hover,
.site-nav__links a.active {
    color: var(--primary-gold);
}

/* Hamburger (mobile) */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-gold);
    border-radius: 2px;
    transition: all 0.3s;
}

@media (max-width: 768px) {
    .nav-toggle { display: flex; }

    .site-nav__links {
        display: none;
        flex-direction: column;
        gap: 0;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--deep-earth);
        border-bottom: 2px solid var(--primary-gold);
        padding: 0.5rem 0;
    }

    .site-nav__links.open { display: flex; }

    .site-nav__links li { border-bottom: 1px solid rgba(212,175,55,0.2); }

    .site-nav__links a {
        display: block;
        padding: 0.75rem 1.5rem;
        font-size: 0.85rem;
    }
}

/* ---- Section Hero ---- */
.section-hero {
    background: linear-gradient(135deg, var(--deep-earth) 0%, #4a2c1a 100%);
    color: var(--text-light);
    text-align: center;
    padding: 5rem 1.5rem 4rem;
    border-bottom: 3px solid var(--primary-gold);
    position: relative;
    overflow: hidden;
}

.section-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><polygon points="30,0 60,60 0,60" fill="none" stroke="%23D4AF37" stroke-width="0.5" opacity="0.15"/></svg>') repeat;
    background-size: 60px 60px;
}

.section-hero h1 {
    font-size: clamp(1.8rem, 5vw, 3.5rem);
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin: 0 0 1rem;
    position: relative;
}

.section-hero p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
    opacity: 0.85;
    position: relative;
}

/* ---- Buttons ---- */
.btn {
    display: inline-block;
    padding: 0.75rem 2rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.25s;
    border: 2px solid transparent;
}

.btn-gold {
    background: var(--primary-gold);
    color: var(--deep-earth);
}

.btn-gold:hover {
    background: #c09b25;
    color: var(--deep-earth);
}

.btn-outline {
    background: transparent;
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.btn-outline:hover {
    background: var(--primary-gold);
    color: var(--deep-earth);
}

/* ---- Content sections ---- */
.content-section {
    padding: 4rem 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.content-section h2 {
    font-size: clamp(1.4rem, 3vw, 2rem);
    color: var(--deep-earth);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-left: 4px solid var(--primary-gold);
    padding-left: 0.75rem;
    margin-bottom: 2rem;
}

/* ---- Cards grid ---- */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e8e0d0;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(44,27,18,0.08);
    transition: box-shadow 0.25s, transform 0.25s;
}

.card:hover {
    box-shadow: 0 6px 24px rgba(44,27,18,0.14);
    transform: translateY(-3px);
}

.card-icon { font-size: 2.2rem; margin-bottom: 0.75rem; }
.card h3   { margin: 0 0 0.5rem; color: var(--deep-earth); font-size: 1.05rem; font-weight: 700; }
.card p    { margin: 0; font-size: 0.9rem; color: #555; line-height: 1.6; }

/* ---- Footer ---- */
.site-footer {
    background: var(--deep-earth);
    border-top: 3px solid var(--primary-gold);
    color: var(--text-light);
    padding: 2.5rem 1.5rem;
    text-align: center;
}

.site-footer__social {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    margin-bottom: 1.5rem;
}

.site-footer__social a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.2s;
}

.site-footer__social a:hover { color: var(--primary-gold); }

.site-footer__legal {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    font-size: 0.78rem;
    opacity: 0.6;
}

.site-footer__legal a {
    color: var(--text-light);
    text-decoration: none;
}

.site-footer__legal a:hover { color: var(--primary-gold); }

.site-footer p { margin: 0; font-size: 0.82rem; opacity: 0.5; }
