:root {
    --color-black: #000000;
    --color-white: #FFFFFF;
    --color-anthracite: #333333;
    --color-gray-light: #f4f4f4;
    --overlay-bg: rgba(0, 0, 0, 0.95);
    --font-primary: 'Inter', sans-serif;
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    width: 100%;
    height: 100%;
    font-family: var(--font-primary);
    background-color: var(--color-black);
    color: var(--color-white);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.global-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.logo a {
    font-weight: 600;
    letter-spacing: 2px;
    font-size: 1.2rem;
    text-transform: uppercase;
    display: flex;
    align-items: center;
}

.header-logo-img {
    max-height: 50px;
    width: auto;
}

.menu-trigger {
    font-weight: 500;
    letter-spacing: 2px;
    cursor: pointer;
    text-transform: uppercase;
    font-size: 1.5rem;
    position: relative;
    padding-bottom: 2px;
}

.menu-trigger::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 1px;
    background-color: white;
    transition: width 0.3s ease;
}

.menu-trigger:hover::after {
    width: 100%;
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: transparent;
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    overflow: hidden;
}

.menu-overlay::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../assets/FOTO STUDIO -1.webp');
    background-size: cover;
    background-position: center;
    filter: blur(8px);
    transform: scale(1.05);
    z-index: -1;
}

.menu-overlay.active {
    opacity: 1;
    pointer-events: all;
}

.menu-logo {
    text-align: center;
    margin-bottom: 30px;
}

.menu-logo-img {
    max-height: 50px;
    width: auto;
}

.menu-close {
    position: absolute;
    top: 30px;
    right: 40px;
    font-weight: 500;
    letter-spacing: 2px;
    cursor: pointer;
    color: white;
    font-size: 0.9rem;
}

.menu-nav {
    border: 1px solid white;
    padding: 60px 100px;
    background-color: rgba(0, 0, 0, 0.2);
    backdrop-filter: none;
}

.menu-nav ul {
    text-align: center;
}

.menu-nav li {
    margin: 20px 0;
    overflow: hidden;
}

.menu-nav a {
    display: block;
    font-size: 3rem;
    font-weight: 300;
    color: white;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.menu-nav a:hover {
    color: var(--color-anthracite);
    transform: scale(1.05);
}

.hero-section {
    position: relative;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.fixed-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

.collage-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    overflow: hidden;
    pointer-events: none;
}

.home-collage-item {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0) rotate(0deg);
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-radius: 4px;
    width: clamp(200px, 25vw, 400px);
    height: auto;
    object-fit: contain;
}

.home-collage-item.visible {
    opacity: 1;
}

.hero-typography {
    position: absolute;
    bottom: 10%;
    right: 5%;
    text-align: right;
    color: white;
    z-index: 10;
}

.hero-title {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 5vw;
    line-height: 1;
    letter-spacing: 4px;
    text-transform: uppercase;
    position: relative;
}

.hero-title span {
    font-weight: 300;
}

.hero-symbol-img {
    position: absolute;
    top: -65%;
    right: -50px;
    width: 150px;
    height: auto;
    transform: translateY(-50%);
    z-index: -1;
    pointer-events: none;
    opacity: 0.8;
}

.content-section {
    background-color: var(--color-black);
    padding: 100px 0;
}

.cards-container {
    display: flex;
    justify-content: space-between;
    width: 90%;
    max-width: 1600px;
    margin: 0 auto;
    gap: 20px;
    height: 60vh;
}

.card {
    flex: 1;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    border-left: 1px solid #333;
}

.card:last-child {
    border-right: 1px solid #333;
}

.card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s ease;
    opacity: 0.6;
    filter: grayscale(100%);
}

.card:hover .card-bg {
    transform: scale(1.05);
    opacity: 0.8;
    filter: grayscale(0%);
}

.card h2 {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 4px;
    text-transform: uppercase;
    opacity: 1;
    mix-blend-mode: overlay;
    text-align: center;
    padding: 0 20px;
}

