/* Import: base/variables.css */
/* Variables */
:root {
    /* Prohibition / Art Deco Palette */
    --primary: #d4af37;          /* Metallic Gold */
    --primary-light: #f3e5ab;    /* Champagne */
    --primary-dark: #8a6e1e;     /* Antique Gold */
    --secondary: #1a1a1a;        /* Charcoal */
    --accent: #722f37;           /* Merlot */
    --deep-red: #4a0404;         /* Oxblood */

    /* Wood tones & Backgrounds */
    --wood-light: #c19a6b;
    --wood-medium: #855e42;
    --wood-dark: #3e2723;

    /* Neutrals */
    --cream: #f5f5f0;            /* Parchment */
    --off-white: #faf9f6;
    --warm-gray-50: #f2f0e9;
    --warm-gray-100: #e6e2d6;
    --warm-gray-200: #d1ccbf;
    --warm-gray-300: #b8b2a3;
    --warm-gray-400: #999181;
    --warm-gray-500: #7a7264;
    --warm-gray-600: #5c5448;
    --warm-gray-700: #403a32;
    --warm-gray-800: #26221d;
    --warm-gray-900: #12100e;

    /* Typography */
    --font-display: 'Josefin Sans', sans-serif;
    --font-body: 'Lora', serif;
    --font-ui: 'Montserrat', sans-serif;

    /* Spacing */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-2xl: 3rem;
    --spacing-3xl: 4rem;

    /* Border radius */
    --radius-sm: 0.25rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 50%;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(31, 22, 17, 0.05);
    --shadow-md: 0 4px 6px rgba(31, 22, 17, 0.07);
    --shadow-lg: 0 10px 15px rgba(31, 22, 17, 0.1);
    --shadow-xl: 0 20px 25px rgba(31, 22, 17, 0.1);

    /* Transitions */
    --transition-base: 0.15s ease;
    --transition-slow: 0.3s ease;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    --gradient-warm: linear-gradient(135deg, var(--cream) 0%, var(--off-white) 100%);
}


/* Import: base/reset.css */
/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: var(--warm-gray-900); /* Dark background for Deco feel */
    color: var(--warm-gray-100);
    line-height: 1.7;
    font-size: 1.1rem;
    min-height: 100vh;
    /* Art Deco Fan Pattern (Subtle) */
    background-image:
        radial-gradient(circle at 100% 100%, transparent 12px, var(--warm-gray-800) 13px, var(--warm-gray-800) 14px, transparent 15px),
        radial-gradient(circle at 0% 100%, transparent 12px, var(--warm-gray-800) 13px, var(--warm-gray-800) 14px, transparent 15px),
        radial-gradient(circle at 100% 0%, transparent 12px, var(--warm-gray-800) 13px, var(--warm-gray-800) 14px, transparent 15px),
        radial-gradient(circle at 0% 0%, transparent 12px, var(--warm-gray-800) 13px, var(--warm-gray-800) 14px, transparent 15px);
    background-size: 60px 60px;
    background-color: #1a1a1a;
}


/* Import: base/typography.css */
/* Typography */
/* Note: Font imports are handled in the HTML head */

/* Headings and text styles are mostly defined in content.css or specific components */



/* Import: layout/navbar.css */
/* Navigation */
.navbar {
    background: var(--gradient-warm);
    border-bottom: 1px solid var(--warm-gray-200);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    text-decoration: none;
    color: var(--warm-gray-900);
    font-weight: 700;
    font-size: 1.25rem;
    transition: transform var(--transition-base);
}

.navbar-brand:hover {
    transform: translateY(-2px);
}

.navbar-logo {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 800;
    box-shadow: var(--shadow-md);
}

.navbar-logo span {
    transform: rotate(-45deg); /* Counter-rotate text */
}

.navbar-menu-wrapper ul {
    display: flex;
    gap: var(--spacing-xl);
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-menu-wrapper ul a {
    color: var(--warm-gray-700);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    position: relative;
}

.navbar-menu-wrapper ul a:hover {
    color: var(--primary);
    background: var(--warm-gray-100);
}

.navbar-menu-wrapper ul a.active::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: var(--radius-full);
}

/* Mobile Navigation Toggle */
.navbar-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
    z-index: 101;
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--warm-gray-900);
    position: relative;
    transition: all var(--transition-base);
}

.hamburger::before,
.hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--warm-gray-900);
    transition: all var(--transition-base);
}

.hamburger::before {
    top: -8px;
}

.hamburger::after {
    top: 8px;
}

/* Active state for hamburger */
.navbar-toggle.active .hamburger {
    background: transparent;
}

.navbar-toggle.active .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}

.navbar-toggle.active .hamburger::after {
    transform: rotate(-45deg);
    top: 0;
}


/* Import: layout/content.css */
/* Content Area - Base Styles */
.content {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-3xl);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--warm-gray-200);
    min-height: 70vh;
}

.content h1 {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--warm-gray-900);
    margin-bottom: var(--spacing-xl);
    line-height: 1.2;
}

.content h2 {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 600;
    color: var(--warm-gray-800);
    margin: var(--spacing-2xl) 0 var(--spacing-lg) 0;
    line-height: 1.3;
}

