:root {

    --background-darkest: #181818; 

    --surface-dark: #242424;   

    --surface-warm-dark: #2A2623; 

    --background-deep-warm: #1C1A17; 

    --text-primary: #EFEFEF;  

    --text-secondary: #A8A8A8; 

    --accent-muted-bronze: #9C7B57; 

    --accent-red-fredriksson: #CD5C5C; 

    --accent-muted-bronze-hover: #B08D65;

    --border-dark: #404040;   

    --focus-outline-color: var(--accent-muted-bronze-hover);

    --header-height: 75px; 

    --font-main: 'Montserrat', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 

}


body {

    font-family: var(--font-main); 

    background-color: var(--background-darkest);

    color: var(--text-primary); 

    line-height: 1.7;

    margin: 0; 

}


#generic-project-page .container { 

    width: 88%; 

    max-width: 960px; 

    margin: 0 auto; 

    padding: 0 20px;

}


main#generic-project-page {

    background-color: #0D0D0D;

    background-image: linear-gradient(

        to bottom, 

        var(--background-darkest) 0%,

        #101010 800px,              

        #0D0D0D 100%                  

    );

}


#project-hero {

    padding: 60px 0 50px; 

    text-align: center;

    background-color: var(--surface-dark); 

    border-bottom: 3px solid var(--accent-muted-bronze);

    margin-bottom: 50px; 

    position: relative; 

    z-index: 1;

}

.project-main-title {

    font-family: var(--font-heading); 

    font-size: 3.2em; 

    color: var(--text-primary); 

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 2px;

    margin: 0;

    line-height: 1.2;

}


#project-gameplay-video {

    padding: 0 0 50px 0; 

    background-color: transparent; 

    position: relative; 

    z-index: 1;

}

.video-wrapper {

    position: relative;

    padding-bottom: 56.25%; 

    height: 0;

    overflow: hidden;

    background-color: #000000; 

    border-radius: 8px; 

    box-shadow: 0 8px 25px rgba(0,0,0,0.3); 

}

.video-wrapper iframe,

.video-wrapper img { 

    position: absolute;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    border: none;

}

.video-placeholder-text { 

    position: absolute;

    top: 50%;

    left: 50%;

    transform: translate(-50%, -50%);

    color: var(--text-secondary);

    font-size: 1.2em;

    font-family: var(--font-body);

}


#project-overview-details {

    padding: 50px 0;

    background-color: var(--surface-dark);

    border-top: 1px solid var(--border-dark);

    position: relative;

    z-index: 1;

}

.overview-grid {

    display: grid;

    grid-template-columns: 2fr 1fr; 

    gap: 50px; 

}


.overview-text h2, 

.details-list h2 {

    font-family: var(--font-heading); 

    font-size: 1.8em; 

    color: var(--accent-muted-bronze);

    margin-bottom: 20px;

    padding-bottom: 8px;

    border-bottom: 2px solid var(--border-dark); 

    text-transform: uppercase;

    letter-spacing: 1.2px;

}

.overview-text p {

    margin-bottom: 18px;

    color: var(--text-secondary);

    font-family: var(--font-body);

    font-size: 1em; 

    line-height: 1.75; 

}

.details-list ul {

    list-style: none;

    padding: 0;

}

.details-list ul li {

    margin-bottom: 10px;

    color: var(--text-secondary);

    font-family: var(--font-body);

    font-size: 0.95em;

    line-height: 1.6;

}

.details-list ul li strong {

    color: var(--text-primary);

    font-weight: 600;

    margin-right: 8px;

}


.project-feature-section {

    padding: 60px 0; 

    background-color: transparent; 

    position: relative; 

    z-index: 1;

}

main#generic-project-page > section:not(#project-hero):not(#project-gameplay-video):not(#project-overview-details) {

    border-top: 3px solid var(--accent-muted-bronze);

    padding-top: 60px; 

    margin-top: 0; 

}

.project-feature-section {

    border-bottom: none !important; 

}


.section-title { 

    font-family: var(--font-heading); 

    text-align: center; 

    font-size: 2.6em; 

    margin-bottom: 25px; 

    color: var(--text-primary); 

    font-weight: 700; 

    text-transform: uppercase; 

    letter-spacing: 2px; 

    position: relative; 

    padding-bottom: 18px; 

    display: block; 

    margin-left: auto;  

    margin-right: auto;

    max-width: max-content; 

}

.section-title::after { 

    content: '';

    position: absolute;

    left: 50%;

    transform: translateX(-50%);

    bottom: 0;

    width: 70px; 

    height: 3px; 

    background-color: var(--accent-muted-bronze);

    border-radius: 2px;

}


