/* Page-specific styles for 3D Environments service page */
.navbar {
    background-color: var(--primary-yellow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.nav-links a:hover {
    opacity: 0.7;
}

.btn-contact {
    background-color: var(--dark-black);
    color: var(--primary-yellow) !important;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.btn-contact:hover {
    opacity: 0.8;
}

.footer {
    background-color: #1e1e1e;
    color: var(--text-light);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 220px 1fr 1fr 220px;
    gap: 48px;
    margin: 0 0 40px auto;
    align-items: start;
    max-width: 1080px;
    width: 100%;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding-right: 30px;
}

.footer-logo {
    max-width: 100px;
    height: auto;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-column h4 {
    margin: 0;
    color: #f5f5f5;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 8px;
}

.footer-column a {
    color: #b8b8b8;
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 13px;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-column p {
    color: #b8b8b8;
    margin: 0;
    font-size: 13px;
}

.footer-highlight {
    color: var(--primary-yellow);
    text-decoration: none;
    font-weight: 700;
}

.footer-bottom {
    padding-top: 28px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    font-size: 13px;
    text-align: center;
    gap: 10px;
    flex-wrap: wrap;
    width: 100%;
}

.footer-bottom a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--primary-yellow);
}

.service-hero {
    padding: 80px 0;
    background-color: #111111;
    color: #ffffff;
}

.service-hero .container {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 24px 0 44px;
}

.service-hero-copy {
    max-width: min(1220px, calc(100vw - 68px));
    padding: 0;
}

.service-pill {
    display: inline-block;
    padding: 10px 18px;
    border-radius: 999px;
    background-color: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    font-size: 12px;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 24px;
}

.service-hero h1 {
    font-size: clamp(3rem, 4.5vw, 5rem);
    margin-bottom: 24px;
    line-height: 1.03;
}

.outline-title {
    font-family: 'Paddock', 'Sen', sans-serif;
    font-weight: 500;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 1.4px #ffffff;
    paint-order: stroke fill;
    letter-spacing: 0.015em;
}

.service-hero p {
    font-family: 'Sen', 'Paddock', sans-serif;
    font-size: 1.1rem;
    max-width: 620px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.btn-cta {
    display: inline-block;
    text-decoration: none;
}

.service-showcase {
    padding: 50px 0;
}

.service-showcase-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: center;
}

.service-showcase-item {
    grid-column: 1 / -1;
    width: 100%;
    overflow: visible;
}

.service-showcase-item img {
    width: 100%;
    border-radius: 0;
    object-fit: cover;
    display: block;
}

.service-showcase .clients-marquee {
    overflow: hidden;
    width: 100vw !important;
    position: relative;
    left: 50%;
    margin-left: -50vw;
    padding: 0;
    box-sizing: border-box;
    white-space: nowrap;
}

.service-showcase .clients-marquee-track {
    display: inline-flex;
    align-items: center;
    gap: 50px;
    flex-wrap: nowrap;
    width: max-content;
    animation: marquee 30s linear infinite !important;
}

.service-showcase .clients-marquee-track .client-logo {
    flex: 0 0 auto;
}

.service-showcase .client-logo img {
    max-height: 110px;
}

.service-showcase-copy h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.service-showcase-copy p {
    font-size: 1rem;
    line-height: 1.75;
    margin-bottom: 24px;
    max-width: 560px;
}

.service-showcase-copy ul {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: grid;
    gap: 12px;
}

.service-showcase-copy ul li {
    position: relative;
    padding-left: 28px;
}

.service-showcase-copy ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-yellow);
    font-weight: 700;
}

.service-details {
    padding: 80px 0 120px;
    background-color: #0f0f0f;
}

.service-details .container {
    width: 100%;
    max-width: none;
    margin: 0 auto;
    padding: 0 10%;
    box-sizing: border-box;
}

.service-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.workbench-gallery {
    display: grid;
    gap: 20px;
}

.workbench-hero img,
.workbench-row img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.workbench-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.service-details-grid article {
    background-color: #181818;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 32px;
}

.service-details-grid h3 {
    font-size: 1.1rem;
    margin-bottom: 16px;
    color: #ffffff;
}

.service-details-grid p {
    color: #c8c8c8;
    line-height: 1.8;
}

.service-footer .footer {
    padding: 40px 0 20px;
}

.service-footer .footer-content {
    max-width: 1080px;
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255,255,255,0.2);
    padding: 12px 28px;
    border-radius: 25px;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
    background-color: rgba(255,255,255,0.08);
    color: #ffffff;
}

@media (max-width: 900px) {
    .service-showcase-grid {
        grid-template-columns: 1fr;
    }

    .service-details-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        align-items: center;
        text-align: center;
    }

    .footer-brand,
    .footer-contact {
        padding-right: 0;
        margin: 0 auto;
        text-align: center;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-column:not(.footer-contact) {
        display: none;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .nav-content {
        flex-wrap: wrap;
        gap: 16px;
        align-items: center;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 12px;
        padding: 12px 0;
        background-color: var(--primary-yellow);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        display: block;
        width: 100%;
        padding: 12px 0;
        text-align: center;
    }

    .btn-contact {
        width: 100%;
    }

    .service-details {
        padding: 56px 0 72px;
    }

    .service-hero .container {
        padding: 0 16px;
    }

    .service-hero-copy {
        max-width: 100%;
    }

    .service-details .container {
        padding: 0 12px;
    }

    .workbench-gallery,
    .workbench-row {
        gap: 12px;
    }
}

@media (max-width: 640px) {
    .service-hero {
        padding: 60px 0;
    }

    .service-hero-copy {
        padding: 0 16px;
    }

    .service-hero h1 {
        font-size: 2.7rem;
    }

    .outline-title {
        -webkit-text-stroke: 1.1px #ffffff;
    }
}

.lightbox-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.lightbox-overlay.active {
    display: flex;
}

.lightbox-content {
    position: relative;
    max-width: 95vw;
    max-height: 95vh;
    width: min(1200px, 100%);
}

.lightbox-img {
    width: 100%;
    height: auto;
    max-height: 95vh;
    object-fit: contain;
    display: block;
    border-radius: 0;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.65);
}

.lightbox-close {
    position: absolute;
    top: -14px;
    right: -14px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.13);
    color: #ffffff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    display: grid;
    place-items: center;
    transition: background 0.2s ease;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.26);
}

.service-details-grid img {
    cursor: zoom-in;
}
