/* ==========================================
   SD NEGERI 4 KARANG PUCUNG - CUSTOM CSS
   Website Sekolah Modern & Colorful
   Compatible with Bootstrap 5
   Mobile-First Responsive Design
   ========================================== */

/* ==========================================
   CSS VARIABLES - Custom Color Palette
   ========================================== */
:root {
    /* Primary Colors - Modern Gradient */
    --primary-purple: #667eea;
    --primary-pink: #764ba2;
    --secondary-blue: #4facfe;
    --secondary-purple: #9c27b0;

    /* Accent Colors - Vibrant */
    --accent-orange: #ff6f61;
    --accent-yellow: #ffc107;
    --accent-green: #00d4aa;
    --accent-red: #f44336;

    /* Neutral Palette */
    --white: #ffffff;
    --gray-50: #fafafa;
    --gray-100: #f5f5f5;
    --gray-200: #eeeeee;
    --gray-300: #e0e0e0;
    --gray-400: #bdbdbd;
    --gray-500: #9e9e9e;
    --gray-600: #757575;
    --gray-700: #616161;
    --gray-800: #424242;
    --gray-900: #212121;

    /* Shadows - Modern Elevation */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 8px 20px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 15px 40px rgba(0, 0, 0, 0.18);
    --shadow-xl: 0 25px 60px rgba(0, 0, 0, 0.25);

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --radius-full: 50%;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;

    /* Transitions */
    --transition-fast: 200ms ease-in-out;
    --transition-base: 300ms ease-in-out;
    --transition-slow: 500ms cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* ==========================================
   RESET & BASE STYLES
   ========================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background-color: var(--white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ==========================================
   TOP BAR - Contact & PPDB Status
   ========================================== */
.top-bar {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: var(--white);
    padding: 0.75rem 0;
    font-size: 0.875rem;
}

.top-bar-left {
    display: flex;
    gap: 1.5rem;
}

.top-bar-left span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.top-bar-left i {
    color: var(--secondary-blue);
}

.top-bar-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1.5rem;
}

.top-bar-right a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: color var(--transition-fast);
}

.top-bar-right a:hover {
    color: var(--white);
}

/* PPDB Status Badge */
.ppdb-status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.85rem;
    animation: pulse 2s ease-in-out infinite;
}

.ppdb-status-badge.ppdb-open {
    background: linear-gradient(135deg, #00d4aa, #00e5bb);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(0, 212, 170, 0.4);
}

.ppdb-status-badge.ppdb-closed {
    background: linear-gradient(135deg, #f44336, #e91e63);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(244, 67, 54, 0.4);
}

.ppdb-status-badge i {
    font-size: 1rem;
    animation: blink 1.5s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* Responsive Top Bar */
@media (max-width: 768px) {

    .top-bar-left,
    .top-bar-right {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .top-bar-right {
        align-items: flex-end;
    }
}

/* ==========================================
   NAVBAR - Sticky Modern
   ========================================== */
.navbar {
    background-color: var(--white) !important;
    box-shadow: var(--shadow-md);
    padding: var(--space-sm) 0 !important;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: var(--shadow-lg);
    padding: 0.5rem 0 !important;
}

.navbar-brand {
    font-weight: 800 !important;
    font-size: 1.2rem !important;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all var(--transition-base);
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-brand img {
    width: 40px;
    height: 40px;
    margin-right: 0.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition-base);
}

.navbar-brand:hover img {
    transform: rotate(360deg);
}

/* Responsive navbar brand */
@media (min-width: 992px) and (max-width: 1400px) {
    .navbar-brand {
        font-size: 1.1rem !important;
    }

    .navbar-brand img {
        width: 35px;
        height: 35px;
    }
}

.nav-link {
    color: var(--gray-700) !important;
    font-weight: 600 !important;
    padding: 0.35rem 0.65rem !important;
    margin: 0 0.1rem;
    border-radius: var(--radius-sm);
    transition: all var(--transition-fast) !important;
    position: relative;
    font-size: 0.85rem !important;
}

.nav-link i {
    font-size: 0.8rem;
    margin-right: 0.25rem;
}

/* Extra compact for medium screens */
@media (min-width: 992px) and (max-width: 1400px) {
    .nav-link {
        font-size: 0.8rem !important;
        padding: 0.3rem 0.5rem !important;
        margin: 0 0.05rem;
    }

    .nav-link i {
        font-size: 0.75rem;
        margin-right: 0.2rem;
    }
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--secondary-purple));
    transition: width var(--transition-base);
    border-radius: 10px;
}

.nav-link:hover {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    color: var(--primary-purple) !important;
}

.nav-link:hover::before {
    width: 60%;
}

.nav-link.active {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink)) !important;
    color: var(--white) !important;
}

