/* ============================================================
   GGL Crest Villa Community - Premium Stylesheet
   Godrej Golf Crest RWA | gglcrest.com
   Colors: Cream, Beige, Deep Green, Gold
   Typography: Playfair Display + Inter
   ============================================================ */

/* --- CSS Variables --- */
:root {
    --green-dark: #1a3c2a;
    --green-medium: #2d5a3f;
    --green-light: #3d7a56;
    --green-pale: #e8f0eb;
    --gold: #c9a84c;
    --gold-light: #dfc575;
    --gold-dark: #a88a2e;
    --cream: #faf8f3;
    --cream-dark: #f0ebe0;
    --beige: #e5dece;
    --beige-dark: #d4ccb8;
    --white: #ffffff;
    --black: #1a1a1a;
    --gray-900: #2d2d2d;
    --gray-700: #555555;
    --gray-500: #888888;
    --gray-300: #cccccc;
    --gray-100: #f5f5f5;
    --red: #c0392b;
    --red-light: #fdf0ef;
    --blue: #2471a3;
    --blue-light: #eaf2f8;
    --orange: #d4870e;
    --orange-light: #fdf5e6;
    --success: #27ae60;
    --danger: #c0392b;
    --warning: #d4870e;
    --info: #2471a3;
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 15px 50px rgba(0,0,0,0.15);
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --transition: all 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: var(--font-body);
    background: var(--cream);
    color: var(--gray-900);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--green-dark); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-heading); font-weight: 700; color: var(--green-dark); line-height: 1.3; }

/* --- Utility --- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 0 20px; }
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.text-green { color: var(--green-dark); }
.text-muted { color: var(--gray-500); }
.text-danger { color: var(--danger); }
.text-success { color: var(--success); }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }
.hidden { display: none !important; }

/* --- Top Bar --- */
.top-bar {
    background: var(--green-dark);
    color: var(--cream);
    padding: 8px 0;
    font-size: 0.8rem;
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.top-bar a { color: var(--gold-light); }
.top-bar a:hover { color: var(--white); }

/* --- Navigation --- */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--gold);
}
.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0;
    padding-bottom: 0;
}
.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
}
.navbar-brand img { height: 48px; width: auto; }
.navbar-brand .brand-text h1 {
    font-size: 1.2rem;
    margin: 0;
    color: var(--green-dark);
    letter-spacing: 0.3px;
}
.navbar-brand .brand-text span {
    font-size: 0.7rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.navbar-nav {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}
.navbar-nav li a {
    display: block;
    padding: 20px 16px;
    color: var(--gray-700);
    font-weight: 500;
    font-size: 0.9rem;
    border-bottom: 3px solid transparent;
    transition: var(--transition);
}
.navbar-nav li a:hover,
.navbar-nav li a.active {
    color: var(--green-dark);
    border-bottom-color: var(--gold);
}
.navbar-nav .btn-login {
    background: var(--green-dark);
    color: var(--white) !important;
    padding: 10px 24px !important;
    border-radius: var(--radius-sm);
    border-bottom: none !important;
    margin-left: 12px;
}
.navbar-nav .btn-login:hover {
    background: var(--green-medium);
}

/* Mobile menu */
.navbar-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}
.navbar-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--green-dark);
    margin: 5px 0;
    transition: var(--transition);
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green-medium) 50%, var(--green-light) 100%);
    padding: 80px 0 100px;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="rgba(255,255,255,0.03)" d="M0,160L48,176C96,192,192,224,288,213.3C384,203,480,149,576,138.7C672,128,768,160,864,186.7C960,213,1056,235,1152,218.7C1248,203,1344,149,1392,122.7L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"/></svg>') no-repeat bottom;
    background-size: cover;
}
.hero .container { position: relative; z-index: 2; }
.hero-content {
    max-width: 650px;
    color: var(--white);
}
.hero-badge {
    display: inline-block;
    background: rgba(201, 168, 76, 0.2);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 6px 18px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero h1 {
    font-size: 3rem;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.15;
}
.hero h1 span { color: var(--gold); }
.hero p {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    max-width: 500px;
}
.hero-buttons { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.4;
}
.btn-primary {
    background: var(--gold);
    color: var(--green-dark);
}
.btn-primary:hover {
    background: var(--gold-light);
    color: var(--green-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-outline {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
    background: var(--white);
    color: var(--green-dark);
    border-color: var(--white);
}
.btn-green {
    background: var(--green-dark);
    color: var(--white);
}
.btn-green:hover {
    background: var(--green-medium);
    color: var(--white);
    transform: translateY(-1px);
}
.btn-sm { padding: 8px 16px; font-size: 0.85rem; }
.btn-lg { padding: 16px 36px; font-size: 1.05rem; }
.btn-block { display: block; width: 100%; text-align: center; }
.btn-danger { background: var(--danger); color: var(--white); }
.btn-danger:hover { background: #a93226; color: var(--white); }
.btn-outline-green { background: transparent; color: var(--green-dark); border: 2px solid var(--green-dark); }
.btn-outline-green:hover { background: var(--green-dark); color: var(--white); }

/* --- Section Styling --- */
.section { padding: 80px 0; }
.section-light { background: var(--white); }
.section-cream { background: var(--cream); }
.section-green { background: var(--green-dark); color: var(--white); }
.section-header {
    text-align: center;
    margin-bottom: 50px;
}
.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 12px;
}
.section-header .gold-line {
    width: 60px;
    height: 3px;
    background: var(--gold);
    margin: 0 auto 16px;
    border-radius: 2px;
}
.section-header p {
    color: var(--gray-500);
    max-width: 600px;
    margin: 0 auto;
}

/* --- Quick Action Cards --- */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 20px;
    padding: 0 20px;
    margin-top: -50px;
    position: relative;
    z-index: 10;
}
.action-card {
    background: var(--white);
    padding: 28px 20px;
    border-radius: var(--radius-md);
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
    text-decoration: none;
    border: 1px solid transparent;
}
.action-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--gold);
}
.action-card .icon {
    width: 56px;
    height: 56px;
    background: var(--green-pale);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 1.5rem;
    color: var(--green-dark);
    transition: var(--transition);
}
.action-card:hover .icon {
    background: var(--green-dark);
    color: var(--white);
}
.action-card h3 {
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gray-700);
}

