/* ==========================================
   HAYYA ARCHERY
   Official Website
========================================== */

/* Google Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Poppins:wght@400;600;700;800&display=swap');

/* ==========================================
   ROOT
========================================== */

:root{

    --primary:#123C73;
    --secondary:#F4B400;
    --accent:#D62828;

    --white:#ffffff;
    --light:#f8f9fa;
    --dark:#1d1d1d;
    --gray:#6c757d;

    --shadow:0 10px 30px rgba(0,0,0,.08);

    --radius:15px;

}

/* ==========================================
   GLOBAL
========================================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Inter',sans-serif;

    color:var(--dark);

    background:#fff;

}
/* ==========================================
   BERITA
========================================== */

#berita{

    background:#f8fafc;

}

.news-card{

    background:#fff;

    border-radius:20px;

    overflow:hidden;

    box-shadow:0 15px 35px rgba(0,0,0,.08);

    transition:.35s;

    height:100%;

}

.news-card:hover{

    transform:translateY(-8px);

}

.news-card img{

    width:100%;

    height:230px;

    object-fit:cover;

    transition:.4s;

}

.news-card:hover img{

    transform:scale(1.08);

}

.news-content{

    padding:25px;

}

.news-content small{

    color:#777;

}

.news-content h4{

    margin:15px 0;

    font-size:24px;

}

.news-content p{

    color:#666;

    line-height:28px;

}

.news-content a{

    color:var(--primary);

    font-weight:700;

}

.news-content a:hover{

    color:var(--secondary);

}

@media(max-width:768px){

    .news-card img{

        height:210px;

    }

}

h1,h2,h3,h4,h5{

    font-family:'Poppins',sans-serif;
    font-weight:700;

}

section{

    padding:90px 0;

}

a{

    text-decoration:none;

}

img{

    max-width:100%;

}

.container{
    max-width:1200px;
    width:100%;
}
/* ==========================================
   HERO
========================================== */

#hero{
    position: relative;
    min-height: 100vh;
    background: url('../images/banner/hero-desktop.jpg') center center;
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
}
#hero::before{
    content:'';
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(8,20,40,.88) 0%,
        rgba(8,20,40,.75) 40%,
        rgba(8,20,40,.35) 100%
    );
}

.hero-content{
    position: relative;
    z-index: 2;
    color: #fff;
    max-width: 720px;
    padding-top: 80px;
}
.hero-button .btn{
    padding:14px 35px;
    border-radius:50px;
    font-weight:600;
}
.hero-subtitle{
    color: var(--secondary);
    font-size:16px;
    letter-spacing:5px;
    font-weight:700;
    margin-bottom:20px;
}

.hero-title{
    font-size:120px;
    line-height:100px;
    font-weight:800;
    margin:20px 0;
}
.hero-tagline{
    font-size:38px;
    line-height:38px;
    font-weight:600;
    margin-bottom:25px;
}
.hero-description{
    font-size:22px;
    line-height:25px;
    max-width:520px;
    margin-bottom:45px;
    color:rgba(255,255,255,.9);
}
.btn-hayya{
    background: var(--secondary);
    color:#000;
    padding:14px 36px;
    border-radius:50px;
    font-weight:700;
    transition:.3s;
}

.btn-hayya:hover{
    background:#ffca2c;
    transform:translateY(-2px);
}

.btn-outline-hayya{
    border:2px solid #fff;
    color:#fff;
    padding:14px 36px;
    border-radius:50px;
    font-weight:700;
}

.btn-outline-hayya:hover{
    background:#fff;
    color:#123C73;
}
.text-gold{
    color: var(--secondary);
}
/* ================= NAVBAR ================= */

#navbar{
    transition:.35s;
    padding:18px 0;
}

#navbar.scrolled{
    background:rgba(18,60,115,.92);
    backdrop-filter:blur(12px);
    box-shadow:0 5px 20px rgba(0,0,0,.2);
    padding:10px 0;
}

.navbar-brand img{
    height:55px;
}

.nav-link{
    color:#fff;
    font-weight:500;
    margin-left:15px;
}