/* ==========================================
   HERO SECTION - Full Gradient
   ========================================== */
.hero-section {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg,
            var(--primary-purple) 0%,
            var(--primary-pink) 50%,
            #f093fb 100%);
    overflow: hidden;
    padding: var(--space-2xl) 0;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><circle cx="50" cy="50" r="2" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s ease-in-out infinite;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.1);
}

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    text-align: center;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: var(--space-sm);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    animation: fadeInDown 1s ease;
}

.hero-subtitle {
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: var(--space-md);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-description {
    font-size: 1.3rem;
    margin-bottom: var(--space-xl);
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 1s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   BUTTONS - Modern Style
   ========================================== */
.btn {
    padding: 0.75rem 1.75rem !important;
    font-weight: 700 !important;
    border-radius: var(--radius-md) !important;
    transition: all var(--transition-base) !important;
    border: none !important;
    box-shadow: var(--shadow-sm);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.btn:active {
    transform: translateY(-1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink)) !important;
    border: none !important;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #5568d3, #6a4190) !important;
}

.btn-outline-light {
    border: 2px solid var(--white) !important;
    color: var(--white) !important;
    background: transparent !important;
}

.btn-outline-light:hover {
    background: var(--white) !important;
    color: var(--primary-purple) !important;
}

.btn-lg {
    padding: 1rem 2.5rem !important;
    font-size: 1.1rem !important;
}

/* ==========================================
   STATS SECTION - Counter Cards
   ========================================== */
.stats-section {
    background: linear-gradient(to bottom, #f7fafc, #edf2f7);
    padding: var(--space-2xl) 0;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-slow);
    border-top: 4px solid transparent;
}

.stat-card:nth-child(1) {
    border-top-color: var(--accent-orange);
}

.stat-card:nth-child(2) {
    border-top-color: var(--secondary-blue);
}

.stat-card:nth-child(3) {
    border-top-color: var(--accent-green);
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.03);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    display: inline-block;
    transition: all var(--transition-base);
}

.stat-card:nth-child(1) .stat-icon {
    color: var(--accent-orange);
}

.stat-card:nth-child(2) .stat-icon {
    color: var(--secondary-blue);
}

.stat-card:nth-child(3) .stat-icon {
    color: var(--accent-green);
}

.stat-card:hover .stat-icon {
    transform: scale(1.2) rotate(10deg);
}

.stat-content h3 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: var(--space-xs);
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-content p {
    color: var(--gray-600);
    font-weight: 600;
    margin: 0;
}

/* ==========================================
   SECTION STYLES - General
   ========================================== */
.section {
    padding: var(--space-2xl) 0;
}

/* Section dengan Gradient Background (seperti Galeri) */
.section-gradient {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    position: relative;
    overflow: hidden;
    padding: var(--space-2xl) 0;
    min-height: 400px;
}

.section-gradient::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.section-gradient .container {
    position: relative;
    z-index: 1;
}

.section-gradient .section-title,
.section-gradient h1,
.section-gradient h2 {
    color: var(--white) !important;
    -webkit-text-fill-color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.section-gradient .section-subtitle,
.section-gradient p {
    color: rgba(255, 255, 255, 0.95) !important;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: var(--space-md);
    text-align: center;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding-bottom: var(--space-md);
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--secondary-purple));
    border-radius: 10px;
}

.section-subtitle {
    text-align: center;
    color: var(--gray-600);
    font-size: 1.2rem;
    margin-bottom: var(--space-xl);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ==========================================
   BERITA SECTION - News Cards
   ========================================== */
.berita-section {
    background: var(--white);
}

.berita-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}

