﻿
/* ============================================
   ITS TOURISM
   TURN-AROUND SERVICES
   INTERACTIVE OPERATIONS NETWORK
============================================ */

.its-turn3d-section {
    background: linear-gradient( 180deg, #f8fcfa 0%, #edf7f1 100% );
    overflow: hidden;
}

/* ============================================
   SECTION HEADING
============================================ */

.its-turn3d-heading {
    margin-bottom: 38px;
}

.its-turn3d-eyebrow {
    display: inline-block;
    color: #0f8a5f;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.8px;
    margin-bottom: 12px;
}

.its-turn3d-heading h2 {
    color: #18392d;
    font-size: 34px;
    font-weight: 800;
    line-height: 1.3;
    margin-bottom: 18px;
}

.its-turn3d-heading p {
    color: #61736c;
    font-size: 18px;
    line-height: 1.9;
    max-width: 850px;
    margin: 0 auto;
}

/* ============================================
   MAIN LAYOUT
============================================ */

.its-turn3d-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.8fr) minmax(340px, 1fr);
    max-width: 1200px;
    margin: 0 auto;
    background: #07513d;
    border-radius: 34px;
    overflow: hidden;
    box-shadow: 0 30px 75px rgba(0, 60, 40, .20);
}

/* ============================================
   LEFT OPERATIONS VIEW
============================================ */

.its-turn3d-visual,
.its-operations-visual {
    position: relative;
    display: flex;
    flex-direction: column;
    min-width: 0;
    height: 100%;
    min-height: 800px;
    overflow: hidden;
    background: #062c28;
}

/* ============================================
   OPERATIONS TOP BAR
============================================ */

.its-ops-topbar {
    flex-shrink: 0;
    min-height: 64px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    background: rgba(4, 32, 28, .7);
    border-bottom: 1px solid rgba(255,255,255,.12);
    color: #e7fff0;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .8px;
}

    .its-ops-topbar i {
        color: #99e6be;
        margin-right: 8px;
    }

.its-ops-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #a4dbc2;
    font-size: 10px;
    white-space: nowrap;
}

.its-ops-status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #9ff1be;
    box-shadow: 0 0 12px rgba(159,241,190,.6);
}

/* ============================================
   SVG SCENE
============================================ */

.its-ops-scene {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 10px;
}

#itsOperationsSvg {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 100%;
    transform: translateY(-38px);
    transform-origin: center top;
}

/* ============================================
   RADAR BACKGROUND
============================================ */

.its-ops-radar circle,
.its-ops-radar path {
    fill: none;
    stroke: #79bfa1;
    stroke-width: 1;
    opacity: .12;
}

/* ============================================
   CONNECTION ROUTES
============================================ */

.its-ops-route-base {
    fill: none;
    stroke: #75b99e;
    stroke-width: 2;
    stroke-dasharray: 5 9;
    opacity: .25;
    pointer-events: none;
}

