/* =========================================================
   SERVICE DETAIL PAGE — V14 (DARK THEME, SPLIT LAYOUT)
   ========================================================= */

html, body {
    width: 100%;
    height: 100%;
    background: var(--dark);
    color: var(--cream);
    font-family: 'Space Grotesk', sans-serif;
    overflow: hidden;
    scrollbar-width: none;
}

html::-webkit-scrollbar {
    display: none;
}

body::before,
.noise-overlay {
    display: none !important;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.detail-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 42px;
    background: transparent;
}

.detail-nav a {
    cursor: pointer;
}

.back-link {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: var(--cream);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border: 1.5px solid rgba(245, 240, 235, 0.3);
    border-radius: 30px;
    white-space: nowrap;
}

.back-link:hover {
    color: var(--orange);
    border-color: var(--orange);
}


/* =========================================================
   HERO ORBIT
   ========================================================= */

.service-hero-orbit {
    position: fixed;
    width: 140vmin;
    height: 140vmin;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.06;
    pointer-events: none;
    z-index: 0;
}


/* OUTER */

.service-orbit-outer {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border: 1px solid rgba(245, 240, 235, 0.8);
    border-radius: 50%;
}


/* INNER */

.service-orbit-inner {
    position: absolute;
    width: 65%;
    height: 65%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid rgba(245, 240, 235, 0.8);
    border-radius: 50%;
}


/* TRACKS */

.service-outer-track,
.service-inner-track {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 50%;
}

.service-outer-track {
    animation: serviceOuterRotate 14s linear infinite;
}

.service-inner-track {
    animation: serviceInnerRotate 10s linear infinite;
}


/* DOT POSITIONS */

.service-dot-position {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    border-radius: 50%;
}


/* DOT */

.service-orbit-dot {
    position: absolute;
    width: 14px;
    height: 14px;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: rgba(245, 240, 235, 0.8);
}


/* THREE POSITIONS */

.service-dot-1 { transform: rotate(0deg); }
.service-dot-2 { transform: rotate(120deg); }
.service-dot-3 { transform: rotate(240deg); }


/* ANIMATION */

@keyframes serviceOuterRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes serviceInnerRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}


/* =========================================================
   MAIN SERVICE — SPLIT LAYOUT
   ========================================================= */

.service-page {
    position: relative;
    z-index: 5;
    height: calc(100vh - 75px);
    padding: 35px 7vw 35px;
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    column-gap: 6vw;
    align-items: center;
}


/* =========================================================
   LEFT SIDE
   ========================================================= */

.service-label {
    font-size: 10px;
    letter-spacing: 4px;
    color: var(--orange);
    text-transform: uppercase;
    margin-bottom: 20px;
}

.service-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(50px, 6vw, 90px);
    font-weight: 900;
    line-height: 0.95;
    letter-spacing: -5px;
    text-transform: uppercase;
}

.service-tagline {
    margin-top: 25px;
    font-size: 18px;
    letter-spacing: 1px;
    color: rgba(245, 240, 235, 0.5);
}


/* =========================================================
   INFORMATION
   ========================================================= */

.service-information {
    margin-top: 45px;
}

.info-label {
    font-size: 11px;
    letter-spacing: 3px;
    color: var(--orange);
    text-transform: uppercase;
    margin-bottom: 12px;
}

.info-text {
    max-width: 390px;
    font-size: 16px;
    line-height: 2.0;
    color: rgba(245, 240, 235, 0.6);
}

.deliverables-info {
    margin-top: 25px;
}


/* =========================================================
   IMAGE — PEOPLE-STYLE CIRCULAR FRAME
   ========================================================= */

.service-main-image {
    width: 100%;
    height: min(72vh, 650px);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.service-image-container {
    position: relative;
    width: 520px;
    height: 520px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-image-bg {
    position: absolute;
    width: 410px;
    height: 410px;
    border-radius: 50%;
    background: var(--teal);
    opacity: 0.15;
    border: 2px solid rgba(245, 240, 235, 0.12);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.service-image-container:hover .service-image-bg {
    opacity: 0.25;
    transform: scale(1.05);
}

.service-image {
    position: absolute;
    width: 380px;
    height: 380px;
    border-radius: 50%;
    object-fit: cover;
    z-index: 2;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.service-image.revealed {
    opacity: 1;
    transform: scale(1);
    animation: serviceImageFloat 5s ease-in-out infinite 0.6s;
}

@keyframes serviceImageFloat {
    0%, 100% { transform: scale(1) translateY(0); }
    50% { transform: scale(1) translateY(-8px); }
}

.service-image-container:hover .service-image {
    animation-play-state: paused;
    transform: scale(1.05);
}

/* Ring decoration */
.service-image-container::before {
    content: '';
    position: absolute;
    width: 440px;
    height: 440px;
    border-radius: 50%;
    border: 1px solid rgba(245, 240, 235, 0.08);
    transition: border-color 0.4s ease;
}

.service-image-container:hover::before {
    border-color: rgba(245, 240, 235, 0.18);
}


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

.service-footer {
    position: fixed;
    left: 7vw;
    right: 7vw;
    bottom: 20px;
    z-index: 100;
    display: flex;
    justify-content: space-between;
}

.service-footer a {
    color: var(--cream);
    text-decoration: none;
    font-size: 10px;
    letter-spacing: 3px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    padding: 10px 20px;
    border: 1.5px solid rgba(245, 240, 235, 0.3);
    border-radius: 30px;
}

.service-footer a:hover {
    color: var(--orange);
    border-color: var(--orange);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 800px) {

    html, body {
        overflow: auto;
        height: auto;
    }

    .detail-nav {
        padding: 10px 20px;
        gap: 12px;
    }

    .detail-nav .logo-img {
        height: 50px;
    }

    .back-link {
        font-size: 8px;
        letter-spacing: 2px;
        padding: 8px 14px;
    }

    .service-hero-orbit {
        width: 100vmin;
        height: 100vmin;
        opacity: 0.04;
    }

    .service-orbit-outer {
        width: 100%;
        height: 100%;
    }

    .service-orbit-inner {
        width: 65%;
        height: 65%;
    }

    .service-page {
        height: calc(100vh - 60px);
        min-height: auto;
        padding: 150px 20px 70px;
        display: flex;
        flex-direction: column;
        overflow: hidden;
    }

    .service-details {
        order: 2;
    }

    .service-main-image {
        order: 1;
        height: auto;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .service-label {
        font-size: 8px;
        letter-spacing: 3px;
        margin-bottom: 8px;
    }

    .service-title {
        font-size: 9vw;
        letter-spacing: -2px;
        line-height: 0.95;
    }

    .service-tagline {
        font-size: 13px;
        margin-top: 10px;
    }

    .service-information {
        margin-top: 15px;
    }

    .info-label {
        font-size: 8px;
        letter-spacing: 2px;
        margin-bottom: 6px;
    }

    .info-text {
        font-size: 12px;
        line-height: 1.6;
        max-width: 100%;
    }

    .service-image-container {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }

    .service-image-bg {
        width: 170px;
        height: 170px;
    }

    .service-image {
        width: 155px;
        height: 155px;
    }

    .service-image-container::before {
        width: 185px;
        height: 185px;
    }

    .service-footer {
        position: fixed;
        left: 20px;
        right: 20px;
        bottom: 15px;
        margin: 0;
        gap: 15px;
    }

    .service-footer a {
        font-size: 8px;
        letter-spacing: 2px;
    }
}