.berita-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--secondary-purple), var(--accent-orange));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.berita-card:hover::before {
    transform: scaleX(1);
}

.berita-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 12px 40px rgba(102, 126, 234, 0.25);
}

/* Berita Thumbnail Wrapper - FIXED HEIGHT */
.berita-thumbnail {
    width: 100%;
    height: 240px;
    overflow: hidden;
    position: relative;
    background: #f0f0f0;
}

.berita-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-base);
    display: block;
}

.berita-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-base);
    display: block;
}

.berita-card:hover .berita-thumbnail img,
.berita-card:hover .berita-image {
    transform: scale(1.1);
}

.berita-content {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.berita-kategori {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95), rgba(118, 75, 162, 0.95));
    color: white;
    padding: 0.4rem 0.9rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10px);
}

.berita-meta {
    display: flex;
    gap: 1.25rem;
    align-items: center;
    font-size: 0.8rem;
    color: #718096;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
}

.berita-meta span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
}

.berita-meta i {
    color: var(--secondary-blue);
    font-size: 0.9rem;
}

.berita-date {
    display: inline-block;
    background: linear-gradient(135deg, var(--secondary-blue), var(--secondary-purple));
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.berita-title {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.5;
    margin-bottom: 1rem;
    color: #1a202c;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 4.2rem;
    letter-spacing: -0.02em;
}

.berita-title a {
    color: #1a202c;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    background-position: 0% 50%;
}

.berita-title a:hover {
    background-position: 100% 50%;
    transform: translateX(3px);
}

.berita-excerpt {
    color: #4a5568;
    line-height: 1.8;
    font-size: 0.98rem;
    margin-bottom: 1.5rem;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.berita-content {
    padding: var(--space-lg);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.btn-read-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.9rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    align-self: flex-start;
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.35);
    position: relative;
    overflow: hidden;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.btn-read-more::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-read-more span,
.btn-read-more i {
    position: relative;
    z-index: 1;
}

.btn-read-more:hover::before {
    left: 0;
}

.btn-read-more:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.5);
    color: white;
}

.btn-read-more i {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-read-more:hover i {
    transform: translateX(5px);
}

.berita-link {
    color: var(--secondary-blue);
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-fast);
}

.berita-link:hover {
    gap: 0.75rem;
    color: var(--secondary-purple);
}

/* ==========================================
   GALERI SECTION - Photo Gallery
   ========================================== */
/* ==========================================
   GALERI FOTO - ADVANCED GRID STYLES
   Modern Masonry Layout with Multiple Effects
   ========================================== */

/* ==========================================
   STYLE 1: MASONRY GRID (Pinterest Style)
   ========================================== */
.galeri-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    position: relative;
    overflow: hidden;
    padding: var(--space-2xl) 0;
    min-height: 600px;
}

.galeri-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.galeri-section .container {
    position: relative;
    z-index: 1;
}

.galeri-section .section-title {
    color: var(--white);
    -webkit-text-fill-color: var(--white);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
    margin-bottom: var(--space-sm);
}

.galeri-section .section-title::after {
    background: var(--white);
}

.galeri-section .section-subtitle {
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: var(--space-2xl);
}

/* Modern Uniform Grid Layout - Gambar Sama Ukuran */
.galeri-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
    max-width: 1400px;
    margin: 0 auto;
}

.galeri-item {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-slow);
    background: var(--white);
    height: 320px;
    /* Fixed height untuk semua item */
}

/* Image Styling - FIXED SIZE */
.galeri-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    transition: transform var(--transition-base);
}

/* Hover Effects */
.galeri-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
    z-index: 10;
}

.galeri-item:hover img {
    transform: scale(1.15);
}

/* Overlay with Gradient */
.galeri-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top,
            rgba(0, 0, 0, 0.9) 0%,
            rgba(102, 126, 234, 0.85) 40%,
            transparent 100%);
    color: var(--white);
    padding: var(--space-md);
    transform: translateY(100%);
    transition: transform var(--transition-base);
}

.galeri-item:hover .galeri-overlay {
    transform: translateY(0);
}

.galeri-overlay h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
}