.feature-layout-1 {

    display: grid;

    grid-template-columns: 1fr 1fr; 

    gap: 35px; 

    align-items: center;

    margin-bottom: 40px; 

}

.feature-layout-1:last-child {

    margin-bottom: 0;

}

.feature-image img {

    width: 100%;

    height: auto;

    border-radius: 6px;

    box-shadow: 0 5px 15px rgba(0,0,0,0.25);

    border: 1px solid var(--border-color);

}

.feature-explanation p {

    color: var(--text-secondary);

    font-family: var(--font-body);

    font-size: 1em;

    line-height: 1.7;

}


.visual-highlight-slider-section {

    margin-top: 50px; 

    margin-bottom: 30px; 

}


.subsection-title { 

    font-family: var(--font-heading);

    font-size: 1.8em; 

    color: var(--text-primary);

    text-align: center;

    margin-bottom: 30px; 

    text-transform: uppercase;

    letter-spacing: 1.2px; 

    padding-bottom: 10px;

    display: block; 

    position: relative;

}

.subsection-title::after { 

    content: '';

    position: absolute;

    left: 50%;

    transform: translateX(-50%);

    bottom: 0px; 

    width: 60px; 

    height: 2px;

    background-color: var(--accent-muted-bronze);

    border-radius: 1px;

}


.scroll-slider-container {

    position: relative;

    padding: 0 45px; 

}


.slider-track-scroll {

    display: flex; 

    overflow-x: auto; 

    scroll-snap-type: x mandatory; 

    gap: 20px; 

    padding-bottom: 15px; 

    -webkit-overflow-scrolling: touch; 

}

.slider-track-scroll::-webkit-scrollbar { display: none; }

.slider-track-scroll { -ms-overflow-style: none; scrollbar-width: none; }


.slide-scroll {

    flex: 0 0 auto; 

    width: 65%; 

    scroll-snap-align: center; 

    border-radius: 8px;

    overflow: hidden; 

    background-color: var(--surface-dark); 

    display: flex; 

    flex-direction: column; 

    cursor: grab; 

}

.slide-scroll:active {

    cursor: grabbing;

}


.slide-scroll img {

    width: 100%;

    height: auto; 

    object-fit: cover;

    display: block;

    border-bottom: 1px solid var(--border-dark); 

}


.slide-caption { 

    font-family: var(--font-body);

    font-size: 0.85em;

    color: var(--text-secondary);

    padding: 12px 15px; 

    text-align: center;

    line-height: 1.4;

    background-color: var(--surface-dark); 

}


.slider-arrow {

    position: absolute;

    top: calc(50% - 10px); 

    transform: translateY(-50%);

    background-color: rgba(36, 36, 36, 0.8); 

    color: var(--text-primary);

    border: 1px solid var(--border-dark);

    border-radius: 50%;

    width: 40px;

    height: 40px;

    font-size: 18px; 

    line-height: 38px; 

    text-align: center;

    cursor: pointer;

    z-index: 10;

    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;

}

.slider-arrow:hover {

    background-color: var(--accent-muted-bronze);

    color: #FFFFFF;

    transform: translateY(-50%) scale(1.1); 

}

.slider-arrow.prev {

    left: 5px; 

}

.slider-arrow.next {

    right: 5px; 

}


.subsection-block { 

    margin-top: 50px; 

    margin-bottom: 30px; 

}


.fullwidth-image-container { 

    margin-top: 10px; 

    border: 1px solid var(--border-dark);

    border-radius: 8px;

    overflow: hidden;

    box-shadow: 0 5px 15px rgba(0,0,0,0.25);

    background-color: var(--surface-dark); 

}


.fullwidth-image-container img {

    width: 100%;

    height: auto; 

    max-height: 550px; 

    object-fit: contain; 

    display: block; 

    margin: 0 auto; 

}


#bloco-design-2-section {

    background-color: transparent; 

}

#bloco-design-2-section .section-title {

    color: var(--text-primary); 

}

#bloco-design-2-section .feature-explanation p {

    color: var(--text-secondary); 

}


#tecnicas-design-section {

    background-color: transparent;

    position: relative; 

    z-index: 1;

}

#tecnicas-design-section .section-title {

    color: var(--text-primary); 

}

#tecnicas-design-section .feature-explanation p {

    color: var(--text-secondary); 

}


