/* ==========================================
   CLUB PORTAL V2
   STYLE.CSS - PART 1
========================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Outfit',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#faf5ff;
    color:#333;
    overflow-x:hidden;
}

/*==========================
 NAVBAR
==========================*/

header{
    position:fixed;
    top:0;
    width:100%;
    padding:15px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    background:rgba(15,23,42,.95);
    backdrop-filter:blur(15px);
    z-index:1000;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo img{
    width:50px;
    height:50px;
    border-radius:50%;
}

.logo h2{
    color:white;
}

nav ul{
    display:flex;
    list-style:none;
    gap:25px;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:500;
    transition:.3s;
}

nav a:hover,
nav .active{
    color:#c4b5fd;
}

.admin-btn{
    background:#7c3aed;
    padding:10px 18px;
    border-radius:25px;
}

.admin-btn:hover{
    background:#6d28d9;
    color:white;
}

/*==========================
 HERO
==========================*/

.hero{
    height:100vh;
    background:
    linear-gradient(rgba(0,0,0,.55),rgba(0,0,0,.55)),
    url("../images/hero.jpg");

    background-size:cover;
    background-position:center;

    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
}

.overlay{
    color:white;
}

.overlay h1{
    font-size:65px;
    margin-bottom:20px;
}

.overlay p{
    font-size:22px;
    margin-bottom:40px;
}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
}

/*==========================
 BUTTONS
==========================*/

.btn{

    display:inline-block;

    background:#7c3aed;

    color:white;

    text-decoration:none;

    padding:14px 30px;

    border-radius:30px;

    transition:.3s;

}

.btn:hover{

    transform:translateY(-5px);

    background:#6d28d9;

}

.btn-outline{

    display:inline-block;

    border:2px solid white;

    color:white;

    text-decoration:none;

    padding:14px 30px;

    border-radius:30px;

    transition:.3s;

}

.btn-outline:hover{

    background:white;

    color:#7c3aed;

}

/*==========================
 COMMON SECTION
==========================*/

section{

    padding:90px 8%;

}

section h2{

    text-align:center;

    font-size:38px;

    margin-bottom:25px;

    color:#7c3aed;

}

section p{

    text-align:center;

    max-width:850px;

    margin:auto;

    line-height:1.8;

}

/*==========================
 STATS
==========================*/

.stats{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(220px,1fr));

gap:25px;

}

.card{

background:white;

padding:35px;

text-align:center;

border-radius:20px;

box-shadow:0 10px 25px rgba(0,0,0,.08);

transition:.4s;

}

.card:hover{

transform:translateY(-10px);

}

.card i{

font-size:45px;

color:#7c3aed;

margin-bottom:15px;

}

.card h2{

font-size:40px;

margin-bottom:10px;

color:#111827;

}

/*==========================
 EVENT GRID
==========================*/

.event-grid{

display:grid;

grid-template-columns:repeat(auto-fit,minmax(320px,1fr));

gap:30px;

margin-top:40px;

}

.event-card{

background:white;

padding:25px;

border-radius:18px;

box-shadow:0 10px 25px rgba(0,0,0,.08);

transition:.4s;

}

.event-card:hover{

transform:translateY(-8px);

}

.event-card h3{

color:#7c3aed;

margin-bottom:12px;

}

/*==========================
 STATUS BADGES
==========================*/

.status{
    display:inline-block;
    padding:6px 16px;
    border-radius:20px;
    font-size:13px;
    font-weight:600;
    letter-spacing:.5px;
    text-transform:uppercase;
    margin-top:10px;
}

.status.upcoming{
    background:#ede9fe;
    color:#6d28d9;
}

.status.ongoing{
    background:#fce7f3;
    color:#c026d3;
    animation:pulseBadge 1.6s infinite;
}

.status.previous,
.status.completed{
    background:#f1f5f9;
    color:#64748b;
}