.galeri-overlay p {
    font-size: 0.9rem;
    margin: 0;
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    padding: 0.35rem 0.85rem;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-weight: 600;
}

/* Hover Icon */
.galeri-item::after {
    content: '🔍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    font-size: 3rem;
    background: rgba(255, 255, 255, 0.95);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    transition: all var(--transition-base);
    pointer-events: none;
    line-height: 80px;
    text-align: center;
}

.galeri-item:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* ==========================================
   STYLE 2: BENTO BOX GRID (Alternative)
   Uncomment untuk pakai style ini
   ========================================== */
/*
.galeri-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 20px;
    grid-auto-rows: 200px;
    grid-auto-flow: dense;
}

.galeri-item {
    grid-column: span 3;
    grid-row: span 2;
}

.galeri-item:nth-child(3n+1) {
    grid-column: span 6;
    grid-row: span 3;
}

.galeri-item:nth-child(5n+2) {
    grid-column: span 4;
    grid-row: span 2;
}

.galeri-item:nth-child(7n+3) {
    grid-column: span 5;
    grid-row: span 4;
}

.galeri-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
*/

/* ==========================================
   STYLE 3: HEXAGON GRID (Creative)
   Uncomment untuk pakai style ini
   ========================================== */
/*
.galeri-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 40px 0;
}

.galeri-item {
    width: 200px;
    height: 230px;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    margin: 15px;
}

.galeri-item:hover {
    clip-path: polygon(50% 5%, 95% 27%, 95% 73%, 50% 95%, 5% 73%, 5% 27%);
}

.galeri-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
*/

/* ==========================================
   LIGHTBOX EFFECT
   ========================================== */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    animation: fadeIn 0.3s ease;
}

.lightbox.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    animation: zoomIn 0.3s ease;
}

.lightbox-content img {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--white);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: all var(--transition-fast);
    z-index: 10000;
}

.lightbox-close:hover {
    color: var(--accent-orange);
    transform: rotate(90deg);
}

.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: var(--white);
    font-size: 3rem;
    font-weight: 700;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    backdrop-filter: blur(10px);
}

.lightbox-prev {
    left: 30px;
}

.lightbox-next {
    right: 30px;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-caption {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--white);
    background: rgba(0, 0, 0, 0.7);
    padding: var(--space-md) var(--space-xl);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    text-align: center;
    max-width: 80%;
}

.lightbox-caption h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.lightbox-caption p {
    font-size: 1rem;
    margin: 0;
    opacity: 0.9;
}

/* Lightbox Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* ==========================================
   CATEGORY FILTER PILLS - Simple Colors
   ========================================== */
.galeri-filter {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-2xl);
    padding: 0 var(--space-md);
}

.filter-pill {
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    transition: all var(--transition-base);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Shimmer Effect */
.filter-pill::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent);
    transition: left 0.5s ease;
}

.filter-pill:hover::before {
    left: 100%;
}

/* Hover State */
.filter-pill:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

/* Active State */
.filter-pill.active {
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 1) 100%);
    color: var(--gray-900);
    border-color: var(--white);
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    font-weight: 800;
}

/* Checkmark untuk Active */
.filter-pill.active::after {
    content: '✓';
    position: absolute;
    top: -5px;
    right: -5px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, var(--accent-green), #00e5a0);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 900;
    box-shadow: 0 2px 8px rgba(0, 213, 170, 0.4);
    animation: checkPop 0.3s ease;
}

@keyframes checkPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Count Badge */
.filter-pill .count-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.25);
    color: var(--white);
    padding: 0.2rem 0.6rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 700;
    margin-left: 0.5rem;
    transition: all var(--transition-fast);
}

.filter-pill.active .count-badge {
    background: var(--primary-purple);
    color: var(--white);
}

/* Icon Styling */
.filter-pill .icon {
    display: inline-block;
    margin-right: 0.5rem;
    font-size: 1.1rem;
    transition: transform var(--transition-fast);
}

.filter-pill:hover .icon {
    transform: scale(1.2) rotate(10deg);
}

.filter-pill.active .icon {
    transform: scale(1.1);
}

/* ==========================================
   WARNA BACKGROUND PER KATEGORI (SIMPLE)
   ========================================== */

