/* 
   Institutional Visual Identity for Dr. Dessy Rutten, Ph.D, FeRSA
   Themes: Grounded Delft Marine Navy + Authentic Sang Saka Crimson + Dutch Antique Gold
   Tailored, Editorial, and Dignified (No Tacky AI-Glows)
*/

:root {
    --delft-navy-dark: #070e1a;
    --delft-navy: #0b1528;
    --delft-navy-light: #112240;
    --antique-gold: #c58f48;
    --antique-gold-hover: #b47e3a;
    --sang-saka-red: #8b1e2f;
    --sang-saka-crimson: #a61c32;
    --pure-white: #ffffff;
    --paper-bg: #f8fafc;
    --text-primary: #1e293b;
    --text-muted: #64748b;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    color: var(--text-primary);
    background-color: var(--paper-bg);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, .font-heading {
    font-family: 'Playfair Display', Georgia, serif;
    letter-spacing: -0.01em;
}

.font-cinzel {
    font-family: 'Cinzel', serif;
    letter-spacing: 0.08em;
}

.font-cormorant {
    font-family: 'Cormorant Garamond', Georgia, serif;
}

/* Institutional Diplomatic Hero */
.institutional-hero {
    background-color: #0b1528;
    background-image: 
        radial-gradient(rgba(197, 143, 72, 0.07) 1px, transparent 1px),
        linear-gradient(180deg, #070e1a 0%, #0b1528 50%, #0d1a33 100%);
    background-size: 28px 28px, 100% 100%;
}

/* Hero Cross-Fade Slider Transitions & Ken Burns Stage */
.hero-slide {
    opacity: 0;
    transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    will-change: opacity, transform;
}

.hero-slide.active {
    opacity: 1 !important;
    pointer-events: auto;
}

.hero-slide img {
    transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
    transform: scale(1);
}

.hero-slide.active img {
    transform: scale(1.06);
}

/* Milestone Switcher Tabs */
.milestone-tab {
    transition: all 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(11, 21, 40, 0.85);
}

.milestone-tab:hover {
    background: rgba(197, 143, 72, 0.15);
    border-color: rgba(197, 143, 72, 0.4);
    transform: translateY(-1px);
}

.milestone-tab.active {
    background: linear-gradient(135deg, rgba(139, 30, 47, 0.3) 0%, rgba(197, 143, 72, 0.25) 100%);
    border-color: #c58f48 !important;
    box-shadow: 0 4px 15px -3px rgba(197, 143, 72, 0.3);
}

.milestone-tab.active .tab-progress-bar {
    animation: tabProgress 5s linear forwards;
}

@keyframes tabProgress {
    from { width: 0%; }
    to { width: 100%; }
}

/* Passe-partout Framing */
.passepartout-frame {
    background: #0d1a30;
    padding: 8px;
    border-radius: 0.85rem;
    border: 1px solid rgba(197, 143, 72, 0.45);
    box-shadow: 0 20px 45px -10px rgba(0, 0, 0, 0.65), inset 0 0 0 1px rgba(255, 255, 255, 0.08);
}

/* Editorial Hairline Link Hover */
.editorial-link {
    position: relative;
    display: inline-block;
}
.editorial-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1.5px;
    bottom: -2px;
    left: 0;
    background-color: var(--antique-gold);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.editorial-link:hover::after {
    width: 100%;
}

/* Stripes */
.merah-putih-stripe {
    height: 3px;
    background: linear-gradient(90deg, #8b1e2f 0%, #8b1e2f 50%, #ffffff 50%, #ffffff 100%);
    box-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

.dutch-flag-stripe {
    height: 3px;
    background: linear-gradient(90deg, #8b1e2f 0%, #8b1e2f 33.3%, #ffffff 33.3%, #ffffff 66.6%, #1b3a6b 66.6%, #1b3a6b 100%);
}

/* Editorial Cards */
.editorial-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

.editorial-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px -6px rgba(11, 21, 40, 0.08);
    border-color: #cbd5e1;
}

.editorial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2.5px;
    background: linear-gradient(90deg, #8b1e2f 0%, #0b1528 60%, #c58f48 100%);
    opacity: 0;
    transition: opacity 0.25s ease;
}

.editorial-card:hover::before {
    opacity: 1;
}

/* Timeline */
.timeline-item {
    position: relative;
    padding-left: 1.75rem;
    border-left: 2px solid #e2e8f0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 6px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--delft-navy);
    border: 2px solid #ffffff;
    box-shadow: 0 0 0 2px rgba(11, 21, 40, 0.15);
}

.timeline-item.current::before {
    background: var(--sang-saka-red);
    box-shadow: 0 0 0 2px rgba(139, 30, 47, 0.25);
}

/* Clean Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: #f1f5f9;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}


/* ============================================================
   EXECUTIVE PRESTIGE NAVIGATION BAR HOVER ANIMATIONS
   Bilateral Prestige Palette:
   - Sang Saka Red: #8b1e2f / #a61c32
   - Dutch Antique Regal Gold: #c58f48 / #d8aa67 / #f3cf95
   - Delft Marine Navy: #070e1a / #0b1528
   ============================================================ */

/* 1. Desktop Nav Item Link */
.nav-link-executive {
    position: relative;
    display: inline-flex;
    align-items: center;
    padding: 0.55rem 0.95rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #cbd5e1;
    border-radius: 0.5rem;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    background: transparent;
    border: 1px solid transparent;
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
}

/* Background ambient radial glow on hover */
.nav-link-executive::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0.5rem;
    background: radial-gradient(circle at 50% 120%, rgba(197, 143, 72, 0.22) 0%, rgba(139, 30, 47, 0.16) 50%, transparent 80%);
    opacity: 0;
    transform: scale(0.85);
    transition: opacity 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 0;
    pointer-events: none;
}

/* Animated bottom underline expanding from center */
.nav-link-executive::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 12%;
    right: 12%;
    height: 2.5px;
    background: linear-gradient(90deg, #8b1e2f 0%, #c58f48 50%, #8b1e2f 100%);
    border-radius: 9999px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 0 10px rgba(197, 143, 72, 0.6), 0 0 4px rgba(139, 30, 47, 0.8);
    z-index: 2;
    pointer-events: none;
}

.nav-link-executive span {
    position: relative;
    z-index: 1;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

/* Hover State */
.nav-link-executive:hover {
    color: #ffffff !important;
    transform: translateY(-2px);
    border-color: rgba(197, 143, 72, 0.35);
    box-shadow: 0 4px 16px -2px rgba(11, 21, 40, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.nav-link-executive:hover::before {
    opacity: 1;
    transform: scale(1);
}

.nav-link-executive:hover::after {
    transform: scaleX(1);
}

.nav-link-executive:hover span {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6), 0 0 10px rgba(216, 170, 103, 0.45);
}

/* Active State */
.nav-link-executive.active {
    color: #ffffff !important;
    font-weight: 600;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.08) 0%, rgba(11, 21, 40, 0.5) 100%);
    border-color: rgba(197, 143, 72, 0.4);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 2px 10px rgba(0, 0, 0, 0.4);
}

.nav-link-executive.active::after {
    transform: scaleX(1);
    height: 2.5px;
    background: linear-gradient(90deg, #8b1e2f 0%, #d8aa67 50%, #8b1e2f 100%);
}

.nav-link-executive.active::before {
    opacity: 0.75;
    transform: scale(1);
}

/* 2. Executive CTA Button (INVITE / CONNECT) */
.btn-executive-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #8b1e2f 0%, #a61c32 50%, #741726 100%);
    color: #ffffff !important;
    font-weight: 700;
    letter-spacing: 0.06em;
    border: 1px solid rgba(216, 170, 103, 0.6);
    border-radius: 0.5rem;
    box-shadow: 0 4px 14px -2px rgba(139, 30, 47, 0.45), 0 0 0 1px rgba(197, 143, 72, 0.25);
    transition: all 0.35s cubic-bezier(0.25, 1, 0.5, 1);
    overflow: hidden;
    text-decoration: none;
    cursor: pointer;
}

/* Shimmer sweep light ray */
.btn-executive-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -120%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), rgba(216, 170, 103, 0.4), transparent);
    transform: skewX(-25deg);
    transition: left 0.75s ease;
    pointer-events: none;
}

