/**
 * KODO DESIGN SYSTEM
 * Mazda 3 JHB Premium Landing Page
 * 
 * Design Philosophy Implementation:
 * - Ma (間): Negative space as design element, not empty space
 * - Kanso (簡素): Simplicity and elimination of clutter
 * - Shizen (自然): Natural, organic movement and flow
 * - Seijaku (静寂): Tranquility through restrained color use
 * 
 * Technical Approach:
 * - White (#FFFFFF) as primary canvas
 * - Mazda Red (#DC1B1F) as intentional accent
 * - Typography hierarchy through size, weight, and spacing
 * - Soft shadows for depth without aggression
 * - Smooth motion through CSS transforms only
 */

/* ============================================
   TYPOGRAPHY SYSTEM
   ============================================ */

:root {
    /* Font Families */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-body: 'Manrope', 'Segoe UI', sans-serif;
    --font-ui: 'Outfit', 'Helvetica Neue', sans-serif;
    
    /* Color Palette - Intentionally Minimal */
    --color-white: #FFFFFF;
    --color-black: #0A0A0A;
    --color-mazda-red: #DC1B1F;
    --color-gray-100: #F8F9FA;
    --color-gray-200: #E9ECEF;
    --color-gray-300: #DEE2E6;
    --color-gray-400: #CED4DA;
    --color-gray-600: #6C757D;
    --color-gray-800: #343A40;
    
    /* Spacing Scale - Fibonacci-inspired */
    --space-xs: 0.5rem;     /* 8px */
    --space-sm: 0.875rem;   /* 14px */
    --space-md: 1.5rem;     /* 24px */
    --space-lg: 2.5rem;     /* 40px */
    --space-xl: 4rem;       /* 64px */
    --space-2xl: 6.5rem;    /* 104px */
    --space-3xl: 10.5rem;   /* 168px */
    
    /* Shadow System - Soft, layered depth */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.08);
    --shadow-xl: 0 16px 48px rgba(0, 0, 0, 0.10);
    
    /* Border Radius - Organic, not geometric */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    /* Transitions - Precise, automotive timing */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--color-black);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

/* ============================================
   NAVIGATION - MINIMAL & PRECISE
   ============================================ */

.navigation-minimal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: background var(--transition-base);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-xl);
}

/* Logo: Minimal wordmark */
.nav-logo .logo-link {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-black);
    text-decoration: none;
    letter-spacing: -0.02em;
}

/* Navigation Menu: Centered, horizontal */
.nav-menu {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
    list-style: none;
    margin: 0;
}

.nav-link {
    position: relative;
    font-family: var(--font-ui);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--color-black);
    text-decoration: none;
    padding: 0.5rem 0;
    display: inline-block;
}

/* Hover: Red underline animation */
.nav-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-mazda-red);
    transition: width var(--transition-base);
}

.nav-link:hover .nav-underline {
    width: 100%;
}

/* CTA Button: Minimal pill shape */
.nav-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.75rem;
    background: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-ui);
    font-size: 0.9375rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.nav-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.cta-button-arrow {
    transition: transform var(--transition-fast);
}

.nav-cta-button:hover .cta-button-arrow {
    transform: translateX(4px);
}

/* Mobile Toggle: Hidden on desktop */
.nav-mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--color-black);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

/* ============================================
   HERO SECTION - SPLIT LAYOUT
   ============================================ */

.hero-section {
    position: relative;
    background: var(--color-white);
    overflow: hidden;
}

.hero-content {
    padding: var(--space-3xl) var(--space-xl);
    display: flex;
    align-items: center;
}

.hero-text-wrapper {
    max-width: 600px;
}

/* Hero Headline: Large, bold, hierarchical */
.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--color-black);
    margin-bottom: var(--space-lg);
}

.hero-headline-accent {
    color: var(--color-mazda-red);
    display: block;
}

