/* ==========================================================
   PARTAI SETARA INDONESIA
   Official Digital Gateway
   style.css
========================================================== */


/* ==========================================================
   CSS RESET
========================================================== */

*,
*::before,
*::after{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{

    scroll-behavior:smooth;

}

body{

    font-family:'Inter',sans-serif;
    font-size:16px;
    line-height:1.7;
    color:#333;
    background:#ffffff;
    overflow-x:hidden;

}

img{

    max-width:100%;
    display:block;

}

a{

    text-decoration:none;
    color:inherit;

}

ul{

    list-style:none;

}



/* ==========================================================
   COLOR SYSTEM
========================================================== */

:root{

    --primary:#4E2A84;
    --primary-dark:#361C61;

    --secondary:#C62828;

    --gold:#C9A227;

    --white:#ffffff;

    --light:#f7f8fc;

    --gray:#777777;

    --dark:#222222;

    --border:#ececec;

    --shadow:0 12px 40px rgba(0,0,0,.08);

    --radius:18px;

    --transition:.35s ease;

}



/* ==========================================================
   TYPOGRAPHY
========================================================== */

h1,
h2,
h3,
h4{

    font-family:'Poppins',sans-serif;
    color:var(--dark);

}

h1{

    font-size:60px;
    font-weight:800;
    line-height:1.1;

}

h2{

    font-size:42px;
    font-weight:700;

}

h3{

    font-size:24px;
    font-weight:600;

}

p{

    color:var(--gray);

}



/* ==========================================================
   CONTAINER
========================================================== */

.container{

    width:min(1180px,92%);
    margin:auto;

}



/* ==========================================================
   SECTION
========================================================== */

section{

    padding:110px 0;

}



/* ==========================================================
   SECTION TITLE
========================================================== */

.section-title{

    text-align:center;

    margin-bottom:70px;

}

.section-title span{

    display:inline-block;

    color:var(--secondary);

    letter-spacing:3px;

    font-weight:700;

    font-size:13px;

    margin-bottom:14px;

}

.section-title h2{

    margin-bottom:18px;

}

.section-title p{

    max-width:720px;

    margin:auto;

}



/* ==========================================================
   BUTTON SYSTEM
========================================================== */

.btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:10px;

    padding:16px 34px;

    border-radius:999px;

    font-weight:600;

    transition:var(--transition);

    cursor:pointer;

}

.btn-primary{

    background:var(--primary);

    color:#fff;

}

.btn-primary:hover{

    background:var(--primary-dark);

    transform:translateY(-3px);

    box-shadow:var(--shadow);

}

.btn-outline{

    border:2px solid var(--primary);

    color:var(--primary);

}

.btn-outline:hover{

    background:var(--primary);

    color:#fff;

}

.btn-light{

    background:#fff;

    color:var(--primary);

}

.btn-light:hover{

    transform:translateY(-3px);

}

.btn-outline-light{

    border:2px solid rgba(255,255,255,.8);

    color:#fff;

}

.btn-outline-light:hover{

    background:#fff;

    color:var(--primary);

}



/* ==========================================================
   HEADER
========================================================== */

.header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    z-index:999;

    transition:.35s;

    padding:12px 0;

}

.header.scrolled{

    background:rgba(255,255,255,.90);

    backdrop-filter:blur(16px);

    box-shadow:0 4px 25px rgba(0,0,0,.08);

}



/* ==========================================================
   NAVBAR
========================================================== */

.header .container{

    display:flex;

    justify-content:space-between;

    align-items:center;

}

.logo-text{

    font-family:'Poppins',sans-serif;

    font-size:24px;

    font-weight:800;

    color:var(--primary);

    letter-spacing:1px;

    transition:var(--transition);

}

.logo-text:hover{

    color:var(--secondary);

}

.navbar ul{

    display:flex;

    gap:40px;

}

.navbar a{

    font-weight:600;

    color:var(--dark);

    position:relative;

}

.navbar a::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:0;

    height:2px;

    background:var(--secondary);

    transition:.3s;

}

.navbar a:hover::after{

    width:100%;

}



/* ==========================================================
   MOBILE BUTTON
========================================================== */

.menu-toggle{

    display:none;

    background:none;

    border:none;

    font-size:26px;

    cursor:pointer;

}



/* ==========================================================
   OFFICIAL LABEL
========================================================== */

.official-label{

    display:inline-block;

    padding:10px 18px;

    border-radius:999px;

    background:rgba(198,40,40,.10);

    color:var(--secondary);

    font-size:13px;

    font-weight:700;

    letter-spacing:2px;

    margin-bottom:22px;

}



/* ==========================================================
   UTILITY
========================================================== */

.text-center{

    text-align:center;

}

.mt-40{

    margin-top:40px;

}

.mb-40{

    margin-bottom:40px;

}

/* ==========================================================
   HERO SECTION
========================================================== */

.hero{

    position:relative;

    min-height:100vh;

    display:flex;

    align-items:center;

    overflow:hidden;

    background:linear-gradient(
        135deg,
        #ffffff 0%,
        #faf8ff 45%,
        #f5f1ff 100%
    );

}



