@font-face {
    font-family: 'NaN Metrify A Standard';
    src: url('assets/fonts/nan/NaN Metrify A Standard Black Italic.ttf') format('truetype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'NaN Metrify A Standard';
    src: url('assets/fonts/nan/NaN Metrify A Standard Black.ttf') format('truetype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'NaN Metrify A Standard';
    src: url('assets/fonts/nan/NaN Metrify A Standard Bold Italic.ttf') format('truetype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'NaN Metrify A Standard';
    src: url('assets/fonts/nan/NaN Metrify A Standard Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'NaN Metrify A Standard';
    src: url('assets/fonts/nan/NaN Metrify A Standard Extrabold Italic.ttf') format('truetype');
    font-weight: 800;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'NaN Metrify A Standard';
    src: url('assets/fonts/nan/NaN Metrify A Standard Extrabold.ttf') format('truetype');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'NaN Metrify A Standard';
    src: url('assets/fonts/nan/NaN Metrify A Standard Italic.ttf') format('truetype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'NaN Metrify A Standard';
    src: url('assets/fonts/nan/NaN Metrify A Standard Light Italic.ttf') format('truetype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'NaN Metrify A Standard';
    src: url('assets/fonts/nan/NaN Metrify A Standard Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'NaN Metrify A Standard';
    src: url('assets/fonts/nan/NaN Metrify A Standard Medium Italic.ttf') format('truetype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}
@font-face {
    font-family: 'NaN Metrify A Standard';
    src: url('assets/fonts/nan/NaN Metrify A Standard Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'NaN Metrify A Standard';
    src: url('assets/fonts/nan/NaN Metrify A Standard Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'NaN Metrify A Standard', sans-serif;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    background-color: #000;
    color: #fff;
    font-family: 'NaN Metrify A Standard', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
    width: 100%;
    position: relative;
    padding-bottom: 50px;
}

/* Watermark Background */
.watermark-background {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.watermark-text {
    font-family: 'NaN Metrify A Standard', sans-serif;
    font-size: 35vw;
    font-weight: 900;
    color: #1a1a00; /* Dark yellow/gold for watermark */
    line-height: 0.8;
    text-align: center;
    white-space: nowrap;
    opacity: 0.3;
    letter-spacing: -0.05em;
    text-transform: lowercase;
}

/* Header & Navigation */
.header {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 33px 55px;
    z-index: 2100;
    position: relative;
    width: 100%;
    gap: 3px; /* Reduced gap to 3px as requested (3x reduction from 10px) */
}

.logo {
    position: absolute;
    right: 55px;
    top: 130px; /* Lowered from 100px to 130px */
    z-index: 2000; /* Above mobile menu overlay */
}

.logo-link {
    text-decoration: none;
    display: block;
}

.header-logo-img {
    height: 120px; /* Doubled from 60px */
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.header-logo-img:hover {
    transform: scale(1.05);
}

.navigation {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1.5vw; /* Proportional gap */
    white-space: nowrap;
}

.navigation a {
    text-decoration: none;
    color: #fff;
    font-family: 'NaN Metrify A Standard', sans-serif; font-weight: 900;
    font-size: clamp(14px, 2.5vw, 52px); /* Scales proportionally from mobile to large screens */
    letter-spacing: 0px;
    transition: color 0.3s ease;
    text-transform: uppercase;
    line-height: 1.2; /* Minimal vertical space */
    display: inline-block;
    transform: scale(0.9, 3);
    transform-origin: left center;
}

.navigation a:hover,
.navigation a.active {
    color: #ffea00; /* Yellow */
}

/* Hamburger Menu & Mobile Overlay styles */
.hamburger-menu {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: space-between;
    width: 35px;
    height: 25px;
    cursor: pointer;
    z-index: 1000;
}

.hamburger-menu span {
    display: block;
    height: 4px;
    width: 100%;
    background-color: #fff;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.hamburger-menu.open span:nth-child(1) {
    transform: translateY(10.5px) rotate(45deg);
}

.hamburger-menu.open span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.open span:nth-child(3) {
    transform: translateY(-10.5px) rotate(-45deg);
}

.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000; /* Dark background */
    z-index: 999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transform: translateX(100%);
    transition: transform 0.4s ease-in-out;
}

.mobile-menu-overlay.active {
    transform: translateX(0);
}

.mobile-menu-overlay a {
    font-family: 'NaN Metrify A Standard', sans-serif;
    font-weight: 900;
    font-size: 30px;
    color: #fff;
    text-decoration: none;
    text-transform: uppercase;
    transition: color 0.3s ease;
    display: inline-block;
    transform: scale(0.9, 3);
    transform-origin: center center;
    margin: 10px 0; /* Minimal mobile space */
}

.mobile-menu-overlay a:hover,
.mobile-menu-overlay a.active {
    color: #ffea00;
}

/* Main Content Layout */
.main-content {
    display: flex;
    justify-content: space-between;
    flex-grow: 1;
    padding: 20px 60px;
    z-index: 10;
    position: relative;
    width: 100%;
    gap: 100px;
}

/* Left Section */
.left-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-container {
    margin-bottom: 80px;
}

.hero-title {
    font-size: 80px;
    font-weight: 900;
    color: #ffea00;
    line-height: 1;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 18px;
    font-weight: 600;
    color: #ffea00;
    letter-spacing: 1px;
    line-height: 1.4;
    opacity: 0.9;
}

/* Contact Info Items */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 30px;
}

.icon-box {
    width: 50px;
    height: 50px;
    background-color: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 32px;
}

.info-text {
    display: flex;
    flex-direction: column;
}

.label {
    font-size: 11px;
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 2px;
    color: #888;
    margin-bottom: 8px;
}

.value {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

a.value:hover {
    color: #ffea00;
}

/* Right Section - Form */
.right-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 550px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: 100%;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.form-group label {
    font-size: 14px;
    font-weight: 700;
    color: #fff;
}

.form-group input,
.form-group textarea {
    background-color: #2a2a2a;
    border: none;
    border-radius: 12px;
    padding: 22px 25px;
    color: #fff;
    font-family: 'NaN Metrify A Standard', sans-serif;
    font-size: 16px;
    width: 100%;
    outline: none;
    transition: background-color 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #555;
}

.form-group input:focus,
.form-group textarea:focus {
    background-color: #333;
}

.form-group textarea {
    resize: vertical;
    min-height: 180px;
}

.submit-btn {
    background-color: #fff;
    color: #000;
    border: none;
    border-radius: 12px;
    padding: 25px;
    font-size: 18px;
    font-weight: 900;
    font-family: 'NaN Metrify A Standard', sans-serif;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.submit-btn:hover {
    background-color: #ffea00;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 234, 0, 0.2);
}

.submit-btn:active {
    transform: translateY(0);
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .navigation a {
        font-size: 36px;
    }
    .hero-title {
        font-size: 60px;
    }
}

@media (max-width: 900px) {
    .main-content {
        flex-direction: column;
        gap: 80px;
        padding: 40px 30px;
    }
    
    .left-section, .right-section {
        max-width: 100%;
    }
    
    .header {
        padding: 40px 30px;
        display: flex;
        justify-content: flex-end; 
        align-items: center;
    }
    
    .propongo-header-link {
        display: none !important;
    }

    .navigation {
        display: none; /* Hide standard navigation */
    }
    
    .hamburger-menu {
        display: flex; /* Show hamburger */
    }

    .studio-content {
        flex-direction: column;
        gap: 60px;
        align-items: flex-start;
    }
    
    .text-side {
        width: 100%;
        margin-bottom: 40px;
    }

    .project-visual-side {
        width: 100%;
        display: flex;
        justify-content: center;
        min-height: 500px;
    }
    
    .watermark-text {
        font-size: 50vw;
    }
}

/* Studio Page Specific Styles */
.studio-body {
    background-color: #000;
}

.studio-main {
    background-color: #fff;
    color: #000;
    min-height: calc(100vh - 120px);
    padding: 60px;
    display: flex;
    justify-content: space-between;
    gap: 80px;
    position: relative;
    z-index: 5;
}

.studio-content {
    display: flex;
    max-width: 1400px;
    margin: 0 auto;
    gap: 100px;
    position: relative;
}

.text-side {
    flex: 1.2;
    z-index: 10;
}

.studio-title {
    font-family: 'NaN Metrify A Standard', sans-serif;
    font-size: 100px;
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -4px;
    margin-bottom: 60px;
    color: #000;
}

.studio-description {
    font-family: 'NaN Metrify A Standard', sans-serif;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.desc-highlight {
    font-weight: 800;
    font-size: 20px;
    line-height: 1.3;
}

.image-cluster {
    flex: 1;
    position: relative;
    height: 600px;
}

.studio-img {
    position: absolute;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: transform 0.5s ease, z-index 0.3s ease;
    border: 1px solid rgba(0,0,0,0.05);
}

.studio-img:hover {
    transform: scale(1.1) rotate(0deg) !important;
    z-index: 50 !important;
}

.img-1 { width: 320px; height: auto; top: 0; right: 0; transform: rotate(5deg); z-index: 1; }
.img-2 { width: 280px; height: auto; top: 120px; right: 120px; transform: rotate(-8deg); z-index: 5; }
.img-3 { width: 350px; height: auto; top: 300px; right: -20px; transform: rotate(3deg); z-index: 2; }
.img-4 { width: 200px; height: auto; top: -40px; right: 180px; transform: rotate(-12deg); z-index: 3; }
.img-5 { width: 300px; height: auto; top: 220px; right: 300px; transform: rotate(4deg); z-index: 4; }
.img-6 { width: 260px; height: auto; top: 450px; right: 150px; transform: rotate(-5deg); z-index: 6; }
.img-7 { width: 220px; height: auto; top: 100px; right: 450px; transform: rotate(10deg); z-index: 2; }

/* Yellow Ticker */
.yellow-ticker {
    background-color: #fffb00;
    padding: 25px 0;
    overflow: hidden;
    position: relative;
    z-index: 15;
    display: flex;
    white-space: nowrap;
}

.ticker-content {
    display: flex;
    flex-shrink: 0;
    white-space: nowrap;
    animation: ticker 15s linear infinite;
}

.ticker-content span {
    font-family: 'NaN Metrify A Standard', sans-serif;
    font-size: 38px;
    font-weight: 900;
    color: #000;
    display: inline-block;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.footer-nav {
    background-color: #000;
    padding: 100px 60px;
    display: flex;
    justify-content: center;
}

/* Responsive adjustments */
@media (max-width: 1200px) {
    .studio-title { font-size: 80px; }
    .image-cluster { height: 500px; }
    .img-1, .img-2, .img-3, .img-4 { transform: scale(0.8); }
}

/* Portfolio Page Specific Styles */
.project-link {
    text-decoration: none;
    color: inherit;
    display: block;
    border-top: 6px solid #000; /* Line moved here so it stays still */
}

.project-link:last-child {
    border-bottom: 6px solid #000;
}

.portfolio-body {
    background-color: #000;
}

.portfolio-main {
    background-color: #fff; /* White background as requested */
    color: #000;
    min-height: calc(100vh - 120px); 
    padding-bottom: 0;
    display: flex;
    flex-direction: column;
}

.portfolio-list {
    width: 100%;
    flex-grow: 1;
}

.project-row {
    padding: 60px; /* More generous padding for "100% space" feel */
    transition: all 0.4s ease;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    min-height: 250px; 
}

.project-row:hover {
    background-color: #f8f8f8; /* Delicate hover like services */
}

.project-row:hover .project-title,
.project-row:hover .project-category {
    color: #000 !important;
}

.project-row:last-child {
    /* Border moved to project-link */
}

.project-title {
    font-family: 'NaN Metrify A Standard', sans-serif;
    font-size: 64px;
    font-weight: 800;
    color: #000;
    line-height: 1;
    margin-bottom: 10px;
}

.project-category {
    font-family: 'NaN Metrify A Standard', sans-serif;
    font-size: 24px;
    font-weight: 500;
    color: #000;
}

.italic {
    font-style: normal;
}

.title-with-extra {
    display: flex;
    align-items: baseline;
    gap: 20px;
}

.project-extra {
    font-family: 'NaN Metrify A Standard', sans-serif;
    font-size: 32px;
    font-weight: 500;
    color: #000;
}

.arrow-indicator {
    position: absolute;
    left: 450px; /* Positioned near "DESIGN STAGING" */
    top: 50px;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 25px solid #fffb00; /* Yellow arrow pointing down */
    transform: rotate(45deg);
}

/* Re-adjusting Studio Responsive for Portfolio as well */
@media (max-width: 900px) {
    .project-row {
        padding: 20px 30px;
    }
    .project-title {
        font-size: 40px;
    }
    .project-category {
        font-size: 18px;
    }
    .project-extra {
        font-size: 20px;
    }
    .arrow-indicator {
        left: auto;
        right: 20px;
    }
}

/* Project Detail Page Specific Styles */
.project-body {
    background-color: #000;
}

.project-main {
    background-color: #fff;
    color: #000;
    min-height: calc(100vh - 120px);
    padding: 60px;
    display: flex;
    justify-content: space-between;
    gap: 80px;
    position: relative;
    z-index: 5;
}

.project-text-side {
    flex: 1;
    max-width: 40%;
    display: flex;
    flex-direction: column;
}

.project-visual-side {
    flex: 1.5;
    position: relative;
    display: flex;
    justify-content: flex-start;
}

.project-detail-title {
    font-size: 80px;
    font-weight: 900;
    line-height: 0.9;
    margin-bottom: 20px;
    color: #000;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.project-detail-subtitle {
    font-size: 28px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
}

.project-description {
    font-size: 16px;
    line-height: 1.4;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.desc-bold {
    font-weight: 800;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
}

/* === PROJECT RADIAL ORBIT LAYOUT === */

.project-visual-side {
    flex: 1.5;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 840px;
}

.orbit-system {
    position: relative;
    width: 900px;
    height: 900px;
    flex-shrink: 0;
}

.orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    height: 540px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0,0,0,0.35);
    z-index: 10;
    border-radius: 4px;
}

.orbit-center img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.orbit-item {
    position: absolute;
    width: 195px;
    height: 270px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.25);
    border-radius: 4px;
    z-index: 5;
}

.orbit-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.orbit-img-contain {
    width: 100%;
    height: 100%;
    object-fit: contain !important;
    background: transparent;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.2));
}

@media (max-width: 1200px) {
    .project-main { padding: 40px; gap: 40px; }
    .project-detail-title { font-size: 60px; }
    .orbit-system { width: 660px; height: 660px; }
    .orbit-center { width: 240px; height: 322px; }
    .orbit-item { width: 157px; height: 217px; }
}

@media (max-width: 900px) {
    .project-main { flex-direction: column; }
    .project-text-side { max-width: 100%; margin-bottom: 40px; }
    .project-visual-side { width: 100%; min-height: 520px; }
    .orbit-system { width: 510px; height: 510px; }
    .orbit-center { width: 180px; height: 247px; }
    .orbit-item { width: 120px; height: 165px; }
}
/* Default Orbit Item Positions (Desktop Fallback) */
.orbit-item:nth-child(1) { left: 50%; top: 5%; transform: translate(-50%, -50%); }
.orbit-item:nth-child(2) { left: 85%; top: 25%; transform: translate(-50%, -50%); }
.orbit-item:nth-child(3) { left: 85%; top: 75%; transform: translate(-50%, -50%); }
.orbit-item:nth-child(4) { left: 50%; top: 95%; transform: translate(-50%, -50%); }
.orbit-item:nth-child(5) { left: 15%; top: 75%; transform: translate(-50%, -50%); }
.orbit-item:nth-child(6) { left: 15%; top: 25%; transform: translate(-50%, -50%); }

@media (max-width: 900px) {
    .project-main { flex-direction: column; }
    .project-text-side { max-width: 100%; margin-bottom: 40px; }
    .project-visual-side { width: 100%; min-height: 360px; }
    .orbit-system { width: 510px; height: 510px; }
    .orbit-center { width: 180px; height: 247px; }
    .orbit-item { width: 120px; height: 165px; }
    .orbit-item:nth-child(1) { left: 195px; top:  -29px; }
    .orbit-item:nth-child(2) { left: 370px; top:   72px; }
    .orbit-item:nth-child(3) { left: 370px; top:  274px; }
    .orbit-item:nth-child(4) { left: 195px; top:  375px; }
    .orbit-item:nth-child(5) { left:  20px; top:  274px; }
    .orbit-item:nth-child(6) { left:  20px; top:   72px; }
}


/* Services Page Specific Styles */
.services-body {
    background-color: #000;
}

.services-main {
    background-color: #000; /* Dark mode for services */
    color: #fff;
    min-height: calc(100vh - 120px);
    display: flex;
    flex-direction: column;
}

.services-list {
    width: 100%;
}

.services-list > * {
    border-top: 6px solid #fff;
    display: block; /* Assicura che i tag <a> abbiano un box block per il bordo */
}

.services-list > *:last-child {
    border-bottom: 6px solid #fff;
}

.service-link {
    text-decoration: none;
    color: inherit;
}

.service-row {
    padding: 60px;
    transition: background-color 0.3s ease;
    position: relative;
    cursor: pointer;
}

.service-row:hover {
    background-color: #111;
}

.service-title {
    font-family: 'NaN Metrify A Standard', sans-serif;
    font-size: 70px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: -2px;
}

.active-row .service-title {
    color: #fff;
}

/* Adjusting the arrow indicator for the services context */
.services-list .arrow-indicator {
    left: 480px;
    top: 75px;
    border-top-color: #fffb00;
}

@media (max-width: 900px) {
    .service-row {
        padding: 40px 30px;
    }
    .service-title {
        font-size: 36px;
    }
}

/* Premium Global Footer Styles */
.site-footer {
    background-color: #000;
    color: #fff;
    padding: 120px 60px 60px; /* More spacious */
    border-top: 2px solid #111;
    z-index: 10;
    position: relative;
    width: 100%;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 80px;
    align-items: start;
}

.footer-left .footer-logo-img {
    height: 80px;
    width: auto;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.footer-left .footer-logo-img:hover {
    transform: scale(1.05);
}

.footer-center {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.footer-tagline {
    font-family: 'NaN Metrify A Standard', sans-serif;
    font-size: 24px;
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    color: #fff;
}

.footer-address {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-end; /* Align links to the right */
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    font-size: 22px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    letter-spacing: -1px;
}

.footer-links a:hover {
    color: #fffb00;
    transform: translateX(-10px);
}

.footer-bottom {
    margin-top: 100px;
    padding-top: 30px;
    border-top: 1px solid #222;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'NaN Metrify A Standard', sans-serif;
    font-size: 11px;
    font-weight: 700;
    color: #555;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.footer-legal-links {
    display: flex;
    gap: 30px;
}

.footer-legal-links a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-legal-links a:hover {
    color: #fffb00;
}

.footer-email {
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid #fffb00;
}

@media (max-width: 1100px) {
    .footer-content { grid-template-columns: 1fr 1fr; }
    .footer-links { align-items: flex-start; }
}

@media (max-width: 768px) {
    .site-footer { padding: 80px 30px 40px; }
    .footer-content { display: flex; flex-direction: column; gap: 50px; }
    .footer-bottom { flex-direction: column; gap: 20px; align-items: flex-start; }
}

/* Service Detail Specific Styles (Branding, etc) */
.service-detail-main {
    position: relative;
    min-height: calc(100vh - 120px);
    background-color: #1a1a1a;
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('https://www.transparenttextures.com/patterns/carbon-fibre.png'); /* Simulating gritty texture */
    background-size: cover;
    background-position: center;
    padding: 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-intro {
    max-width: 800px;
}

.service-number {
    font-family: 'NaN Metrify A Standard', sans-serif; font-weight: 900;
    font-size: 100px;
    color: #fff;
    line-height: 1;
    margin-bottom: 20px;
}

.service-main-title {
    font-family: 'NaN Metrify A Standard', sans-serif;
    font-size: 80px;
    font-weight: 900;
    color: #ffea00;
    line-height: 1;
    margin-bottom: 25px;
    text-transform: capitalize;
}

.service-description-group {
    margin-top: 20px;
}

.service-desc-line {
    font-family: 'NaN Metrify A Standard', sans-serif;
    font-size: 18px;
    font-weight: 700;
    font-style: normal;
    color: #fff;
    margin-bottom: 4px;
    text-transform: uppercase;
}

.service-bullets {
    margin-top: 14px;
}

.service-bullet {
    font-family: 'NaN Metrify A Standard', sans-serif;
    font-size: 16px;
    font-weight: 500;
    font-style: normal;
    color: #ccc;
    line-height: 1.45;
    margin-bottom: 8px;
    letter-spacing: -0.1px;
}

.discipline-container {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.discipline-list {
    text-align: right;
    list-style: none;
    padding: 0;
}

.discipline-list li {
    font-family: 'NaN Metrify A Standard', sans-serif;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    text-transform: capitalize;
}

@media (max-width: 900px) {
    .service-detail-main { padding: 40px; }
    .service-main-title { font-size: 50px; }
    .service-number { font-size: 60px; }
}

/* Intro Overlay Splash Screen */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#intro-overlay.hidden {
    opacity: 0;
    visibility: hidden;
}

#intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#skip-intro {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    cursor: pointer;
    font-family: 'NaN Metrify A Standard', sans-serif;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 1px;
    z-index: 100000;
    transition: all 0.3s ease;
}

#skip-intro:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #fff;
}

/* Propongo Styles */
.propongo-header-link {
    display: block;
    order: -1;
    z-index: 100;
    transition: transform 0.3s ease;
    transform: rotate(0deg);
}

.propongo-header-link:hover {
    transform: scale(1.1);
}

.propongo-header-img {
    height: 100px; /* Increased from 60px */
    width: auto;
}

.mobile-menu-overlay .propongo-mobile-img {
    height: 80px;
    margin-top: 10px;
    transform: rotate(0deg);
}

.mobile-menu-overlay .home-mobile-img {
    height: 60px;
    margin-bottom: 20px;
}

.close-menu {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #fff;
    font-size: 40px;
    cursor: pointer;
    z-index: 1000;
    transition: transform 0.3s ease;
}
.close-menu:hover {
    transform: scale(1.2);
    color: #ffea00;
}

body.no-scroll {
    overflow: hidden;
    height: 100vh;
    touch-action: none;
}

/* Studio Specific Large Circular Orbit */
.studio-orbit-system {
    position: relative;
    width: 1200px;
    height: 1200px;
    flex-shrink: 0;
    margin-top: -200px; /* Lifted images further up */
}

.studio-orbit-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 550px;
    height: auto; /* Original aspect ratio */
    border-radius: 0; /* Remove roundness */
    overflow: hidden;
    border: none;
    box-shadow: none;
    z-index: 10;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.studio-orbit-center img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.studio-orbit-center:hover img {
    transform: scale(1.05);
}

.studio-orbit-item {
    position: absolute;
    width: 280px;
    height: auto; /* Original aspect ratio */
    border-radius: 0; /* Remove roundness */
    overflow: hidden;
    border: none;
    box-shadow: none;
    z-index: 5;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #000;
}

.studio-orbit-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.studio-orbit-item:hover {
    transform: translate(-50%, -50%) scale(1.15) !important;
    z-index: 100 !important;
    border-color: #ffea00;
    box-shadow: 0 0 50px rgba(255, 234, 0, 0.4);
}

.studio-orbit-item:hover img {
    opacity: 1;
}

@media (max-width: 1200px) {
    .studio-orbit-system { width: 800px; height: 800px; }
    .studio-orbit-center { width: 350px; height: auto; }
    .studio-orbit-item { width: 180px; height: auto; }
}

@media (max-width: 900px) {
    .studio-orbit-system { width: 500px; height: 500px; }
    .studio-orbit-center { width: 220px; height: auto; }
    .studio-orbit-item { width: 120px; height: auto; }
}

/* Propongo Balanced Alternating Layout (No Overlap) */
.propongo-container {
    padding: 100px 80px;
    background-color: #000;
}

.propongo-row {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Strictly left-aligned */
    margin-bottom: 120px;
    position: relative;
    width: 100%;
    max-width: 1600px;
    margin-left: 0;
    margin-right: 0;
    gap: 80px;
}

.propongo-row.reverse {
    flex-direction: row-reverse;
}

.propongo-logo-container {
    flex: 1;
    z-index: 1;
    display: flex;
    justify-content: center;
}

.propongo-logo-container img {
    width: 100%;
    max-width: 550px;
    height: auto;
    filter: drop-shadow(0 0 30px rgba(255, 234, 0, 0.2));
    transition: all 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.propongo-text-container {
    flex: 1;
    z-index: 10;
    padding: 0;
    background: transparent;
    border: none;
    transition: transform 0.4s ease;
    text-align: left;
}

.propongo-text-p {
    font-family: 'NaN Metrify A Standard', sans-serif;
    font-size: 20px;
    font-weight: 500;
    color: #eee;
    line-height: 1.7;
    text-transform: none;
    letter-spacing: 0.5px;
}

@media (max-width: 1100px) {
    .propongo-container { padding: 60px 30px; }
    .propongo-row { margin-bottom: 100px; }
    .propongo-text-container { padding: 40px; }
}

@media (max-width: 900px) {
    .propongo-row, .propongo-row.reverse {
        flex-direction: column;
        align-items: flex-start;
        margin-bottom: 100px;
    }
    .propongo-text-container, .propongo-row.reverse .propongo-text-container {
        margin: 20px 0 0 0;
        width: 100%;
        border: none;
        padding: 0;
        text-align: left;
    }
    .propongo-logo-container { 
        padding: 0; 
        justify-content: flex-start;
        width: 100%;
    }
    .propongo-logo-container img { 
        max-width: 100%; 
        width: auto;
    }
    .propongo-text-p {
        font-size: 18px;
    }
}

/* Portfolio, Services & Propongo Animations */
.project-row, .service-row, .propongo-row {
    opacity: 1; 
    background-color: transparent; 
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform;
}

/* Row entrance from right */
.project-row.from-right, .service-row.from-right, .propongo-row.from-right {
    transform: translateX(200px);
}

/* Row entrance from left */
.project-row.from-left, .service-row.from-left, .propongo-row.from-left {
    transform: translateX(-200px);
}

.project-row.visible, .service-row.visible, .propongo-row.visible {
    transform: translateX(0) !important;
}
/* Fixed WhatsApp Button */
.whatsapp-fixed {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 9999;
    opacity: 0.8; /* Increased visibility as requested */
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
}

.whatsapp-fixed:hover {
    opacity: 1;
    transform: scale(1.1);
}

.whatsapp-fixed i {
    font-size: 45px;
    color: #666; /* Slightly darker gray for visibility */
}

@media (max-width: 768px) {
    .whatsapp-fixed {
        bottom: 20px;
        right: 20px;
    }
    .whatsapp-fixed i {
        font-size: 35px;
    }
}

/* Propongo Header Logo Style */
.propongo-header-link {
    margin-right: 40px; /* Space from navigation */
    margin-left: -50px; /* Nudge further left as requested */
    display: flex;
    align-items: center;
    order: -1; /* Ensure it is the first element on the left */
}

.propongo-header-img {
    height: 110px; /* Increased size to restore impact */
    width: auto;
    filter: brightness(0) invert(1); /* Make it WHITE */
    transition: all 0.3s ease;
}

.propongo-header-link:hover .propongo-header-img {
    filter: none; /* Restore original YELLOW on hover */
    transform: scale(1.05);
}

/* Homepage Splash Screen */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #ffea00;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 1.2s cubic-bezier(0.4, 0, 0.2, 1), visibility 1.2s;
}

.splash-screen.fade-out {
    opacity: 0;
    visibility: hidden;
}

.splash-logo {
    width: 50vw; /* Giant logo */
    max-width: 900px;
    height: auto;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.1));
}

/* Intro Overlay Styles (Restored) */
#intro-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    z-index: 10001;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1s ease;
}

#intro-overlay.hidden {
    display: none;
}

#intro-overlay.fade-out {
    opacity: 0;
}

#intro-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#skip-intro {
    position: absolute;
    bottom: 40px;
    right: 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    padding: 12px 25px;
    cursor: pointer;
    z-index: 10002;
    font-family: 'NaN Metrify A Standard', sans-serif;
    font-weight: 900;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

#skip-intro:hover {
    background: #fff;
    color: #000;
}



/* Mobile Logo Position */
@media (max-width: 768px) {
    .logo {
        position: fixed !important;
        left: 20px !important;
        top: 20px !important;
        right: auto !important;
        z-index: 10000 !important;
        display: block !important;
    }
    .header-logo-img {
        height: 60px !important;
        width: auto !important;
    }
}

/* Global Mobile Text Reduction (20% reduction) */
@media (max-width: 768px) {
    .service-main-title, .project-detail-title, .hero-title {
        font-size: 50px !important; /* Scaled down from ~60-80px */
    }
    .service-number {
        font-size: 65px !important; /* Scaled down from 80-100px */
    }
    .mobile-menu-overlay {
        justify-content: flex-start !important;
        padding-top: 160px !important;
        gap: 25px !important;
    }
    .mobile-menu-overlay a {
        font-size: 24px !important; /* 30px * 0.8 */
    }
    .service-desc-line, .project-detail-subtitle {
        font-size: 20px !important; /* ~24-28px * 0.8 */
    }
    .service-bullet, .project-description {
        font-size: 14px !important; /* ~18px * 0.8 */
    }
    .footer-email {
        font-size: 14px !important;
    }
    .yellow-ticker {
        padding: 12px 0 !important;
    }
    .yellow-ticker .ticker-content span {
        font-size: 19px !important;
    }
    #intro-video {
        object-fit: contain !important;
    }
    .propongo-text-container h2 {
        font-size: 36px !important; /* ~45px * 0.8 */
    }
    .propongo-text-container p {
        font-size: 16px !important; /* ~20px * 0.8 */
    }
}

/* Force clipping on main list containers to prevent animation bleed */
.portfolio-list, .servizi-list, .propongo-container, .portfolio-main, .servizi-main {
    overflow-x: hidden !important;
    width: 100%;
}

/* Fix squashed Propongo logo in mobile menu */
.mobile-menu-overlay a.propongo-mobile-link {
    transform: none !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Specific reduction for Propongo intro text on mobile */
@media (max-width: 768px) {
    .propongo-container .service-number {
        font-size: 55px !important; /* Scaled down further as requested */
    }
    .propongo-container .service-main-title {
        font-size: 28px !important; /* Scaled down further as requested */
    }
    .propongo-container .service-desc-line {
        font-size: 18px !important;
    }
}

/* Studio Page Mobile Text Wrapping Fixes */
@media (max-width: 768px) {
    .studio-title {
        font-size: 15vw !important;
        line-height: 1.1 !important;
        letter-spacing: -1px !important;
        margin-bottom: 30px !important;
    }
    .studio-description br {
        display: none !important;
    }
    .studio-main {
        padding: 40px 20px !important;
    }
    .studio-content {
        width: 100% !important;
        gap: 30px !important;
    }
    .studio-description p {
        font-size: 16px !important;
        line-height: 1.5 !important;
        word-break: break-word !important;
        overflow-wrap: break-word !important;
    }
    .desc-highlight {
        font-size: 18px !important;
    }
}

/* === NEW SIDE-BY-SIDE GALLERY GRID === */
.project-visual-side.gallery-layout {
    display: block !important;
    min-height: auto !important;
    width: 100% !important;
    align-self: flex-start;
    overflow: hidden !important;
}

.project-gallery-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    gap: 30px !important;
    width: 100% !important;
    position: relative !important;
    padding: 20px 0 !important;
    scrollbar-width: none !important; /* Hide Firefox scrollbars */
    -ms-overflow-style: none !important;  /* Hide IE 10+ scrollbars */
    cursor: grab !important;
    user-select: none !important;
    -webkit-user-select: none !important;
    will-change: scroll-position;
}

.project-gallery-grid::-webkit-scrollbar {
    display: none !important; /* Hide Chrome/Safari/Edge scrollbars */
}

.project-gallery-grid:active {
    cursor: grabbing !important;
}

.project-gallery-grid img {
    flex: 0 0 auto !important;
    height: 70vh !important;
    max-height: 75vh !important;
    width: auto !important;
    aspect-ratio: auto !important;
    object-fit: cover !important;
    border-radius: 0px !important;
    cursor: zoom-in !important;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15) !important;
    user-drag: none !important;
    -webkit-user-drag: none !important;
}


.project-gallery-grid img:hover {
    transform: scale(1.02) !important;
    filter: brightness(1.05) !important;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3) !important;
}

/* === HOMEPAGE VIDEO BACKGROUND === */
.home-video-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* === HOMEPAGE MOBILE LOGO SIZE ENHANCEMENT === */
@media (max-width: 768px) {
    .home-body .header-logo-img {
        height: 100px !important; /* Larger impact on the home page mobile splash */
    }
}

/* === RESPONSIVE GALLERY GRID === */
@media (max-width: 900px) {
    .project-gallery-grid {
        gap: 15px !important;
        padding: 10px 0 !important;
    }
    .project-gallery-grid img {
        height: 55vh !important;
        max-height: 60vh !important;
    }
}


/* === PREMIUM INTERACTIVE LIGHTBOX SYSTEM === */
.lightbox-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 2500;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.4s;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.lightbox-overlay.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
    -webkit-user-select: none;
}

.lightbox-img {
    max-width: 90%;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 0px;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
    cursor: grab;
    will-change: transform, opacity;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    user-drag: none;
    -webkit-user-drag: none;
}

.lightbox-img:active {
    cursor: grabbing;
}

/* Elegant minimalist Close button */
.lightbox-close {
    position: absolute;
    top: 40px;
    right: 40px;
    color: rgba(255, 255, 255, 0.6);
    font-size: 50px;
    font-weight: 300;
    cursor: pointer;
    line-height: 1;
    z-index: 2510;
    transition: color 0.3s ease, transform 0.3s ease;
}

.lightbox-close:hover {
    color: #ffea00;
    transform: scale(1.1) rotate(90deg);
}

/* Elegant minimalist navigation arrows */
.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.4);
    font-size: 80px;
    font-weight: 100;
    cursor: pointer;
    z-index: 2510;
    width: 80px;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: color 0.3s ease, transform 0.3s ease, background 0.3s ease;
    border-radius: 50%;
    user-select: none;
}

