/* ========================================
   BRAND COLORS
======================================== */
:root {
    --red: #ba0c2f;
    --gold: #eaaa00;
    --black: #222222;
    --gray: #777777;
    --white: #ffffff;
    --light-gray: #f7f7f7;
    --section-padding: 50px;
    --content-width: 1100px;
    --text-width: 55ch;
}

/* ========================================
   GENERAL STYLES
======================================== */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--white);
    color: var(--black);
    font-family: "acumin-pro", Arial, sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
}

/* Centered Content */
main .container,
.site-header .container-fluid,
.site-footer .container-fluid {
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
}

/* ========================================
   TYPOGRAPHY
======================================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: "Nunito", sans-serif;
    font-weight: 800;
    line-height: 1.2;
}

/* ========================================
   NAVIGATION
======================================== */
.site-header {
    width: 100%;
    background-color: var(--white);
    border-bottom: 2px solid var(--gold);
}

.navbar {
    background-color: var(--white);
    padding: 10px 0;
}

/* Navbar Logo */
.navbar-brand {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 0;
}

.nav-logo {
    display: block;
    width: 150px;
    height: auto;
}

/* Mobile Navigation */
.navbar-toggler {
    background-color: var(--red);
    border: 2px solid var(--red);
    border-radius: 12px;
    padding: 8px;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 25px;
    height: 25px;
    background-image: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.navbar-toggler-icon::before {
    content: "\2630";
    color: var(--white);
    font-size: 28px;
    line-height: 1;
}

/* Navigation Links */
.navbar .nav-link {
    color: var(--black);
    font-size: 16px;
    font-weight: 600;
    text-transform: lowercase;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.navbar .nav-link:hover {
    color: var(--gold);
}

.navbar .nav-link.active {
    color: var(--red);
}

/* ========================================
   BUTTONS
======================================== */
.portfolio-button {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 30px;
    border: 2px solid var(--red);
    border-radius: 12px;
    background-color: var(--red);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    text-transform: lowercase;
    transition:
        background-color 0.3s ease,
        border-color 0.3s ease,
        color 0.3s ease;
}

.portfolio-button:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

/* ========================================
   SECTION SPACING AND DIVIDERS
======================================== */
.intro-section,
.portfolio-section,
.about-section {
    padding: var(--section-padding) 0;
}

.hero-section,
.intro-section,
.portfolio-section,
.about-section {
    border-bottom: 2px solid var(--gold);
}

/* ========================================
   HERO
======================================== */
.hero-section {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url("../images/hero.jpg");
    background-size: cover;
    background-position: center;
    text-align: center;
    padding: var(--section-padding) 20px;
}

.hero-content {
    width: 100%;
}

.hero-heading {
    font-size: clamp(48px, 8vw, 100px);
    font-weight: 900;
    color: var(--white);
    margin: 0;
}

.cursor {
    color: var(--gold);
    animation: blink 0.8s step-end infinite;
}

@keyframes blink {
    50% {
        opacity: 0;
    }
}

/* ========================================
   HOME INTRODUCTION
======================================== */
.intro-section {
    text-align: center;
}

.intro-section h2 {
    font-size: clamp(36px, 5vw, 64px);
    letter-spacing: -2px;
    margin-bottom: 15px;
    color: var(--red);
}

/* Tagline */
.intro-section .tagline {
    font-family: "Nunito", sans-serif;
    font-size: 24px;
    font-weight: 800;
    color: var(--gold);
    margin-bottom: 20px;
}

.tagline-divider {
    color: var(--red);
}

/* Introduction Description */
.intro-description {
    font-size: 20px;
    color: var(--gray);
    max-width: var(--text-width);
    margin: 0 auto;
}

/* ========================================
   FEATURED CASE STUDIES
======================================== */
.portfolio-section h2 {
    font-size: 28px;
    margin-bottom: 40px;
    color: var(--red);
}

/* Project Cards */
.project-card a {
    display: block;
    color: var(--black);
}

.project-image {
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 12px;
    background-color: var(--light-gray);
}

.project-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

/* Project Hover */
.project-card a:hover img {
    transform: scale(1.04);
}

/* Project Titles */
.project-card h3 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 18px;
    margin-bottom: 5px;
    color: var(--red);
    transition: color 0.3s ease;
}

.project-card a:hover h3 {
    color: var(--red);
}

/* Project Descriptions */
.project-card p {
    font-size: 15px;
    color: var(--gray);
    margin-bottom: 0;
}

/* ========================================
   ABOUT INTRODUCTION
======================================== */
.about-section {
    background-color: var(--light-gray);
}

/* About Image */
.about-image {
    display: block;
    width: 100%;
    max-width: 250px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 12px;
    margin: 0 auto;
}

/* About Label */
.about-label {
    font-family: "Nunito", sans-serif;
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 800;
    color: var(--red);
    margin-bottom: 15px;
}

/* About Heading */
.about-section h2 {
    font-size: 16px;
    letter-spacing: 2px;
    color: var(--gold);
    margin-bottom: 15px;
}

/* About Description */
.about-description {
    font-size: 18px;
    color: var(--black);
    line-height: 1.7;
    max-width: var(--text-width);
    margin-bottom: 10px;
}

/* ========================================
   FOOTER
======================================== */
.site-footer {
    width: 100%;
    background-color: var(--red);
    padding: 25px 0;
}

/* Footer Social Media */
.footer-social {
    margin-bottom: 12px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 23px;
    line-height: 1;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--gold);
}