.btn-executive-primary:hover {
    transform: translateY(-2px) scale(1.02);
    border-color: #d8aa67;
    box-shadow: 0 8px 24px -4px rgba(139, 30, 47, 0.6), 0 0 18px rgba(197, 143, 72, 0.5);
    background: linear-gradient(135deg, #a61c32 0%, #8b1e2f 50%, #951b2e 100%);
}

.btn-executive-primary:hover::before {
    left: 140%;
}

.btn-executive-primary:active {
    transform: translateY(0) scale(0.98);
}

.btn-executive-primary i {
    color: #f3cf95;
    transition: transform 0.3s ease, color 0.3s ease;
}

.btn-executive-primary:hover i {
    color: #ffffff;
    transform: rotate(-10deg) scale(1.18);
}

/* 3. Mobile Navigation Items with Slide Hover */
.mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #cbd5e1;
    border-left: 3px solid transparent;
    transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    text-decoration: none;
}

.mobile-nav-link:hover, .mobile-nav-link.active {
    background: linear-gradient(90deg, rgba(139, 30, 47, 0.25) 0%, rgba(197, 143, 72, 0.12) 100%);
    border-left-color: #c58f48;
    color: #ffffff !important;
    transform: translateX(4px);
    padding-left: 1.25rem;
}
