/*=====================================================
    HUT KE-81 REPUBLIK INDONESIA
    Kabupaten Nias 2026
======================================================*/

:root{

    --primary:#d50000;
    --secondary:#ffffff;
    --gold:#f4c542;
    --dark:#1c1c1c;
    --gray:#f7f7f7;
    --text:#555;
    --shadow:0 15px 35px rgba(0,0,0,.12);

}

/*=========================================
    RESET
==========================================*/

*{

    margin:0;
    padding:0;
    box-sizing:border-box;

}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Poppins',sans-serif;
    color:#333;
    background:#fff;
    overflow-x:hidden;

    /* Tinggi header (navbar + border) */
    padding-top:95px;

}

img{

    max-width:100%;
    display:block;

}

a{

    text-decoration:none;

}

section{

    padding:90px 0;

}

/*=========================================
    NAVBAR WRAPPER
==========================================*/

#navbar-wrapper{

    position:fixed;

    top:0;
    left:0;

    width:100%;

    z-index:1050;

}

/*=========================================
    NAVBAR
==========================================*/

#navbar{

    background:#b40000;

    padding:18px 0;

    transition:all .35s ease;
    

}

#navbar.scrolled{

    padding:10px 0;

    box-shadow:0 8px 25px rgba(0,0,0,.18);

}

/*=========================================
    BORDER BAWAH NAVBAR
==========================================*/

.navbar-border{
 
    width:100%;

    height:18px;

    background:url("../img/border.webp") repeat-x center;

    background-size:auto 100%;

}

/*=========================================
    BRAND
==========================================*/

.navbar-brand{

    display:flex;
    align-items:center;
    gap:15px;

    color:#fff !important;

    text-decoration:none;

    font-weight:700;

    letter-spacing:1px;

}

.navbar-brand img{

    height:58px;
    width:auto;

    transition:.3s;

}

.navbar-brand:hover img{

    transform:scale(1.05);

}

.brand-title{

    font-size:22px;

    font-weight:700;

    line-height:1;

    color:#fff;

    letter-spacing:1px;

}

.brand-subtitle{

    display:block;

    margin-top:2px;

    font-size:12px;

    color:rgba(255,255,255,.85);

    letter-spacing:.8px;

}

/*=========================================
    MENU
==========================================*/

.nav-link{

    position:relative;

    margin-left:18px;

    color:#fff !important;

    font-weight:500;

    transition:.3s;

}

.nav-link::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-5px;

    width:0;

    height:2px;

    background:#fff;

    transition:.3s;

}

.nav-link:hover::after,

.nav-link.active::after{

    width:100%;

}

/*=========================================
    TOGGLER
==========================================*/

.navbar-toggler{

    border:1px solid rgba(255,255,255,.45);

    padding:.45rem .65rem;

}

.navbar-toggler:focus{

    box-shadow:none;

}

.navbar-toggler-icon{

    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255,255,255,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");

}

/*=========================================
    MOBILE
==========================================*/

@media (max-width:991.98px){

    body{

        padding-top:90px;

    }

    .navbar-collapse{

        margin-top:12px;

        padding:15px 20px;

        background:#b40000;

        border-radius:12px;

        box-shadow:0 10px 25px rgba(0,0,0,.18);

    }

    .nav-link{

        margin-left:0;

        padding:10px 0;

    }

}

/*=========================================
DROPDOWN MENU
==========================================*/

.dropdown{

    position:relative;

}

.dropdown-menu{

    border:0;

    border-radius:14px;

    padding:8px 0;

    min-width:280px;

    margin-top:0;

    background:#fff;

    box-shadow:0 12px 30px rgba(0,0,0,.18);

}

.dropdown-item{

    padding:10px 18px;

    font-size:.95rem;

    transition:.25s;

}

.dropdown-item:hover{

    background:#b40000;

    color:#fff;

}


/*=========================================
DROPDOWN DESKTOP
==========================================*/

@media (min-width:992px){

    .navbar .dropdown{

        position:relative;

        padding-bottom:18px;

    }

    .navbar .dropdown-menu{

        display:block;

        opacity:0;

        visibility:hidden;

        pointer-events:none;

        transform:translateY(12px);

        transition:all .25s ease;

        top:100%;

        left:0;

    }

    .navbar .dropdown:hover>.dropdown-menu{

        opacity:1;

        visibility:visible;

        pointer-events:auto;

        transform:translateY(0);

    }

}

