/* ============================================
   IMELDA — Budaya Spensaba Theme
   "Batik Parang" Unique Design System
   SMP Negeri 1 Baturetno
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Outfit:wght@600;700;800&display=swap');

/* --- Design Tokens --- */
:root {
    --merah: #c0392b;
    --merah-deep: #922b21;
    --merah-soft: #fdecea;
    --emas: #d4a017;
    --emas-soft: #fdf6e3;
    --coklat: #5d4037;
    --dark: #1a1210;
    --gray-900: #2d2422;
    --gray-700: #5c524d;
    --gray-500: #8d837e;
    --gray-300: #d5cec9;
    --gray-100: #f0ebe7;
    --gray-50: #f8f5f2;
    --white: #ffffff;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 24px;
    --shadow-sm: 0 1px 3px rgba(26,18,16,0.06);
    --shadow-md: 0 4px 16px rgba(26,18,16,0.08);
    --shadow-lg: 0 16px 48px rgba(26,18,16,0.12);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: 'Inter', sans-serif;
    color: var(--dark);
    background: var(--gray-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* --- Premium Scrollbar --- */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--emas), var(--coklat));
    border-radius: 10px;
    border: 3px solid var(--dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--emas);
}

::selection {
    background: var(--emas);
    color: var(--dark);
}

h1, h2, h3, h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    line-height: 1.15;
}

a { color: inherit; }
img { display: block; max-width: 100%; }
ul { list-style: none; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========================================
   BUILD-UP ANIMATIONS (AOS-like)
   ======================================== */

/* Base reveal state */
.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Slide from left */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.is-revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Slide from right */
.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.is-revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Scale up */
.reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-scale.is-revealed {
    opacity: 1;
    transform: scale(1);
}

/* Social Grid (New) */
.reels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.reel-item {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    aspect-ratio: 9/16;
    background: var(--dark);
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: 1px solid rgba(212, 160, 23, 0.1);
}

.reel-item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    border-color: var(--emas);
}

.reel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
    transition: filter 0.3s ease;
}

.reel-item:hover video {
    filter: brightness(1);
}

.reel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
    color: white;
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.reel-item:hover .reel-caption {
    opacity: 1;
    transform: translateY(0);
}

.reel-item::after {
    content: '\F47D'; /* Phosphor play-circle icon code */
    font-family: "Phosphor";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: white;
    opacity: 0.6;
    transition: all 0.3s ease;
    pointer-events: none;
}

.reel-item.playing::after {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.5);
}

/* Cascading delay for grid items */
.cascade-1 { transition-delay: 0s; }
.cascade-2 { transition-delay: 0.1s; }
.cascade-3 { transition-delay: 0.2s; }
.cascade-4 { transition-delay: 0.3s; }
.cascade-5 { transition-delay: 0.4s; }
.cascade-6 { transition-delay: 0.5s; }

/* ========================================
   TOP BAR — Darker variant of header
   ======================================== */
.top-bar {
    background: #1a1210;
    color: rgba(255,255,255,0.7);
    font-size: 0.78rem;
    padding: 0.55rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-sep {
    color: rgba(255,255,255,0.15);
    margin: 0 0.25rem;
}

.top-bar-right {
    display: flex;
    gap: 1.25rem;
}

.top-bar-right a {
    color: rgba(255,255,255,0.5);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.5px;
    transition: color var(--transition);
}

.top-bar-right a:hover {
    color: var(--emas);
}

/* --- Glassmorphism Upgrade --- */
.site-header {
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
    border-bottom: 2px solid rgba(212, 160, 23, 0.2);
}

.site-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--emas), transparent);
    opacity: 0.2;
}

/* ========================================
   HEADER — Clean White (Lighter than Top Bar)
   ======================================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(255,255,255,0.8); /* Premium transparency */
    backdrop-filter: blur(15px); /* Strong glass effect */
    border-bottom: 1px solid rgba(93,64,55,0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled {
    background: rgba(255,255,255,0.92);
    box-shadow: 0 10px 30px rgba(93,64,55,0.06);
}

.site-header nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    text-decoration: none;
    transition: opacity var(--transition);
}

.logo:hover { opacity: 0.85; }

