@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&family=Outfit:wght@300;400;600&display=swap');

:root {
    /* Elan Light Theme Variables */
    --bg-dark: #fbfbfd;
    /* Very light gray/white */
    --bg-secondary: #ffffff;

    --c-primary: #800020;
    /* Royal Burgundy (kept) */
    --c-primary-light: #a52a2a;
    --c-gold: #d4af37;
    /* Champagne Gold (kept for accent) */

    --c-text: #2d2d2d;
    /* Dark gray for readability */
    --c-text-muted: #666666;

    /* Glass Effect for Light Theme */
    --glass: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.08);
    --glass-border-bright: rgba(0, 0, 0, 0.15);

    --blur: 20px;
    --header-height: 60px;
    --side-nav-width: 300px;

    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 4px 12px rgba(0, 0, 0, 0.03);
}

body {
    background-color: var(--bg-dark);
    color: var(--c-text);
    font-family: 'Outfit', sans-serif;
    margin: 0;
    padding-top: var(--header-height);
    -webkit-tap-highlight-color: transparent;
    line-height: 1.6;
}

/* Common Layout */
/* Standardized Header Container */
.cinematic-header {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
    gap: 15px;
}

.page-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    transition: padding-left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Typography */
h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    color: var(--c-primary);
    /* Changed to Primary for Light Theme */
    margin: 0;
}

.cinematic-title {
    font-size: 2rem;
    position: relative;
    display: inline-block;
}

/* Glassmorphism Components (Light) */
.glass-panel {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 20px;
    box-shadow: var(--shadow-soft);
}

.glass-card {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 20px;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: var(--shadow-card);
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    border-color: var(--c-gold);
}

/* Inputs & Forms */
.cinematic-select,
.cinematic-input {
    background: #fff;
    border: 1px solid #ddd;
    color: var(--c-text);
    padding: 10px 15px;
    border-radius: 12px;
    outline: none;
    cursor: pointer;
    font-family: inherit;
    transition: 0.3s;
    min-width: 120px;
}

.cinematic-select:focus,
.cinematic-input:focus {
    border-color: var(--c-primary);
    box-shadow: 0 0 0 3px rgba(128, 0, 32, 0.1);
}

.cinematic-btn {
    background: #fff;
    border: 1px solid var(--glass-border);
    color: var(--c-text);
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    transition: 0.3s;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.cinematic-btn:hover {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: white;
}

.cinematic-btn-primary {
    background: var(--c-primary);
    border-color: var(--c-primary);
    color: white;
}

/* Badges */
.cinematic-badge {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(128, 0, 32, 0.08);
    color: var(--c-primary);
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Hamburger Button */
.hbg-btn {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
    z-index: 1300;
}

.hbg-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--c-primary);
    transition: 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    transform-origin: center;
}

/* Side Nav (Drawer) - Darker for contrast */
.side-nav {
    position: fixed;
    top: 0;
    left: -var(--side-nav-width);
    width: var(--side-nav-width);
    height: 100vh;
    background: #222;
    /* Keep dark for menu */
    color: #fff;
    z-index: 1500;
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 80px 20px 20px;
    box-shadow: 5px 0 30px rgba(0, 0, 0, 0.1);
}

.side-nav.active {
    left: 0;
}

.side-nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(4px);
    z-index: 1450;
    display: none;
    opacity: 0;
    transition: 0.3s;
}

.side-nav-overlay.active {
    display: block;
    opacity: 1;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: #ccc;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--c-primary);
}
/* Custom Modal */
.cinematic-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(5px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.cinematic-modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.cinematic-modal {
    background: var(--bg-secondary);
    width: 90%;
    max-width: 400px;
    padding: 25px;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    transform: translateY(20px);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
}

.cinematic-modal-overlay.active .cinematic-modal {
    transform: translateY(0);
}

.cinematic-modal-title {
    margin-bottom: 15px;
    font-size: 1.4rem;
    color: var(--c-primary);
}

.cinematic-modal-body {
    margin-bottom: 25px;
    color: var(--c-text);
    font-size: 1rem;
}

.cinematic-modal-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}
