@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #6576ff;
    --dark: #121212;
    --light: #8094ae;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    color: var(--white);
    background: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.public-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(0, 0, 0, 0.3);
    box-sizing: border-box;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    text-decoration: none;
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo i { color: var(--primary); }

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: 0.3s;
    font-size: 15px;
}

.nav-links a:hover { color: var(--primary); }

.staff-login-btn {
    background: var(--primary);
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
}

/* Content Hero */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 40px;
    box-sizing: border-box;
}

/* Background */
.hero-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/bg.png') center/cover no-repeat;
    z-index: -1;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1200px;
    gap: 60px;
    align-items: center;
}

/* Slideshow */
.hero-slideshow {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 30px 60px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
}

.hero-slideshow img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.hero-slideshow img.active { opacity: 1; }

/* Hero Text */
.hero-content h1 {
    font-size: 56px;
    line-height: 1.1;
    margin-bottom: 20px;
    font-weight: 800;
}

.hero-content p {
    font-size: 18px;
    color: var(--light);
    margin-bottom: 40px;
}

/* Stats Cards */
.hero-stats {
    display: flex;
    gap: 20px;
}

.stat-box {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    padding: 20px 30px;
    border-radius: 16px;
    flex: 1;
    text-align: center;
}

.stat-box small {
    display: block;
    color: var(--light);
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: 5px;
}

.stat-box .count {
    font-size: 28px;
    font-weight: 700;
}

/* Public Cards (Updates etc.) */
.public-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    padding: 30px;
    border-radius: 20px;
    max-width: 800px;
    margin: 30px auto;
}

.public-card h2 { margin: 0 0 10px; color: var(--primary); }
.public-card small { color: var(--light); display: block; margin-bottom: 15px; }

/* Login Page Styling Override */
.login-body {
    background: var(--dark);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
}

.login-card {
    background: var(--white);
    padding: 60px;
    border-radius: 24px;
    width: 450px;
    box-shadow: 0 40px 100px rgba(0,0,0,0.2);
    color: var(--dark);
}

.login-card h1 { text-align: center; margin-bottom: 10px; font-weight: 800; }
.login-card p { text-align: center; color: var(--light); margin-bottom: 40px; }

.login-input {
    width: 100%;
    padding: 15px;
    margin-bottom: 20px;
    border: 1.5px solid #dbdfea;
    border-radius: 12px;
    background: #fdfdfe;
    font-size: 15px;
    box-sizing: border-box;
}

.login-btn {
    width: 100%;
    padding: 16px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    font-size: 16px;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-grid { grid-template-columns: 1fr; text-align: center; }
    .hero-stats { justify-content: center; }
    .hero-content h1 { font-size: 42px; }
}
@media (max-width: 768px) {
    .public-nav { padding: 20px; }
    .nav-links { display: none; }
}
