/* ===================================================
   Ubunifu Africa Film Safaris — Super Landing Page
    Responsive layout
   =================================================== */

:root {
    --primary-gold: #D4AF37;
    --deep-earth: #2C1B12;
    --accent-red: #8B0000;
    --text-light: #F5E6CA;
}

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

body {
    margin: 0;
    padding: 0;
    background-color: var(--deep-earth);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-light);
    display: flex;
    justify-content: center;
    align-items: stretch;
    min-height: 100vh;
    overflow-x: hidden;
}

/* ---- Main Container ---- */
.page-wrapper {
    width: min(1200px, 100%);
    min-height: 100vh;
    background:
        linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)),
        url('../img/hero-bg.jpg') center/cover no-repeat;
    border: 4px solid var(--primary-gold);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

/* ---- Top Header ---- */
.main-header {
    text-align: center;
    padding: 16px 12px;
    font-size: clamp(1.5rem, 4.8vw, 3.25rem);
    letter-spacing: clamp(2px, 1vw, 12px);
    font-weight: 800;
    border-bottom: 2px solid var(--primary-gold);
    text-transform: uppercase;
    background: rgba(0, 0, 0, 0.4);
    line-height: 1.1;
}

/* ---- Navigation Bar ---- */
.nav-bar {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    border-bottom: 2px solid var(--primary-gold);
    text-align: center;
    font-weight: bold;
    font-size: 13px;
    background: rgba(44, 27, 18, 0.9);
}

.nav-item {
    padding: 12px 8px;
    border-right: 1px solid var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s, color 0.3s;
    text-decoration: none;
    color: var(--text-light);
    text-transform: uppercase;
    line-height: 1.3;
}

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

.nav-item:last-child {
    border-right: none;
}

/* ---- Main Hero Body ---- */
.hero-body {
    flex-grow: 1;
    display: flex;
    justify-content: space-between;
    position: relative;
}

/* ---- Side Patterns (Triangles) ---- */
.side-pattern {
    width: clamp(42px, 6vw, 80px);
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
}

.triangle {
    width: 0;
    height: 0;
    border-left: clamp(14px, 2.3vw, 30px) solid transparent;
    border-right: clamp(14px, 2.3vw, 30px) solid transparent;
    border-bottom: clamp(24px, 4vw, 50px) solid var(--primary-gold);
    opacity: 0.7;
}

/* ---- Central Africa Map Area ---- */
.map-container {
    flex-grow: 1;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.africa-svg {
    width: min(88%, 440px);
    height: auto;
    fill: none;
    stroke: var(--text-light);
    stroke-width: 2;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5));
    transition: transform 0.5s ease;
    cursor: pointer;
}

.africa-svg:hover {
    transform: scale(1.05);
}

/* ---- Slogan ---- */
.slogan-box {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    min-height: 100px;
    font-size: clamp(0.72rem, 1.6vw, 1rem);
    font-weight: 300;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: clamp(6px, 1vw, 12px);
    white-space: nowrap;
    text-align: center;
}

.dots {
    color: var(--primary-gold);
}

/* ---- Social Bar / Footer ---- */
.social-bar {
    background: rgba(0, 0, 0, 0.8);
    padding: 15px;
    display: flex;
    justify-content: center;
    gap: 18px;
    border-top: 2px solid var(--primary-gold);
    flex-shrink: 0;
}

.social-link {
    text-decoration: none;
    color: var(--text-light);
    font-size: clamp(0.7rem, 1.5vw, 0.875rem);
    font-weight: bold;
    text-transform: uppercase;
    transition: color 0.3s;
    white-space: nowrap;
}

.social-link:hover {
    color: var(--primary-gold);
}

/* ---- Shield Icons (inside map container) ---- */
.shield {
    position: absolute;
    bottom: 20px;
    width: clamp(40px, 5vw, 60px);
    height: auto;
    opacity: 0.6;
}


.shield.left  { left:  clamp(16px, 8vw, 100px); }
.shield.right { right: clamp(16px, 8vw, 100px); }

.shield-line {
    width: 80%;
    height: 2px;
    background: var(--primary-gold);
    margin: 4px 0;
}

@media (max-width: 900px) {
    .nav-bar {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .nav-item {
        border-right: none;
        border-bottom: 1px solid var(--primary-gold);
        min-height: 56px;
    }

    .nav-item:nth-child(odd) {
        border-right: 1px solid var(--primary-gold);
    }

    .hero-body {
        min-height: 52vh;
    }
}

@media (max-width: 640px) {
    .page-wrapper {
        border-width: 2px;
    }

    .main-header {
        line-height: 1.25;
    }

    .hero-body {
        padding: 12px 0;
    }

    .side-pattern {
        display: none;
    }

    .map-container {
        padding: 10px 10px 130px;
    }

    .slogan-box {
        bottom: 14px;
        min-height: 84px;
        white-space: normal;
        flex-wrap: wrap;
        justify-content: center;
    }

    .shield {
        width: 40px;
        bottom: 14px;
    }

    .shield.left {
        left: 8px;
    }

    .shield.right {
        right: 8px;
    }

    .social-bar {
        flex-wrap: wrap;
        padding: 10px;
        gap: 10px 14px;
    }
}
