/* =============================================
   Habulus Symphony - Main Stylesheet
   Professional White & Blue Theme
   ============================================= */

/* CSS Variables - White & Blue Professional Theme */
:root {
    --primary-color: #1e40af;
    --primary-light: #3b82f6;
    --primary-dark: #1e3a5f;
    --primary-darker: #0f172a;
    --accent-color: #0ea5e9;
    --accent-light: #38bdf8;
    --accent-dark: #0284c7;
    --text-color: #1f2937;
    --text-light: #6b7280;
    --text-white: #ffffff;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --bg-gray: #f1f5f9;
    --border-color: #e2e8f0;
    --success-color: #10b981;
    --error-color: #ef4444;
    --warning-color: #f59e0b;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.06);
    --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 25px rgba(0,0,0,0.1), 0 6px 10px rgba(0,0,0,0.08);
    --shadow-xl: 0 20px 40px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
    --font-heading: 'Poppins', 'Segoe UI', sans-serif;
    --font-body: 'Inter', 'Segoe UI', sans-serif;
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background: var(--bg-white);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-dark);
    line-height: 1.3;
    margin-bottom: 1rem;
    font-weight: 600;
}

h1 { font-size: 2.5rem; font-weight: 700; }
h2 { font-size: 2rem; font-weight: 600; }
h3 { font-size: 1.5rem; font-weight: 600; }
h4 { font-size: 1.25rem; font-weight: 600; }

p {
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-color);
}

/* Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navigation */
.header {
    background: var(--bg-white);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background: var(--primary-dark);
    padding: 10px 0;
}

.header-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-top-info {
    display: flex;
    gap: 25px;
    font-size: 0.875rem;
    color: var(--text-white);
}

.header-top-info i {
    color: var(--accent-light);
    margin-right: 8px;
}

.header-top-links a {
    color: var(--text-white);
    font-size: 0.875rem;
    padding: 6px 16px;
    border-radius: 4px;
    transition: var(--transition);
    margin-left: 5px;
}

.header-top-links a:hover {
    background: var(--accent-color);
    color: var(--text-white);
}

.header-main {
    padding: 15px 0;
    background: var(--bg-white);
}

.header-main .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.logo-text .name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: -0.5px;
}

.logo-text .tagline {
    font-size: 0.7rem;
    color: var(--text-light);
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Navigation */
.main-nav {
    display: flex;
    gap: 5px;
}

.main-nav > a,
.nav-dropdown > a {
    color: var(--text-color);
    padding: 12px 18px;
    font-weight: 500;
    border-radius: 6px;
    transition: var(--transition);
    position: relative;
}

.main-nav > a:hover,
.main-nav > a.active,
.nav-dropdown:hover > a {
    color: var(--primary-color);
    background: var(--bg-gray);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-menu-toggle:hover {
    background: var(--primary-dark);
}

/* Mobile Auth Links (hidden on desktop) */
.mobile-auth-links {
    display: none;
}

/* Navigation Dropdown */
.nav-dropdown {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-dropdown .dropdown-trigger {
    display: flex;
    align-items: center;
}

.nav-dropdown .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 12px 0;
    margin-top: 5px;
    border: 1px solid var(--border-color);
}

.nav-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-year {
    padding: 8px 15px;
    border-bottom: 1px solid var(--border-color);
}

.dropdown-year:last-of-type {
    border-bottom: none;
}

.dropdown-year .year-label {
    display: block;
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.85rem;
    padding: 6px 12px;
    background: var(--bg-gray);
    border-radius: 6px;
    margin-bottom: 8px;
}

.dropdown-year .year-label i {
    color: var(--accent-color);
    margin-right: 8px;
}

.year-events {
    padding-left: 8px;
}

.year-events a {
    display: block;
    padding: 8px 15px;
    color: var(--text-color);
    font-size: 0.9rem;
    border-radius: 6px;
    transition: all 0.2s;
}

.year-events a:hover {
    background: var(--bg-gray);
    color: var(--primary-color);
    padding-left: 20px;
}

.year-events a i {
    margin-right: 10px;
    color: var(--accent-color);
    font-size: 0.8rem;
}

.dropdown-footer {
    border-top: 1px solid var(--border-color);
    padding: 12px 15px 8px;
    margin-top: 5px;
}

.dropdown-footer a {
    display: block;
    text-align: center;
    padding: 10px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: white !important;
    border-radius: 6px;
    font-weight: 500;
    transition: all 0.3s;
}

.dropdown-footer a:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.dropdown-footer a i {
    margin-right: 8px;
}

/* Simple Dropdown (for Association & Club Owners) */
.dropdown-simple {
    min-width: 200px;
}

.dropdown-simple a {
    display: block;
    padding: 12px 18px;
    color: var(--text-color);
    font-size: 0.9rem;
    transition: all 0.2s;
}

.dropdown-simple a:hover {
    background: var(--bg-gray);
    color: var(--primary-color);
    padding-left: 22px;
}

.dropdown-simple a i {
    margin-right: 10px;
    color: var(--accent-color);
    width: 18px;
    text-align: center;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--accent-color) 100%);
    color: var(--text-white);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero h1 {
    color: var(--text-white);
    font-size: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.hero p {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 2rem;
    color: rgba(255,255,255,0.9);
    position: relative;
}

.hero-divider {
    width: 80px;
    height: 4px;
    background: var(--text-white);
    margin: 0 auto 2rem;
    border-radius: 2px;
    position: relative;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
    color: var(--text-white);
}

.btn-secondary {
    background: transparent;
    color: var(--text-white);
    border: 2px solid var(--text-white);
}

.btn-secondary:hover {
    background: var(--text-white);
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--text-white);
}

/* Page Banner */
.page-banner {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--text-white);
    padding: 50px 0;
    text-align: center;
    position: relative;
}