/* --- Stats Section --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.stat-card {
    text-align: center;
    padding: 30px 20px;
}
.stat-card .number {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--gold);
    font-weight: 700;
    line-height: 1;
    margin-bottom: 8px;
}
.section-green .stat-card .label {
    color: rgba(255,255,255,0.8);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* --- About Preview --- */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    background: var(--green-dark);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-family: var(--font-heading);
    font-size: 1.5rem;
}
.about-text h2 { margin-bottom: 16px; }
.about-text p { color: var(--gray-700); margin-bottom: 12px; }
.about-features {
    list-style: none;
    margin: 20px 0;
}
.about-features li {
    padding: 8px 0;
    padding-left: 28px;
    position: relative;
    color: var(--gray-700);
}
.about-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold);
    font-weight: 700;
}

/* --- Notice Cards --- */
.notice-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 24px;
    margin-bottom: 16px;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--green-dark);
    transition: var(--transition);
}
.notice-card:hover { box-shadow: var(--shadow-md); }
.notice-card.urgent { border-left-color: var(--danger); }
.notice-card .notice-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 8px;
    font-size: 0.8rem;
    color: var(--gray-500);
}
.notice-card .badge-urgent {
    background: var(--red-light);
    color: var(--danger);
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}
.notice-card h3 { font-size: 1.1rem; margin-bottom: 6px; }
.notice-card h3 a { color: var(--green-dark); }
.notice-card p { color: var(--gray-700); font-size: 0.9rem; }

