/**
 * Universitas ASA Indonesia (ASAINDO)
 * Landing Page Specific Stylesheet (Hero Slider & Slogan Section)
 */

/* =========================================
   HERO SLIDER SECTION (3 SLIDES BERJALAN)
   ========================================= */
.hero-slider-section {
    position: relative;
    overflow: hidden;
    height: 540px;
    background: #071e3b;
}

.hero-slider-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), visibility 1s ease;
    display: flex;
    align-items: center;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.hero-slide.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
    pointer-events: auto;
}

/* Background Zoom Crossfade */
.hero-slide-bg {
    position: absolute;
    inset: -24px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.08);
    transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 0;
    will-change: transform;
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1.0);
}

.hero-slide-content {
    position: relative;
    z-index: 2;
    max-width: 820px;
    margin-top: -38px;
    padding-top: 24px;
    transform: translateY(14px);
    opacity: 0;
    transition: opacity 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.15s, transform 0.75s cubic-bezier(0.22, 1, 0.36, 1) 0.15s;
}

.hero-slide.active .hero-slide-content {
    transform: translateY(0);
    opacity: 1;
}

.hero-slide-title {
    font-size: 38px;
    font-weight: 900;
    line-height: 1.22;
    color: #ffffff;
    margin: 10px 0 14px;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
}

.hero-slide-desc {
    font-size: 15px;
    line-height: 1.7;
    color: #f1f5f9;
    margin: 0 0 22px;
    max-width: 660px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero-slide-cta {
    display: flex;
    gap: 14px;
    align-items: center;
}

.btn-hero-cta {
    background: var(--red);
    color: #ffffff;
    font-size: 13.5px;
    font-weight: 800;
    padding: 13px 26px;
    border-radius: 12px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(152, 13, 24, 0.4);
    transition: all 0.25s ease;
}

.btn-hero-cta:hover {
    background: #b91c1c;
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(152, 13, 24, 0.55);
    color: #ffffff;
}

/* Carousel 3 Lingkaran di Sisi Kanan Hero Slider */
.hero-slider-carousel {
    position: absolute;
    right: 24px;
    top: 46%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 9px;
    z-index: 20;
}

.hero-carousel-circle {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 2px solid #ef4444;
    background: rgba(7, 30, 59, 0.45);
    cursor: pointer;
    padding: 0;
    transition: all 0.22s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 1.5px 5px rgba(0, 0, 0, 0.4);
    outline: none;
}

.hero-carousel-circle:hover {
    transform: scale(1.3);
    border-color: #ffffff;
    background: rgba(239, 68, 68, 0.7);
}

.hero-carousel-circle.active {
    background: #ef4444;
    border-color: #ffffff;
    box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.55), 0 2px 8px rgba(239, 68, 68, 0.85);
    transform: scale(1.25);
}

/* Samakan Latar Belakang Kiri & Kanan Quick Links dengan Biru Slogan */
.quick {
    position: relative;
    z-index: 3;
    margin-top: -102px;
    background: linear-gradient(to bottom, transparent 102px, #105296 102px) !important;
}

/* =========================================
   SECTION SLOGAN DENGAN ORNAMEN AKADEMIK & TOPI
   ========================================= */
.slogan-section {
    width: 100%;
    position: relative;
    z-index: 1;
    background: #105296;
    background: radial-gradient(circle at 50% 30%, #1c6ab8 0%, #105296 75%);
    color: #fff;
    margin-top: -18px;
    padding: 82px 0 118px;
    text-align: center;
    overflow: hidden;
    border-top: 3px solid #980d18;
    border-bottom: 2px solid rgba(255, 255, 255, 0.12);
}

/* Ornamen Mengambang di Background */
.slogan-bg-ornaments {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.slogan-ornament-item {
    position: absolute;
    color: #ffffff;
    opacity: 0.08;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

.slogan-ornament-item.float-1 { width: 56px; height: 56px; top: 16%; left: 8%; animation: floatItem 6s ease-in-out infinite; }
.slogan-ornament-item.float-2 { width: 38px; height: 38px; top: 22%; right: 10%; animation: floatItem 5s ease-in-out infinite 1s; }
.slogan-ornament-item.float-3 { width: 44px; height: 44px; bottom: 18%; left: 14%; animation: floatItem 7s ease-in-out infinite 2s; }
.slogan-ornament-item.float-4 { width: 48px; height: 48px; bottom: 16%; right: 12%; animation: floatItem 6s ease-in-out infinite 1.5s; }

@keyframes floatItem {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-12px) rotate(6deg); }
}

/* Centerpiece Topi Putih (Statik & Lebih Besar) */
.slogan-cap-centerpiece {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.slogan-white-cap {
    width: 86px;
    height: 86px;
    color: #ffffff;
    fill: #ffffff;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.45));
    transition: transform 0.25s ease;
}

.slogan-white-cap:hover {
    transform: scale(1.08);
}

/* Box Kutipan Slogan */
.slogan-quote-box {
    position: relative;
    max-width: 1240px;
    width: 100%;
    margin: 0 auto 16px;
    padding: 0 20px;
    white-space: nowrap;
}

.slogan-mark {
    font-size: 38px;
    line-height: 0;
    color: #f59e0b;
    vertical-align: -12px;
    font-family: Georgia, serif;
    opacity: 0.9;
}

.slogan-main-text {
    display: inline;
    margin: 0;
    font-weight: 800;
    font-size: 22px;
    line-height: 1.35;
    letter-spacing: 0.2px;
    color: #ffffff;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

/* Sub-ornament Star & Line */
.slogan-sub-ornament {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    max-width: 520px;
    margin: 0 auto;
}

.slogan-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.4), transparent);
}

.slogan-star {
    color: #f59e0b;
    font-size: 13px;
    text-shadow: 0 0 8px rgba(245, 158, 11, 0.6);
}

.slogan-subtext {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #cbd5e1;
    text-transform: uppercase;
}

@media(max-width: 1024px) {
    .slogan-main-text { font-size: 19px; }
}

@media(max-width: 760px) {
    .hero-slider-section { height: 480px; }
    .hero-slide-content { margin-top: 0; padding-top: 20px; }
    .hero-slide-title { font-size: 26px; }
    .hero-slide-desc { font-size: 13.5px; }
    .hero-slider-carousel { right: 12px; gap: 7px; }
    .hero-carousel-circle { width: 10px; height: 10px; border-width: 1.5px; }
    .quick { margin-top: -46px; background: linear-gradient(to bottom, transparent 46px, #105296 46px) !important; }
    .slogan-section { padding: 56px 0 86px; }
    .slogan-white-cap { width: 68px; height: 68px; }
    .slogan-quote-box { white-space: normal; padding: 0 16px; }
    .slogan-main-text { font-size: 17px; white-space: normal; }
}