/* Semua Foto - Biru */
.filter-pill[data-category="semua"] {
    background: rgba(79, 172, 254, 0.3);
    border-color: rgba(79, 172, 254, 0.5);
}

.filter-pill[data-category="semua"]:hover {
    background: rgba(79, 172, 254, 0.4);
}

/* Kegiatan - Merah */
.filter-pill[data-category="kegiatan"] {
    background: rgba(255, 107, 107, 0.3);
    border-color: rgba(255, 107, 107, 0.5);
}

.filter-pill[data-category="kegiatan"]:hover {
    background: rgba(255, 107, 107, 0.4);
}

/* Pembelajaran - Kuning */
.filter-pill[data-category="pembelajaran"] {
    background: rgba(255, 193, 7, 0.3);
    border-color: rgba(255, 193, 7, 0.5);
}

.filter-pill[data-category="pembelajaran"]:hover {
    background: rgba(255, 193, 7, 0.4);
}

/* Upacara - Ungu */
.filter-pill[data-category="upacara"] {
    background: rgba(156, 39, 176, 0.3);
    border-color: rgba(156, 39, 176, 0.5);
}

.filter-pill[data-category="upacara"]:hover {
    background: rgba(156, 39, 176, 0.4);
}

/* Event - Oranye */
.filter-pill[data-category="event"] {
    background: rgba(255, 152, 0, 0.3);
    border-color: rgba(255, 152, 0, 0.5);
}

.filter-pill[data-category="event"]:hover {
    background: rgba(255, 152, 0, 0.4);
}

/* Prestasi - Emas */
.filter-pill[data-category="prestasi"] {
    background: rgba(255, 215, 0, 0.3);
    border-color: rgba(255, 215, 0, 0.5);
}

.filter-pill[data-category="prestasi"]:hover {
    background: rgba(255, 215, 0, 0.4);
}

/* Olahraga - Hijau Tosca */
.filter-pill[data-category="olahraga"] {
    background: rgba(0, 212, 170, 0.3);
    border-color: rgba(0, 212, 170, 0.5);
}

.filter-pill[data-category="olahraga"]:hover {
    background: rgba(0, 212, 170, 0.4);
}

/* Seni - Pink */
.filter-pill[data-category="seni"] {
    background: rgba(244, 67, 54, 0.3);
    border-color: rgba(244, 67, 54, 0.5);
}

.filter-pill[data-category="seni"]:hover {
    background: rgba(244, 67, 54, 0.4);
}

/* ==========================================
   LOADING SKELETON
   ========================================== */
.galeri-skeleton {
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0.1) 0%,
            rgba(255, 255, 255, 0.2) 50%,
            rgba(255, 255, 255, 0.1) 100%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
    border-radius: var(--radius-xl);
    height: 300px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

