/* ===========================
   PERDIBROFI — style.css
   Luxury · Elegant · Animated
=========================== */

/* --- CSS Variables --- */
:root {
    --navy: #0a1628;
    --navy-mid: #152440;
    --navy-light: #1e3560;
    --gold: #c9a84c;
    --gold-light: #e8c96e;
    --gold-pale: #f5e7c0;
    --cream: #fdf8f0;
    --white: #ffffff;
    --slate: #475569;
    --slate-light: #94a3b8;
    --bg-light: #f8f6f0;

    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'DM Sans', sans-serif;

    --shadow-gold: 0 20px 60px rgba(201, 168, 76, 0.15);
    --shadow-navy: 0 20px 60px rgba(10, 22, 40, 0.25);
    --shadow-deep: 0 40px 80px rgba(10, 22, 40, 0.35);

    --radius-lg: 2rem;
    --radius-xl: 3rem;
    --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--navy);
    overflow-x: hidden;
    cursor: none;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; }

/* --- Custom Cursor --- */
.cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: transform 0.1s ease, width 0.3s ease, height 0.3s ease;
}

.cursor-ring {
    position: fixed;
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform 0.15s ease, width 0.3s ease, height 0.3s ease, opacity 0.3s ease;
    opacity: 0.6;
}

body:hover .cursor-dot { opacity: 1; }
a:hover ~ .cursor-ring, button:hover ~ .cursor-ring { width: 50px; height: 50px; }

/* --- Noise Overlay --- */
.noise-overlay {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9000;
    opacity: 0.025;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 200px 200px;
}

/* ===== NAVIGATION ===== */
#navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 500;
    padding: 0;
    transition: var(--transition);
    background: transparent;
}

#navbar.scrolled {
    background: rgba(10, 22, 40, 0.96);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 40px rgba(0,0,0,0.3);
    padding: 0;
}

.nav-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.nav-logo img { height: 44px; width: auto; }

.nav-links {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.nav-link {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 500;
    color: rgba(255,255,255,0.7);
    padding: 0.5rem 0.85rem;
    border-radius: 0.5rem;
    letter-spacing: 0.03em;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 20px;
    height: 1px;
    background: var(--gold);
    transition: transform 0.3s ease;
}

.nav-link:hover { color: white; }
.nav-link:hover::after { transform: translateX(-50%) scaleX(1); }

.nav-link-accent {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy) !important;
    font-weight: 600;
    padding: 0.45rem 1rem;
    border-radius: 100px;
}

.nav-link-accent::after { display: none; }
.nav-link-accent:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,168,76,0.4); }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 1.5px;
    background: white;
    transition: var(--transition);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(20px);
    padding: 1rem 2rem 1.5rem;
    gap: 0;
    border-top: 1px solid rgba(201,168,76,0.2);
}

.nav-mobile.open { display: flex; }

.nav-mobile-link {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    font-weight: 500;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: color 0.3s;
}

.nav-mobile-link:last-child { border-bottom: none; }
.nav-mobile-link:hover { color: var(--gold-light); }
.nav-mobile-accent { color: var(--gold-light) !important; font-weight: 600; }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 50%, #0d1f3c 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    padding-top: 76px;
}

.hero-bg-shapes { position: absolute; inset: 0; pointer-events: none; }

.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.12;
    animation: floatShape 8s ease-in-out infinite;
}

.shape-1 {
    width: 500px; height: 500px;
    background: var(--gold);
    top: -150px; right: -100px;
    animation-delay: 0s;
}

.shape-2 {
    width: 350px; height: 350px;
    background: #2563eb;
    bottom: -100px; left: -80px;
    animation-delay: 3s;
}

.shape-3 {
    width: 250px; height: 250px;
    background: var(--gold-light);
    top: 40%; right: 35%;
    animation-delay: 5s;
}

@keyframes floatShape {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-30px) scale(1.05); }
}

.hero-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 5rem 2rem 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Hero text */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(201, 168, 76, 0.12);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--gold-light);
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    margin-bottom: 2rem;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: var(--gold);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.8rem, 5vw, 5rem);
    font-weight: 700;
    color: white;
    line-height: 1.05;
    margin-bottom: 1.75rem;
}

.hero-title-line { display: block; }

.hero-title-italic {
    font-style: italic;
    color: var(--gold-light);
}