.footer-cta {
    background-color: #222;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/e/ec/World_map_blank_without_borders.svg');
    background-size: cover;
    background-position: center;
    filter: invert(90%) hue-rotate(180deg) grayscale(100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    position: relative;
}

/* Reset the filter for child content so text isn't inverted */
.footer-cta>* {
    filter: invert(100%) hue-rotate(180deg) grayscale(100%);
}

.footer-content h2 {
    font-size: 3rem;
    font-weight: 300;
    margin-bottom: 50px;
    letter-spacing: 2px;
}

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 40px;
}

.btn {
    padding: 15px 40px;
    border: 1px solid white;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    min-width: 200px;
}

.btn-primary {
    background-color: white;
    color: black;
}

.btn-primary:hover {
    background-color: transparent;
    color: white;
}

.btn-secondary {
    background-color: transparent;
    color: white;
}

.btn-secondary:hover {
    background-color: white;
    color: black;
}

@media (max-width:768px) {
    .menu-nav a {
        font-size: 2rem;
    }

    .menu-nav {
        padding: 40px 20px;
    }

    .hero-title {
        font-size: 8vw;
    }

    .cards-container {
        flex-direction: column;
        height: auto;
    }

    .card {
        height: 300px;
        width: 100%;
        border: none;
        border-bottom: 1px solid #333;
    }

    .footer-buttons {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
}

.split-header {
    height: 100vh;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.header-image {
    height: 50vh;
    width: 100%;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-image h1 {
    font-size: 5rem;
    font-weight: 300;
    letter-spacing: 10px;
    text-transform: uppercase;
    color: white;
    z-index: 2;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    width: 100%;
    text-align: center;
    padding: 0 20px;
}

.header-text {
    height: 50vh;
    width: 100%;
    background-color: var(--color-black);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20%;
    text-align: center;
}

.header-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: var(--color-gray-light);
    font-weight: 300;
}

.project-list {
    padding: 100px 0;
    background-color: var(--color-black);
}

.project-card {
    width: 80%;
    max-width: 1400px;
    margin: 0 auto 100px auto;
    position: relative;
}

.project-image {
    width: 100%;
    height: 70vh;
    background-size: cover;
    background-position: center;
    filter: grayscale(100%);
    transition: filter 0.6s ease;
}

.project-card:hover .project-image {
    filter: grayscale(0%);
}

.project-title {
    position: absolute;
    top: 1%;
    right: 2%;
    max-width: 90%;
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 600;
    letter-spacing: 5px;
    color: rgb(255, 255, 255);
    text-transform: uppercase;
    pointer-events: none;
    text-align: right;
    word-wrap: break-word;
    z-index: 10;
}

#supply-title-card {
    top: -15%;
}

.title-long {
    font-size: clamp(1.5rem, 3vw, 3rem);
}

.black-text {
    color: black !important;
}

.custom-text-shadow {
    text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.5);
}

.project-title img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.5));
}

.title-img-large {
    max-height: clamp(195px, 26vw, 325px);
}

.title-img-medium {
    max-height: clamp(130px, 19.5vw, 234px);
}

.contacts-wrapper {
    padding-top: 100px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.contacts-info {
    text-align: center;
    padding: 100px 20px;
    background-color: var(--color-black);
}

.contacts-info h1 {
    font-size: 3rem;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 4px;
}

.info-item {
    margin-bottom: 20px;
    font-size: 1.2rem;
    color: var(--color-gray-light);
}

.info-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 5px;
    color: #666;
}

.map-container {
    width: 100%;
    height: 60vh;
    background-color: #222;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/e/ec/World_map_blank_without_borders.svg');
    background-size: cover;
    background-position: center;
    filter: invert(90%) hue-rotate(180deg) grayscale(100%);
    position: relative;
}

@media (max-width:768px) {
    .header-image h1 {
        font-size: 3rem;
    }

    .header-text {
        padding: 0 5%;
    }

    .project-image {
        height: 50vh;
    }

    .project-title {
        top: 3%;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        text-align: center;
        width: 90%;
        font-size: 2rem;
    }

    .project-title img {
        margin: 0 auto;
    }

    #coanda-title-card {
        top: -10%;
        left: -2%;
        transform: none;
        text-align: left;
        width: auto;
    }

    #coanda-title-card img {
        margin: 0;
    }
}

/* --- CHI SIAMO REDESIGN --- */
.chi-siamo-redesign {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-color: var(--color-black);
}

