/* ============================
   GLOBAL
============================ */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', sans-serif;
    scroll-behavior:smooth;
}

body{
    background:linear-gradient(135deg,#090011,#140022,#2b0a4d,#4b1780);
    color:white;
    overflow-x:hidden;
    min-height:100vh;
    position:relative;
}

/* BLUR BACKGROUND */

.blur-circle{
    position:fixed;
    border-radius:50%;
    filter:blur(120px);
    z-index:-1;
}

.one{
    width:350px;
    height:350px;
    background:#8b3dff;
    top:-80px;
    left:-100px;
}

.two{
    width:400px;
    height:400px;
    background:#cf73ff;
    bottom:-120px;
    right:-100px;
}


/* ============================
   HEADER
============================ */

header{
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:22px 8%;
    position:fixed;
    top:0;
    z-index:1000;

    background:rgba(255,255,255,.05);
    backdrop-filter:blur(18px);
    border-bottom:1px solid rgba(255,255,255,.08);
}

.logo{
    display:flex;
    align-items:center;
    gap:14px;
}

.logo-icon{
    width:45px;
    height:45px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    background:linear-gradient(45deg,#8f4fff,#cb8dff);
    box-shadow:0 0 20px #9d55ff;
    font-size:18px;
}

.logo span{
    font-size:24px;
    font-weight:700;
    letter-spacing:1px;
}

nav{
    display:flex;
    gap:35px;
}

nav a{
    text-decoration:none;
    color:white;
    font-weight:500;
    position:relative;
}

nav a::after{
    content:"";
    position:absolute;
    width:0%;
    height:2px;
    background:#b46dff;
    left:0;
    bottom:-5px;
    transition:.4s;
}

nav a:hover::after{
    width:100%;
}

.menu-toggle{
    display:none;
}


/* ============================
   HERO
============================ */

.hero{
    height:100vh;
    position:relative;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    overflow:hidden;
}

.slider{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    overflow:hidden;
}

.slide{
    position:absolute;
    inset:0;
    width:100%;
    height:100%;
    object-fit:cover;
    object-position:center;
    opacity:0;
    transition:opacity 1.4s ease;
}

.slide.active{
    opacity:1;
}

.overlay{
    position:absolute;
    width:100%;
    height:100%;
    background:linear-gradient(
        rgba(5,0,15,.65),
        rgba(25,0,40,.65)
    );
}

.hero-content{
    position:relative;
    z-index:10;
    width:70%;
}

.small-title{
    color:#d9b6ff;
    letter-spacing:3px;
    text-transform:uppercase;
}

.hero-content h1{
    font-size:80px;
    line-height:1.1;
    margin:25px 0;
    font-weight:800;
}

.hero-content p{
    width:65%;
    margin:auto;
    color:#ddd;
    margin-bottom:35px;
}


/* BUTTONS */

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
}

.primary-btn,
.secondary-btn{
    padding:16px 40px;
    border:none;
    border-radius:40px;
    cursor:pointer;
    font-size:15px;
    transition:.4s;
}

.primary-btn{
    background:linear-gradient(45deg,#9b59ff,#cc8fff);
    color:white;
    box-shadow:0 0 25px #9f60ff;
}

.primary-btn:hover{
    transform:translateY(-6px);
    box-shadow:0 0 40px #bf7eff;
}

.secondary-btn{
    background:transparent;
    border:1px solid #ffffff30;
    color:white;
}

.secondary-btn:hover{
    background:rgba(255,255,255,.08);
}


/* ============================
   ABOUT
============================ */

.about{
    padding:120px 8%;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:70px;
    align-items:center;
}

.about-image img{
    width:100%;
    border-radius:30px;
    box-shadow:0 0 35px rgba(178,100,255,.25);
}

.about-text span{
    color:#cfa4ff;
}

.about-text h2{
    font-size:45px;
    margin:20px 0;
}

.about-text p{
    color:#d4d4d4;
    line-height:1.8;
}

.about-stats{
    display:flex;
    gap:20px;
    margin-top:40px;
}

.stat-box{
    flex:1;
    padding:25px;
    text-align:center;
    border-radius:20px;
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(15px);
}

.stat-box h3{
    color:#cf9fff;
    font-size:28px;
}


/* ============================
   POSTS
============================ */

.posts{
    padding:120px 8%;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title span{
    color:#cb9fff;
}

.section-title h2{
    font-size:45px;
    margin-top:10px;
}

.posts-container{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.post-card{
    border-radius:25px;
    overflow:hidden;
    background:rgba(255,255,255,.05);
    transition:.5s;
}

.post-card:hover{
    transform:translateY(-12px);
}

.post-image img{
    width:100%;
    height:260px;
    object-fit:cover;
}

.post-content{
    padding:30px;
}

.post-content h3{
    margin-bottom:15px;
}

.post-content p{
    color:#cfcfcf;
    margin-bottom:20px;
}

.post-content button{
    padding:12px 25px;
    border:none;
    border-radius:30px;
    background:#9f5dff;
    color:white;
    cursor:pointer;
}


/* ============================
   GALLERY
============================ */

.gallery{
    padding:120px 8%;
}

.gallery-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
}

.gallery-item{
    overflow:hidden;
    border-radius:25px;
}

.gallery-item img{
    width:100%;
    height:300px;
    object-fit:cover;
    transition:.6s;
}

.gallery-item:hover img{
    transform:scale(1.08);
}


/* ============================
   CONTACT
============================ */

.contact{
    padding:120px 8%;
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:60px;
}

.contact-left span{
    color:#ca9cff;
}

.contact-left h2{
    font-size:48px;
    margin:20px 0;
}

.contact-left p{
    color:#d2d2d2;
    line-height:1.8;
}

.social-links{
    margin-top:35px;
    display:flex;
    gap:20px;
}

.social-links i{
    width:50px;
    height:50px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    background:rgba(255,255,255,.06);
    cursor:pointer;
    transition:.4s;
}

.social-links i:hover{
    background:#a86bff;
    transform:translateY(-5px);
}

.contact-form{
    padding:40px;
    border-radius:30px;
    background:rgba(255,255,255,.05);
    backdrop-filter:blur(20px);
}

form{
    display:flex;
    flex-direction:column;
    gap:18px;
}

input,
textarea{
    padding:18px;
    border:none;
    border-radius:15px;
    background:rgba(255,255,255,.08);
    color:white;
    outline:none;
}

textarea{
    min-height:180px;
    resize:none;
}

form button{
    padding:16px;
    border:none;
    border-radius:15px;
    cursor:pointer;
    background:linear-gradient(45deg,#9652ff,#c77fff);
    color:white;
}


/* ============================
   FOOTER
============================ */

footer{
    padding:30px;
    text-align:center;
    border-top:1px solid rgba(255,255,255,.08);
    background:rgba(0,0,0,.15);
}


/* ============================
   RESPONSIVE
============================ */

@media(max-width:992px){

    nav{
        display:none;
    }

    .menu-toggle{
        display:block;
        font-size:25px;
    }

    .hero-content h1{
        font-size:52px;
    }

    .hero-content p{
        width:100%;
    }

    .about{
        grid-template-columns:1fr;
    }

    .posts-container{
        grid-template-columns:1fr;
    }

    .gallery-grid{
        grid-template-columns:1fr;
    }

    .contact{
        grid-template-columns:1fr;
    }

    .about-stats{
        flex-direction:column;
    }
}


@media(max-width:600px){

    .hero-content{
        width:90%;
    }

    .hero-content h1{
        font-size:38px;
    }

    .hero-buttons{
        flex-direction:column;
    }

    .about-text h2,
    .contact-left h2,
    .section-title h2{
        font-size:32px;
    }

}