/*
Theme Name: New World Fool Productions v22
Theme URI: https://newworldfoolproductions.com
Author: Dylan Gaines
Author URI: https://newworldfoolproductions.com
Description: Custom WordPress theme for New World Fool Productions - Film production company with dark, cinematic aesthetic
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: nwf-theme
Tags: dark, cinema, portfolio, custom-post-types, films
*/

/* ==========================================================================
   CSS Variables - Dark Cinematic Theme with Spunky Modern Touch
   ========================================================================== */
:root {
    /* Color Palette - Dark & Cinematic with Accent Pop */
    --color-dark-bg: #0a0a0a;
    --color-dark-secondary: #1a1a1a;
    --color-dark-tertiary: #2a2a2a;
    --color-accent-primary: #ff6b35;      /* Spunky orange-red */
    --color-accent-secondary: #f7931e;    /* Warm orange */
    --color-text-light: #ffffff;
    --color-text-gray: #b0b0b0;
    --color-text-dim: #707070;
    
    /* Typography */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-size-base: 1rem;
    --font-size-lg: 1.125rem;
    --font-size-xl: 1.25rem;
    --font-size-h1: 3.5rem;
    --font-size-h2: 2.5rem;
    --font-size-h3: 2rem;
    --font-size-h4: 1.5rem;
    --line-height-base: 1.6;
    --line-height-heading: 1.2;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    --spacing-xxxl: 6rem;
    
    /* Layout */
    --max-width: 1400px;
    --max-width-narrow: 1000px;
    --header-height: 80px;
    
    /* Borders & Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 12px;
    --border-radius-xl: 20px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-accent: 0 0 20px rgba(255, 107, 53, 0.3);
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text-light);
    background-color: var(--color-dark-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ==========================================================================
   Typography
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    line-height: var(--line-height-heading);
    font-weight: 700;
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }

p {
    margin-bottom: var(--spacing-md);
    color: var(--color-text-gray);
}

a {
    color: var(--color-accent-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-accent-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ==========================================================================
   Layout Utilities
   ========================================================================== */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.container-narrow {
    max-width: var(--max-width-narrow);
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.section {
    padding: var(--spacing-xxxl) 0;
}

.section-sm {
    padding: var(--spacing-xl) 0;
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
@media (max-width: 1200px) {
    :root {
        --font-size-h1: 3rem;
        --font-size-h2: 2.25rem;
        --spacing-xxxl: 4rem;
    }
}

@media (max-width: 768px) {
    :root {
        --font-size-h1: 2.5rem;
        --font-size-h2: 2rem;
        --font-size-h3: 1.75rem;
        --spacing-xxxl: 3rem;
        --spacing-xxl: 2rem;
    }
    
    .container, .container-narrow {
        padding: 0 var(--spacing-md);
    }
}

@media (max-width: 480px) {
    :root {
        --font-size-h1: 2rem;
        --font-size-h2: 1.75rem;
        --font-size-h3: 1.5rem;
    }
}