.logo-img {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-sm);
    object-fit: cover;
}

.logo-text { line-height: 1.15; }

.logo-text .brand {
    display: block;
    font-family: 'Outfit';
    font-weight: 800;
    font-size: 1.45rem; /* Scaled up */
    color: var(--merah);
}

.logo-text .sub {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--coklat);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}


/* Navigation */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-menu a {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--coklat);
    text-decoration: none;
    padding: 0.5rem 0;
    position: relative;
    transition: color var(--transition);
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px; /* More breathing room */
    left: 0;
    width: 0; height: 3px;
    background: var(--emas);
    transition: width 0.4s cubic-bezier(0.22, 1, 0.36, 1);
    border-radius: 99px;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--merah);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.search-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.search-icon {
    position: absolute;
    left: 12px;
    color: var(--gray-400);
    pointer-events: none;
    transition: color var(--transition);
}

.search-input {
    padding: 0.6rem 1rem 0.6rem 2.4rem; /* Padding for icon */
    border: 1.5px solid rgba(93,64,55,0.1);
    border-radius: 99px;
    font-size: 0.85rem;
    width: 180px;
    background: rgba(255,255,255,0.5);
    outline: none;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    font-family: inherit;
    color: var(--dark);
}

.search-input:focus {
    border-color: var(--emas);
    background: white;
    box-shadow: 0 10px 25px rgba(93,64,55,0.08);
    width: 240px;
}

.search-input:focus + .search-icon {
    color: var(--emas);
}

.btn-admin-v2 {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--coklat);
    text-decoration: none;
    padding: 0.6rem 1.25rem;
    border: 1.5px solid rgba(93,64,55,0.15);
    border-radius: 99px;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-admin-v2:hover {
    color: var(--merah);
    border-color: var(--merah);
    background: rgba(192,57,43,0.03);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(192,57,43,0.08);
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    border: none;
    background: none;
}

.mobile-toggle span {
    width: 22px; height: 2px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ========================================
   HERO — Diagonal Slash + Batik Overlay
   ======================================== */
.hero {
    position: relative;
    padding: 7rem 0 8rem;
    background: var(--dark);
    color: var(--white);
    overflow: hidden;
}

/* Unique: Batik-inspired dot pattern overlay */
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(212,160,23,0.06) 1px, transparent 1px);
    background-size: 24px 24px;
    pointer-events: none;
    z-index: 1;
}

/* Unique: Diagonal slash bottom */
.hero::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0;
    width: 100%; height: 80px;
    background: var(--gray-50);
    clip-path: polygon(0 60%, 100% 0, 100% 100%, 0 100%);
    z-index: 2;
}

.hero .container {
    position: relative;
    z-index: 3;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(212,160,23,0.15);
    color: var(--emas);
    border: 1px solid rgba(212,160,23,0.25);
    border-radius: 99px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 2rem;
}

.hero-badge::before {
    content: '◆';
    font-size: 0.5rem;
}

.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.hero h1 span {
    color: var(--emas);
    position: relative;
}

/* Unique: Gold underline decoration */
.hero h1 span::after {
    content: '';
    position: absolute;
    bottom: 2px; left: 0;
    width: 100%; height: 4px;
    background: var(--emas);
    opacity: 0.3;
    border-radius: 2px;
}

.hero-desc {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hero-media {
    position: relative;
    height: 440px; /* Slightly more compact and proportional */
}

/* Main image — perfectly parallel diagonal slash */
.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    clip-path: polygon(20% 0, 100% 0, 100% 100%, 0% 100%);
    position: relative;
    z-index: 3;
    box-shadow: 0 32px 64px rgba(0,0,0,0.3);
}

/* Gold stripe 1 — parallel to image cut */
.hero-media::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(170deg, #f5d76e 0%, var(--emas) 50%, #c49b10 100%);
    clip-path: polygon(14% 0, 19% 0, -1% 100%, -6% 100%);
    z-index: 2;
    animation: stripeSlideIn1 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s both,
               goldPulse 3s ease-in-out 1.5s infinite;
}