/* Background Decoration */

.hero-decoration{

    position:absolute;

    inset:0;

    background-image:url("../images/gunungan.png");

    background-repeat:no-repeat;

    background-position:center;

    background-size:700px;

    opacity:.04;

    pointer-events:none;

}



/* Layout */

.hero-container{

    display:grid;

    grid-template-columns:1.1fr .9fr;

    gap:80px;

    align-items:center;

}



.hero-content{

    position:relative;

    z-index:2;

}

.hero-logo-wrapper{

    margin-bottom: 20px;

}

.hero-logo{

    height:80px;

    width:auto;

    object-fit:contain;

}

.hero-content h1{

    margin-bottom:14px;

    color:var(--primary);

    letter-spacing:-1px;

}

.hero-content h2,
.hero-content h4{

    font-size:32px;

    line-height:1.35;

    margin-bottom:20px;

    font-weight:500;

}

.hero-content h2 span,
.hero-content h4 span{

    color:var(--secondary);

    font-weight:700;

}

.hero-description{

    max-width:640px;

    font-size:17px;

    margin-bottom:24px;

}


.hero-description2 {
    max-width: 640px;
    font-size: 17px;
    text-align: justify;
    margin-bottom: 24px;
}

ol.hero-description2 {
    margin-left: 20px;

}




/* ==========================================================
   HERO BUTTONS
========================================================== */

.hero-buttons{

    display:flex;

    gap:18px;

    flex-wrap:wrap;

}



/* ==========================================================
   HERO IMAGE
========================================================== */

.hero-image{

    position:relative;

    z-index:2;

}

.hero-image img{

    width:100%;

    border-radius:28px;

    box-shadow:0 25px 70px rgba(0,0,0,.18);

    transition:transform .45s ease;

}

.hero-image:hover img{

    transform:translateY(-8px);

}



/* Decorative Border */

.hero-image::before{

    content:"";

    position:absolute;

    top:-20px;

    right:-20px;

    width:100%;

    height:100%;

    border:3px solid rgba(78,42,132,.12);

    border-radius:28px;

    z-index:-1;

}



/* ==========================================================
   SCROLL INDICATOR
========================================================== */

.scroll-indicator{

    margin-top:35px;

    display:flex;

    flex-direction:column;

    align-items:flex-start;

    gap:10px;

    color:var(--gray);

    font-size:14px;

}

.scroll-indicator i{

    font-size:28px;

    color:var(--secondary);

    animation:bounce 2s infinite;

}



/* ==========================================================
   HERO ANIMATION
========================================================== */

.hero-content>*{

    opacity:0;

    transform:translateY(25px);

    animation:fadeUp .8s forwards;

}

.hero-content>*:nth-child(1){

    animation-delay:.1s;

}

.hero-content>*:nth-child(2){

    animation-delay:.25s;

}

.hero-content>*:nth-child(3){

    animation-delay:.4s;

}

.hero-content>*:nth-child(4){

    animation-delay:.55s;

}

.hero-content>*:nth-child(5){

    animation-delay:.7s;

}

.hero-content>*:nth-child(6){

    animation-delay:.9s;

}



/* Image Animation */

.hero-image{

    opacity:0;

    transform:translateX(50px);

    animation:slideLeft 1s forwards;

    animation-delay:.8s;

}



/* ==========================================================
   KEYFRAMES
========================================================== */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(25px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}



@keyframes slideLeft{

    from{

        opacity:0;

        transform:translateX(50px);

    }

    to{

        opacity:1;

        transform:translateX(0);

    }

}



@keyframes bounce{

    0%,20%,50%,80%,100%{

        transform:translateY(0);

    }

    40%{

        transform:translateY(8px);

    }

    60%{

        transform:translateY(4px);

    }

}

/* ==========================================================
   ANNOUNCEMENT
========================================================== */

.announcement{

    padding:70px 0;
    background:#ffffff;

}

.announcement-box{

    display:flex;
    align-items:center;
    gap:30px;

    padding:40px;

    border-radius:24px;

    background:#ffffff;

    border:1px solid var(--border);

    box-shadow:var(--shadow);

}

.announcement-icon{

    width:80px;
    height:80px;

    border-radius:50%;

    display:flex;
    align-items:center;
    justify-content:center;

    background:rgba(78,42,132,.08);

    color:var(--primary);

    font-size:34px;

    flex-shrink:0;

}

.announcement-content h3{

    margin-bottom:12px;

}

.announcement-content p{

    max-width:900px;

}




/* ==========================================================
   ABOUT
========================================================== */

.about{

    background:var(--light);

}

.about-grid{

    display:grid;

    grid-template-columns:1fr 1fr;

    gap:70px;

    align-items:center;

}

.about-image{

    position:relative;

}

.about-image img{

    width:100%;

    border-radius:26px;

    box-shadow:0 25px 60px rgba(0,0,0,.12);

}