.page-banner h1 {
    color: var(--text-white);
    margin-bottom: 0.5rem;
}

.page-banner .breadcrumb {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
}

.page-banner .breadcrumb a {
    color: var(--text-white);
}

.page-banner .breadcrumb a:hover {
    color: var(--accent-light);
}

/* Content Sections */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--bg-gray);
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.section-title .divider {
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    margin: 0 auto 1rem;
    border-radius: 2px;
}

.section-title p {
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Cards */
.card {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 25px;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.card-text {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

/* Member Cards */
.member-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.member-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.member-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 20px;
    border: 4px solid var(--accent-light);
    background: var(--bg-gray);
}

.member-name {
    font-size: 1.2rem;
    color: var(--primary-dark);
    margin-bottom: 5px;
}

.member-designation {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.member-flat {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 15px;
}

.member-bio {
    color: var(--text-light);
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Gallery */
.gallery-year {
    margin-bottom: 50px;
}

.gallery-year-title {
    font-size: 1.5rem;
    color: var(--primary-dark);
    border-left: 4px solid var(--primary-color);
    padding-left: 20px;
    margin-bottom: 25px;
}

.gallery-events {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.event-card {
    background: var(--bg-white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    text-decoration: none;
    display: block;
}

.event-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-5px);
    border-color: var(--accent-color);
}

.event-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-size: 3rem;
}

.event-body {
    padding: 20px;
}

.event-name {
    font-size: 1.15rem;
    margin-bottom: 8px;
    color: var(--primary-dark);
}

.event-date {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
}

.event-description {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Gallery Grid for Images */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    aspect-ratio: 4/3;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(transparent 50%, rgba(0,0,0,0.7));
    display: flex;
    align-items: flex-end;
    padding: 15px;
    opacity: 0;
    transition: var(--transition);
}

.gallery-item:hover .gallery-item-overlay {
    opacity: 1;
}

.gallery-item-title {
    color: var(--text-white);
    font-size: 0.9rem;
}

/* Contact Form */
.contact-section {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
}

.contact-info {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: var(--text-white);
    padding: 40px;
    border-radius: 16px;
}

.contact-info h3 {
    color: var(--text-white);
    margin-bottom: 25px;
}

.contact-info-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.2rem;
    color: var(--text-white);
}

.contact-info-item h4 {
    color: var(--text-white);
    font-size: 1rem;
    margin-bottom: 3px;
}

.contact-info-item p {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    margin: 0;
}

.contact-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

/* Forms */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    transition: var(--transition);
    font-family: inherit;
    background: var(--bg-white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.alert-warning {
    background: #fef3c7;
    color: #92400e;
    border: 1px solid #fde68a;
}

/* Footer */
.footer {
    background: var(--primary-darker);
    color: var(--text-white);
    margin-top: auto;
}

.footer-main {
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
}

.footer-brand .logo-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
}

.footer-brand .logo-text .name {
    color: var(--text-white);
    font-size: 1.5rem;
}

.footer-brand .logo-text .tagline {
    color: rgba(255,255,255,0.6);
}

.footer-brand p {
    color: rgba(255,255,255,0.7);
    margin-top: 15px;
    font-size: 0.95rem;
}

.footer-title {
    color: var(--text-white);
    font-size: 1.1rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent-light);
    padding-left: 5px;
}

.footer-contact p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--accent-color);
    transform: translateY(-3px);
}