/* Dark stripe 2 — parallel to gold stripe */
.gold-stripe-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(170deg, var(--merah) 0%, var(--merah-deep) 100%);
    clip-path: polygon(4% 0, 12% 0, -8% 100%, -16% 100%);
    z-index: 1;
    animation: stripeSlideIn2 1s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both,
               goldPulse 3s ease-in-out 2s infinite;
    pointer-events: none;
}

@keyframes stripeSlideIn1 {
    from { clip-path: polygon(20% 0, 20% 0, 0% 100%, 0% 100%); opacity: 0; }
    to { clip-path: polygon(14% 0, 19% 0, -1% 100%, -6% 100%); opacity: 1; }
}

@keyframes stripeSlideIn2 {
    from { clip-path: polygon(10% 0, 10% 0, -10% 100%, -10% 100%); opacity: 0; }
    to { clip-path: polygon(4% 0, 12% 0, -8% 100%, -16% 100%); opacity: 1; }
}

@keyframes goldPulse {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.3); }
}

/* Dark diagonal accent stripe */
.hero-media::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%;
    background: rgba(26,18,16,0.7);
    clip-path: polygon(0 0, 14% 0, 0% 95%);
    z-index: 1;
}

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

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    font-size: 0.88rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    font-family: inherit;
}

.btn-primary {
    background: var(--merah);
    color: white;
    box-shadow: 0 4px 16px rgba(192, 57, 43, 0.3);
}

.btn-primary:hover {
    background: var(--merah-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192, 57, 43, 0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.25);
}

.btn-outline:hover {
    border-color: var(--white);
    background: rgba(255,255,255,0.05);
}

.link-arrow {
    font-size: 0.88rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color var(--transition);
}

.link-arrow:hover { color: var(--emas); }

/* ========================================
   STATS — With gold accent
   ======================================== */
.stats-bar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-100);
    padding: 3rem 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    text-align: center;
}

.stat-item {
    padding: 0 2rem;
    border-right: 1px solid var(--gray-100);
}

.stat-item:last-child { border-right: none; }

.stat-number {
    font-family: 'Outfit';
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--merah);
    display: block;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

/* ========================================
   SECTIONS
   ======================================== */
.section {
    padding: 6rem 0;
    position: relative;
}

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

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 0.75rem;
}

.section-header p {
    font-size: 1rem;
    color: var(--gray-500);
    max-width: 480px;
    margin: 0 auto;
}

/* Unique: Decorative line under section title */
.section-header h2::after {
    content: '';
    display: block;
    width: 50px; height: 3px;
    background: var(--emas);
    margin: 1rem auto 0;
    border-radius: 3px;
}

/* Dark section */
.section-dark {
    background: var(--dark);
    color: var(--white);
}

/* Unique: Diagonal top slash for dark sections */
.section-dark::before {
    content: '';
    position: absolute;
    top: -1px; left: 0;
    width: 100%; height: 60px;
    background: var(--gray-50);
    clip-path: polygon(0 0, 100% 0, 100% 40%, 0 100%);
}

.section-dark .section-header p {
    color: rgba(255,255,255,0.5);
}

.section-dark .section-header h2::after {
    background: var(--emas);
}

.section-alt { background: var(--white); }

/* ========================================
   WORK CARDS — With hover lift
   ======================================== */
.works-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.2rem;
}

.works-grid > * {
    flex: 0 1 320px; /* Fixed width basis, allows shrinking but not growing weirdly */
}

/* Grid-4-Cols Adjustment */
.grid-4-cols > * {
    flex: 0 1 260px;
}

.work-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--gray-100);
    transition: box-shadow var(--transition), transform var(--transition);
}

.work-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-6px);
}

.section-dark .work-card {
    background: var(--gray-900);
    border-color: rgba(255,255,255,0.06);
}

.work-card-img {
    width: 100%; height: 210px;
    overflow: hidden;
}

.work-card-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.work-card:hover .work-card-img img {
    transform: scale(1.06);
}

.work-card-body { padding: 1.5rem; }

.work-card-cat {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--emas);
    margin-bottom: 0.5rem;
}

.section-dark .work-card-cat { color: var(--emas); }

.work-card-title {
    font-family: 'Outfit';
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-dark .work-card-title { color: var(--white); }

.work-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.work-card-author {
    font-size: 0.78rem;
    color: var(--gray-500);
}

.work-card-link {
    font-size: 0.78rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--merah);
    transition: color var(--transition);
}