/* Large Desktop */
@media (max-width: 1400px) {
    .galeri-grid {
        column-count: 3;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .galeri-grid {
        column-count: 2;
        column-gap: 15px;
    }

    .galeri-item {
        margin-bottom: 15px;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .lightbox-prev {
        left: 15px;
    }

    .lightbox-next {
        right: 15px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .galeri-grid {
        column-count: 2;
        column-gap: 10px;
    }

    .galeri-item {
        margin-bottom: 10px;
        border-radius: var(--radius-md);
    }

    .galeri-item::after {
        width: 60px;
        height: 60px;
        font-size: 2rem;
        line-height: 60px;
    }

    .galeri-overlay h5 {
        font-size: 0.95rem;
    }

    .galeri-overlay p {
        font-size: 0.8rem;
        padding: 0.25rem 0.65rem;
    }

    .lightbox-caption {
        bottom: 10px;
        padding: var(--space-sm) var(--space-md);
    }

    .lightbox-caption h3 {
        font-size: 1.1rem;
    }

    .lightbox-caption p {
        font-size: 0.85rem;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .galeri-grid {
        column-count: 1;
    }

    .galeri-filter {
        gap: var(--space-xs);
    }

    .filter-pill {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .lightbox-prev,
    .lightbox-next {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}

/* ==========================================
   SPECIAL HOVER EFFECTS (Choose One)
   ========================================== */

/* Effect 1: Tilt on Hover */
.galeri-item.effect-tilt:hover {
    transform: perspective(1000px) rotateX(5deg) rotateY(-5deg) translateY(-10px);
}

/* Effect 2: Border Gradient Animation */
.galeri-item.effect-border {
    position: relative;
}

.galeri-item.effect-border::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(45deg,
            var(--accent-orange),
            var(--accent-yellow),
            var(--accent-green),
            var(--secondary-blue),
            var(--accent-orange));
    background-size: 300% 300%;
    border-radius: var(--radius-xl);
    opacity: 0;
    z-index: -1;
    animation: gradient-rotate 3s ease infinite;
    transition: opacity var(--transition-base);
}

.galeri-item.effect-border:hover::before {
    opacity: 1;
}

@keyframes gradient-rotate {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* Effect 3: Glitch Effect */
.galeri-item.effect-glitch:hover {
    animation: glitch 0.3s ease;
}

@keyframes glitch {

    0%,
    100% {
        transform: translateY(0);
    }

    25% {
        transform: translateY(-5px) translateX(-5px);
    }

    50% {
        transform: translateY(5px) translateX(5px);
    }

    75% {
        transform: translateY(-3px) translateX(3px);
    }
}

/* ==========================================
   LOAD MORE BUTTON
   ========================================== */
.galeri-load-more {
    text-align: center;
    margin-top: var(--space-2xl);
}

.btn-load-more {
    background: var(--white);
    color: var(--primary-purple);
    padding: 1rem 3rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: 3px solid var(--white);
    cursor: pointer;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-lg);
}

.btn-load-more:hover {
    background: transparent;
    color: var(--white);
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

/* ==========================================
   END OF GALLERY STYLES
   ========================================== */
}

.pengumuman-card {
    background: var(--white);
    border-left: 5px solid var(--accent-orange);
    border-radius: var(--radius-md);
    padding: var(--space-md);
    margin-bottom: var(--space-md);
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.pengumuman-card:hover {
    transform: translateX(10px);
    box-shadow: var(--shadow-lg);
}

.pengumuman-card.prioritas-tinggi {
    border-left-color: var(--accent-red);
    background: #ffebee;
}

.pengumuman-card.prioritas-sedang {
    border-left-color: var(--accent-yellow);
    background: #fff3e0;
}

.pengumuman-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: var(--space-sm);
}

.pengumuman-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gray-900);
}

.pengumuman-badge {
    background: var(--accent-orange);
    color: var(--white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pengumuman-content {
    color: var(--gray-700);
    margin-bottom: var(--space-sm);
}

.pengumuman-date {
    color: var(--gray-500);
    font-size: 0.875rem;
}

/* ==========================================
   GURU SECTION - Staff Grid
   ========================================== */
.guru-section {
    background: var(--white);
}

.guru-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--space-lg);
}

.guru-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: all var(--transition-slow);
}

.guru-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.guru-photo {
    width: 100%;
    height: 280px;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.guru-card:hover .guru-photo {
    transform: scale(1.1);
}

.guru-info {
    padding: var(--space-lg);
}

.guru-name {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--gray-900);
    margin-bottom: var(--space-xs);
}

.guru-nip {
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-bottom: var(--space-sm);
}

.guru-position {
    color: var(--white);
    background: linear-gradient(135deg, var(--secondary-blue), var(--secondary-purple));
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: var(--space-sm);
}

.guru-mapel {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* ==========================================
   FASILITAS SECTION - Facilities Grid
   ========================================== */
.fasilitas-section {
    background: linear-gradient(to bottom, #f7fafc, #edf2f7);
}

.fasilitas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--space-lg);
}

.fasilitas-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-slow);
}

.fasilitas-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.fasilitas-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.fasilitas-card:hover .fasilitas-image {
    transform: scale(1.1);
}

.fasilitas-body {
    padding: var(--space-lg);
}

.fasilitas-title {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: var(--space-sm);
    color: var(--gray-900);
}

.fasilitas-desc {
    color: var(--gray-600);
}

/* ==========================================
   FOOTER - Modern Dark
   ========================================== */