/* --- Cards --- */
.card {
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}
.card:hover { box-shadow: var(--shadow-md); }
.card-header {
    padding: 20px 24px;
    border-bottom: 1px solid var(--beige);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.card-header h3 { font-size: 1.1rem; margin: 0; }
.card-body { padding: 24px; }
.card-footer {
    padding: 16px 24px;
    border-top: 1px solid var(--beige);
    background: var(--cream);
}

/* --- Forms --- */
.form-group { margin-bottom: 20px; }
.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--gray-700);
    font-size: 0.9rem;
}
.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--beige);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--gray-900);
    background: var(--white);
    transition: var(--transition);
}
.form-control:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.15);
}
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control { appearance: auto; }
.form-text { font-size: 0.8rem; color: var(--gray-500); margin-top: 4px; }

/* --- Tables --- */
.table-responsive { overflow-x: auto; }
.table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}
.table th {
    background: var(--green-dark);
    color: var(--white);
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--beige);
}
.table tbody tr:hover { background: var(--cream); }

/* --- Badges --- */
.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}
.badge-success { background: #e8f8f0; color: var(--success); }
.badge-danger { background: var(--red-light); color: var(--danger); }
.badge-warning { background: var(--orange-light); color: var(--warning); }
.badge-info { background: var(--blue-light); color: var(--info); }
.badge-gold { background: rgba(201,168,76,0.15); color: var(--gold-dark); }

/* --- Alerts --- */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
    border-left: 4px solid;
}
.alert-success { background: #e8f8f0; border-color: var(--success); color: #1a7a42; }
.alert-error { background: var(--red-light); border-color: var(--danger); color: #922b21; }
.alert-warning { background: var(--orange-light); border-color: var(--warning); color: #8a6d0b; }
.alert-info { background: var(--blue-light); border-color: var(--info); color: #1a5276; }

/* --- Dashboard Layout --- */
.dashboard-layout {
    min-height: 100vh;
}
.sidebar {
    background: var(--green-dark);
    color: var(--white);
    padding: 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 260px;
    height: 100vh;
    overflow-y: auto;
    z-index: 100;
}
.sidebar-brand {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}
.sidebar-brand h2 {
    color: var(--gold);
    font-size: 1.1rem;
    margin: 0;
}
.sidebar-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 0.75rem;
    margin-top: 2px;
}
.sidebar-nav {
    list-style: none;
    padding: 10px 0;
}
.sidebar-nav li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
    border-left: 3px solid transparent;
}
.sidebar-nav li a:hover,
.sidebar-nav li a.active {
    background: rgba(255,255,255,0.08);
    color: var(--white);
    border-left-color: var(--gold);
}
.sidebar-nav .nav-divider {
    padding: 16px 24px 8px;
    font-size: 0.7rem;
    color: rgba(255,255,255,0.35);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}
.main-content {
    margin-left: 260px;
    padding: 30px;
    background: var(--cream);
    min-height: 100vh;
}
.sidebar-toggle-btn {
    display: none;
}
.page-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 12px;
}
.page-header h1 {
    font-size: 1.6rem;
    margin: 0;
}
.breadcrumb {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-top: 4px;
}
.breadcrumb a { color: var(--green-dark); }

/* Dashboard Cards Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}
.metric-card {
    background: var(--white);
    padding: 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--green-dark);
}
.metric-card.gold { border-left-color: var(--gold); }
.metric-card.red { border-left-color: var(--danger); }
.metric-card.blue { border-left-color: var(--info); }
.metric-card .metric-value {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--green-dark);
    font-weight: 700;
}
.metric-card .metric-label {
    color: var(--gray-500);
    font-size: 0.85rem;
    margin-top: 4px;
}

/* --- Footer --- */
.footer {
    background: var(--green-dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}
.footer h4 {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 20px;
}
.footer p { font-size: 0.9rem; line-height: 1.8; }
.footer-links {
    list-style: none;
}
.footer-links li { margin-bottom: 10px; }
.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
}
.footer-links a:hover { color: var(--gold); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
}
.footer-bottom .tech-credit {
    color: rgba(255,255,255,0.5);
}
.footer-bottom .tech-credit a { color: var(--gold-light); }

/* --- Popup / Modal --- */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.6);
    z-index: 9999;
    align-items: center;
    justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    max-width: 560px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}