.nav-link:hover{
    color:var(--secondary);
}

.navbar-toggler{
    border:none;
}

.navbar-toggler:focus{
    box-shadow:none;
}
/* ==========================================
   RESPONSIVE
========================================== */

@media (max-width:991px){

    #hero{
        background-position:center;
        background-size:cover;
    }

    .hero-content{
        max-width:100%;
        padding-top:80px;
    }

    .hero-title{
        font-size:82px;
        line-height:76px;
    }

    .hero-tagline{
        font-size:30px;
        line-height:36px;
    }

    .hero-description{
        font-size:18px;
        line-height:30px;
        max-width:100%;
    }

}


/* ==========================================
   MOBILE
========================================== */

@media (max-width:768px){

    #hero{

        background:url('../images/banner/hero-mobile.jpg') center top no-repeat;
        background-size:cover;
        min-height:100vh;

    }

    #hero::before{

        background:linear-gradient(
            to bottom,
            rgba(10,20,40,.75),
            rgba(10,20,40,.55),
            rgba(10,20,40,.75)
        );

    }

    .hero-content{

        padding-top:120px;
        max-width:100%;

    }

    .hero-subtitle{

        font-size:12px;
        letter-spacing:4px;
        margin-bottom:18px;

    }

    .hero-title{

        font-size:72px;
        line-height:66px;
        margin-bottom:18px;

    }

    .hero-tagline{

        font-size:20px;
        line-height:28px;
        margin-bottom:20px;

    }

    .hero-description{

        font-size:16px;
        line-height:28px;
        margin-bottom:35px;

    }

    .hero-button{

        display:flex;
        gap:12px;

    }

    .hero-button .btn{

        flex:1;
        width:auto;
        padding:14px 0;
        font-size:16px;

    }

}

@media (max-width:480px){

    .hero-title{

        font-size:62px;
        line-height:58px;

    }

    .hero-tagline{

        font-size:18px;
        line-height:24px;

    }

    .hero-description{

        font-size:15px;
        line-height:26px;

    }

}
/* ==========================================
   MOBILE NAVBAR
========================================== */

@media (max-width:991px){

    .navbar-collapse{

        margin-top:15px;
        padding:20px;
        border-radius:15px;

        background:rgba(18,60,115,.97);
        backdrop-filter:blur(15px);

    }

    .navbar-nav{

        align-items:flex-start !important;

    }

    .nav-link{

        margin:8px 0;
        margin-left:0;
        font-size:18px;

    }

    .navbar .btn{

        width:100%;
        margin-top:15px;

    }

}
/* ==========================================
   MOBILE MENU PREMIUM
========================================== */

.navbar-toggler{

    color:#fff;
    font-size:34px;
    border:none;

}

.navbar-toggler i{

    transition:.35s;

}

.navbar.menu-open{

    background:rgba(18,60,115,.97);
    backdrop-filter:blur(15px);
    box-shadow:0 8px 25px rgba(0,0,0,.25);

}

@media(max-width:991px){

    .navbar-collapse{

        margin-top:20px;

        background:transparent;

        padding:0;

    }

    .navbar-nav{

        background:rgba(18,60,115,.96);

        border-radius:18px;

        padding:18px;

        box-shadow:0 10px 30px rgba(0,0,0,.25);

    }

    .nav-link{

        margin:0;
        padding:14px 10px;

        font-size:18px;

        border-bottom:1px solid rgba(255,255,255,.08);

    }

    .nav-item:last-child .nav-link{

        border:none;

    }

    .navbar .btn{

        margin-top:18px;

        width:100%;

        border-radius:50px;

    }

}
/* ==========================================
   WHY HAYYA
========================================== */

#why{

    background:#f8fafc;

}

.why-card{

    background:#fff;

    border-radius:20px;

    padding:40px 30px;

    text-align:center;

    box-shadow:0 15px 40px rgba(0,0,0,.06);

    transition:.35s;

    height:100%;

}

.why-card:hover{

    transform:translateY(-10px);

    box-shadow:0 20px 45px rgba(0,0,0,.12);

}

