/* =====================================================
   OSERO NOMADS — PORTFOLIO MINI-SITE
   Style: High-Fashion / National Geographic Editorial
   Theme: Dark Brown, Cinematic, Parallax (Osero Brand Colors)
===================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400&family=Montserrat:wght@200;300;400;500&display=swap');

:root {
    /* Osero Brand Palette - Dark Mode */
    --p-bg: #1a0f05;
    /* Very Dark Brown (almost black but warm) */
    --p-surface: #2a1805;
    /* Deep Earth Brown */
    --p-text: #f4f1ea;
    /* Warm Sand / Off-White */
    --p-muted: #a88f72;
    /* Muted Tan */
    --p-gold: #d4a230;
    /* Dark Mustard Yellow */
    --p-red: #8a3324;
    /* Earth Red (Accent) */

    --font-display: 'Cinzel', serif;
    --font-serif: 'Cormorant Garamond', serif;
    --font-sans: 'Montserrat', sans-serif;
}

/* ================= RESET & BASE ================= */
body {
    background-color: var(--p-bg) !important;
    color: var(--p-text) !important;
    font-family: var(--font-sans) !important;
    font-weight: 300;
    line-height: 1.8;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--p-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--p-surface);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--p-gold);
}

/* ================= TYPOGRAPHY ================= */
h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-display);
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #fff;
}

.p-serif-title {
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 3rem;
    color: var(--p-gold);
    line-height: 1.2;
}

.p-lead {
    font-size: 1.2rem;
    color: #ccc;
    font-family: var(--font-serif);
}

.p-muted {
    color: var(--p-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

hr.p-line {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--p-gold), transparent);
    margin: 40px auto;
    width: 60%;
    opacity: 0.5;
}

/* ================= LAYOUT ================= */
.p-section {
    padding: 120px 0;
    position: relative;
}

.p-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.p-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.p-text-block {
    padding: 40px;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
}

/* ================= HERO (FULL SCREEN) ================= */
.p-hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.p-hero-bg {
    position: absolute;
    inset: 0;
    background: url('../img/portfolio/6.jpg') no-repeat center/cover;
    filter: brightness(0.6);
    z-index: 0;
    animation: slowZoom 20s infinite alternate;
}

@keyframes slowZoom {
    from {
        transform: scale(1);
    }

    to {
        transform: scale(1.1);
    }
}

.p-hero-content {
    position: relative;
    z-index: 2;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 60px 100px;
    backdrop-filter: blur(5px);
    background: rgba(42, 24, 5, 0.5);
    /* Dark brown with transparency */
}

.p-hero h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    letter-spacing: 10px;
}

.p-hero-sub {
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 5px;
    font-size: 0.9rem;
    margin-bottom: 30px;
    display: block;
}

.p-year {
    font-family: var(--font-serif);
    font-style: italic;
    color: var(--p-gold);
    font-size: 1.5rem;
}

/* ================= MASONRY / IMAGE GRIDS ================= */
.p-masonry {
    column-count: 3;
    column-gap: 30px;
}

.p-masonry-item {
    break-inside: avoid;
    margin-bottom: 30px;
    position: relative;
}

.p-masonry-item img {
    width: 100%;
    border-radius: 2px;
    filter: grayscale(20%);
    transition: all 0.5s ease;
}

.p-masonry-item:hover img {
    filter: grayscale(0%);
    transform: translateY(-5px);
}

/* ================= STORY SECTIONS (e.g. Somalia, Burundi) ================= */
.p-story-header {
    text-align: center;
    margin-bottom: 80px;
}

.p-story-header h2 {
    font-size: 3.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.p-story-header span {
    display: block;
    font-family: var(--font-serif);
    font-style: italic;
    font-size: 1.8rem;
    color: var(--p-gold);
}

.p-gallery-row {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    overflow-x: auto;
    padding-bottom: 20px;
}

.p-gallery-row img {
    height: 400px;
    width: auto;
    object-fit: cover;
    border-radius: 2px;
}

/* ================= SERVICES LIST ================= */
.p-services-list {
    list-style: none;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.p-services-list li {
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    transition: background 0.3s;
}

.p-services-list li:hover {
    background: rgba(212, 162, 48, 0.05);
    /* Slight gold tint on hover */
    padding-left: 20px;
}

.p-service-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    width: 40%;
    color: #fff;
}

.p-service-desc {
    width: 50%;
    color: #bbb;
}

/* ================= QUOTE BLOCK ================= */
.p-quote-block {
    text-align: center;
    padding: 100px 0;
    background: var(--p-surface);
    /* Deep Earth Brown */
}

.p-quote-text {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    line-height: 1.4;
    font-style: italic;
    max-width: 1000px;
    margin: 0 auto;
    color: #fff;
}

.p-quote-author {
    margin-top: 30px;
    font-family: var(--font-sans);
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--p-gold);
}

/* ================= CONTACT CARD ================= */
.p-contact-card {
    background: var(--p-surface);
    /* Deep Earth Brown */
    padding: 60px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: -100px;
    /* Overlap effect */
    position: relative;
    z-index: 10;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ================= NAVIGATION ================= */
.p-nav {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(26, 15, 5, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.p-logo {
    display: flex;
    align-items: center;
}

.p-nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.p-nav-links a {
    color: var(--p-text);
    text-decoration: none;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    font-weight: 400;
}

.p-nav-links a:hover {
    color: var(--p-gold);
}

.p-nav-links a.active {
    color: var(--p-gold);
    font-weight: 600;
}

/* ================= MOBILE ================= */
@media (max-width: 900px) {
    .p-grid-2 {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .p-hero h1 {
        font-size: 2.5rem;
        letter-spacing: 5px;
    }

    .p-masonry {
        column-count: 1;
    }

    .p-services-list li {
        flex-direction: column;
        gap: 10px;
    }

    .p-service-title,
    .p-service-desc {
        width: 100%;
    }

    .p-nav-links {
        display: none;
    }

    /* Hide nav on mobile, add burger menu if needed */
}