.modal-header {
    padding: 24px 28px;
    border-bottom: 1px solid var(--beige);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.modal-header h3 { margin: 0; font-size: 1.2rem; }
.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-500);
    padding: 4px;
}
.modal-body { padding: 28px; }

/* --- Work of Month Slideshow --- */
.slideshow {
    position: relative;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.slideshow-track { position: relative; min-height: 300px; }
.slide {
    display: none;
    padding: 40px;
    text-align: center;
}
.slide.active { display: block; }
.slide h3 { color: var(--green-dark); margin-bottom: 12px; font-size: 1.4rem; }
.slide p { color: var(--gray-700); max-width: 600px; margin: 0 auto; }
.slideshow-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    padding: 16px;
}
.slideshow-dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--beige);
    cursor: pointer;
    transition: var(--transition);
}
.slideshow-dots .dot.active { background: var(--gold); width: 28px; border-radius: 5px; }

/* --- Login / Auth Pages --- */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--green-dark), var(--green-medium));
    padding: 40px 20px;
}
.auth-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    max-width: 440px;
    width: 100%;
    box-shadow: var(--shadow-xl);
}
.auth-card .auth-logo {
    text-align: center;
    margin-bottom: 32px;
}
.auth-card .auth-logo h2 {
    font-size: 1.5rem;
    color: var(--green-dark);
}
.auth-card .auth-logo p {
    color: var(--gray-500);
    font-size: 0.85rem;
}

/* --- Pagination --- */
.pagination {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin: 30px 0;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 8px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid var(--beige);
    color: var(--gray-700);
    transition: var(--transition);
}
.pagination a:hover { background: var(--green-pale); border-color: var(--green-dark); }
.pagination .active {
    background: var(--green-dark);
    color: var(--white);
    border-color: var(--green-dark);
}

/* --- Responsive --- */

/* Desktop: sidebar always visible */
@media (min-width: 993px) {
    .sidebar { transform: translateX(0) !important; }
}

/* Tablet and below: sidebar hidden, toggle to show */
@media (max-width: 992px) {
    .hero h1 { font-size: 2.2rem; }
    .about-preview { grid-template-columns: 1fr; gap: 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .sidebar { transform: translateX(-100%); transition: transform 0.3s ease; }
    .sidebar.open { transform: translateX(0); box-shadow: 4px 0 20px rgba(0,0,0,0.3); }
    .main-content { margin-left: 0; padding: 20px 16px; }
    .sidebar-toggle-btn { display: inline-flex; }
}

@media (max-width: 768px) {
    .navbar-toggle { display: block; }
    .navbar-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        box-shadow: var(--shadow-md);
        border-top: 1px solid var(--beige);
    }
    .navbar-nav.open { display: flex; }
    .navbar-nav li a { padding: 14px 20px; border-bottom: 1px solid var(--cream); }
    .hero { padding: 50px 0 70px; }
    .hero h1 { font-size: 1.8rem; }
    .quick-actions { grid-template-columns: repeat(2, 1fr); margin-top: -30px; gap: 12px; }
    .section { padding: 50px 0; }
    .section-header h2 { font-size: 1.7rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .stat-card .number { font-size: 2.2rem; }
    .auth-card { padding: 32px 24px; }
    .quick-actions { padding: 0 12px; }
}

@media (max-width: 480px) {
    .quick-actions { grid-template-columns: repeat(2, 1fr); }
    .hero-buttons { flex-direction: column; }
    .top-bar .container { flex-direction: column; text-align: center; }
}

/* --- Print --- */
@media print {
    .navbar, .sidebar, .footer, .top-bar, .btn { display: none; }
    .main-content { margin-left: 0; padding: 0; }
    body { background: #fff; }
}