.why-icon{

    width:80px;

    height:80px;

    margin:auto;

    margin-bottom:25px;

    border-radius:50%;

    background:var(--secondary);

    display:flex;

    justify-content:center;

    align-items:center;

}

.why-icon i{

    font-size:34px;

    color:var(--primary);

}

.why-card h4{

    font-size:24px;

    margin-bottom:15px;

}

.why-card p{

    color:#666;

    line-height:30px;

}

.section-subtitle{

    color:var(--secondary);

    font-weight:700;

    letter-spacing:4px;

}

.section-title{

    font-size:42px;

    margin-top:10px;

}

@media(max-width:768px){

    .section-title{

        font-size:34px;

    }

    .why-card{

        padding:35px 25px;

    }

}
/* ==========================================
   PROGRAM
========================================== */

#program{

    background:#fff;

}

.program-card{

    overflow:hidden;

    border-radius:22px;

    background:#fff;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    transition:.35s;

    height:100%;

}

.program-card:hover{

    transform:translateY(-10px);

}

.program-card img{

    width:100%;

    height:260px;

    object-fit:cover;

    transition:.5s;

}

.program-card:hover img{

    transform:scale(1.08);

}

.program-content{

    padding:30px;

}

.program-content span{

    color:var(--secondary);

    font-weight:700;

}

.program-content h3{

    margin:10px 0 15px;

}

.program-content p{

    color:#666;

    line-height:28px;

    margin-bottom:25px;

}

@media(max-width:768px){

    .program-card img{

        height:220px;

    }

}
/* ==========================================
   JADWAL
========================================== */

#jadwal{

    background:#fff;

}

.schedule-box{

    background:#fff;

    border-radius:20px;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    overflow:hidden;

}

.schedule-item{

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:25px 30px;

    border-bottom:1px solid #eee;

}

.schedule-item:last-child{

    border-bottom:none;

}

.schedule-item h5{

    margin:0;

}

.schedule-item span{

    color:#666;

}

@media(max-width:768px){

    .schedule-item{

        flex-direction:column;

        align-items:flex-start;

        gap:15px;

    }

}
/* ==========================================
   GALERI
========================================== */

#galeri{
    background:#f8fafc;
}

.gallery-item{
    display:block;
    overflow:hidden;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    margin-bottom:20px;
}

.gallery-item img{
    width:100%;
    height:auto;
    display:block;
    transition:.4s;
}

.gallery-item:hover img{
    transform:scale(1.05);
}

@media(max-width:768px){

    #galeri .col-6{
        width:100%;
    }

}
/* ==========================================
   STATISTIK
========================================== */

#stats{

    background:var(--primary);

    padding:80px 0;

}

.stat-box{

    color:#fff;

}

.stat-box i{

    font-size:45px;

    color:var(--secondary);

    margin-bottom:20px;

}

.stat-box h2{

    font-size:48px;

    font-weight:800;

    margin-bottom:10px;

}

.stat-box p{

    margin:0;

    color:rgba(255,255,255,.85);

}

@media(max-width:768px){

    .stat-box{

        margin-bottom:25px;

    }

    .stat-box h2{

        font-size:34px;

    }

}
/* ==========================================
   PRESTASI
========================================== */

#prestasi{

    background:#f8fafc;

}

.prestasi-card{

    background:#fff;

    border-radius:22px;

    padding:40px 30px;

    text-align:center;

    box-shadow:0 15px 40px rgba(0,0,0,.08);

    transition:.35s;

    height:100%;

}

.prestasi-card:hover{

    transform:translateY(-8px);

}

.medal{

    font-size:60px;

    margin-bottom:20px;

}

.prestasi-card h4{

    margin-bottom:10px;

}

.prestasi-card h6{

    color:var(--primary);

    font-weight:700;

    margin-bottom:10px;

}

.prestasi-card p{

    color:#666;

    margin:0;

}

.gold{

    border-top:6px solid #F4B400;

}

.silver{

    border-top:6px solid #C0C0C0;

}

.bronze{

    border-top:6px solid #CD7F32;

}
/* ==========================================
   CTA
========================================== */

