/* ===================================================
   HOMEPAGE STYLES - IM ROAD RUNNER
   =================================================== */

/* 1. Hero Slider Full Width */
.hero-slider-section {
    position: relative;
    width: 100%;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

#fullHeroCarousel .carousel-item {
    height: 100vh;
    min-height: 680px;
    max-height: 960px;
    background-color: #111;
    position: relative;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #222;
    z-index: 1;
}

.slide-bg-1 { background-image: url('../images/hero/hero-1.jpg'); }
.slide-bg-tech { background-image: url('../images/hero/im-tech-hero.png'); }
.slide-bg-2 { background-image: url('../images/hero/hero-2.jpg'); }
.slide-bg-3 { background-image: url('../images/hero/hero-3.jpg'); }

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0) 28%), linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 2;
}

#fullHeroCarousel .container {
    position: relative;
    z-index: 3;
    height: 100%;
}

.hero-content {
    padding-top: 130px;
    padding-bottom: 50px;
}

#fullHeroCarousel h1,
#fullHeroCarousel .hero-slide-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.6);
}

#fullHeroCarousel p {
    font-size: 18px;
    color: #ffffff !important;
    margin-bottom: 35px;
    max-width: 600px;
    line-height: 1.7;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
    font-weight: 400;
}

#fullHeroCarousel .hero-cta {
    position: relative;
    overflow: hidden;
    padding: 12px 32px !important;
    font-size: 14px !important;
    line-height: 1.35;
    letter-spacing: .02em;
    box-shadow: 0 8px 20px rgba(223,49,55,.2);
    transition: transform .25s ease, background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

#fullHeroCarousel .hero-cta::after {
    content: "";
    position: absolute;
    top: -50%;
    left: -65%;
    width: 42%;
    height: 200%;
    background: rgba(255,255,255,.28);
    transform: rotate(22deg);
    transition: left .45s ease;
    pointer-events: none;
}

#fullHeroCarousel .hero-cta:hover {
    color: #fff;
    background-color: #bd2028 !important;
    border-color: #bd2028 !important;
    box-shadow: 0 13px 28px rgba(223,49,55,.34);
    transform: translateY(-3px);
}

#fullHeroCarousel .hero-cta:hover::after {
    left: 125%;
}

#fullHeroCarousel .slide-tech .slide-overlay {
    background: linear-gradient(90deg, rgba(8,12,18,.82) 0%, rgba(8,12,18,.48) 52%, rgba(8,12,18,.28) 100%);
}

#fullHeroCarousel .hero-tech-content { max-width: 720px; }
#fullHeroCarousel .hero-tech-content p { max-width: 680px; }

#fullHeroCarousel .carousel-indicators {
    z-index: 4;
    bottom: 28px;
    margin: 0;
    gap: 10px;
}

#fullHeroCarousel .carousel-indicators [data-bs-target] {
    width: 44px;
    height: 3px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 2px;
    background-color: rgba(255,255,255,0.4);
    opacity: 1;
    text-indent: -999px;
    overflow: hidden;
    transition: background-color .3s, width .3s;
}

#fullHeroCarousel .carousel-indicators .active {
    background-color: #df3137;
    width: 64px;
}

/* 2. Client / Sponsor Logos (Neat, Elegant, Proportional) */
.client-slider-wrapper {
    overflow: hidden;
    width: 100%;
    padding: 35px 0 60px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 45px;
    background-color: transparent;
}

.client-track {
    display: flex;
    width: max-content;
    gap: 55px;
    margin-bottom: 0;
}

.track-1 {
    animation: scroll-left 95s linear infinite;
}

.track-2 {
    animation: scroll-left 115s linear infinite;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 27.5px)); }
}

.client-logo-box {
    width: 270px !important;
    height: 105px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 16px !important;
    flex-shrink: 0 !important;
}

.client-logo-box img {
    max-width: 100% !important;
    max-height: 85px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    display: block !important;
    margin: 0 auto !important;
}