.content h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--warm-gray-800);
    margin: var(--spacing-xl) 0 var(--spacing-md) 0;
    line-height: 1.4;
}

.content h4 {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--warm-gray-700);
    margin: var(--spacing-lg) 0 var(--spacing-sm) 0;
}

.content p {
    margin-bottom: var(--spacing-lg);
    color: var(--warm-gray-700);
    line-height: 1.7;
}

.content ul, .content ol {
    margin: var(--spacing-lg) 0;
    padding-left: var(--spacing-xl);
}

.content li {
    margin-bottom: var(--spacing-sm);
    color: var(--warm-gray-700);
    line-height: 1.6;
}

.content a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all var(--transition-base);
}

.content a:hover {
    border-bottom-color: var(--primary);
}

.content blockquote {
    border-left: 4px solid var(--primary);
    padding: var(--spacing-lg) var(--spacing-xl);
    margin: var(--spacing-xl) 0;
    background: var(--warm-gray-50);
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    color: var(--warm-gray-700);
}

.content code {
    background: var(--warm-gray-100);
    color: var(--accent);
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 0.9em;
    font-family: 'JetBrains Mono', 'Courier New', monospace;
}

.content pre {
    background: var(--warm-gray-900);
    color: var(--warm-gray-100);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    overflow-x: auto;
    margin: var(--spacing-lg) 0;
    box-shadow: var(--shadow-lg);
}

.content pre code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: 0.875rem;
    line-height: 1.7;
}

.content strong {
    font-weight: 600;
    color: var(--warm-gray-900);
}


/* Import: layout/footer.css */
/* Footer */
.footer {
    background: var(--warm-gray-900);
    color: var(--warm-gray-300);
    margin-top: var(--spacing-3xl);
    padding: var(--spacing-3xl) 0 var(--spacing-xl);
    position: relative;
    border-top: 4px solid var(--primary);
}

/* Decorative Top Element */
.footer-decoration {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
    width: 24px;
    height: 24px;
    background: var(--warm-gray-900);
    border: 4px solid var(--primary);
    z-index: 10;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.footer-decoration::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: var(--primary);
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-xl);
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--spacing-3xl);
    align-items: start;
}

.footer-section {
    position: relative;
}

.brand-section {
    padding-right: var(--spacing-xl);
    border-right: 1px solid var(--warm-gray-800);
}

.footer-logo {
    width: 50px;
    height: 50px;
    background: transparent;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 1.2rem;
    border: 2px solid var(--primary);
    margin-bottom: var(--spacing-lg);
    transform: rotate(45deg);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
}

.footer-section h3 {
    font-family: var(--font-display);
    color: var(--primary);
    margin-bottom: var(--spacing-md);
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.footer-section p {
    color: var(--warm-gray-400);
    line-height: 1.8;
    font-size: 1rem;
    max-width: 400px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.footer-section ul li {
    margin-bottom: 0;
}

.footer-section ul a {
    color: var(--warm-gray-300);
    text-decoration: none;
    transition: all var(--transition-slow);
    font-family: var(--font-ui);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    display: inline-block;
    position: relative;
    padding-left: 15px;
}

.footer-section ul a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    width: 4px;
    height: 4px;
    background: var(--primary-dark);
    transition: all var(--transition-base);
}

.footer-section ul a:hover {
    color: var(--primary);
    padding-left: 20px;
}

.footer-section ul a:hover::before {
    background: var(--primary);
    width: 6px;
    height: 6px;
}

.footer-bottom {
    margin-top: var(--spacing-3xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--warm-gray-800);
    text-align: center;
    color: var(--warm-gray-600);
    font-family: var(--font-ui);
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}



/* Import: layout/responsive.css */
/* Responsive Design */
@media (max-width: 768px) {
    .navbar-toggle {
        display: block;
    }

    .navbar-menu-wrapper {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--warm-gray-50);
        padding: var(--spacing-lg);
        box-shadow: var(--shadow-lg);
        border-bottom: 4px solid var(--primary);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-base);
        pointer-events: none;
    }

    .navbar-menu-wrapper.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .navbar-menu-wrapper ul {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: center;
    }

    .navbar-menu-wrapper ul a {
        width: 100%;
        text-align: center;
        display: block;
        padding: var(--spacing-md);
    }

    .navbar-menu-wrapper ul a.active::after {
        bottom: 5px;
    }

    .navbar-brand {
        font-size: 1.25rem;
    }

    .navbar-logo {
        width: 36px;
        height: 36px;
    }

    .content {
        padding: var(--spacing-lg); /* Reduced padding */
    }

    .content h1 {
        font-size: 2rem;
    }

    .content h2 {
        font-size: 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: var(--spacing-xl);
        text-align: center;
    }

    .brand-section {
        border-right: none;
        border-bottom: 1px solid var(--warm-gray-800);
        padding-right: 0;
        padding-bottom: var(--spacing-xl);
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .footer-logo {
        margin: 0 auto var(--spacing-lg);
    }

    .footer-section ul {
        align-items: center;
    }
}