/* Hero Subtext: Restrained, breathing room */
.hero-subtext {
    font-size: 1.25rem;
    line-height: 1.6;
    color: var(--color-gray-600);
    margin-bottom: var(--space-xl);
    max-width: 500px;
}

/* CTA Group: Primary + Secondary actions */
.hero-cta-group {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: var(--space-2xl);
}

.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.125rem 2.5rem;
    background: var(--color-mazda-red);
    color: var(--color-white);
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-decoration: none;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.cta-arrow {
    font-size: 1.5rem;
    transition: transform var(--transition-fast);
}

.cta-primary:hover .cta-arrow {
    transform: translateX(6px);
}

.cta-secondary {
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-black);
    text-decoration: none;
    position: relative;
    padding-bottom: 0.25rem;
}

.cta-secondary::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-black);
    opacity: 0.2;
}

/* Hero Stats: Minimal data presentation */
.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-black);
}

.stat-label {
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--color-gray-600);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--color-gray-300);
}

/* ============================================
   HERO VISUAL - VEHICLE SHOWCASE
   ============================================ */

.hero-visual {
    position: relative;
    padding: var(--space-3xl) var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: center;
}

.vehicle-showcase {
    position: relative;
    width: 100%;
    max-width: 700px;
}

.vehicle-image {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
}

/* Vehicle Shadow: Subtle ground contact */
.vehicle-shadow {
    position: absolute;
    bottom: -5%;
    left: 10%;
    right: 10%;
    height: 40px;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.15) 0%, transparent 70%);
    filter: blur(20px);
    z-index: 1;
}

/* Spec Badge: Glass morphism floating info */
.spec-badge {
    position: absolute;
    bottom: 10%;
    right: 5%;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    z-index: 3;
}

.spec-title {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--color-black);
    margin-bottom: 0.25rem;
}

.spec-power {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-mazda-red);
}

/* Hero Depth Gradient: Subtle fade to white */
.hero-depth-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent 0%, var(--color-white) 100%);
    pointer-events: none;
}

/* ============================================
   CONTENT SECTIONS - ALTERNATING LAYOUTS
   ============================================ */

.content-section {
    padding: var(--space-3xl) 0;
    position: relative;
}

.section-row {
    min-height: 600px;
}

/* Section Content: Typography hierarchy */
.section-content {
    padding: var(--space-xl);
}

.section-label {
    display: block;
    font-family: var(--font-ui);
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-mazda-red);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-md);
}

.section-heading {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--color-black);
    margin-bottom: var(--space-lg);
}

.heading-accent {
    color: var(--color-mazda-red);
    display: block;
}

.section-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-gray-600);
    margin-bottom: var(--space-xl);
    max-width: 540px;
}

/* Section CTA: Minimal underline link */
.section-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-ui);
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-black);
    text-decoration: none;
    position: relative;
    padding-bottom: 0.5rem;
}

.cta-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-mazda-red);
    transition: width var(--transition-base);
}

.section-cta:hover .cta-underline {
    width: 100%;
}

/* ============================================
   IMAGE FRAMES - LAYERED DEPTH
   ============================================ */

.image-frame {
    position: relative;
    width: 100%;
    height: 100%;
}

.section-image {
    width: 100%;
    height: auto;
    display: block;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 16px 32px rgba(0, 0, 0, 0.08));
}

/* Background Layer: Creates depth */
.image-background-layer {
    position: absolute;
    top: 10%;
    left: -5%;
    right: -5%;
    bottom: 10%;
    background: linear-gradient(135deg, var(--color-gray-100) 0%, var(--color-white) 100%);
    border-radius: var(--radius-lg);
    z-index: 1;
}

.charity-background {
    background: linear-gradient(135deg, #FFF5F5 0%, var(--color-white) 100%);
}

.community-background {
    background: linear-gradient(135deg, var(--color-gray-100) 0%, #F8F9FA 100%);
}

/* Continued in next file... */