.button-voltar { 

    display: inline-block; 

    background: var(--accent-muted-bronze); 

    color: #FFFFFF !important; 

    padding: 12px 28px; 

    text-decoration: none; 

    border-radius: 6px; 

    font-weight: 600; 

    font-family: var(--font-body); 

    transition: all 0.3s ease-out; 

    text-align: center; 

    border: 1px solid var(--accent-muted-bronze); 

    font-size: 0.9em; 

    text-transform: uppercase; 

    letter-spacing: 1.2px; 

    cursor: pointer; 

    box-shadow: 0 4px 10px rgba(0,0,0,0.15);

}

.button-voltar:hover { 

    background: var(--accent-muted-bronze-hover); 

    border-color: var(--accent-muted-bronze-hover); 

    transform: translateY(-2px); 

    box-shadow: 0 6px 15px rgba(0,0,0,0.25); 

}


.lightbox-overlay {

    position: fixed;

    top: 0;

    left: 0;

    width: 100%;

    height: 100%;

    background-color: rgba(0, 0, 0, 0.85);

    display: none;

    justify-content: center;

    align-items: center;

    z-index: 2000;

    padding: 20px;

    cursor: pointer;

}


.lightbox-overlay.active {

    display: flex;

    animation: lightboxFadeIn 0.3s ease-out;

}


@keyframes lightboxFadeIn {

    from { opacity: 0; }

    to { opacity: 1; }

}


.lightbox-content {

    display: block;

    max-width: 90%;

    max-height: 85vh;

    object-fit: contain;

    border-radius: 4px;

    box-shadow: 0 5px 25px rgba(0,0,0,0.5);

    cursor: default;

    animation: lightboxZoomInItem 0.3s ease-out;

}


@keyframes lightboxZoomInItem {

    from { transform: scale(0.8); opacity: 0; }

    to { transform: scale(1); opacity: 1; }

}


.lightbox-close {

    position: absolute;

    top: 20px;

    right: 35px;

    color: #f1f1f1;

    font-size: 40px;

    font-weight: bold;

    transition: 0.3s;

    cursor: pointer;

    z-index: 2010;

    line-height: 1;

}


.lightbox-close:hover,

.lightbox-close:focus {

    color: #bbb;

    text-decoration: none;

}


.lightbox-caption {

    text-align: center;

    color: #ccc;

    padding: 15px 0 5px 0; 

    font-family: var(--font-body);

    font-size: 0.9em;

    max-width: 70%;

    position: absolute; 

    bottom: 15px;     

    left: 50%;

    transform: translateX(-50%);

    width: 100%;

}


.lightbox-trigger {

    cursor: zoom-in; 

    transition: opacity 0.2s ease-out, transform 0.2s ease-out;

}

.lightbox-trigger:hover {

    opacity: 0.8; 

    transform: scale(1.02); 

}


.animate-on-scroll {

    opacity: 0;

    transform: translateY(30px); 

    transition: opacity 0.6s ease-out, transform 0.6s ease-out;

    transition-delay: 0.1s; 

}


.animate-on-scroll.is-visible {

    opacity: 1;

    transform: translateY(0);

}


@media (max-width: 768px) {

    #generic-project-page .container {

        width: 92%; 

    }

    .project-main-title {

        font-size: 2.4em; 

    }

    .overview-grid {

        grid-template-columns: 1fr; 

        gap: 30px; 

    }

    .overview-text h2, .details-list h2 {

        font-size: 1.6em; 

    }

    .feature-layout-1 {

        grid-template-columns: 1fr; 

    }

    .feature-layout-1 .feature-image {

        margin-bottom: 20px; 

    }

    .section-title {

        font-size: 2.2em; 

    }

    .scroll-slider-container {

        padding: 0 10px; 

    }

    .slide-scroll {

        width: 80%; 

    }

    .slider-arrow { 

        width: 35px;

        height: 35px;

        font-size: 16px; 

        line-height: 33px;

    }

    .slider-arrow.prev { left: -2px; } 

    .slider-arrow.next { right: -2px; }


    .subsection-title { 

        font-size: 1.5em; 

    }

    .fullwidth-image-container img { 

        max-height: 400px;

    }

    .lightbox-content {

        max-width: 95%;

        max-height: 80vh;

    }

    .lightbox-caption {

        font-size: 0.8em;

        max-width: 85%;

    }

}


@media (max-width: 480px) {

    .project-main-title {

        font-size: 1.9em; 

    }

     .section-title {

        font-size: 1.9em; 

        letter-spacing: 1px;

    }

    .overview-text h2, .details-list h2 {

        font-size: 1.4em;

    }

    .subsection-title {

        font-size: 1.4em; 

    }

    .slide-scroll {

        width: 90%; 

    }

    .fullwidth-image-container img {

        max-height: 300px; 

    }

} 