#cta{

    padding:100px 0;

    background:#f8fafc;

}

.cta-box{

    background:linear-gradient(135deg,#123C73,#1d4f91);

    color:#fff;

    text-align:center;

    padding:70px 40px;

    border-radius:25px;

    box-shadow:0 20px 50px rgba(0,0,0,.15);

}

.cta-box h2{

    font-size:42px;

    margin-bottom:20px;

}

.cta-box p{

    max-width:700px;

    margin:auto;

    font-size:20px;

    line-height:34px;

    opacity:.9;

}

@media(max-width:768px){

    .cta-box{

        padding:45px 25px;

    }

    .cta-box h2{

        font-size:28px;

    }

    .cta-box p{

        font-size:16px;

        line-height:28px;

    }

}
/* ==========================================
   FOOTER
========================================== */

#footer{

    background:#123C73;

    color:#fff;

    padding:80px 0 30px;

}

#footer h5{

    margin-bottom:20px;

}

.footer-menu{

    list-style:none;

    padding:0;

}

.footer-menu li{

    margin-bottom:12px;

}

.footer-menu a{

    color:#ddd;

    transition:.3s;

}

.footer-menu a:hover{

    color:var(--secondary);

}

.social{

    display:flex;

    gap:15px;

}

.social a{

    width:45px;

    height:45px;

    border-radius:50%;

    background:rgba(255,255,255,.12);

    display:flex;

    justify-content:center;

    align-items:center;

    color:#fff;

    font-size:20px;

    transition:.3s;

}

.social a:hover{

    background:var(--secondary);

    color:#000;

}

#footer hr{

    border-color:rgba(255,255,255,.15);

    margin:40px 0 25px;

}
/* ==========================================
   FLOATING WHATSAPP
========================================== */

.floating-wa{

    position:fixed;

    right:25px;

    bottom:25px;

    width:65px;

    height:65px;

    border-radius:50%;

    background:#25D366;

    color:#fff;

    display:flex;

    justify-content:center;

    align-items:center;

    font-size:34px;

    box-shadow:0 10px 30px rgba(0,0,0,.25);

    z-index:999;

    transition:.3s;

}

.floating-wa:hover{

    transform:scale(1.1);

    color:#fff;

}
/* ==========================================
   BACK TO TOP
========================================== */

#backToTop{

    position:fixed;

    right:25px;

    bottom:100px;

    width:55px;

    height:55px;

    border:none;

    border-radius:50%;

    background:var(--primary);

    color:#fff;

    display:none;

    cursor:pointer;

    z-index:998;

}/* ==========================================
   LOADER
========================================== */

#loader{

    position:fixed;
    inset:0;

    display:flex;
    justify-content:center;
    align-items:center;

    background:#123C73;

    z-index:99999;
    transition:.6s;

}

.loader-content{

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    text-align:center;
    color:#fff;

    width:100%;
    padding:20px;

}

.loader-content img{

    width:170px;
    max-width:35vw;
    height:auto;

}

.loader-dots{

    display:flex;
    gap:8px;
    margin-top:25px;

}

.loader-dots span{

    width:10px;
    height:10px;

    border-radius:50%;

    background:#F4B400;

    animation:dots 1.2s infinite;

}

.loader-dots span:nth-child(2){
    animation-delay:.2s;
}

.loader-dots span:nth-child(3){
    animation-delay:.4s;
}

@keyframes dots{

    0%,80%,100%{
        opacity:.3;
        transform:scale(.8);
    }

    40%{
        opacity:1;
        transform:scale(1.2);
    }

}
.loader-hide{

    opacity:0;

    visibility:hidden;

}/* ==========================================
   LOADER MOBILE
========================================== */

@media (max-width:768px){

    #loader{

        display:flex;
        justify-content:center;
        align-items:center;

    }

    .loader-content{

        position:relative;
        top:0;
        left:0;
        transform:none;

        display:flex;
        flex-direction:column;
        justify-content:center;
        align-items:center;

        width:100%;
        height:100%;

        padding:0 20px;

    }

    .loader-content img{

        width:120px;
        height:auto;

    }

}
html,
body{
    overflow-x:hidden;
}
@media (max-width:768px){

    .hero-button{

        flex-direction:column;

    }

}
/* PAGE HEADER */