/*=========================================
DROPDOWN MOBILE
==========================================*/

@media (max-width:991.98px){

    .dropdown-menu{

        border:none;

        box-shadow:none;

        background:rgba(255,255,255,.08);

        margin-top:8px;

        margin-left:10px;

        padding:5px 0;

    }

    .dropdown-item{

        color:#fff;

        padding:8px 15px;

    }

    .dropdown-item:hover{

        background:rgba(255,255,255,.15);

        color:#fff;

    }

}




/*=========================================
HERO
==========================================*/

#hero{

    min-height:90vh;

    position:relative;

    display:flex;
    align-items:center;

    background:
    linear-gradient(rgba(252, 252, 252, 0.72),
    rgba(215, 201, 201, 0.78)),
    url("../img/bg-hero.jpg");

    background-size:cover;
    background-position:center;

    overflow:hidden;

    padding-top:0px;
    padding-bottom:30px;

}

#hero::before{

    content:"";

    position:absolute;
    inset:0;

    background:
    radial-gradient(circle at top right,
    rgba(255,255,255,.18),
    transparent 40%);

}

.overlay{

    position:absolute;
    inset:0;

    background:rgba(0,0,0,.15);

}

/*=========================================
CONTAINER
==========================================*/

#hero .container{

    position:relative;
    z-index:2;

}

/*=========================================
FOTO
==========================================*/

.hero-photo{

    position:relative;

    z-index:2;

}

.hero-photo img{

    max-height:560px;

    transition:.35s;

    filter:drop-shadow(0 18px 35px rgba(0,0,0,.35));

}

.hero-photo img:hover{

    transform:translateY(-8px);

}

/*=========================================
TEXT
==========================================*/

.hero-title{

    font-family:'Bebas Neue',sans-serif;

    font-size:60px;

    line-height:.95;

    letter-spacing:3px;

    color:#ff0000;

    margin-bottom:25px;

    text-shadow:
        0 4px 20px rgba(0,0,0,.30);
        animation:slideLeft .8s ease;

}

.hero-subtitle{

    color:#ff0000;

    font-size:1.8rem;

    font-weight:600;

    margin-bottom:35px;
     animation:slideLeft 1.1s ease;

}

/*=========================================
TEMA NASIONAL
==========================================*/

.hero-theme{

    margin:35px 0 55px;

    text-align:center;
    position:relative;

}

.hero-theme::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:35px;

    transform:translateX(-50%);

    width:220px;

    height:35px;

    background:#FFD54F;

    filter:blur(35px);

    opacity:.20;

    animation:glowHero 4s ease-in-out infinite;

}

@keyframes glowHero{

    0%,100%{

        opacity:.15;

        transform:translateX(-50%) scale(1);

    }

    50%{

        opacity:.30;

        transform:translateX(-50%) scale(1.15);

    }

}

.hero-theme span{

    display:block;

    width:180px;

    height:2px;

    margin:20px auto;

    background:linear-gradient(
        90deg,
        transparent,
        #FFD54F,
        transparent
    );

}

.hero-theme h2{

    font-size:3rem;

    font-weight:800;

    line-height:1.2;

    text-transform:uppercase;

    letter-spacing:1px;

    color:transparent;

    background:linear-gradient(
        90deg,
        #F4C542 0%,
        #FFF7B2 25%,
        #FFD54F 50%,
        #FFF7B2 75%,
        #F4C542 100%
    );

    background-size:300% auto;

    -webkit-background-clip:text;
    background-clip:text;

    animation:goldShine 5s linear infinite;

}

@keyframes goldShine{

    0%{

        background-position:0% center;

    }

    100%{

        background-position:300% center;

    }

}

/*=========================================
BUTTON
==========================================*/

.hero-action{

    margin-top:65px;
    animation:slideLeft 1.4s ease;

}

.btn{

    border-radius:40px;

    transition:.3s;

}
@keyframes slideLeft{

    from{

        opacity:0;

        transform:translateX(35px);

    }

    to{

        opacity:1;

        transform:none;

    }

}