.chi-split-row {
    display: flex;
    width: 100%;
    min-height: 100vh;
}

.chi-split-col {
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.chi-collage-col {
    align-items: center;
    padding: 40px;
}

.chi-3x3-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    aspect-ratio: 1/1;
    gap: 4px;
    width: 100%;
    max-width: 600px;
}

.chi-3x3-grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 2px;
}

.chi-3x3-grid .collage-item {
    cursor: pointer;
    transition: transform 0.3s ease, z-index 0.3s, box-shadow 0.3s;
    position: relative;
    z-index: 1;
}

.chi-3x3-grid .collage-item-span-2 {
    grid-column: span 2;
}

.chi-3x3-grid .collage-item:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.chi-grid-placeholder {
    width: 100%;
    height: 100%;
    background-color: var(--color-anthracite);
    opacity: 0.2;
    border-radius: 2px;
}

.chi-text-col {
    padding: 0 10%;
    align-items: flex-start;
}

.chi-image-col {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chi-image-col img.chi-main-image,
.chi-image-bottom-left img.chi-main-image {
    width: 80%;
    height: auto;
    max-height: 80vh;
    object-fit: cover;
    border-radius: 2px;
    transition: transform 0.3s ease, z-index 0.3s, box-shadow 0.3s;
    cursor: pointer;
    position: relative;
}

.chi-image-bottom-left img.chi-main-image {
    width: 100%;
}

.chi-image-col img.chi-main-image:hover,
.chi-image-bottom-left img.chi-main-image:hover {
    transform: scale(1.05);
    z-index: 10;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 3000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    align-items: center;
    justify-content: center;
    flex-direction: column;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-content img {
    max-width: 100%;
    max-height: 70vh;
    object-fit: contain;
    border-radius: 4px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.modal-content p {
    color: white;
    margin-top: 20px;
    font-size: 1.2rem;
    font-weight: 300;
    text-align: center;
    letter-spacing: 1px;
    max-width: 800px;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #999;
}

.header-image-blurred {
    position: relative;
    overflow: hidden;
}

.header-image-blurred::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    filter: blur(4px);
    transform: scale(1.05);
    z-index: 1;
}

.header-image-blurred h1 {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .chi-split-row {
        flex-direction: column;
        min-height: auto;
    }

    .chi-split-col {
        width: 100%;
        padding: 40px 20px;
    }

    .chi-text-col {
        padding: 40px 20px;
    }

    .chi-collage-col {
        padding: 20px;
    }

    .chi-image-col {
        height: 60vh;
        padding: 0;
    }

    .chi-section-2 {
        display: flex;
        flex-direction: column;
    }

    .chi-section-2 .chi-image-col {
        order: -1;
    }
}

.bio-content {
    color: white;
    max-width: 600px;
}

.bio-content h1 {
    font-size: clamp(2rem, 4vw, 4rem);
    font-weight: 300;
    margin-bottom: 5px;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.bio-content h2 {
    font-size: clamp(1rem, 1.5vw, 1.5rem);
    color: var(--color-gray-light);
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: 2px;
}

.separator-line {
    width: 100px;
    height: 2px;
    background-color: white;
    margin-bottom: 20px;
}

.bio-content p {
    font-size: clamp(0.85rem, 1.1vw, 1.1rem);
    line-height: 1.6;
    margin-bottom: 15px;
    color: #ccc;
    font-weight: 300;
    text-align: justify;
}

.timeline-section {
    background-color: var(--color-white);
    background-color: #111;
    padding: 100px 0;
}

.timeline-container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

.timeline-row {
    display: flex;
    margin-bottom: 0;
    align-items: stretch;
}

.timeline-text {
    width: 50%;
    background-color: #1a1a1a;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: white;
}

.timeline-visual {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #000;
    overflow: hidden;
}

.timeline-visual img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.article-detail {
    padding: 120px 0;
    min-height: 80vh;
    background-color: #0d0d0d;
    color: white;
}

.article-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

.article-image {
    width: 40%;
    flex-shrink: 0;
}

.article-image img {
    width: 100%;
    height: auto;
    display: block;
}

.article-content {
    width: 60%;
}

.article-content h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    font-weight: 400;
    letter-spacing: 2px;
}

.article-content h2 {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    font-weight: 300;
    color: #999;
}

.article-content .separator-line {
    width: 60px;
    height: 2px;
    background-color: #fff;
    margin-bottom: 40px;
}

.article-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #ccc;
    margin-bottom: 20px;
    font-weight: 300;
}

.btn-read-more {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 30px;
    border: 1px solid white;
    color: white;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.btn-read-more:hover {
    background-color: white;
    color: black;
}

.timeline-row .timeline-text {
    position: relative;
    align-items: flex-end;
}

.timeline-row .timeline-text .btn-read-more {
    align-self: flex-end;
}

.timeline-row .timeline-text {
    align-items: flex-start;
}

.timeline-row.reverse .timeline-text .btn-read-more {
    align-self: flex-start;
}

.gallery-detail-section {
    padding: 120px 0;
    min-height: 80vh;
    background-color: #0d0d0d;
    color: white;
}

.gallery-header {
    text-align: center;
    margin-bottom: 60px;
}

.gallery-header h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 400;
}

.separator-line.centered {
    margin: 0 auto;
}

.large-gallery-item img {
    max-height: 70vh;
    object-fit: contain;
    width: auto;
    margin: 0 auto;
    display: block;
}

@media (max-width:992px) {
    .article-container {
        flex-direction: column;
    }

    .article-image,
    .article-content {
        width: 100%;
    }

    .article-image {
        margin-bottom: 40px;
    }
}

.timeline-text h3 {
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 400;
    letter-spacing: 2px;
    color: white;
}

.timeline-text p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    font-weight: 300;
}