.hero-desc {
    font-size: 1rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.85;
    max-width: 520px;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-primary {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 100px;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 30px rgba(201, 168, 76, 0.35);
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(201, 168, 76, 0.5);
}

.btn-outline {
    display: inline-block;
    padding: 0.9rem 2.2rem;
    border: 1.5px solid rgba(255,255,255,0.25);
    color: white;
    font-weight: 500;
    font-size: 0.9rem;
    border-radius: 100px;
    transition: var(--transition);
}

.btn-outline:hover {
    border-color: var(--gold);
    color: var(--gold-light);
    transform: translateY(-2px);
}

/* Stats */
.hero-stats {
    display: flex;
    align-items: center;
    gap: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
}

.stat-item { text-align: center; }

.stat-num {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--gold-light);
    line-height: 1;
}

.stat-plus {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--gold-light);
    vertical-align: super;
}

.stat-label {
    display: block;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.12);
}

/* Hero image */
.hero-visual { position: relative; }

.hero-image-frame {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-deep);
    border: 1px solid rgba(201, 168, 76, 0.2);
}

.hero-image-glow {
    position: absolute;
    inset: -50%;
    background: radial-gradient(ellipse, rgba(201,168,76,0.12) 0%, transparent 70%);
    pointer-events: none;
    z-index: 1;
    animation: glowPulse 4s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.hero-img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
    transition: transform 0.8s ease;
}

.hero-image-frame:hover .hero-img { transform: scale(1.04); }

.hero-image-badge {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    background: rgba(10, 22, 40, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(201,168,76,0.3);
    color: var(--gold-light);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.6rem 1.2rem;
    border-radius: 100px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

/* Hero scroll indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255,255,255,0.35);
    font-size: 0.7rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    z-index: 1;
    animation: bounceDown 2s ease-in-out infinite;
}

@keyframes bounceDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

.scroll-line {
    width: 1px;
    height: 50px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent);
}

/* ===== SECTION COMMONS ===== */
.section-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.1;
    margin-bottom: 1.25rem;
}

.section-line {
    width: 50px;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-light));
    margin: 0 auto;
    border-radius: 2px;
}

/* ===== SAMBUTAN ===== */
.sambutan-section {
    padding: 8rem 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.sambutan-section .section-title { color: white; }
.sambutan-section .section-label { color: var(--gold-light); }

.sambutan-bg-accent {
    position: absolute;
    top: 0; right: 0;
    width: 600px;
    height: 600px;
    background: radial-gradient(ellipse, rgba(201,168,76,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.sambutan-card {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 5rem;
    align-items: start;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: var(--radius-xl);
    padding: 4rem;
    position: relative;
    backdrop-filter: blur(8px);
}

.sambutan-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-xl);
    background: linear-gradient(135deg, rgba(201,168,76,0.05) 0%, transparent 100%);
    pointer-events: none;
}

/* Photo column */
.sambutan-photo-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.sambutan-photo-frame {
    position: relative;
    width: 260px;
    height: 320px;
    flex-shrink: 0;
}

.photo-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(ellipse, rgba(201,168,76,0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: glowPulse 3s ease-in-out infinite;
}

.sambutan-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    border-radius: 1.5rem;
    border: 3px solid rgba(201,168,76,0.4);
    box-shadow: 0 30px 60px rgba(0,0,0,0.4);
    position: relative;
    z-index: 1;
    display: block;
}

.photo-ornament {
    position: absolute;
    width: 40px;
    height: 40px;
    border: 2px solid var(--gold);
    z-index: 0;
    opacity: 0.5;
}

.photo-ornament-tl { top: -8px; left: -8px; border-right: none; border-bottom: none; border-radius: 6px 0 0 0; }
.photo-ornament-br { bottom: -8px; right: -8px; border-left: none; border-top: none; border-radius: 0 0 6px 0; }

.sambutan-identity { text-align: center; }

.identity-name {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.35rem;
}

.identity-title {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.identity-line {
    width: 30px;
    height: 1px;
    background: var(--gold);
    margin: 0.75rem auto;
}

.identity-org {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.4);
    letter-spacing: 0.03em;
}

/* Text column */
.sambutan-text-col {
    position: relative;
    padding-top: 1rem;
}

.sambutan-quote-mark {
    font-family: var(--font-display);
    font-size: 10rem;
    line-height: 0.6;
    color: rgba(201, 168, 76, 0.12);
    position: absolute;
    top: 0;
    left: -1rem;
    font-weight: 700;
    pointer-events: none;
    user-select: none;
}

.sambutan-text {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.sambutan-text p {
    font-size: 0.97rem;
    color: rgba(255,255,255,0.72);
    line-height: 1.9;
    font-weight: 300;
}

.sambutan-text p:first-child {
    font-weight: 500;
    color: rgba(255,255,255,0.9);
}

.sambutan-closing {
    font-style: italic;
    font-weight: 500 !important;
    color: rgba(255,255,255,0.85) !important;
}

.sambutan-signature {
    margin-top: 2rem;
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.signature-line {
    width: 80px;
    height: 1px;
    background: linear-gradient(90deg, var(--gold), transparent);
}

.sambutan-signature span {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-style: italic;
    color: var(--gold-light);
}

/* ===== GALERI ===== */
.galeri-section {
    padding: 8rem 0;
    background: var(--bg-light);
}

.carousel-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    height: 550px;
    box-shadow: var(--shadow-navy);
}

.carousel-track { width: 100%; height: 100%; }

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: scale(1.04);
}

.carousel-slide.active {
    opacity: 1;
    transform: scale(1);
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 3rem 2.5rem 2rem;
    background: linear-gradient(to top, rgba(10,22,40,0.8) 0%, transparent 100%);
}

.slide-label {
    font-family: var(--font-display);
    font-size: 1.4rem;
    font-style: italic;
    color: white;
    letter-spacing: 0.02em;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    background: rgba(10, 22, 40, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(201,168,76,0.3);
    border-radius: 50%;
    color: var(--gold-light);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    z-index: 10;
    opacity: 0;
}

.carousel-wrapper:hover .carousel-btn { opacity: 1; }

.carousel-prev { left: 1.5rem; }
.carousel-next { right: 1.5rem; }

.carousel-btn:hover {
    background: var(--navy);
    border-color: var(--gold);
    transform: translateY(-50%) scale(1.1);
}

.carousel-dots {
    position: absolute;
    bottom: 1.25rem;
    right: 2rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}

.carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background: var(--gold);
    width: 20px;
    border-radius: 3px;
}

/* ===== PROGRAM ===== */
.program-section {
    padding: 8rem 0;
    background: white;
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
}

.program-card {
    padding: 2.5rem;
    border-radius: 1.75rem;
    border: 1px solid rgba(10, 22, 40, 0.07);
    background: white;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.program-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201,168,76,0.04) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-gold);
    border-color: rgba(201, 168, 76, 0.2);
}

