﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --color-light-blue: #A8D5E2;
    --color-navy: #3D4E7C;
    --color-yellow: #F4E285;
    --color-green: #90B77D;
    --gradient-1: linear-gradient(135deg, #C4B454 0%, #90B77D 100%);
    --gradient-2: linear-gradient(135deg, #90B77D 0%, #3D4E7C 100%);
    --gradient-3: linear-gradient(135deg, #A8D5E2 0%, #F4E285 100%);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Montserrat', sans-serif;
}

.navbar {
    background: var(--color-navy);
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.logo-text {
    color: white;
    font-size: 1.2rem;
    font-weight: 700;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    align-items: center;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    cursor: pointer;
}

.nav-links a:hover {
    color: var(--color-yellow);
}

.admin-btn {
    background: var(--gradient-3);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    color: var(--color-navy);
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: transform 0.3s;
}

.admin-btn:hover {
    transform: scale(1.05);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

.hero {
    background: var(--gradient-2);
    padding: 6rem 2rem;
    text-align: center;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-family: 'Bebas Neue', cursive;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border-radius: 30px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--color-yellow);
    color: var(--color-navy);
}

.btn-secondary {
    background: white;
    color: var(--color-navy);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.section {
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--color-navy);
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.event-card {
    border-left: 5px solid var(--color-light-blue);
}

.team-card {
    text-align: center;
}

.team-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 1rem;
    object-fit: cover;
    border: 5px solid var(--color-light-blue);
}

.footer {
    background: var(--color-navy);
    color: white;
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-navy);
    text-decoration: none;
    transition: transform 0.3s;
}

.social-icon:hover {
    transform: scale(1.1);
}

.admin-panel {
    background: #f5f5f5;
    min-height: 100vh;
    padding: 2rem;
}

.admin-header {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.admin-nav {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.admin-tab {
    padding: 0.75rem 1.5rem;
    background: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.admin-tab.active {
    background: var(--color-navy);
    color: white;
}

.admin-content {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--color-navy);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.rich-editor {
    border: 2px solid #ddd;
    border-radius: 8px;
    min-height: 300px;
    padding: 1rem;
}

.editor-toolbar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.editor-btn {
    padding: 0.5rem 1rem;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.9rem;
}

.editor-btn:hover {
    background: #e0e0e0;
}

.image-upload-preview {
    max-width: 300px;
    margin-top: 1rem;
    border-radius: 8px;
}

.review-card {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--color-light-blue);
}

.review-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.btn-approve {
    background: #4CAF50;
    color: white;
}

.btn-reject {
    background: #f44336;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--gradient-3);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-navy);
}

.stat-label {
    font-size: 1rem;
    color: #666;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: var(--gradient-2);
}

.login-box {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    max-width: 400px;
    width: 100%;
}

.login-box h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-navy);
}

.youtube-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    border-radius: 10px;
}

.youtube-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.awareness-badge {
    display: inline-block;
    background: var(--gradient-1);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-navy);
    margin: 1rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }

    .admin-nav {
        flex-direction: column;
    }
}

.loading {
    text-align: center;
    padding: 2rem;
}

.success-message {
    background: #4CAF50;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.error-message {
    background: #f44336;
    color: white;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
}

.event-status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

.status-open {
    background: #4CAF50;
    color: white;
}

.status-closed {
    background: #f44336;
    color: white;
}

.status-upcoming {
    background: var(--color-yellow);
    color: var(--color-navy);
}

.status-completed {
    background: #9E9E9E;
    color: white;
}