.work-card-link:hover { color: var(--emas); }

.section-dark .work-card-link { color: var(--emas); }

/* ========================================
   MODUL BANNER
   ======================================== */
.modul-banner {
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    padding: 4rem;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
    box-shadow: var(--shadow-sm);
    color: var(--dark); /* Fix white-on-white inheritance */
}

.modul-banner-label {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--emas);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 1rem;
}

.modul-banner h2 { font-size: 2.2rem; margin-bottom: 1rem; color: var(--dark); }
.modul-banner p { color: var(--gray-700); margin-bottom: 2rem; line-height: 1.7; }

.modul-item {
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(212, 160, 23, 0.1);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    gap: 1.25rem;
    background: rgba(212, 160, 23, 0.03);
    transition: all var(--transition);
    text-decoration: none;
    color: var(--dark);
}

.modul-item:hover {
    border-color: var(--emas);
    background: rgba(212, 160, 23, 0.08);
    box-shadow: 0 10px 25px rgba(212, 160, 23, 0.12);
    transform: translateX(8px);
}

.modul-item + .modul-item { margin-top: 1.25rem; }

.modul-icon {
    width: 48px; height: 48px;
    background: white;
    border: 1px solid var(--emas-soft);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emas);
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(212, 160, 23, 0.1);
    transition: all var(--transition);
}

.modul-item:hover .modul-icon {
    background: var(--emas);
    color: white;
    transform: rotate(-5deg) scale(1.1);
}

.modul-item-title { 
    font-weight: 700; 
    font-size: 0.95rem; 
    letter-spacing: -0.01em;
}

/* ========================================
   FOOTER
   ======================================== */
.site-footer {
    background: var(--dark);
    color: var(--white);
    padding: 5rem 0 2rem;
    position: relative;
}

/* Unique: Diagonal top for footer */
.site-footer::before {
    content: '';
    position: absolute;
    top: -1px; left: 0;
    width: 100%; height: 50px;
    background: var(--gray-50);
    clip-path: polygon(0 0, 100% 0, 100% 0%, 0 100%);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-brand .brand-name {
    font-family: 'Outfit';
    font-weight: 800;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.footer-brand .brand-name span { color: var(--merah); }

.footer-brand p { font-size: 0.85rem; color: var(--gray-500); line-height: 1.7; }

.site-footer h4 {
    font-size: 0.8rem; font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 1.5rem;
    color: var(--emas);
}

.footer-contact p { font-size: 0.84rem; color: var(--gray-500); margin-bottom: 0.75rem; }

.footer-links a {
    display: block; font-size: 0.84rem;
    color: var(--gray-500); text-decoration: none;
    margin-bottom: 0.75rem; transition: color var(--transition);
}
.footer-links a:hover { color: var(--emas); }

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(212,160,23,0.1);
    text-align: center;
}

.footer-bottom p { font-size: 0.75rem; color: var(--gray-700); }

/* ========================================
   MODAL & UTILITIES
   ======================================== */
.modal-overlay {
    display: none; position: fixed; z-index: 200;
    inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px);
}

.modal-box {
    background: white; margin: 3% auto;
    width: 90%; height: 90%;
    border-radius: var(--radius-md);
    overflow: hidden; display: flex; flex-direction: column;
}

.modal-top {
    padding: 1rem 2rem; background: var(--dark);
    color: white; display: flex;
    justify-content: space-between; align-items: center; flex-shrink: 0;
}

.modal-close {
    background: none; border: none; color: white;
    font-size: 1.5rem; cursor: pointer;
}

#pdf-viewer { flex: 1; border: none; width: 100%; }

.back-to-top {
    position: fixed; bottom: 2rem; right: 2rem;
    width: 44px; height: 44px;
    background: var(--merah); color: white;
    border-radius: 50%; display: flex;
    align-items: center; justify-content: center;
    cursor: pointer; opacity: 0; visibility: hidden;
    transition: all var(--transition);
    box-shadow: var(--shadow-md); z-index: 90;
    border: none; font-size: 1.1rem;
}

.back-to-top.visible { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--emas); transform: translateY(-3px); }