/* Copyright */
.copyright {
    font-size: 12px;
    color: var(--white);
    overflow-wrap: anywhere;
}

/* Footer Logo */
.footer-logo {
    display: inline-block;
}

.footer-logo-img {
    display: block;
    width: 33px;
    height: auto;
    margin: 0 auto;
}

/* Footer Navigation and Email */
.footer-right {
    text-align: right;
}

.footer-nav a {
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    text-transform: lowercase;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--gold);
}

/* Footer Email */
.footer-email {
    font-size: 12px;
    color: var(--white);
    margin-top: 10px;
    overflow-wrap: anywhere;
}

/* ========================================
   WORK PAGE
======================================== */

/* Work Introduction */
.work-intro {
    padding: 50px 0 0;
}

.work-intro h1 {
    color: var(--red);
    font-size: clamp(36px, 5vw, 64px);
    margin-bottom: 20px;
}

.work-intro h2 {
    color: var(--black);
    font-size: 28px;
    margin-bottom: 0;
}
/* Project Descriptions */
.project-description {
    margin-top: 12px;
    line-height: 1.6;
}

/* Portfolio Project Buttons */
.project-card .portfolio-button {
    display: inline-block;
    width: fit-content;
    background-color: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.project-card .portfolio-button:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

/* Contact Section */
.work-contact {
    padding: var(--section-padding) 0;
    background-color: var(--light-gray);
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
}

.work-contact h2 {
    color: var(--red);
    font-size: 32px;
}

.work-contact p {
    color: var(--gray);
    font-size: 18px;
}

/* Contact Section */
.work-contact {
    padding: var(--section-padding) 0;
    background-color: var(--light-gray);
    border-top: 2px solid var(--gold);
    border-bottom: 2px solid var(--gold);
}

.work-contact h2 {
    color: var(--red);
    font-size: 32px;
}

.work-contact p {
    color: var(--gray);
    font-size: 18px;
}

/* ========================================
   PROJECT DETAIL PAGES
======================================== */

/* Project Layout */
.project-detail {
    padding: 60px 0 80px;
}

.project-detail .container-fluid {
    max-width: var(--content-width);
    margin-left: auto;
    margin-right: auto;
}

/* Project Headings */
.project-detail h1 {
    color: var(--red);
}

.project-detail h2 {
    color: var(--red);
    font-size: 28px;
    margin-bottom: 20px;
}

/* Project Statement */
.project-detail p {
    line-height: 1.8;
    margin-bottom: 20px;
}

/* Project Images */
.project-detail img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

/* Project Buttons */
.project-detail .portfolio-button {
    display: inline-block;
    width: fit-content;
    background-color: var(--red);
    border-color: var(--red);
    color: var(--white);
}

.project-detail .portfolio-button:hover {
    background-color: var(--gold);
    border-color: var(--gold);
    color: var(--black);
}

/* Full PDF Viewer */
.pdf-viewer {
    display: block;
    width: 100%;
    height: 700px;
    border: 1px solid #ddd;
    border-radius: 12px;
    margin-bottom: 20px;
}

/* ========================================
   ACCESSIBILITY
======================================== */
a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--red);
    outline-offset: 4px;
}

.site-footer a:focus-visible {
    outline-color: var(--gold);
}

/* ========================================
   MOBILE
======================================== */
@media (max-width: 767.98px) {
    :root {
        --section-padding: 40px;
    }

    /* Navigation */
    .navbar {
        padding: 8px 0;
    }

    .nav-logo {
        width: 120px;
    }

    .navbar-nav {
        text-align: center;
        padding: 20px 0 10px;
    }

    .navbar .nav-link {
        padding: 10px 0;
    }

    /* Hero */
    .hero-section {
        min-height: 350px;
        padding: var(--section-padding) 15px;
    }

    .hero-heading {
        font-size: clamp(40px, 9vw, 60px);
    }

    /* Introduction */
    .intro-section h2 {
        font-size: clamp(32px, 8vw, 44px);
        letter-spacing: -1px;
    }

    .intro-section .tagline {
        font-size: 20px;
    }

    .intro-description {
        font-size: 17px;
    }

    /* Featured Case Studies */
    .portfolio-section h2 {
        font-size: 24px;
        margin-bottom: 25px;
    }

    .project-card h3 {
        font-size: 20px;
    }

    /* About Introduction */
    .about-image {
        max-width: 200px;
    }

    .about-label {
        font-size: 28px;
    }

    .about-description {
        font-size: 16px;
    }

    /* Project PDF Viewer */
    .pdf-viewer {
        height: 450px;
    }

    /* Footer */
    .site-footer {
        padding: 20px 0;
    }

    .footer-social {
        gap: 12px !important;
        margin-bottom: 10px;
    }

    .footer-social a {
        font-size: 20px;
    }

    .footer-nav {
        gap: 8px 12px !important;
    }

    .footer-nav a {
        font-size: 13px;
    }

    .copyright,
    .footer-email {
        font-size: 11px;
        line-height: 1.4;
    }
}