.timeline-row.reverse {
    flex-direction: row-reverse;
}

@media (max-width:992px) {
    .split-hero {
        flex-direction: column;
        height: auto;
    }

    .split-hero-image,
    .interactive-collage {
        width: 100%;
        height: 50vh;
    }

    .split-hero-content {
        width: 100%;
        padding: 60px 20px;
        height: auto;
    }

    .timeline-row {
        flex-direction: column;
        height: auto;
    }

    .timeline-row.reverse {
        flex-direction: column;
    }

    .timeline-text,
    .timeline-visual {
        width: 100%;
    }

    .timeline-visual {
        height: auto;
    }
}

.project-header {
    height: 80px;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    background-color: transparent;
    padding: 0 50px;
    pointer-events: none;
}

.single-project-title {
    font-size: 3rem;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: white;
    text-align: center;
    pointer-events: auto;
    margin-top: 5px;
    margin: 0;
}

@media (max-width:992px) {
    .single-project-title {
        font-size: 1.5rem;
        margin-top: 40px;
    }
}

.video-section {
    padding-top: 110px;
    padding-bottom: 30px;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    position: relative;
    background-color: #111;
}

.video-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    text-align: center;
    width: 100%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-section.pip-active .video-overlay {
    opacity: 1;
}

.video-section.pip-active {
    transition: box-shadow 0.3s ease;
}

.video-section.pip-active:hover {
    box-shadow: inset 0 0 0 10px white;
    cursor: default;
}

.video-section.pip-active .video-player {
    opacity: 0;
    visibility: hidden;
}

.video-overlay h2 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    font-size: 3rem;
    letter-spacing: 8px;
    color: white;
    text-transform: uppercase;
    text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    margin: 0;
}

.pip-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    color: #e0e0e0;
    margin-top: 15px;
    letter-spacing: 1px;
    font-weight: 300;
}

@media (max-width:768px) {
    .video-overlay h2 {
        font-size: 1.5rem;
        letter-spacing: 4px;
    }

    .pip-text {
        font-size: 1rem;
    }
}

.video-player {
    width: 90%;
    max-width: calc((100vh - 140px) * 16 / 9);
    height: auto !important;
    aspect-ratio: 16 / 9;
    padding: 0 !important;
    margin: 0;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
}

@media (max-width:992px) {
    .video-section {
        padding-top: 100px;
        padding-bottom: 20px;
        height: 100vh;
    }

    .video-player {
        width: 95%;
        max-width: calc((100vh - 120px) * 16 / 9);
        margin: 0;
        border-radius: 15px;
    }
}