/* Breadcrumbs */
.breadcrumbs { padding: 1rem 0; font-size: 0.8rem; color: var(--gray-500); }
.breadcrumbs a { color: var(--gray-500); text-decoration: none; }
.breadcrumbs a:hover { color: var(--merah); }
.breadcrumbs .sep { margin: 0 0.5rem; color: var(--gray-300); }
.breadcrumbs .current { color: var(--merah); font-weight: 600; }

/* ========================================
   RESPONSIVE
   ======================================== *//* Busana Section */
.grid-4-cols {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.img-portrait {
    aspect-ratio: 3/4;
}

.card-compact .work-card-body {
    padding: 1rem;
    text-align: center;
}

/* Medsos Group Links */
.group-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}

.group-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    transition: transform var(--transition);
}

.group-item img {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 2px solid #ffffff;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    background: white;
    padding: 4px;
    transition: all var(--transition);
}

.group-item span {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--coklat);
    letter-spacing: 0.5px;
}

.group-item:hover {
    transform: translateY(-5px);
}

.group-item:hover img {
    border-color: var(--emas);
    box-shadow: 0 12px 25px rgba(212,160,23,0.2);
}

/* Reels Grid */
.reels-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 3rem;
}

.reels-grid > * {
    flex: 0 1 280px;
}



.reel-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 9/16;
    background: #000;
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
}

.reel-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 1rem 1rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

/* Section Warm */
.section-warm {
    background: linear-gradient(180deg, #faf6f0 0%, #fff8ee 100%);
}

/* Impact Imelda Section */
.impact-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.impact-grid > * {
    flex: 0 1 500px;
}

.impact-card {
    display: flex;
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    border: 1px solid rgba(0,0,0,0.03);
}

.impact-card-img {
    width: 40%;
    flex-shrink: 0;
    overflow: hidden;
}

.impact-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.impact-card-content {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.impact-card-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.impact-card-desc {
    font-size: 0.85rem;
    color: var(--gray-500);
}

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

.impact-card:hover .impact-card-img img {
    transform: scale(1.05);
}

/* Responsive */
@media (max-width: 992px) {
    .grid-4-cols { grid-template-columns: repeat(2, 1fr); }
    .impact-grid { grid-template-columns: 1fr; }
    .reels-grid { gap: 1rem; }
    .reels-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
    .grid-4-cols { grid-template-columns: 1fr; }
    .reels-grid { grid-template-columns: repeat(2, 1fr); max-width: 100%; gap: 0.75rem; }
    .impact-card { flex-direction: column; }
    .impact-card-img { width: 100%; height: 200px; }
    .group-links { gap: 1rem; }
}

@media (max-width: 768px) {
    .mobile-toggle { display: flex; }
    .nav-menu {
        position: fixed; top: 0; right: -100%;
        width: 80%; height: 100vh; background: white;
        flex-direction: column; padding: 5rem 2rem;
        box-shadow: -10px 0 30px rgba(0,0,0,0.1);
        transition: right 0.4s; z-index: 200;
    }
    .nav-menu.open { right: 0; }
    .header-actions .search-wrapper,
    .header-actions .btn-admin-v2 { display: none; }

    .hero { padding: 5rem 0 6rem; }
    .hero-inner { grid-template-columns: 1fr; gap: 3rem; }
    .hero h1 { font-size: 2.5rem; }
    .hero-media { height: 300px; }
    .hero-media img { clip-path: polygon(10% 0, 100% 0, 100% 100%, 0% 100%); }
    .hero-media::before { clip-path: polygon(5% 0, 10% 0, 0% 100%, 0% 100%); }
    .hero-media::after { clip-path: polygon(0 0, 7% 0, 0% 95%); }
    .top-bar { display: none; }

    .stats-grid { grid-template-columns: 1fr; gap: 1.5rem; }
    .stat-item { border-right: none; border-bottom: 1px solid var(--gray-100); padding-bottom: 1.5rem; }
    .stat-item:last-child { border-bottom: none; }

    .works-grid { grid-template-columns: 1fr; }
    .modul-banner { grid-template-columns: 1fr; padding: 2rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }

    .section-dark::before,
    .hero::after,
    .site-footer::before { display: none; }
}