.program-icon {
    width: 56px;
    height: 56px;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(201,168,76,0.1), rgba(201,168,76,0.05));
    border: 1px solid rgba(201,168,76,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: var(--gold);
    margin-bottom: 1.5rem;
    transition: var(--transition);
}

.program-card:hover .program-icon {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--navy);
    border-color: transparent;
    transform: scale(1.1) rotate(-5deg);
}

.program-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.75rem;
}

.program-card p {
    font-size: 0.88rem;
    color: var(--slate);
    line-height: 1.8;
    font-weight: 300;
}

/* ===== ARTIKEL ===== */
.artikel-section {
    padding: 8rem 0;
    background: var(--bg-light);
}

.article-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.article-card {
    background: white;
    border-radius: 1.75rem;
    overflow: hidden;
    border: 1px solid rgba(10,22,40,0.06);
    transition: var(--transition);
    cursor: pointer;
    opacity: 0;
    transform: translateY(24px);
    animation: cardReveal 0.6s ease forwards;
}

@keyframes cardReveal {
    to { opacity: 1; transform: translateY(0); }
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-navy);
}

.article-img-wrap {
    height: 220px;
    overflow: hidden;
}

.article-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.article-card:hover .article-img-wrap img { transform: scale(1.08); }

.article-info {
    padding: 1.75rem;
}

.article-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 0.75rem;
}

.article-title {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--navy);
    line-height: 1.4;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-read {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--navy-light);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: gap 0.3s ease, color 0.3s ease;
}

.article-card:hover .article-read {
    gap: 0.75rem;
    color: var(--gold);
}

/* Skeleton */
.skeleton-card {
    height: 340px;
    border-radius: 1.75rem;
    background: linear-gradient(90deg, #ede8df 25%, #ddd5c8 50%, #ede8df 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ===== VIDEO ===== */
.video-section {
    padding: 8rem 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.video-section .section-title { color: white; }
.video-section .section-label { color: var(--gold-light); }
.video-section .section-line { background: linear-gradient(90deg, var(--gold), transparent); }

.video-wrapper {
    max-width: 900px;
    margin: 0 auto;
}

.video-frame {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-deep);
    border: 1px solid rgba(201,168,76,0.2);
}

.video-frame iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.video-cta {
    margin-top: 2rem;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 1.5rem;
    padding: 1.75rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    backdrop-filter: blur(8px);
}

.video-cta-text h4 {
    font-family: var(--font-display);
    font-size: 1.3rem;
    color: white;
    margin-bottom: 0.25rem;
}

.video-cta-text p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.5);
}