.lightbox-nav:hover {
    color: #ffea00;
}

.lightbox-prev {
    left: 40px;
}

.lightbox-prev:hover {
    transform: translateY(-50%) translateX(-5px);
}

.lightbox-next {
    right: 40px;
}

.lightbox-next:hover {
    transform: translateY(-50%) translateX(5px);
}

/* Counter indicator */
.lightbox-counter {
    position: absolute;
    top: 40px;
    left: 40px;
    font-family: 'NaN Metrify A Standard', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
    z-index: 2510;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .lightbox-close {
        top: 25px;
        right: 25px;
        font-size: 40px;
    }
    .lightbox-counter {
        top: 30px;
        left: 25px;
        font-size: 14px;
    }
    .lightbox-nav {
        display: none; /* Hide arrow controls on mobile, rely completely on swiping gestures */
    }
    .lightbox-img {
        max-width: 95%;
        max-height: 75vh;
    }
}

/* === STUNNING SERVICE DETAIL ENTRANCE ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Scoped specifically to the three service detail pages via .service-detail-main */
.service-detail-main .service-number {
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.service-detail-main .service-main-title {
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.15s;
}

.service-detail-main .service-description-group .service-desc-line {
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.service-detail-main .service-description-group .service-desc-line:nth-child(1) {
    animation-delay: 0.3s;
}

.service-detail-main .service-description-group .service-desc-line:nth-child(2) {
    animation-delay: 0.45s;
}

.service-detail-main .service-bullets .service-bullet {
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.service-detail-main .service-bullets .service-bullet:nth-child(1) {
    animation-delay: 0.6s;
}

.service-detail-main .service-bullets .service-bullet:nth-child(2) {
    animation-delay: 0.72s;
}

.service-detail-main .service-bullets .service-bullet:nth-child(3) {
    animation-delay: 0.84s;
}

.service-detail-main .service-bullets .service-bullet:nth-child(4) {
    animation-delay: 0.96s;
}

/* Right Side: Disciplines list items sliding left elegantly */
.service-detail-main .discipline-list li {
    opacity: 0;
    animation: fadeInLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.service-detail-main .discipline-list li:nth-child(1) { animation-delay: 0.25s; }
.service-detail-main .discipline-list li:nth-child(2) { animation-delay: 0.35s; }
.service-detail-main .discipline-list li:nth-child(3) { animation-delay: 0.45s; }
.service-detail-main .discipline-list li:nth-child(4) { animation-delay: 0.55s; }
.service-detail-main .discipline-list li:nth-child(5) { animation-delay: 0.65s; }
.service-detail-main .discipline-list li:nth-child(6) { animation-delay: 0.75s; }
.service-detail-main .discipline-list li:nth-child(7) { animation-delay: 0.85s; }
.service-detail-main .discipline-list li:nth-child(8) { animation-delay: 0.95s; }

/* === GALLERY NAVIGATION ARROWS === */
.gallery-arrows {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 30px;
    width: 100%;
    position: relative;
    z-index: 150;
    pointer-events: auto !important;
}

.gallery-arrow {
    background: #ffffff;
    border: 1px solid rgba(0, 0, 0, 0.08);
    color: #000000;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 160;
    pointer-events: auto !important;
    outline: none;
}

.gallery-arrow i {
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-arrow.prev-arrow:hover i {
    transform: translateX(-4px);
}

.gallery-arrow.next-arrow:hover i {
    transform: translateX(4px);
}

.gallery-arrow:hover {
    background-color: #000000;
    color: #fffb00;
    border-color: #000000;
    transform: scale(1.08);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.gallery-arrow:active {
    transform: scale(0.94);
}


/* === STUNNING PROJECT DETAIL ENTRANCE ANIMATIONS === */
.project-body .project-text-side > * {
    opacity: 0;
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.project-body .project-text-side > a {
    animation-delay: 0.1s;
}

.project-body .project-text-side .project-detail-title {
    animation-delay: 0.25s;
}

.project-body .project-text-side .project-detail-subtitle {
    animation-delay: 0.4s;
}

.project-body .project-text-side .project-description {
    animation-delay: 0.55s;
}