.btn-hero{

    padding:11px 26px;

    font-size:1rem;

    font-weight:600;

}

.btn-danger{

    background:var(--primary);

    border:none;

}

.btn-danger:hover{

    transform:translateY(-3px);

    box-shadow:0 15px 30px rgba(213,0,0,.35);

}

.btn-outline-light:hover{

    color:var(--primary);

}

/*=========================================
RESPONSIVE
==========================================*/

@media(max-width:991px){

#hero{

    padding-top:120px;

    padding-bottom:70px;

}

.hero-title{

    font-size:50px;

    text-align:center;

}

.hero-subtitle{

    font-size:1.35rem;

    text-align:center;

}

.hero-theme{

    margin:25px 0 40px;

}

.hero-theme h2{

    font-size:2rem;

}

.hero-photo{

    margin-bottom:30px;

}

.hero-photo img{

    max-height:300px;
    transition:.4s;

}

.hero-photo img:hover{

    transform:translateY(-8px) scale(1.03);

}

.hero-action{

    margin-top:35px;

    text-align:center;

}

.btn-hero{

    width:100%;

    margin-bottom:12px;

}

}


/*=========================================
SECTION TITLE
==========================================*/

.section-title{

    display:inline-block;

    color:var(--primary);

    font-weight:700;

    text-transform:uppercase;

    letter-spacing:2px;

    margin-bottom:10px;

}

section h2{

    font-weight:700;
    margin-bottom:20px;

}

/*=========================================
PENGANTAR
==========================================*/

#sambutan{

    background:#fff;

}

#sambutan img{

    border:10px solid #fff;
    box-shadow:var(--shadow);

}

#sambutan p{

    line-height:1.9;
    color:var(--text);

}


/*=========================================
TIMELINE
==========================================*/

.timeline{
    position: relative;
    max-width: 900px;
    margin: auto;
}

.timeline::before{
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: var(--primary);
    transform: translateX(-50%);
}

.timeline-item{
    position: relative;
    width: 50%;
    padding: 4px 28px;
    margin-bottom: 10px;
}

.timeline-item:nth-child(odd){
    left: 0;
    text-align: right;
}

.timeline-item:nth-child(even){
    left: 50%;
}

.timeline-date{
    display: inline-block;
    background: var(--primary);
    color: #fff;
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 6px;
    font-size: .85rem;
    font-weight: 600;
    line-height: 1.3;
}

.timeline-content{
    background: #fff;
    padding: 15px 18px;
    border-radius: 12px;
    box-shadow: 0 6px 15px rgba(0,0,0,.08);
}

.timeline-content h5{
    font-size: 1rem;
    margin-bottom: .4rem !important;
    line-height: 1.3;
}

.timeline-content p{
    margin-bottom: .25rem !important;
    font-size: .92rem;
}

.timeline-content small{
    display:block;
    font-size:.86rem;
    line-height:1.45;
}

.timeline-item::after{
    content:"";
    position:absolute;
    width:18px;
    height:18px;
    background:var(--gold);
    border:4px solid var(--primary);
    border-radius:50%;
    top:22px;
    z-index:2;
}

.timeline-item:nth-child(odd)::after{
    right:-11px;
}

.timeline-item:nth-child(even)::after{
    left:-11px;
}

/*=========================================
RESPONSIVE TIMELINE
==========================================*/

@media (max-width:768px){

    .timeline{
        padding-left:8px;
    }

    .timeline::before{
        left:18px;
        transform:none;
    }

    .timeline-item{
        width:100%;
        left:0 !important;
        text-align:left !important;
        padding:0 0 14px 42px;
        margin-bottom:8px;
    }

    .timeline-item::after{
        left:10px !important;
        right:auto;
        top:18px;
    }

    .timeline-date{
        display:inline-block;
        margin-bottom:6px;
        font-size:.82rem;
    }

    .timeline-content{
        padding:14px 15px;
    }

    .timeline-content h5{
        font-size:.98rem;
    }

    .timeline-content p,
    .timeline-content small{
        font-size:.86rem;
    }

}


/*=========================================
CARD PERLOMBAAN
==========================================*/

.competition-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    height:100%;

    box-shadow:
    0 10px 25px rgba(0,0,0,.08);

    transition:.35s;

}