.footer {
    background: linear-gradient(135deg, #2d3748 0%, #1a202c 100%);
    color: var(--white);
    padding: var(--space-2xl) 0 var(--space-md);
}

.footer h5 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    position: relative;
    padding-bottom: var(--space-sm);
}

.footer h5::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-blue), var(--secondary-purple));
    border-radius: 10px;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all var(--transition-fast);
    display: inline-block;
}

.footer a:hover {
    color: var(--white);
    transform: translateX(5px);
}

.footer-social {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.footer-social a {
    width: 45px;
    height: 45px;
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    transition: all var(--transition-base);
}

.footer-social a:hover {
    background: linear-gradient(135deg, var(--secondary-blue), var(--secondary-purple));
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--space-md);
    margin-top: var(--space-xl);
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

/* ==========================================
   FORMS - Modern Input Style
   ========================================== */
.form-control {
    border: 2px solid var(--gray-300) !important;
    border-radius: var(--radius-md) !important;
    padding: 0.75rem 1rem !important;
    transition: all var(--transition-fast) !important;
}

.form-control:focus {
    border-color: var(--primary-purple) !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
}

.form-label {
    font-weight: 600 !important;
    color: var(--gray-700) !important;
    margin-bottom: var(--space-xs) !important;
}

/* ==========================================
   TABLE - Modern Striped
   ========================================== */
.table {
    border-radius: var(--radius-md);
    overflow: hidden;
}

.table thead {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    color: var(--white);
}

.table th {
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-size: 0.875rem;
}

.table tbody tr {
    transition: background-color var(--transition-fast);
}

.table tbody tr:hover {
    background-color: rgba(102, 126, 234, 0.05);
}

.table-striped tbody tr:nth-of-type(odd) {
    background-color: var(--gray-50);
}

/* ==========================================
   BADGE - Modern Pills
   ========================================== */
.badge {
    padding: 0.4rem 0.9rem !important;
    font-weight: 700 !important;
    border-radius: 20px !important;
}

.badge-primary {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink)) !important;
}

.badge-success {
    background: var(--accent-green) !important;
}

.badge-warning {
    background: var(--accent-yellow) !important;
    color: var(--gray-900) !important;
}

.badge-danger {
    background: var(--accent-red) !important;
}

/* ==========================================
   RESPONSIVE - Mobile First
   ========================================== */

/* Tablet - 768px */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 2.5rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stat-content h3 {
        font-size: 2.5rem;
    }

    .galeri-grid,
    .guru-grid,
    .fasilitas-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .galeri-item {
        height: 250px;
    }

    .berita-thumbnail {
        height: 200px;
    }
}

/* Mobile - 480px */
@media (max-width: 480px) {
    .hero-section {
        min-height: 500px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 2rem;
    }

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .galeri-grid,
    .guru-grid,
    .fasilitas-grid {
        grid-template-columns: 1fr;
    }

    .galeri-item {
        height: 280px;
    }

    .berita-thumbnail {
        height: 220px;
    }
}

/* ==========================================
   UTILITIES - Helper Classes
   ========================================== */
.text-gradient {
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.shadow-modern {
    box-shadow: var(--shadow-lg);
}

.rounded-modern {
    border-radius: var(--radius-xl);
}

/* ==========================================
   TOP BAR - Login Admin Button
   ========================================== */
.top-bar-right .login-admin-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-pink));
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all var(--transition-base);
    border: 2px solid transparent;
}

.top-bar-right .login-admin-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.6);
    background: linear-gradient(135deg, #5568d3, #6a4190);
}

.top-bar-right .login-admin-btn i {
    font-size: 1.1rem;
    transition: transform var(--transition-fast);
}

.top-bar-right .login-admin-btn:hover i {
    transform: scale(1.2) rotate(10deg);
}

/* ==========================================
   ADMIN PANEL COMPATIBILITY
   ========================================== */
.admin-sidebar {
    background: linear-gradient(180deg, var(--primary-purple), var(--primary-pink)) !important;
}

.admin-card {
    border-radius: var(--radius-md) !important;
    box-shadow: var(--shadow-md);
    transition: all var(--transition-base);
}

.admin-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* ==========================================
   END OF STYLESHEET
   ========================================== */