/* Custom CSS Politeknik Asmi Makassar */
/* Prefix: asmi- */

/* Efek Glassmorphism Terang (Glossy Putih) */
.asmi-glass {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.05);
}

/* Efek Glassmorphism Gelap (Untuk Overlay/Footer) */
.asmi-glass-dark {
    background: rgba(44, 62, 80, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Gradasi Teks Emas & Maroon */
.asmi-text-gradient {
    background: linear-gradient(to right, #800000, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Animasi Hover Card Elegan */
.asmi-card-hover {
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease;
}
.asmi-card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(128, 0, 0, 0.15);
    border-color: #D4AF37;
}

/* Filter Gambar Mitra/Sponsor (Hitam Putih ke Warna) */
.asmi-partner-logo {
    filter: grayscale(100%) opacity(60%);
    transition: all 0.3s ease;
}
.asmi-partner-logo:hover {
    filter: grayscale(0%) opacity(100%);
    transform: scale(1.1);
}

/* Custom Nav Link Animasi Garis Bawah */
.asmi-nav-link {
    position: relative;
}
.asmi-nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #D4AF37;
    transition: width 0.3s ease;
}
.asmi-nav-link:hover::after {
    width: 100%;
}

/* =========================================
   EFEK HERO SLIDER MINIMALIS & ABSTRAK
   ========================================= */

/* Efek Ken Burns (Zoom in perlahan pada gambar) */
.asmi-ken-burns {
    animation: kenBurns 15s ease-out infinite alternate;
}
@keyframes kenBurns {
    0% { transform: scale(1); }
    100% { transform: scale(1.15); }
}

/* Abstract Alive - Gumpalan warna yang melayang */
.asmi-abstract-shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatShape 12s infinite ease-in-out alternate;
    z-index: 0;
}
.asmi-shape-maroon {
    background: #800000;
}
.asmi-shape-gold {
    background: #D4AF37;
}
@keyframes floatShape {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -60px) scale(1.2); }
    100% { transform: translate(-30px, 30px) scale(0.9); }
}

/* Tipografi Minimalis */
.asmi-minimal-title {
    line-height: 1.15;
    letter-spacing: -0.02em;
}

/* Kustomisasi Titik Pagination Swiper agar Elegan */
.swiper-pagination-bullet {
    background: #ccc !important;
    opacity: 1 !important;
    transition: all 0.3s ease;
}
.swiper-pagination-bullet-active {
    background: #800000 !important;
    width: 24px !important;
    border-radius: 8px !important;
}

/* =========================================
   EFEK HERO SLIDER: TIMBUL & BERWIBAWA (SOLID 3D)
   ========================================= */

/* Latar Belakang Grid/Blueprint Akademis */
.asmi-bg-grid {
    background-color: #f8fafc;
    background-image: radial-gradient(#cbd5e1 1px, transparent 1px);
    background-size: 32px 32px;
}

/* Container untuk Efek Timbul */
.asmi-image-container {
    position: relative;
    padding: 1rem;
    width: 100%;
    max-width: 550px;
    margin-left: auto;
}

/* Background Solid di belakang gambar (Bentuk Frame Offset) */
.asmi-image-backdrop {
    position: absolute;
    top: 2rem;
    right: -1rem;
    bottom: -1rem;
    left: 2rem;
    background: linear-gradient(135deg, #800000, #D4AF37);
    border-radius: 1.5rem;
    z-index: 0;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.2);
}

/* Gambar Utamanya (Statis, Elegan, Berwibawa) */
.asmi-image-timbul {
    position: relative;
    z-index: 10;
    border-radius: 1.5rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5); /* Bayangan 3D kuat */
    border: 6px solid white; /* Bingkai putih tegas */
    object-fit: cover;
    width: 100%;
    height: 400px; /* Tinggi gambar dibuat seragam */
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Animasi mengambang sangat halus saat cursor diarahkan (opsional) */
.asmi-image-timbul:hover {
    transform: translateY(-8px);
}

/* Batas Garis Kiri pada Teks */
.asmi-text-border {
    border-left: 5px solid;
    border-image: linear-gradient(to bottom, #800000, #D4AF37) 1;
    padding-left: 1.5rem;
}