.about-image::after{

    content:"";

    position:absolute;

    width:100%;
    height:100%;

    left:18px;
    top:18px;

    border:3px solid rgba(78,42,132,.12);

    border-radius:26px;

    z-index:-1;

}

.about-content h3{

    color:var(--primary);

    margin-bottom:24px;

}

.about-content p{

    margin-bottom:22px;

    text-align:justify;

}




/* ==========================================================
   CORE VALUES
========================================================== */

.values{

    background:#ffffff;

}

.values-grid{

    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;

}

.value-card{

    background:#ffffff;

    border-radius:24px;

    padding:45px 30px;

    text-align:center;

    border:1px solid var(--border);

    transition:var(--transition);

}

.value-card:hover{

    transform:translateY(-12px);

    box-shadow:0 20px 50px rgba(0,0,0,.10);

}

.value-icon{

    width:90px;
    height:90px;

    margin:auto auto 30px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:50%;

    background:rgba(198,40,40,.08);

    color:var(--secondary);

    font-size:34px;

}

.value-card h3{

    margin-bottom:18px;

}

.value-card p{

    font-size:15px;

}




/* ==========================================================
   SCROLL ANIMATION
========================================================== */

.reveal{

    opacity:0;

    transform:translateY(60px);

    transition:1s;

}

.reveal.active{

    opacity:1;

    transform:translateY(0);

}

/* ==========================================================
   MEDIA CENTER
========================================================== */

.media-center{

    background:var(--light);

}

.media-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

}

.media-card{

    background:#fff;

    border:1px solid var(--border);

    border-radius:24px;

    padding:45px 35px;

    text-align:center;

    transition:var(--transition);

    box-shadow:0 8px 25px rgba(0,0,0,.04);

}

.media-card:hover{

    transform:translateY(-12px);

    box-shadow:0 25px 60px rgba(0,0,0,.10);

}

.media-icon{

    width:90px;

    height:90px;

    margin:0 auto 30px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:rgba(78,42,132,.08);

    color:var(--primary);

    font-size:36px;

}

.media-card h3{

    margin-bottom:18px;

    color:var(--primary);

}

.media-card p{

    margin-bottom:35px;

    min-height:90px;

}



/* ==========================================================
   CTA
========================================================== */

.cta{

    position:relative;

    overflow:hidden;

    background:linear-gradient(
        135deg,
        var(--primary),
        #6E43B5
    );

    color:#fff;

}

.cta::before{

    content:"";

    position:absolute;

    inset:0;

    background:url("../images/gunungan.png");

    background-repeat:no-repeat;

    background-position:center;

    background-size:650px;

    opacity:.05;

    pointer-events:none;

}

.cta-box{

    position:relative;

    z-index:2;

    text-align:center;

}

.cta-box h2{

    color:#fff;

    margin-bottom:25px;

}

.cta-box p{

    color:rgba(255,255,255,.85);

    max-width:760px;

    margin:0 auto 45px;

}

.cta-buttons{

    display:flex;

    justify-content:center;

    gap:20px;

    flex-wrap:wrap;

}



/* ==========================================================
   FOOTER
========================================================== */

.footer{

    background:#ffe;

    color:#41403f;

    padding:80px 0 30px;

}

.footer-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    gap:40px;

    margin-bottom:45px;

}

.footer-brand{

    display:flex;

    flex-direction:column;

    gap:10px;

}

.footer-brand img{

    width:85px;

}

.footer-brand h3{

    color:#41403f;

    margin-top:8px;

}

.footer-brand p{

    color:#41403f;

}

.footer-social{

    display:flex;

    gap:18px;

}

.footer-social a{

    width:48px;

    height:48px;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;
	color:#dfd8ce;

    background:#9138cf;

    transition:var(--transition);

    font-size:18px;

}

.footer-social a:hover{

    background:var(--secondary);

    transform:translateY(-4px);

}

.footer hr{

    border:none;

    height:1px;

    background:#e5c6f4;

    margin:35px 0;

}

.footer-bottom{

    text-align:center;

}

.footer-bottom p{

    color:#41403f;

    font-size:15px;

}



/* ==========================================================
   SIMPLE FADE TRANSITION
========================================================== */

.fade-up{

    opacity:0;

    transform:translateY(30px);

    transition:.8s ease;

}

.fade-up.show{

    opacity:1;

    transform:translateY(0);

}



/* ==========================================================
   CUSTOM SCROLLBAR
========================================================== */

::-webkit-scrollbar{

    width:10px;

}

::-webkit-scrollbar-track{

    background:#f2f2f2;

}

::-webkit-scrollbar-thumb{

    background:var(--primary);

    border-radius:20px;

}

::-webkit-scrollbar-thumb:hover{

    background:var(--secondary);

}



/* ==========================================================
   TEXT SELECTION
========================================================== */

::selection{

    background:var(--primary);

    color:#fff;

}



/* ==========================================================
   END OF FILE
========================================================== */
/* Active Menu */

.navbar a.current{

    color:var(--secondary);

}

.navbar a.current::after{

    width:100%;

}