* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: #09090c;
    color: #f4f4f5;
    line-height: 1.6;
}

h2 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 25px;
    color: #a78bfa;
    font-weight: 500;
}

h3 {
    margin-bottom: 25px;
    color: #a597cc;
    font-weight: 500;
}


section {
    padding: 80px 10%;
}

/* ===== HEADER HERO ===== */

.project-header {
    position: relative;
    height: 70vh;
    background-image: url("../../src/img/DamnedDevotion/banner.png");
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    border-bottom: 1px solid #222;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(9, 9, 12, 0.75);
}

.header-content {
    position: relative;
    z-index: 2;
}

.project-header h1 {
    font-size: 3rem;
    color: #a78bfa;
    letter-spacing: 1px;
}

.project-header p {
    margin: 15px 0;
    font-size: 1.1rem;
    color: #b5b5c3;
}

.project-header img.project-banner {
    width: 150px;
    margin-bottom: 20px;
    border-radius: 12px;
}

.home-btn {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #ffffff;
    padding: 10px 12px 6px 12px;
    border-radius: 25px;
    text-decoration: none;
    transition: 0.3s ease;
}

.home-btn:hover {
    background: #7c3aed;
}

.home-btn img {
    width: 30px;
    height: 30px;
}

/* ===== BUTTON ===== */

.btn {
    display: inline-block;
    padding: 10px 25px;
    background: #7c3aed;
    color: #ffffff;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 500;
    transition: 0.3s ease;
}

.btn:hover {
    background: #a78bfa;
    color: #09090c;
}

/* ===== GALLERY ===== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-items: center;
}

.gallery-grid img {
    width: 70%;
    border-radius: 12px;
    transition: transform 0.3s ease, filter 0.3s ease;
    filter: grayscale(15%);
}

.gallery-grid img:hover {
    transform: scale(1.03);
    filter: grayscale(0%);
}

/* ===== PROJECT DETAILS ===== */

.project-details ul {
    list-style: none;
}

.project-details li {
    margin-bottom: 12px;
    padding-left: 22px;
    position: relative;
    color: #b5b5c3;
}

.project-details li::before {
    content: "▹";
    position: absolute;
    left: 0;
    color: #7c3aed;
}

/* ===== VIDEO ===== */

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid #242436;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.link-container{
    display: flex;
    gap: 20px;
    justify-content: center;
}

/* ===== FOOTER ===== */

footer {
    text-align: center;
    padding: 35px;
    background: #12121a;
    font-size: 0.9rem;
    color: #777792;
}


/* responsive */

@media (max-width: 500px) {
    .project-header {
        position: relative;
        height: 60vh;
        background-image: url();
        background-color: #12121a;
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        border-bottom: 1px solid #222;
    }

    .project-header h1 {
        font-size: 1.5rem;
        color: #a78bfa;
        letter-spacing: 1px;
    }

    .project-header p {
        margin: 15px 0;
        font-size: 0.85rem;
        color: #b5b5c3;
    }


    /* btn */
    .btn {
        display: inline-block;
        padding: 6px 19px;
        background: #7c3aed;
        color: #ffffff;
        border-radius: 25px;
        text-decoration: none;
        font-weight: 400;
        font-size: 0.85rem;
        transition: 0.3s ease;
    }

    .btn:hover {
        background: #a78bfa;
        color: #09090c;
    }


    .link-container{
        display: flex;
        flex-direction: column;
        gap: 20px;
        justify-content: center;   
    }

    .link-container img{
        width: 80%;
    }

    .project-gallery {
        justify-content: center;
        padding: 0px 0px 0px 0px;
    }

    .project-gallery h2 {
        text-align: center;
    }

    .project-overview {
        text-align: center;
    }

    .project-details {
        text-align: center;
    }
}