@media (max-width: 767px) {
    .client-logo-box {
        width: 190px !important;
        height: 75px !important;
        padding: 0 10px !important;
    }
    .client-logo-box img {
        max-height: 55px !important;
    }
    .client-track {
        gap: 30px !important;
    }
    @keyframes scroll-left {
        100% { transform: translateX(calc(-50% - 15px)); }
    }
    #fullHeroCarousel h1,
    #fullHeroCarousel .hero-slide-title {
        font-size: 36px;
    }
    .hero-content {
        padding-top: 100px;
    }
}

/* 3. Section Spacing & Layout */
main > section:not(.hero-slider-section) {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

main > section.imrr-about,
main > section.imrr-codeine,
main > section.imrr-information,
main > section.imrr-gallery,
main > section.imrr-clients,
main > section.imrr-contact {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
}

main > section.imrr-cta {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

main > section.imrr-gallery {
    padding-bottom: 40px !important;
}

main > section.imrr-clients {
    padding-top: 10px !important;
}

main .section-heading {
    margin-bottom: 24px !important;
}

main .section-heading .section-intro {
    margin-top: 12px !important;
    margin-bottom: 0 !important;
    font-size: 17px !important;
    color: #555555 !important;
    font-weight: 500;
}

main section p {
    font-size: 16px !important;
    line-height: 1.8 !important;
    color: #444444 !important;
    letter-spacing: 0.2px;
    font-weight: 400;
}

.about-right-content p {
    font-size: 17px !important;
    color: #333333 !important;
    margin-bottom: 18px !important;
}

/* 4. Tab Informasi */
.imrr-information .naccs { margin-top: 0 !important; }
.imrr-information .naccs .menu { margin-bottom: 0 !important; }
.imrr-information .imrr-tab-content { margin-top: 16px !important; }
.imrr-information .naccs .nacc, .imrr-information .imrr-tab-content {
    padding: 0 !important; height: auto !important; min-height: 0 !important;
}
.imrr-information .imrr-tab-content > li { padding: 0 !important; margin: 0 !important; min-height: 0 !important; height: auto !important; }
.imrr-information .imrr-tab-content > li > .thumb > .row { margin: 0 !important; }
.imrr-information .imrr-tab-content > li > .thumb > .row > [class*="col-"] { padding-left: 12px !important; padding-right: 12px !important; }
.imrr-information .imrr-tab-content > li > .thumb {
    padding: 44px 48px !important; min-height: 340px !important; height: auto !important; display: flex !important; align-items: center;
}
.imrr-information .imrr-tab-content > li > .thumb > .row { width: 100%; }
.imrr-information .imrr-tab-content .left-text { padding: 0 !important; margin: 0 !important; text-align: center !important; }
.imrr-information .imrr-tab-content .left-text h3 { font-size: 32px !important; line-height: 1.25 !important; margin: 10px 0 14px !important; }
.imrr-information .imrr-tab-content .left-text p { font-size: 17px !important; line-height: 1.8 !important; color: #4a4a4a !important; margin: 0 !important; }
.imrr-information .imrr-tab-content .tab-placeholder {
    height: 240px !important; min-height: 240px !important; padding: 24px !important; margin: 0 !important;
    display: flex !important; flex-direction: column; align-items: center; justify-content: center;
}
.imrr-information .imrr-tab-content .tab-placeholder strong { font-size: 56px !important; line-height: 1 !important; }
.imrr-information .imrr-tab-content .tab-placeholder span { font-size: 14px !important; margin-top: 8px; }
.imrr-information .imrr-tab-content .tab-placeholder img { width: 100%; height: 100%; object-fit: cover; border-radius: 10px; }

.imrr-information .naccs .grid { display: block !important; }
.imrr-information .imrr-tabs {
    display: flex !important; flex-wrap: wrap; justify-content: center !important; align-items: center; gap: 10px;
    width: 100% !important; margin: 0 auto !important; padding: 0 !important; text-align: center;
}
.imrr-information .imrr-tabs > div {
    width: auto !important; min-width: 0 !important; height: auto !important; min-height: 0 !important;
    margin: 0 !important; padding: 0 !important; float: none !important; border-radius: 10px !important;
}
.imrr-information .imrr-tabs > div .thumb {
    display: flex !important; align-items: center; gap: 8px; width: auto !important; height: auto !important; min-height: 0 !important;
    padding: 10px 18px !important; font-size: 14px !important; line-height: 1.3 !important; font-weight: 600; white-space: nowrap;
}
.imrr-information .imrr-tabs .tab-icon {
    display: inline-flex !important; margin: 0 !important; width: auto !important; height: auto !important;
    font-size: 14px !important; line-height: 1 !important;
}

/* 5. Latest Blogs Carousel & Cards */
#gallery, #gallery .container-fluid { height: auto !important; min-height: 0 !important; overflow: visible !important; }
#gallery .container-fluid { margin-top: 0 !important; padding: 0 24px !important; }
#gallery .section-heading { margin-bottom: 0 !important; }
#gallery .owl-carousel { margin-top: 0 !important; padding-top: 0 !important; height: auto !important; }
#gallery .owl-carousel .owl-stage-outer { padding: 12px 0 28px !important; height: auto !important; }
#gallery .owl-carousel .owl-stage { display: flex !important; align-items: stretch !important; height: auto !important; }
#gallery .owl-carousel .owl-item { display: flex !important; align-items: stretch !important; margin-right: 0 !important; }
#gallery .item { display: flex; width: 100%; padding: 0 6px; margin: 0; }
#gallery .portfolio-item { margin: 0 !important; }
#gallery .gallery-placeholder::before, #gallery .gallery-placeholder::after,
#gallery .imrr-gallery-card::before, #gallery .imrr-gallery-card::after { display: none !important; content: none !important; }
.imrr-gallery-card {
    display: flex !important; flex-direction: column !important; width: 100% !important; height: 100% !important; min-height: 540px !important;
    background: #fff !important; border-radius: 12px !important; border: 1px solid #eaeaea !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.04) !important; overflow: hidden !important; transition: all 0.3s ease !important;
}
.imrr-gallery-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,0.08) !important; transform: translateY(-5px) !important; }
.imrr-gallery-card.linked-article-card { cursor: pointer; }
.imrr-gallery-card.linked-article-card:focus-visible { outline: 3px solid #df3137; outline-offset: 3px; }
.imrr-gallery-card .gallery-placeholder {
    height: 280px !important;
    background: #fff !important;
    background-color: #f9f9f9 !important;
    background-image: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    border-bottom: 1px solid #f0f0f0 !important;
    overflow: hidden !important;
    position: relative !important;
}
.imrr-gallery-card .gallery-placeholder img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    max-width: none !important;
    max-height: none !important;
    opacity: 1 !important;
    filter: none !important;
    -webkit-filter: none !important;
    position: relative !important;
    z-index: 1 !important;
    display: block !important;
}
.imrr-gallery-card .down-content {
    flex: 1 1 auto !important; display: flex !important; flex-direction: column !important; padding: 28px 24px 34px !important; text-align: center !important;
}
.imrr-gallery-card h3 { font-size: 18px !important; font-weight: 700 !important; margin-bottom: 10px !important; color: #222 !important; line-height: 1.4 !important; }
.imrr-gallery-card span { font-size: 14px !important; color: #666 !important; line-height: 1.6 !important; }

/* 6. Kontak */
.imrr-contact .contact-card { margin-top: 0 !important; padding: 24px 28px !important; }
.imrr-contact .section-heading { margin-bottom: 20px !important; }
.imrr-contact .contact-brand p { font-size: 15px; font-weight: 600; margin-top: 10px; }
.imrr-contact .contact-placeholders { display: flex; flex-direction: column; gap: 10px; }
.imrr-contact .contact-placeholders > div {
    display: flex !important; align-items: center; gap: 16px; padding: 14px 18px !important; margin: 0 !important;
}
.imrr-contact .contact-placeholders > div > i { flex: 0 0 auto; font-size: 20px !important; width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; }
.imrr-contact .contact-placeholders span { font-size: 17px !important; font-weight: 500; line-height: 1.5 !important; color: #222; }
.imrr-contact .contact-placeholders small { display: block; font-size: 12px !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #df3137; margin-bottom: 2px; }
.imrr-contact .contact-placeholders a {
    color: inherit;
    text-decoration: none;
    transition: all 0.2s ease;
}
.imrr-contact .contact-placeholders a:hover {
    color: #df3137 !important;
    text-decoration: none !important;
}

/* 7. Animasi entrance CODEINE */
@keyframes codeineZoomIn { from { opacity: 0; transform: scale(.88); } to { opacity: 1; transform: scale(1); } }
@keyframes codeineRiseUp { from { opacity: 0; transform: translateY(60px); } to { opacity: 1; transform: translateY(0); } }
.codeineZoomIn.animated { animation-name: codeineZoomIn !important; animation-fill-mode: both; animation-timing-function: cubic-bezier(.2,.7,.2,1); }
.codeineRiseUp.animated { animation-name: codeineRiseUp !important; animation-fill-mode: both; animation-timing-function: cubic-bezier(.2,.7,.2,1); }

/* 8. Action Buttons in Upcoming Event Tab */
.btn-calendar-link,
.imrr-information a[href*="calendar-event"],
.imrr-information .btn-outline-secondary {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1.5px solid #64748b !important;
    color: #334155 !important;
    background-color: transparent !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    transition: all 0.25s ease !important;
}

.btn-calendar-link:hover,
.btn-calendar-link:focus,
.imrr-information a[href*="calendar-event"]:hover,
.imrr-information a[href*="calendar-event"]:focus,
.imrr-information .btn-outline-secondary:hover,
.imrr-information .btn-outline-secondary:focus {
    color: #ffffff !important;
    background-color: #df3137 !important;
    border-color: #df3137 !important;
    box-shadow: 0 6px 18px rgba(223, 49, 55, 0.28) !important;
    transform: translateY(-2px);
}

.btn-event-detail,
.imrr-information .btn-outline-danger {
    color: #df3137 !important;
    border: 1.5px solid #df3137 !important;
    background-color: transparent !important;
    transition: all 0.25s ease !important;
    font-weight: 600 !important;
}

.btn-event-detail:hover,
.btn-event-detail:focus,
.imrr-information .btn-outline-danger:hover,
.imrr-information .btn-outline-danger:focus {
    color: #ffffff !important;
    background-color: #df3137 !important;
    border-color: #df3137 !important;
    box-shadow: 0 6px 18px rgba(223, 49, 55, 0.28) !important;
    transform: translateY(-2px);
}

/* ===================================================
   Feature Photos (Profil & Platform Registrasi)
   =================================================== */
.imrr-about .about-visual {
    padding: 10px 0;
}

.imrr-about .imrr-feature-photo {
    aspect-ratio: 3 / 2;
}

.imrr-about .imrr-feature-photo img {
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.imrr-feature-photo {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: #ffffff;
    box-shadow: 12px 14px 24px -2px rgba(0, 0, 0, 0.22), 6px 8px 12px -2px rgba(0, 0, 0, 0.12);
    transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    cursor: pointer;
    will-change: transform, box-shadow;
}

.imrr-feature-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 22px;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.imrr-feature-photo:hover {
    transform: translateY(-8px);
    box-shadow: 18px 24px 34px -2px rgba(0, 0, 0, 0.35), 8px 12px 16px -2px rgba(0, 0, 0, 0.2);
}

.imrr-feature-photo:hover img {
    transform: scale(1.03);
}