.competition-card:hover{

    transform:translateY(-10px);

    box-shadow:
    0 20px 40px rgba(0,0,0,.15);

}


/* GAMBAR ATAS */

.competition-image{

    width:100%;

    height:260px;

    object-fit:cover;

    transition:.4s;

}


.competition-card:hover .competition-image{

    transform:scale(1.05);

}


/* BAGIAN BAWAH */

.competition-content{

    padding:30px;

    text-align:center;

}


.competition-content h3{

    font-weight:700;

    color:#a40000;

    margin-bottom:12px;

}


.competition-content p{

    color:#666;

    min-height:45px;

    margin-bottom:25px;

}


.competition-content .btn{

    border-radius:30px;

    padding:10px 30px;

}

#perlombaan .col-lg-6:last-child{

    margin-left:auto;

    margin-right:auto;

}

/*=========================================
TABLE
==========================================*/

.table{

    background:#fff;
    box-shadow:var(--shadow);

}

.table th{

    text-align:center;

}

.table td{

    vertical-align:middle;

}

/*=========================================
GALERI
==========================================*/

.pagination .page-link{

    color:#d50000;

    border-radius:10px;

    margin:0 4px;

    border:none;

    box-shadow:0 2px 8px rgba(0,0,0,.08);

}

.pagination .page-item.active .page-link{

    background:#d50000;

    color:#fff;

}

.pagination .page-link:hover{

    background:#f3f3f3;

}

.gallery-img{

    border-radius:15px;

    cursor:pointer;

    transition:.35s;

    height:220px;

    width:100%;

    object-fit:cover;

}

.gallery-img:hover{

    transform:scale(1.05);

    box-shadow:0 15px 35px rgba(0,0,0,.25);

}

#galleryModal .modal-content{

    background:#111;

}

#galleryModal img{

    max-height:85vh;

    object-fit:contain;

}

#galleryModal .modal-header{

    padding:.8rem 1rem;

}

#galleryModal .btn-close{

    opacity:1;

    z-index:1056;

    background-size:18px;

    transition:.25s;

}

#galleryModal .btn-close:hover{

    transform:scale(1.15);

}



/*=========================================
KONTAK
==========================================*/

#kontak iframe{

    border-radius:20px;

    box-shadow:var(--shadow);

}

/*=========================================
FOOTER
==========================================*/

footer{

    background:#a40000;
    color:#fff;
    padding:50px 0 20px;

}

.footer-bottom{

    text-align:center;
    line-height:1.3;

}

.footer-logo{

    width:180px;

    display:block;

    margin-left:auto;

    margin-right:auto;

    margin-bottom:10px;

}

.footer-bottom h5{

    margin:0 0 6px;
    font-weight:700;
    letter-spacing:.5px;
    font-size:22px;

}

.footer-bottom p{

    margin:2px 0;
    line-height:1.3;
    font-size:16px;

}

.footer-bottom small{

    display:block;
    margin-top:12px;
    font-size:14px;
    color:rgba(255,255,255,.8);

}


/*=========================================
COPYRIGHT
==========================================*/

.footer-copyright{

    margin-top:25px;

    padding:5px 0;

    background:rgba(0,0,0,.15);

    border-top:1px solid rgba(255,255,255,.12);

    font-size:10px;

    color:rgba(255,255,255,.85);

}

.footer-copyright i{

    margin:0 4px;

}

.footer-copyright .fa-heart{

    color:#ff4d4d;

}

.footer-copyright a{

    color:#857c7c;

    text-decoration:none;

    font-weight:600;

    transition:.3s;

}

.footer-copyright a:hover{

    color:#FFD54F;

}

/*=========================================
BACKGROUND SECTION
==========================================*/

.bg-light{

    background:#fafafa !important;

}

/*=========================================
SCROLLBAR
==========================================*/

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}

::-webkit-scrollbar-track{

    background:#eee;

}

/*=========================================
FLOATING BUTTON
==========================================*/

.floating{

    position:fixed;

    right:25px;

    bottom:25px;

    width:60px;

    height:60px;

    border-radius:50%;

    background:#d32525;

    color:#fff;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:28px;

    box-shadow:0 10px 30px rgba(0,0,0,.25);

    z-index:999;

    transition:.3s;

}