.profile-view {
    width: 100%;
    padding: 50px 20px;
    background-color: var(--color-white);
    display: flex;
    justify-content: center;
    overflow: hidden;
}

.profile-view img {
    width: 100%;
    max-width: 1200px;
    height: auto;
    object-fit: contain;
}

.tech-specs {
    background-color: var(--color-gray-light);
    padding: 80px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-black);
}

.tech-specs h2 {
    font-size: 1.5rem;
    font-weight: 400;
    letter-spacing: 3px;
    margin-bottom: 40px;
    text-transform: uppercase;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

.specs-list {
    list-style: none;
    max-width: 600px;
    width: 100%;
}

.specs-list li {
    display: flex;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 1.1rem;
}

.specs-list li:last-child {
    border-bottom: none;
}

.spec-label {
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.spec-value {
    font-weight: 300;
    color: var(--color-black);
    text-align: right;
}

.bottom-gallery {
    padding: 50px 0;
    background-color: var(--color-black);
    overflow: hidden;
}

.gallery-carousel {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding: 0 20px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.gallery-item {
    flex: 0 0 auto;
    width: 300px;
    height: 200px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: filter 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item:hover img {
    filter: grayscale(0%);
}

.dependance-grid {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 20px;
    flex-wrap: wrap;
}

.dependance-item {
    width: 45%;
    min-width: 300px;
    cursor: zoom-in;
}

.dependance-item img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.dependance-item:hover img {
    transform: scale(1.02);
}

#lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

#lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

#lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#lightbox-img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border: 2px solid #333;
}

.watermark-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    opacity: 0.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10001;
    width: 100%;
    height: 100%;
}

.watermark-overlay img {
    width: clamp(100px, 40%, 200px);
    opacity: 0.5;
    margin-bottom: 15px;
}

.watermark-overlay span {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 3vw, 2rem);
    font-weight: 600;
    color: white;
    letter-spacing: clamp(2px, 0.5vw, 5px);
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    line-height: 1;
}

.lightbox-caption {
    color: #e0e0e0;
    text-align: center;
    margin-top: 15px;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 300;
}

@media (max-width:768px) {
    .dependance-item {
        width: 100%;
    }
}

.btn-wrapper-center {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-bottom: 40px;
    background-color: var(--color-gray-light);
}

.btn-brochure {
    display: inline-block;
    padding: 15px 40px;
    background-color: #B8860B;
    color: white;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 2px;
    border-radius: 30px;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(184, 134, 11, 0.3);
}

.btn-brochure:hover {
    transform: scale(1.05);
    background-color: #DAA520;
    box-shadow: 0 6px 20px rgba(184, 134, 11, 0.5);
}

/* BROCHURE VIEWER STYLES */
body:has(.flip-book-container) {
    background-color: #000;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 0;
}

.flip-book-container {
    position: relative;
    width: 90vw;
    height: 80vh;
    max-width: 1400px;
    margin: 40px auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
}

#flip-book {
    width: 100%;
    height: 100%;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.page {
    background-color: #fff;
    overflow: hidden;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
}

.page-content {
    width: 100%;
    height: 100%;
    object-fit: contain;
}


.controls {
    display: flex;
    justify-content: flex-end;
    padding: 20px;
    position: absolute;
    top: 0;
    right: 0;
    z-index: 20;
}

.btn-close {
    color: white;
    border: 1px solid white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s;
}

.btn-close:hover {
    background: white;
    color: black;
}

/* ----------------------------------- */
/* NEMOSUB PROJECT STYLING */
/* ----------------------------------- */

.nemosub-hero {
    height: 60vh;
    width: 100%;
    background-image: url('../assets/NEMOSUB/HERO-PAGENEMOSUB.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    /* Vertically center the logo */
}

.nemosub-logo-link {
    display: block;
    margin-left: 5%;
    /* Align strictly to the left of the empty space */
    text-decoration: none;
    z-index: 2;
    /* Keep above background */
}

.nemosub-logo {
    width: 600px;
    /* Enlarge the logo */
    max-width: 80vw;
    /* Responsive constraint */
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.nemosub-logo-link:hover .nemosub-logo {
    transform: scale(1.08);
    /* Indicate clickable link */
}

.nemosub-banner {
    width: 100%;
    background-color: #d11212;
    /* Distinct red background */
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
}

.nemosub-banner h2 {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 5vw;
    line-height: 1;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: white;
    margin: 0;
}

.nemosub-gallery {
    padding: 60px 0;
    background-color: var(--color-black);
    display: flex;
    flex-direction: column;
    gap: 60px;
    /* Space between the staggered images */
    overflow: hidden;
}

.nemosub-img-left,
.nemosub-img-right {
    width: 45%;
    /* Take up only 40% to 50% of the viewport width */
    height: auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    /* Elegant shadow */
}

.nemosub-img-left {
    margin-right: auto;
    margin-left: 5%;
    /* Aligned entirely to the LEFT */
}

.nemosub-img-right {
    margin-left: auto;
    margin-right: 5%;
    /* Aligned entirely to the RIGHT */
}

@media (max-width: 1200px) {
    .nemosub-hero {
        align-items: center;
        justify-content: center;
        padding-bottom: 0px;
    }

    .nemosub-logo-link {
        margin-left: 0;
    }

    .nemosub-logo {
        width: 500px;
    }
}

@media (max-width: 768px) {
    .nemosub-hero {
        align-items: center;
        justify-content: center;
        padding-bottom: 0px;
    }

    .nemosub-logo-link {
        margin-left: 0;
    }

    .nemosub-logo {
        width: 350px;
    }

    .nemosub-img-left,
    .nemosub-img-right {
        width: 90%;
        margin: 0 auto;
        /* Remove stagger on mobile for better view */
    }

    .nemosub-gallery {
        padding: 30px 0;
        gap: 30px;
    }
}

/* ----------------------------------- */
/* COANDA PROJECT STYLING */
/* ----------------------------------- */

.coanda-hero {
    height: 60vh;
    width: 100%;
    background-image: url('../assets/COANDA/coanda-sketch.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.coanda-logo-link {
    display: block;
    margin-right: 5%;
    margin-left: auto;
    margin-top: 30vh;
    text-decoration: none;
    z-index: 2;
}

.coanda-logo {
    width: 600px;
    max-width: 80vw;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.coanda-logo-link:hover .coanda-logo {
    transform: scale(1.08);
}

.coanda-banner {
    width: 100%;
    background-color: #333333;
    padding: 60px 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
}

.coanda-banner h2 {
    font-family: var(--font-primary);
    font-weight: 300;
    font-size: 5vw;
    line-height: 1;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: white;
    margin: 0;
}

.coanda-gallery {
    padding: 60px 0;
    background-color: var(--color-black);
    display: flex;
    flex-direction: column;
    gap: 60px;
    overflow: hidden;
}

.coanda-img-left,
.coanda-img-right {
    width: 45%;
    height: auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.coanda-img-left {
    margin-right: auto;
    margin-left: 5%;
}

.coanda-img-right {
    margin-left: auto;
    margin-right: 5%;
}

@media (max-width: 1200px) {
    .coanda-hero {
        align-items: flex-end;
        padding-bottom: 40px;
    }

    .coanda-logo {
        width: 400px;
    }
}

@media (max-width: 768px) {
    .coanda-hero {
        align-items: flex-end;
        padding-bottom: 20px;
    }

    .coanda-logo {
        width: 280px;
    }

    .coanda-img-left,
    .coanda-img-right {
        width: 90%;
        margin: 0 auto;
    }

    .coanda-gallery {
        padding: 30px 0;
        gap: 30px;
    }
}

/* ----------------------------------- */
/* SUPPLY PROJECT STYLING */
/* ----------------------------------- */

.supply-hero {
    height: 60vh;
    width: 100%;
    background-image: url('../assets/SUPPLY VESSEL/IMMAGINE COPERTINA SUPPLY 01.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.supply-logo-link {
    display: block;
    margin-right: 5%;
    margin-left: auto;
    margin-top: 30vh;
    text-decoration: none;
    z-index: 2;
}

.supply-logo {
    width: 40vw;
    max-width: 500px;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.supply-logo-link:hover .supply-logo {
    transform: scale(1.02);
}

.supply-gallery {
    padding: 60px 0;
    background-color: var(--color-black);
    display: flex;
    flex-direction: column;
    gap: 60px;
    overflow: hidden;
}

.supply-img-left,
.supply-img-right {
    width: 50%;
    height: auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.supply-img-left {
    margin-right: auto;
    margin-left: 5%;
}

.supply-img-right {
    margin-left: auto;
    margin-right: 5%;
}

@media (max-width: 1200px) {
    .supply-hero {
        align-items: flex-end;
        padding-bottom: 40px;
    }

    .supply-logo {
        width: 80vw;
    }
}

@media (max-width: 768px) {
    .supply-hero {
        align-items: flex-end;
        padding-bottom: 20px;
    }

    .supply-logo {
        width: 90vw;
    }

    .supply-img-left,
    .supply-img-right {
        width: 90%;
        margin: 0 auto;
    }

    .supply-gallery {
        padding: 30px 0;
        gap: 30px;
    }
}

/* ----------------------------------- */
/* TIME PROJECT STYLING */
/* ----------------------------------- */

.time-hero {
    height: 60vh;
    width: 100%;
    background-image: url('../assets/TIME/SKETCH-TIME-min.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.time-logo-link {
    display: block;
    margin-right: 5%;
    margin-left: auto;
    margin-top: 30vh;
    text-decoration: none;
    z-index: 2;
}

.time-logo {
    width: 40vw;
    max-width: 500px;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.time-logo-link:hover .time-logo {
    transform: scale(1.02);
}

.time-gallery {
    padding: 60px 0;
    background-color: var(--color-black);
    display: flex;
    flex-direction: column;
    gap: 60px;
    overflow: hidden;
}

.time-img-left,
.time-img-right {
    width: 50%;
    height: auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.time-img-left {
    margin-right: auto;
    margin-left: 5%;
}

.time-img-right {
    margin-left: auto;
    margin-right: 5%;
}

@media (max-width: 1200px) {
    .time-hero {
        align-items: flex-end;
        padding-bottom: 40px;
    }

    .time-logo {
        width: 80vw;
    }
}

@media (max-width: 768px) {
    .time-hero {
        align-items: flex-end;
        padding-bottom: 0px;
    }

    .time-logo-link {
        margin-bottom: -60px;
    }

    .time-logo {
        width: 90vw;
    }

    .time-img-left,
    .time-img-right {
        width: 90%;
        margin: 0 auto;
    }

    .time-gallery {
        padding: 30px 0;
        gap: 30px;
    }
}

/* ----------------------------------- */
/* JAGUAR PROJECT STYLING */
/* ----------------------------------- */

.jaguar-hero {
    height: 60vh;
    width: 100%;
    background-image: url('../assets/JAGUAR/sketch jaguar render 05.webp');
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
}

.jaguar-logo-link {
    display: block;
    margin-right: 5%;
    margin-left: auto;
    margin-top: 30vh;
    text-decoration: none;
    z-index: 2;
}

.jaguar-logo {
    width: 40vw;
    max-width: 500px;
    height: auto;
    transition: transform 0.3s ease-in-out;
}

.jaguar-logo-link:hover .jaguar-logo {
    transform: scale(1.02);
}

.jaguar-gallery {
    padding: 60px 0;
    background-color: var(--color-black);
    display: flex;
    flex-direction: column;
    gap: 60px;
    overflow: hidden;
}

.jaguar-img-left,
.jaguar-img-right {
    width: 50%;
    height: auto;
    display: block;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.jaguar-img-left {
    margin-right: auto;
    margin-left: 5%;
}

.jaguar-img-right {
    margin-left: auto;
    margin-right: 5%;
}

@media (max-width: 1200px) {
    .jaguar-hero {
        align-items: flex-end;
        padding-bottom: 40px;
    }

    .jaguar-logo {
        width: 80vw;
    }
}

@media (max-width: 768px) {
    .jaguar-hero {
        align-items: flex-end;
        padding-bottom: 0px;
    }

    .jaguar-logo-link {
        margin-bottom: -60px;
    }

    .jaguar-logo {
        width: 90vw;
    }

    .jaguar-img-left,
    .jaguar-img-right {
        width: 90%;
        margin: 0 auto;
    }

    .jaguar-gallery {
        padding: 30px 0;
        gap: 30px;
    }
}