/**
 * eco_sensitive_zones.css
 * Premium high-fidelity stylesheet for Eco-Sensitive Zones around Protected Areas.
 * Scoped cleanly to .esz-page with perfect glassmorphism & theme harmony.
 */

:root {
    --esz-shadow: 0 12px 40px rgba(0, 0, 0, 0.03);
    --esz-glow: 0 0 25px rgba(5, 150, 105, 0.15);
}


/* ── PAGE LAYOUT ── */
.esz-page {
    background-color: var(--cream, #f9f6ef);
    color: var(--ink, #0f1c10);
    font-family: 'Open Sans', sans-serif;
    min-height: 100vh;
}

/* Standardized Page Hero */
.page-hero {
    background: #0a2e1a;
    padding: 50px 0;
    text-align: center;
    color: #fff;
    position: relative;
}
.page-hero h1 {
    font-size: 2rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
    color: #fff;
}
.hero-underline {
    display: block;
    width: 70px;
    height: 4px;
    background: var(--gold, #f1c40f);
    margin: 15px auto 0;
    border-radius: 2px;
}

.esz-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Section titles */
.esz-section-title {
    font-size: clamp(22px, 2.5vw, 32px);
    font-weight: 800;
    color: var(--forest, #0a2e1a);
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}
.esz-section-subtitle {
    font-size: clamp(14px, 1.2vw, 16px);
    color: #4b5563;
    margin-bottom: 24px;
    max-width: 800px;
}

/* ── CONCEPT DESCRIPTION SHOCK ABSORBERS ── */
.esz-intro-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
    align-items: center;
}
@media (max-width: 900px) {
    .esz-intro-grid {
        grid-template-columns: 1fr;
    }
}
.esz-intro-card {
    background: #fff;
    border: 1px solid var(--fog, #e8f0e9);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--esz-shadow);
    position: relative;
    overflow: hidden;
}
.esz-intro-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--emerald, #059669);
}
.esz-intro-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--forest, #0a2e1a);
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 12px;
}
.esz-intro-text {
    line-height: 1.8;
    color: #374151;
    font-size: 1.05rem;
    margin-bottom: 25px;
}
.esz-pill-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.esz-pill {
    background: var(--fog, #e8f0e9);
    color: var(--forest, #0a2e1a);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 8px 16px;
    border-radius: 12px;
    border: 1px solid rgba(10, 46, 26, 0.08);
}

/* 3D concentric rings preview */
.esz-visual-donut {
    background: linear-gradient(135deg, var(--forest, #0a2e1a), #061a0f);
    border-radius: 24px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    min-height: 280px;
    box-shadow: var(--esz-shadow);
    color: #fff;
    text-align: center;
}
.esz-donut-rings {
    position: relative;
    width: 160px;
    height: 160px;
    margin-bottom: 20px;
}
.esz-donut-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--gold, #f1c40f);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    z-index: 5;
}
.esz-donut-ring-1 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border: 2px dashed rgba(255,255,255,0.2);
    border-radius: 50%;
    animation: spinClockwise 12s linear infinite;
}
.esz-donut-ring-2 {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    border: 2px solid var(--emerald, #059669);
    border-radius: 50%;
    background: rgba(5, 150, 105, 0.04);
    box-shadow: var(--esz-glow);
    animation: pulseRing 3s ease-in-out infinite;
}
@keyframes spinClockwise {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}
@keyframes pulseRing {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    50% { transform: translate(-50%, -50%) scale(1.08); opacity: 1; }
}

/* ── OFFICIAL STATUS BOARD ── */
.esz-status-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}
@media (max-width: 850px) {
    .esz-status-row {
        grid-template-columns: 1fr;
    }
}
.esz-status-card {
    background: #fff;
    border: 1px solid var(--fog, #e8f0e9);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--esz-shadow);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s;
    position: relative;
    overflow: hidden;
}
.esz-status-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.06);
}
.esz-status-icon {
    font-size: 2.2rem;
    color: var(--emerald, #059669);
    margin-bottom: 20px;
}
.esz-status-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--fog, #e8f0e9);
    color: var(--forest, #0a2e1a);
    font-size: 0.72rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 8px;
    text-transform: uppercase;
}
.esz-status-badge.progress {
    background: rgba(241, 196, 15, 0.12);
    color: #d4ac0d;
}
.esz-status-name {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--forest, #0a2e1a);
    margin-bottom: 10px;
}
.esz-status-meta {
    font-size: 0.9rem;
    color: #556b5c;
    line-height: 1.6;
}

/* ── INTERACTIVE SANCTUARY RANGE CONSOLE ── */
.esz-console-box {
    background: #fff;
    border: 1px solid var(--fog, #e8f0e9);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--esz-shadow);
    margin-bottom: 50px;
}
.esz-console-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
}
@media (max-width: 900px) {
    .esz-console-grid {
        grid-template-columns: 1fr;
    }
}

/* Tabs list */
.esz-tabs-list {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}
.esz-tab-btn {
    flex: 1;
    background: var(--fog, #e8f0e9);
    border: 2px solid transparent;
    padding: 18px 25px;
    border-radius: 16px;
    cursor: pointer;
    text-align: left;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.esz-tab-btn.active {
    background: var(--forest, #0a2e1a);
    border-color: var(--gold, #f1c40f);
    transform: scale(1.02);
}
.esz-tab-title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--forest, #0a2e1a);
    margin-bottom: 4px;
    transition: color 0.3s;
}
.esz-tab-btn.active .esz-tab-title {
    color: #fff;
}
.esz-tab-desc {
    font-size: 0.8rem;
    color: #6b7280;
    transition: color 0.3s;
}
.esz-tab-btn.active .esz-tab-desc {
    color: #adcfb8;
}

/* SVG Radar preview screen */
.esz-radar-screen {
    background: #06180c;
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.06);
    padding: 30px;
    position: relative;
    overflow: hidden;
    color: #fff;
    min-height: 380px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.esz-radar-header {
    display: flex;
    justify-content: space-between;
    font-family: monospace;
    font-size: 0.72rem;
    color: #588f6a;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    padding-bottom: 10px;
}
.esz-radar-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-top: 15px;
    color: #fff;
}
.esz-radar-details {
    font-size: 0.85rem;
    color: #adcfb8;
    line-height: 1.7;
    margin: 10px 0 20px 0;
}

/* Interactive Slider unit */
.esz-slider-container {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    padding: 15px 20px;
    margin-top: auto;
}
.esz-slider-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.82rem;
    color: #adcfb8;
    margin-bottom: 8px;
}
.esz-range-slider {
    width: 100%;
    -webkit-appearance: none;
    appearance: none;
    height: 6px;
    background: rgba(255,255,255,0.15);
    border-radius: 3px;
    outline: none;
}
.esz-range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--gold, #f1c40f);
    cursor: pointer;
    box-shadow: 0 0 10px var(--gold);
    transition: transform 0.2s;
}
.esz-range-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
}

/* SVG interactive Canvas */
.esz-svg-holder {
    position: relative;
    width: 100%;
    height: 160px;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.esz-radar-sweeper {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    pointer-events: none;
}

/* ── ZONING INTERACTIVE GUIDE ── */
.esz-zoning-box {
    background: #fff;
    border: 1px solid var(--fog, #e8f0e9);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--esz-shadow);
    margin-bottom: 40px;
}
.esz-zoning-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 35px;
}
.esz-zoning-tab {
    background: var(--fog, #e8f0e9);
    border: none;
    padding: 16px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 1rem;
    color: var(--forest, #0a2e1a);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.esz-zoning-tab.active[data-type="prohibited"] {
    background: #ef4444;
    color: #fff;
}
.esz-zoning-tab.active[data-type="regulated"] {
    background: var(--gold, #f1c40f);
    color: var(--forest, #0a2e1a);
}
.esz-zoning-tab.active[data-type="permitted"] {
    background: var(--emerald, #059669);
    color: #fff;
}

/* Zoning display details */
.esz-zoning-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 15px;
}
.esz-zone-item {
    background: var(--cream, #f9f6ef);
    border: 1px solid rgba(10, 46, 26, 0.05);
    border-radius: 14px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    transform: translateY(15px);
    opacity: 0;
    animation: revealZoneItem 0.45s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
@keyframes revealZoneItem {
    to { transform: translateY(0); opacity: 1; }
}
.esz-zone-bullet {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    flex-shrink: 0;
}
.prohibited .esz-zone-bullet { background: rgba(239, 68, 68, 0.12); color: #ef4444; }
.regulated .esz-zone-bullet { background: rgba(241, 196, 15, 0.15); color: #d4ac0d; }
.permitted .esz-zone-bullet { background: rgba(5, 150, 105, 0.12); color: var(--emerald, #059669); }

.esz-zone-text {
    font-size: 0.98rem;
    font-weight: 700;
    color: var(--forest, #0a2e1a);
}