.its-ops-route-active {
    fill: none;
    stroke: #afffd1;
    stroke-width: 3.5;
    stroke-linecap: round;
    opacity: 0;
    pointer-events: none;
    filter: drop-shadow(0 0 5px #7eeeb0);
}

/* ============================================
   DESTINATION NODES
============================================ */

.its-ops-node {
    cursor: pointer;
    outline: none;
}

.its-ops-node-halo {
    fill: rgba(83,199,146,.035);
    stroke: rgba(136,231,178,.16);
    stroke-width: 1;
}

.its-ops-node-ring {
    fill: rgba(15,94,71,.4);
    stroke: rgba(167,240,197,.55);
    stroke-width: 1.5;
    transition: stroke .25s ease;
}

.its-ops-node-core {
    fill: #125844;
    stroke: #87ddb2;
    stroke-width: 1;
    transition: fill .25s ease;
}

.its-ops-node-icon {
    fill: none;
    stroke: #effff5;
    stroke-width: 2.6;
    stroke-linecap: round;
    stroke-linejoin: round;
    pointer-events: none;
}

.its-ops-node-title {
    fill: #f1fff6;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    pointer-events: none;
}

.its-ops-node-caption {
    fill: #9ccbb5;
    font-size: 10px;
    pointer-events: none;
}

.its-ops-node.is-active .its-ops-node-ring {
    stroke: #e8ffba;
    stroke-width: 3;
}

.its-ops-node.is-active .its-ops-node-core {
    fill: #187155;
}

.its-ops-node:focus-visible .its-ops-node-ring {
    stroke: #ffffff;
    stroke-width: 3;
}

/* ============================================
   SVG TECHNICAL TEXT
============================================ */

.its-ops-technical {
    fill: #78b29c;
    font-size: 10px;
    letter-spacing: 1.5px;
}

/* ============================================
   OPERATIONS BOTTOM BAR
============================================ */

.its-ops-bottom {
    flex-shrink: 0;
    min-height: 54px;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-top: 1px solid rgba(255,255,255,.1);
    background: rgba(4,32,28,.7);
    color: #a7d8bf;
    font-size: 11px;
    letter-spacing: .3px;
}

    .its-ops-bottom i {
        color: #8fe5b5;
        margin-right: 7px;
    }

/* ============================================
   RIGHT INFORMATION PANEL
============================================ */

.its-turn3d-panel {
    min-width: 0;
    padding: 30px 25px;
    color: #ffffff;
    background: linear-gradient( 180deg, #07513d 0%, #06392c 100% );
}

.its-turn3d-panel-label {
    display: inline-block;
    color: #a7dfc2;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.3px;
    margin-bottom: 15px;
}

.its-turn3d-panel h3 {
    color: #ffffff;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 16px;
}

.its-turn3d-panel > p:not(.its-turn3d-disclaimer) {
    color: #d6ece2;
    font-size: 14px;
    line-height: 1.85;
    min-height: 95px;
    margin-bottom: 18px;
}

/* ============================================
   SERVICE BUTTON GRID
============================================ */

.its-turn3d-steps {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    margin: 20px 0;
}

    .its-turn3d-steps button {
        width: 100%;
        min-width: 0;
        min-height: 64px;
        padding: 10px;
        display: flex;
        align-items: center;
        gap: 9px;
        border-radius: 14px;
        border: 1px solid rgba(255,255,255,.14);
        background: rgba(255,255,255,.06);
        color: #eefbf4;
        font-size: 12px;
        font-weight: 700;
        line-height: 1.4;
        text-align: left;
        cursor: pointer;
        transition: .28s ease;
    }

        .its-turn3d-steps button span {
            flex-shrink: 0;
            min-width: 29px;
            height: 29px;
            display: grid;
            place-items: center;
            border-radius: 50%;
            background: rgba(255,255,255,.10);
            color: #d2f3de;
            font-size: 11px;
            font-weight: 700;
        }

        .its-turn3d-steps button:hover,
        .its-turn3d-steps button.active {
            background: rgba(255,255,255,.15);
            border-color: rgba(191,247,214,.38);
            box-shadow: inset 0 0 0 1px rgba(191,247,214,.16);
        }

        .its-turn3d-steps button:focus-visible {
            outline: 2px solid #d9fff1;
            outline-offset: 3px;
        }

        /* Odd last item takes full row */

        .its-turn3d-steps button:last-child:nth-child(odd) {
            grid-column: 1 / -1;
            justify-content: center;
        }

/* ============================================
   ANIMATION PROGRESS
============================================ */

.its-turn3d-progress {
    width: 100%;
    height: 5px;
    margin: 16px 0 24px;
    border-radius: 999px;
    background: rgba(255,255,255,.18);
    overflow: hidden;
}

#itsTurn3dProgress {
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient( 90deg, #79dfb2 0%, #d9fff1 100% );
}

/* ============================================
   ACTION BUTTONS
============================================ */

.its-turn3d-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.its-turn3d-primary,
.its-turn3d-secondary {
    height: 56px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: .3s ease;
}

.its-turn3d-primary {
    flex: 1;
    min-width: 0;
    padding: 0 20px;
    border: 0;
    background: #ffffff;
    color: #07513d;
    font-size: 15px;
}

    .its-turn3d-primary:hover {
        background: #e5faef;
        color: #07513d;
        transform: translateY(-3px);
    }

.its-turn3d-secondary {
    flex-shrink: 0;
    width: 56px;
    border: 1px solid rgba(255,255,255,.26);
    background: rgba(255,255,255,.08);
    color: #ffffff;
}

    .its-turn3d-secondary:hover {
        background: rgba(255,255,255,.18);
    }

/* ============================================
   DISCLAIMER
============================================ */

.its-turn3d-disclaimer {
    color: #b8d8ca;
    font-size: 11px;
    line-height: 1.75;
    margin: 18px 0 0;
}

/* ============================================
   TABLET
============================================ */

@media (max-width: 991px) {

    .its-turn3d-shell {
        grid-template-columns: 1fr;
    }

    .its-turn3d-visual,
    .its-operations-visual {
        height: 680px;
        min-height: 0;
    }

    .its-turn3d-panel {
        padding: 34px 28px;
    }

        .its-turn3d-panel > p:not(.its-turn3d-disclaimer) {
            min-height: 0;
        }
}

/* ============================================
   MOBILE
============================================ */

@media (max-width: 576px) {

    .its-turn3d-heading h2 {
        font-size: 27px;
    }

    .its-turn3d-heading p {
        font-size: 15px;
    }

    .its-turn3d-shell {
        border-radius: 22px;
    }

    .its-turn3d-visual,
    .its-operations-visual {
        height: 530px;
        min-height: 0;
    }

    .its-ops-topbar {
        min-height: 48px;
        padding: 0 12px;
        font-size: 9px;
    }

    .its-ops-status {
        font-size: 8px;
    }

    .its-ops-bottom {
        min-height: 42px;
        padding: 0 12px;
        font-size: 9px;
    }

        .its-ops-bottom span:last-child {
            display: none;
        }

    .its-turn3d-panel {
        padding: 25px 20px;
    }

        .its-turn3d-panel h3 {
            font-size: 24px;
        }

    .its-turn3d-steps {
        grid-template-columns: 1fr;
    }

        .its-turn3d-steps button {
            min-height: 49px;
            font-size: 13px;
        }

            .its-turn3d-steps button:last-child:nth-child(odd) {
                grid-column: auto;
                justify-content: flex-start;
            }

    .its-turn3d-primary {
        font-size: 14px;
    }
}

/* ============================================
   REDUCED MOTION
============================================ */

@media (prefers-reduced-motion: reduce) {

    .its-turn3d-primary,
    .its-turn3d-secondary,
    .its-turn3d-steps button,
    .its-ops-node-ring,
    .its-ops-node-core {
        transition: none;
    }
}