@keyframes pulseBadge{
    0%,100%{ box-shadow:0 0 0 0 rgba(192,38,212,.35); }
    50%{ box-shadow:0 0 0 6px rgba(192,38,212,0); }
}
/*=========================================
 EXECUTIVE COMMITTEE
=========================================*/

.executive{
    background:#f9f5ff;
}

.member-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:30px;
    margin-top:40px;
}

.leader-card{
    background:white;
    padding:30px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.4s;
}

.leader-card:hover{
    transform:translateY(-10px);
    box-shadow:0 18px 40px rgba(0,0,0,.15);
}

.leader-card img{
    width:130px;
    height:130px;
    border-radius:50%;
    object-fit:cover;
    border:5px solid #7c3aed;
    margin-bottom:20px;
}

.leader-card h3{
    color:#7c3aed;
    margin-bottom:8px;
}

.leader-card p{
    color:#555;
}
.member-card{
    background:white;
    padding:25px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.4s;
}

.member-card:hover{
    transform:translateY(-10px);
    box-shadow:0 18px 40px rgba(0,0,0,.15);
}

.member-card img{
    width:130px;
    height:130px;
    border-radius:50%;
    object-fit:cover;
    border:5px solid #7c3aed;
    margin-bottom:20px;
}

.member-card h3{
    color:#7c3aed;
    font-size:22px;
    margin:10px 0;
}

.member-card p{
    color:#555;
    font-size:16px;
    margin:6px 0;
    line-height:1.5;
    word-break:break-word;
}

/*=========================================
 NOTICE
=========================================*/

.notice{
    background:linear-gradient(135deg,#7c3aed,#c026d3);
    color:white;
}

.notice h2{
    color:white;
}

.notice-box{
    max-width:900px;
    margin:auto;
    padding:30px;
    border-radius:20px;
    background:rgba(255,255,255,.15);
    backdrop-filter:blur(10px);
    text-align:center;
}

.notice-box p{
    color:white;
    font-size:18px;
}

/*=========================================
 ABOUT
=========================================*/

.about{
    background:white;
}

.about p{
    font-size:18px;
    color:#555;
}

/*=========================================
 FOOTER
=========================================*/

footer{
    background:#1e1b3a;
    color:white;
    padding:60px 8% 20px;
}

.footer-content{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:40px;
    margin-bottom:30px;
}

.footer-content h3{
    margin-bottom:15px;
    color:#c4b5fd;
}

.footer-content p{
    color:#cbd5e1;
    text-align:left;
}

.footer-content ul{
    list-style:none;
}

.footer-content ul li{
    margin-bottom:10px;
}

.footer-content ul li a{
    color:#cbd5e1;
    text-decoration:none;
    transition:.3s;
}

.footer-content ul li a:hover{
    color:white;
}

.social{
    display:flex;
    gap:15px;
}

.social a{
    width:45px;
    height:45px;
    border-radius:50%;
    background:#2d1f4a;
    display:flex;
    justify-content:center;
    align-items:center;
    color:white;
    text-decoration:none;
    transition:.3s;
    font-size:18px;
}

.social a:hover{
    background:#7c3aed;
    transform:translateY(-5px);
}

.copyright{
    text-align:center;
    border-top:1px solid #4c3d66;
    padding-top:20px;
    color:#94a3b8;
}

/*=========================================
 GLASSMORPHISM
=========================================*/

.card,
.event-card,
.leader-card,
.notice-box{
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
}

/*=========================================
 ANIMATIONS
=========================================*/

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}

.hero,
.about,
.stats,
.upcoming,
.executive,
.notice{

    animation:fadeUp .8s ease;

}
/*=========================================
 RESPONSIVE DESIGN
=========================================*/

@media (max-width:1024px){

header{
padding:15px 5%;
}

.overlay h1{
font-size:50px;
}

.overlay p{
font-size:20px;
}

}