.btn-youtube {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.85rem 2rem;
    background: #ff0000;
    color: white;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    border-radius: 100px;
    transition: var(--transition);
    white-space: nowrap;
}

.btn-youtube i { font-size: 1.1rem; }

.btn-youtube:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255,0,0,0.4);
}

/* ===== MODAL ===== */
#article-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(10, 22, 40, 0.9);
    backdrop-filter: blur(16px);
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

#article-modal.active { display: flex; }

.modal-inner {
    background: white;
    width: 100%;
    max-width: 860px;
    max-height: 88vh;
    border-radius: var(--radius-xl);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-deep);
    display: flex;
    flex-direction: column;
    animation: modalIn 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: scale(0.92) translateY(20px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-close {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(10,22,40,0.8);
    color: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    transition: var(--transition);
}

.modal-close:hover {
    background: var(--navy);
    transform: rotate(90deg);
}

.modal-body { overflow-y: auto; flex: 1; }

.modal-img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

.modal-content {
    padding: 3rem;
}

.modal-tag {
    display: inline-block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.modal-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    color: var(--navy);
    line-height: 1.2;
    margin-bottom: 2rem;
}

.modal-text {
    color: var(--slate);
    line-height: 1.9;
    font-size: 0.97rem;
    font-weight: 300;
}

.modal-text p + p { margin-top: 1.25rem; }

/* ===== FOOTER ===== */
footer {
    background: #05101e;
    color: white;
}

.footer-top {
    max-width: 1320px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1.5fr;
    gap: 4rem;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-logo {
    height: 42px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.footer-desc {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.42);
    line-height: 1.85;
    font-weight: 300;
    margin-bottom: 2rem;
}

.footer-socials { display: flex; gap: 0.75rem; }

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--navy);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links ul { list-style: none; display: flex; flex-direction: column; gap: 0.75rem; }

.footer-links a {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.45);
    transition: color 0.3s;
}

.footer-links a:hover { color: var(--gold-light); }

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.85rem;
    margin-bottom: 1.25rem;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    line-height: 1.7;
}

.contact-item i {
    color: var(--gold);
    margin-top: 0.15rem;
    flex-shrink: 0;
    font-size: 0.85rem;
}

.contact-item strong {
    display: block;
    color: rgba(255,255,255,0.7);
    margin-bottom: 0.2rem;
    font-size: 0.8rem;
}

.footer-bottom {
    text-align: center;
    padding: 1.75rem 2rem;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.2);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 500;
}

/* ===== REVEAL ANIMATIONS ===== */
[data-reveal], [data-reveal-right] {
    opacity: 0;
    transition: opacity 0.9s ease, transform 0.9s ease;
}

[data-reveal] { transform: translateY(40px); }
[data-reveal-right] { transform: translateX(40px); }

[data-reveal].revealed,
[data-reveal-right].revealed {
    opacity: 1;
    transform: none;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .program-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-top { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
    .sambutan-card { padding: 3rem; gap: 3rem; }
}

@media (max-width: 900px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-top: 4rem;
    }
    .hero-visual { order: -1; }
    .hero-img { height: 360px; }
    .hero-title { font-size: 2.8rem; }
    .article-grid { grid-template-columns: repeat(2, 1fr); }
    .sambutan-card {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
    .sambutan-photo-frame { width: 200px; height: 250px; margin: 0 auto; }
    .carousel-wrapper { height: 380px; }
    .carousel-btn { opacity: 1; width: 44px; height: 44px; }
}

@media (max-width: 768px) {
    .nav-links { display: none; }
    .nav-toggle { display: flex; }
    .hero-stats { gap: 1.25rem; }
    .stat-num { font-size: 1.8rem; }
    .program-grid { grid-template-columns: 1fr; }
    .article-grid { grid-template-columns: 1fr; }
    .video-cta { flex-direction: column; text-align: center; }
    .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
    .cursor-dot, .cursor-ring { display: none; }
    body { cursor: auto; }
    .sambutan-card { padding: 2rem; }
    .carousel-wrapper { height: 280px; }
    .hero-container { padding: 3rem 1.5rem 2.5rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
    .modal-content { padding: 1.75rem; }
    .modal-img { height: 220px; }
    .section-container { padding: 0 1.25rem; }
}