.page-header{

    padding:140px 0 70px;
    background:linear-gradient(
        rgba(18,60,115,.9),
        rgba(18,60,115,.9)
    ),
    url('../images/banner/hero-desktop.jpg');

    background-size:cover;
    background-position:center;

    text-align:center;
    color:white;

}


.page-header h1{

    font-size:45px;
    font-weight:700;

}


.page-header p{

    max-width:700px;
    margin:auto;
    opacity:.9;

}


/* ATLET PAGE */

#atlet-list{

    padding:80px 0;

}


.athlete-card img{

    height:320px;
    object-fit:cover;

}
#detail-atlet{

    padding:80px 0;

}


.detail-photo img{

    width:100%;
    height:500px;
    object-fit:cover;
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,.15);

}


#detail-atlet h1{

    font-size:42px;
    font-weight:700;

}


.athlete-info{

    margin-top:30px;

}


.athlete-info p{

    font-size:17px;
    margin-bottom:18px;

}


.athlete-info i{

    width:25px;
    color:var(--secondary);

}
#berita-list{

    padding:80px 0;

}
#berita-detail{

    padding:80px 0;

}

.berita-content{

    line-height:2;
    font-size:17px;

}

.berita-content img{

    max-width:100%;
    height:auto;
    border-radius:15px;
    margin:20px 0;

}

.berita-content h1,
.berita-content h2,
.berita-content h3,
.berita-content h4{

    margin-top:30px;
    color:var(--primary);

}

.berita-content p{

    margin-bottom:18px;

}
.why-card ul{
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}

.why-card ul li{
    margin-bottom: 10px;
}
/* ================= GALERI PAGE ================= */

.gallery-card{

    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.3s;

}

.gallery-card:hover{

    transform:translateY(-8px);

}

.gallery-card img{

    width:100%;
    height:270px;
    object-fit:cover;
    display:block;

}

.gallery-content{

    padding:20px;

}

.gallery-content h5{

    font-weight:700;
    margin-bottom:8px;

}
.footer{

background:var(--primary);
color:#fff;
padding:70px 0 25px;

}

.footer h5{

margin-bottom:20px;
font-weight:700;

}

.footer p{

color:#d8d8d8;

}

.footer ul{

list-style:none;
padding:0;
margin:0;

}

.footer ul li{

margin-bottom:12px;

}

.footer ul li a{

color:#d8d8d8;
text-decoration:none;
transition:.3s;

}

.footer ul li a:hover{

color:var(--secondary);

}

.social-links a{

display:inline-flex;
justify-content:center;
align-items:center;

width:42px;
height:42px;

border-radius:50%;

background:rgba(255,255,255,.08);

color:#fff;

margin-right:10px;

text-decoration:none;

transition:.3s;

}

.social-links a:hover{

background:var(--secondary);
color:#000;

}

.footer-divider{

margin:40px 0 20px;
border-color:rgba(255,255,255,.15);

}
/* ==========================================
   MOBILE FINAL
========================================== */

@media (max-width:768px){

section{
    padding:60px 0;
}

.section-title{
    font-size:28px;
}

.section-subtitle{
    font-size:13px;
    letter-spacing:2px;
}

.container{
    padding-left:20px;
    padding-right:20px;
}

/* Card */

.news-content,
.program-content,
.gallery-content,
.prestasi-card,
.why-card{

    padding:20px;

}

/* Gambar */

.news-card img,
.program-card img,
.gallery-card img{

    height:190px;

}

.athlete-card img{

    height:260px;

}

/* Judul */

.news-content h4,
.program-content h3{

    font-size:22px;

}

/* Tombol */

.btn{

    padding:10px 22px;
    font-size:15px;

}

/* Footer */

.footer{

    text-align:center;

}

.footer .row>div{

    margin-bottom:35px;

}

.social-links{

    justify-content:center;
    display:flex;

}

/* Hero */

.hero-button{

    margin-top:25px;

}

}