.floating:hover{

    transform:scale(1.1);

}

/*=========================================
ANIMATION
==========================================*/

.fade-up{

    animation:fadeUp .8s ease;

}

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

/*=========================================
RESPONSIVE
==========================================*/

@media(max-width:991px){

.hero-title{

font-size:60px;

}

.timeline:before{

left:25px;

}

l
.timeline-item{

width:100%;

left:0 !important;

padding-left:70px;

padding-right:10px;

text-align:left !important;

}

.timeline-item::after{

left:15px !important;

}

}

@media(max-width:768px){

.hero-title{

font-size:52px;

}

#hero h3{

font-size:24px;

}

.counter-box{

padding:15px 8px;

}

.counter-box h2{

font-size:28px;

}

.navbar-brand{

font-size:20px;

}

.gallery-img{

height:150px;

}

section{

padding:70px 0;

}

}

@media(max-width:576px){

.hero-title{

font-size:42px;

}

.btn{

display:block;

margin-bottom:12px;

width:100%;

}

#hero .btn{

margin-right:0 !important;

}

.counter-box{

margin-top:10px;

}

}

/*====================================
HALAMAN DETAIL LOMBA
====================================*/


/*===============================
HERO LOMBA
================================*/

.competition-hero{

    position:relative;

    height:600px;

    overflow:hidden;

}



/*===============================
BANNER IMAGE
================================*/

.competition-banner{

    position:absolute;

    top:0;

    left:0;

    width:100%;

    height:100%;

    object-fit:cover;

    object-position:center;

}





/*===============================
OVERLAY
================================*/

.competition-overlay{

    position:absolute;

    inset:0;

    background:
    linear-gradient(
        rgba(0,0,0,.45),
        rgba(0,0,0,.65)
    );


    display:flex;

    align-items:center;

    justify-content:center;

    color:#fff;

    text-align:center;

}





.competition-overlay h1{

    font-size:55px;

    font-weight:800;

    letter-spacing:2px;

    margin-bottom:20px;

}





.competition-overlay p{

    max-width:800px;

    margin:auto;

    font-size:18px;

    line-height:1.7;

}





/*===============================
INFORMASI LOMBA
================================*/


.info-box{

    background:#fff;

    padding:30px;

    border-radius:20px;

    box-shadow:var(--shadow);

    height:100%;

}





.info-box h4{

    color:#a40000;

    font-weight:700;

    margin-bottom:15px;

}





/*===============================
HADIAH PEMENANG
================================*/


.competition-prize{

    background:#fff;

    padding:35px;

    border-radius:20px;

    box-shadow:var(--shadow);

    font-size:50px;

    height:100%;

}





.competition-prize h3{

    font-size:25px;

    color:#a40000;

    margin-top:15px;

}





.competition-prize p{

    font-size:16px;

    color:#666;

}





/*===============================
RESPONSIVE MOBILE
================================*/


@media(max-width:768px){


    .competition-hero{

        height:350px;

    }



    .competition-overlay h1{

        font-size:35px;

    }



    .competition-overlay p{

        font-size:14px;

        padding:0 20px;

    }



}

/*====================================
PENDAFTARAN
====================================*/


.registration-section{

    background:
    linear-gradient(
        135deg,
        #d4bcbc,
        #ea7c7c
    );

    color:#fff;

    padding:80px 0;

}


.registration-section .section-title{

    color:#ff0000;

}


.registration-section h2{

    color:#fff;

}


.registration-section p{

    max-width:700px;

    margin:auto;

    line-height:1.8;

    color:rgba(255,255,255,.9);

}


.registration-section .btn{

    padding:14px 35px;

    border-radius:50px;

    font-weight:600;

    font-size:18px;

}


/*====================================
LIRIK LAGU
====================================*/

.lyrics{
    margin:0;
    padding:0;
    white-space:pre-wrap;
    font-family:inherit;
    font-size:15px;
    line-height:1.8;
    color:#333;
    background:none;
    border:none;
}

.info-box h4{
    color:#b30000;
    font-weight:700;
    margin-bottom:5px;
}

.info-box small{
    display:block;
    margin-bottom:10px;
}