.footer-bottom {
    background: rgba(0,0,0,0.3);
    padding: 20px 0;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.6);
}

/* Login Page */
.login-container {
    min-height: calc(100vh - 200px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background: linear-gradient(135deg, var(--bg-gray) 0%, var(--bg-white) 100%);
}

.login-box {
    background: var(--bg-white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    width: 100%;
    max-width: 450px;
    border: 1px solid var(--border-color);
}

.login-box h2 {
    text-align: center;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.login-box .subtitle {
    text-align: center;
    color: var(--text-light);
    margin-bottom: 30px;
}

/* Admin Styles */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 260px;
    background: var(--primary-darker);
    color: var(--text-white);
    padding: 20px 0;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
}

.admin-sidebar-logo {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    margin-bottom: 20px;
}

.admin-sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 25px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
    border-left: 3px solid transparent;
}

.admin-sidebar-nav a:hover,
.admin-sidebar-nav a.active {
    background: rgba(255,255,255,0.05);
    color: var(--text-white);
    border-left-color: var(--accent-color);
}

.admin-sidebar-nav a i {
    width: 20px;
    text-align: center;
}

.admin-content {
    flex: 1;
    margin-left: 260px;
    padding: 30px;
    background: var(--bg-gray);
}

/* Hide mobile toggle on desktop */
.admin-mobile-toggle {
    display: none;
}

.admin-overlay {
    display: none;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.admin-header h1 {
    font-size: 1.75rem;
    margin: 0;
    color: var(--primary-dark);
}

.admin-user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 25px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 25px;
    border: 1px solid var(--border-color);
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
}

.admin-card-title {
    font-size: 1.25rem;
    margin: 0;
    color: var(--primary-dark);
}

/* Tables */
.data-table {
    width: 100%;
    border-collapse: collapse;
}

.data-table th,
.data-table td {
    padding: 14px 16px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.data-table th {
    background: var(--bg-gray);
    font-weight: 600;
    color: var(--primary-dark);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.data-table tr:hover {
    background: var(--bg-gray);
}

.data-table .actions {
    display: flex;
    gap: 8px;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 6px;
}

.btn-edit {
    background: var(--primary-color);
    color: var(--text-white);
}

.btn-delete {
    background: var(--error-color);
    color: var(--text-white);
}

.btn-view {
    background: var(--success-color);
    color: var(--text-white);
}

/* Dashboard Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--text-white);
}

.stat-icon.users { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.stat-icon.gallery { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.stat-icon.messages { background: linear-gradient(135deg, #06b6d4, #0891b2); }
.stat-icon.members { background: linear-gradient(135deg, #10b981, #059669); }

.stat-info h3 {
    font-size: 1.75rem;
    margin: 0;
    color: var(--primary-dark);
}

.stat-info p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Slider Styles */
.slider-section {
    margin: 0;
    padding: 0;
}

.slider-container {
    position: relative;
    overflow: hidden;
    margin: 0;
}

.slider {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
    min-width: 100%;
    position: relative;
}

.slide-bg {
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

.slide-content {
    text-align: center;
    color: white;
    position: relative;
    z-index: 1;
    padding: 40px 20px;
}

.slide-content h1 {
    color: white;
    font-size: 3rem;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.slide-content p {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 0 auto 2rem;
    color: rgba(255,255,255,0.9);
}

.slide-content .hero-divider {
    width: 80px;
    height: 4px;
    background: white;
    margin: 0 auto 2rem;
    border-radius: 2px;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 30px;
    pointer-events: none;
    z-index: 10;
}

.slider-nav button {
    pointer-events: all;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: rgba(255,255,255,0.95);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    color: var(--primary-dark);
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

.slider-nav button:hover {
    background: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.slider-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 10;
}

.slider-dots button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.slider-dots button:hover {
    background: rgba(255,255,255,0.8);
}

.slider-dots button.active {
    background: white;
    transform: scale(1.3);
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
    .slide-bg {
        min-height: 400px;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .slider-nav button {
        width: 44px;
        height: 44px;
        font-size: 0.9rem;
    }
    
    .slider-nav {
        padding: 0 15px;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-top {
        display: none;
    }
    
    .header-main .container {
        flex-wrap: wrap;
        justify-content: space-between;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        flex-direction: column;
        background: var(--bg-white);
        padding: 15px 0;
        border-top: 1px solid var(--border-color);
        margin-top: 15px;
    }
    
    .main-nav.mobile-open {
        display: flex;
    }
    
    /* Mobile Auth Links */
    .mobile-auth-links {
        display: flex;
        width: 100%;
        background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
        padding: 10px 0;
        margin-bottom: 10px;
        border-radius: 8px;
        justify-content: center;
        gap: 15px;
    }
    
    .mobile-auth-link {
        color: white !important;
        padding: 8px 16px !important;
        border: none !important;
        background: rgba(255,255,255,0.2);
        border-radius: 6px;
        font-weight: 500;
        text-decoration: none;
    }
    
    .mobile-auth-link:hover {
        background: rgba(255,255,255,0.3);
    }
    
    .main-nav > a,
    .main-nav .nav-dropdown {
        width: 100%;
    }
    
    .main-nav > a,
    .nav-dropdown > a {
        padding: 12px 20px;
        border-bottom: 1px solid var(--border-color);
    }
    
    .nav-dropdown {
        flex-direction: column;
        align-items: stretch;
    }
    
    .nav-dropdown .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: hidden;
        max-height: 0;
        overflow: hidden;
        transform: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        margin: 0;
        padding: 0;
        background: var(--bg-gray);
        transition: max-height 0.3s ease, visibility 0.3s ease, padding 0.3s ease;
    }
    
    .nav-dropdown:hover .dropdown-menu {
        visibility: hidden;
        max-height: 0;
    }
    
    .nav-dropdown.mobile-dropdown-open .dropdown-menu {
        visibility: visible;
        max-height: 500px;
        padding: 10px 0;
    }
    
    .dropdown-simple a {
        padding-left: 40px !important;
    }
    
    .hero {
        padding: 60px 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 50px 0;
    }
    
    .grid-2,
    .grid-3,
    .grid-4 {
        grid-template-columns: 1fr;
    }
    
    .contact-section {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .login-box {
        padding: 30px;
    }
    
    .admin-wrapper {
        flex-direction: column;
    }
    
    .admin-sidebar {
        position: fixed;
        left: -280px;
        top: 0;
        width: 260px;
        height: 100vh;
        z-index: 1001;
        transition: left 0.3s ease;
        display: block !important;
        overflow-y: auto;
    }
    
    .admin-sidebar.mobile-open {
        left: 0;
    }
    
    .admin-content {
        margin-left: 0;
        padding: 15px;
    }
    
    .admin-header {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .admin-header h1 {
        font-size: 1.3rem;
    }
    
    .admin-user-info {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .data-table {
        font-size: 0.85rem;
    }
    
    .data-table th,
    .data-table td {
        padding: 8px 10px;
    }
    
    /* Admin mobile menu toggle */
    .admin-mobile-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 1002;
        background: var(--primary-color);
        color: white;
        border: none;
        width: 56px;
        height: 56px;
        border-radius: 50%;
        font-size: 1.5rem;
        box-shadow: 0 4px 15px rgba(0,0,0,0.3);
        cursor: pointer;
    }
    
    .admin-mobile-toggle:hover {
        background: var(--primary-dark);
    }
    
    .admin-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0,0,0,0.5);
        z-index: 1000;
    }
    
    .admin-overlay.active {
        display: block;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-primary { color: var(--primary-color); }
.text-accent { color: var(--accent-color); }
.text-muted { color: var(--text-light); }
.bg-white { background: var(--bg-white); }
.bg-gray { background: var(--bg-gray); }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateX(-20px); }
    to { opacity: 1; transform: translateX(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

.slide-in {
    animation: slideIn 0.5s ease forwards;
}

/* Loading Spinner */
.spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
