/* -------------------------------------------------------
   RESET & BASE
------------------------------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-family: "Epunda Slab", "Georgia", "Times New Roman", serif;
    background: #e3e0dc; /* light grey-beige tone from mockup */
    color: #111;
    scroll-behavior: smooth; /* Smooth scrolling for anchor links */
}

body {
    line-height: 1.6;
}

/* -------------------------------------------------------
   HEADER / NAV
------------------------------------------------------- */

header {
    width: 100%;
    background: #dfdbd4; /* warm gray bar */
    border-bottom: 2px solid #000;
}

.nav-container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 18px 24px;

    display: flex;
    align-items: center;
}

.nav-right {
    display: flex;
    align-items: center;
    margin-left: auto;
    gap: 1rem;
}

.site-title {
    font-family: "Underdog", system-ui;
    font-weight: 400;
    font-style: normal;
    font-size: 2.2rem;
    letter-spacing: 1px;
    line-height: 1;
    font-stretch: condensed; /* Narrow the characters */
    text-transform: uppercase;
}

.site-title a {
    text-decoration: none;
    color: #000;
    -webkit-text-stroke: 1px white;
    paint-order: stroke fill;
    /* Fallback outline using text-shadow for better browser support */
    text-shadow: 
        -0.5px -0.5px 0 white,
        0.5px -0.5px 0 white,
        -0.5px 0.5px 0 white,
        0.5px 0.5px 0 white,
        -0.5px 0 0 white,
        0.5px 0 0 white,
        0 -0.5px 0 white,
        0 0.5px 0 white;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 0;
    align-items: center;
}

nav li {
    display: flex;
    align-items: center;
}

nav li:not(:last-child)::after {
    content: '';
    width: 1px;
    height: 20px;
    background-color: #878683;
    margin: 0 1.5rem;
}

nav a {
    text-decoration: none;
    color: #000;
    font-size: 1.1rem;
    transition: opacity .2s;
    -webkit-text-stroke: 1px white;
    paint-order: stroke fill;
    /* Fallback outline using text-shadow for better browser support */
    text-shadow: 
        -0.5px -0.5px 0 white,
        0.5px -0.5px 0 white,
        -0.5px 0.5px 0 white,
        0.5px 0.5px 0 white,
        -0.5px 0 0 white,
        0.5px 0 0 white,
        0 -0.5px 0 white,
        0 0.5px 0 white;
}

nav a:hover {
    opacity: 0.6;
}

.signature-logo {
    display: flex;
    align-items: center;
    margin-left: 2rem;
}

.signature-logo img {
    height: 40px;
    width: auto;
}

/* -------------------------------------------------------
   HERO SECTION
------------------------------------------------------- */

.hero {
    width: 100%;
    height: 860px;
    background-image: url("../img/featured_project.png");
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.hero-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 160px; /* Adjust height as needed for the black bar */
    background: rgba(0, 0, 0, 0.6); /* Solid black, semi-transparent */
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: #fff;
    max-width: 900px;
    width: 100%;
    padding: 30px 20px;
    line-height: 1;
}

.hero-subtitle {
    font-size: 1rem;
    color: #878683;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.2rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 0.2rem;
    text-transform: uppercase;
}

.button {
    display: inline-block;
    padding: 12px 22px;
    background: #d6b300;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 3px;
    transition: background 0.2s;
    text-transform: none;
}

.button:hover {
    background: #a58800;
}

/* -------------------------------------------------------
   ABOUT SECTION
------------------------------------------------------- */

.about-section, .project-body {
    background: #e3e0dc;
    padding: 80px 24px;
}

.about-section .container, .project-body .container {
    max-width: 900px;
    margin: 0 auto;
}

.about-section h2, .project-body h2 {
    font-family: "Underdog", system-ui;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.about-content, .project-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-content p, .project-content p {
    margin-bottom: 1.5rem;
}

.about-content p:last-child, .project-content p:last-child {
    margin-bottom: 0;
}

/* -------------------------------------------------------
   FOOTER
------------------------------------------------------- */

footer {
    text-align: center;
    padding: 40px 0;
    color: #878683;
    font-size: 0.9rem;
    opacity: 0.7;
}

/* -------------------------------------------------------
   RESPONSIVE / MOBILE STYLES
------------------------------------------------------- */

/* Tablets and smaller */
@media (max-width: 900px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
        padding: 16px 20px;
    }

    .site-title {
        font-size: 1.8rem;
    }

    .nav-right {
        width: 100%;
        justify-content: space-between;
        margin-left: 0;
    }

    nav ul {
        gap: 0;
    }

    nav li:not(:last-child)::after {
        margin: 0 1rem;
    }

    nav a {
        font-size: 1rem;
    }

    .signature-logo {
        margin-left: 0;
    }

    .signature-logo img {
        height: 35px;
    }

    .hero {
        height: 600px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .about-section {
        padding: 60px 20px;
    }

    .about-content {
        font-size: 1rem;
    }
}

/* Mobile phones */
@media (max-width: 600px) {
    .nav-container {
        padding: 12px 16px;
    }

    .site-title {
        font-size: 1.5rem;
        text-align: center;
    }

    .nav-right {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    nav li:not(:last-child)::after {
        margin: 0 0.6rem;
        height: 16px;
    }

    nav a {
        font-size: 0.9rem;
    }

    .signature-logo {
        display: none;
    }

    .hero {
        height: 400px;
    }

    .hero-overlay {
        height: 120px;
    }

    .hero-content {
        padding: 20px 16px;
    }

    .hero-subtitle {
        font-size: 0.85rem;
    }

    .hero-title {
        font-size: 1.8rem;
        letter-spacing: 1px;
    }

    .button {
        padding: 10px 18px;
        font-size: 0.9rem;
    }

    .about-section {
        padding: 40px 16px;
    }

    .about-section h2 {
        font-size: 2rem;
    }

    .about-content {
        font-size: 0.95rem;
        line-height: 1.7;
    }

    footer {
        padding: 30px 16px;
        font-size: 0.85rem;
    }
}