@media (max-width:768px){

header{
flex-direction:column;
padding:15px;
}

.logo{
margin-bottom:15px;
}

nav ul{
flex-direction:column;
gap:15px;
text-align:center;
}

.hero{
height:85vh;
padding:20px;
}

.overlay h1{
font-size:38px;
}

.overlay p{
font-size:18px;
}

.hero-buttons{
flex-direction:column;
align-items:center;
}

.btn,
.btn-outline{
width:220px;
text-align:center;
}

.stats,
.event-grid,
.member-grid,
.footer-content{
grid-template-columns:1fr;
}

section{
padding:70px 20px;
}

.card,
.event-card,
.leader-card{
padding:25px;
}

}

@media (max-width:480px){

.overlay h1{
font-size:30px;
}

.overlay p{
font-size:16px;
}

.logo img{
width:40px;
height:40px;
}

.logo h2{
font-size:22px;
}

section h2{
font-size:30px;
}

.social{
justify-content:center;
}

}

/*=========================================
 SCROLLBAR
=========================================*/

::-webkit-scrollbar{
width:10px;
}

::-webkit-scrollbar-track{
background:#f1f5f9;
}

::-webkit-scrollbar-thumb{
background:#7c3aed;
border-radius:20px;
}

::-webkit-scrollbar-thumb:hover{
background:#6d28d9;
}

/*=========================================
 INPUTS
=========================================*/

input,
textarea,
select{

width:100%;
padding:12px;
margin:10px 0;
border:1px solid #d1d5db;
border-radius:10px;
outline:none;
transition:.3s;

}

input:focus,
textarea:focus,
select:focus{

border-color:#7c3aed;
box-shadow:0 0 10px rgba(37,99,235,.2);

}

/*=========================================
 TABLE
=========================================*/

table{

width:100%;
border-collapse:collapse;
margin-top:20px;

}

th{

background:#7c3aed;
color:white;
padding:14px;

}

td{

padding:14px;
border:1px solid #e5e7eb;
text-align:center;

}

tr:nth-child(even){

background:#f9f5ff;

}

/*=========================================
 DARK MODE
=========================================*/

.dark{

background:#1e1b3a;
color:white;

}

.dark header{

background:#130f26;

}

.dark .card,
.dark .leader-card,
.dark .event-card,
.dark .notice-box{

background:#2d1f4a;
color:white;

}

.dark footer{

background:#130f26;

}

.dark p{

color:#e2e8f0;

}

.dark input,
.dark textarea,
.dark select{

background:#4c3d66;
color:white;
border-color:#475569;

}

/*=========================================
 IMAGE HOVER
=========================================*/

img{

transition:.4s;

}

img:hover{

transform:scale(1.05);

}

/*=========================================
 BUTTON ANIMATION
=========================================*/

button,
.btn,
.btn-outline{

cursor:pointer;
transition:.3s;

}

button:hover,
.btn:hover,
.btn-outline:hover{

transform:translateY(-4px);

}

/*=========================================
 SELECTION
=========================================*/

::selection{

background:#7c3aed;
color:white;

}

/*=========================================
 GALLERY ITEMS (IMAGE + VIDEO)
=========================================*/

.gallery-item{
    border-radius:18px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    background:#fff;
    position:relative;
    transition:.4s;
}

.gallery-item:hover{
    transform:translateY(-6px);
    box-shadow:0 18px 35px rgba(124,58,237,.2);
}

.gallery-item img,
.gallery-item video{
    width:100%;
    height:230px;
    object-fit:cover;
    display:block;
    cursor:pointer;
}

.gallery-item .media-tag{
    position:absolute;
    top:12px;
    right:12px;
    background:rgba(124,58,237,.9);
    color:white;
    font-size:12px;
    font-weight:600;
    padding:4px 12px;
    border-radius:15px;
    text-transform:uppercase;
    letter-spacing:.5px;
}

/*=========================================
 END OF STYLE.CSS
=========================================*/