/* ============================================
   PRESTIGE WORLD DRIVE — Storyboard Styles
   ============================================
   Colors, typography, and design locked 1/19/2026
   ============================================ */

/* --------------------------------------------
   CSS VARIABLES (Design Tokens)
   -------------------------------------------- */
:root {
    /* Color Palette — LOCKED */
    --color-primary: #1a2744;       /* Deep Navy */
    --color-secondary: #3d2c6b;     /* Royal Purple */
    --color-accent: #c0c5ce;        /* Silver/Platinum */
    --color-highlight: #b8964c;     /* Brass/Gold */
    --color-neutral-dark: #2d2d2d;  /* Charcoal */
    --color-neutral-light: #f8f8f8; /* Off-white */
    --color-white: #ffffff;
    --color-text: #2d2d2d;
    --color-text-light: #666666;

    /* Typography — LOCKED */
    --font-headline: 'Libre Baskerville', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Type Scale */
    --text-xs: 0.75rem;
    --text-sm: 0.875rem;
    --text-base: 1rem;
    --text-lg: 1.125rem;
    --text-xl: 1.25rem;
    --text-2xl: 1.5rem;
    --text-3xl: 1.875rem;
    --text-4xl: 2.25rem;
    --text-5xl: 3rem;
    --text-6xl: 3.75rem;

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

    /* Layout */
    --container-max: 1200px;
    --header-height: 100px;

    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 300ms ease;
}

/* --------------------------------------------
   RESET & BASE
   -------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--text-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
    list-style: none;
}

/* --------------------------------------------
   UTILITY CLASSES
   -------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.section-title {
    font-family: var(--font-headline);
    font-size: var(--text-4xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-xl);
}

/* --------------------------------------------
   BUTTONS
   -------------------------------------------- */
.btn {
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-weight: 500;
    text-align: center;
    border: 2px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-primary {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--color-white);
    border: 1px solid rgba(184, 150, 76, 0.6);
    position: relative;
    overflow: hidden;
}

.btn-primary::before,
.btn-glass-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
}

.btn-primary::before {
    animation: shimmer 3s ease-in-out infinite;
}

.btn-glass-outline::before {
    animation: shimmer 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

@keyframes shimmer {
    0% { left: -100%; }
    40% { left: 100%; }
    100% { left: 100%; }
}

.btn-primary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(184, 150, 76, 0.9);
    box-shadow: 0 0 20px rgba(184, 150, 76, 0.3);
}

.btn-glass-outline {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--color-white);
    border: 1px solid rgba(184, 150, 76, 0.6);
    position: relative;
    overflow: hidden;
}

.btn-glass-outline:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(184, 150, 76, 0.9);
    box-shadow: 0 0 20px rgba(184, 150, 76, 0.3);
}

.hero-ctas {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-secondary:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* --------------------------------------------
   HEADER
   -------------------------------------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--header-height);
    background-color: var(--color-white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 85px;
    width: auto;
}

.logo-text {
    font-family: var(--font-headline);
    font-size: var(--text-xl);
    font-weight: 700;
    color: var(--color-primary);
}

.main-nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
}

.nav-list a {
    font-size: var(--text-sm);
    font-weight: 500;
    color: var(--color-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nav-list a:hover {
    color: var(--color-highlight);
}

.nav-cta {
    padding: var(--space-sm) var(--space-lg);
    background-color: var(--color-primary);
    color: var(--color-white) !important;
    border-radius: 4px;
}

.nav-cta:hover {
    background-color: var(--color-secondary);
}

/* Mobile menu toggle - hidden on desktop */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

/* --------------------------------------------
   HERO SECTION
   -------------------------------------------- */
.hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-primary);
    background-image: url('../assets/images/stepvan_fleet_pwd.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Navy gradient overlay with noise texture effect */
    background: linear-gradient(
        135deg,
        rgba(26, 39, 68, 0.65) 0%,
        rgba(61, 44, 107, 0.55) 100%
    );
    /* Noise texture via SVG filter - subtle grain */
    filter: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Alternative noise approach - pseudo element */
.hero-overlay::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.08;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: var(--space-xl);
}

.hero-tagline {
    font-family: var(--font-headline);
    font-size: var(--text-6xl);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    line-height: 1.1;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtext {
    font-size: var(--text-xl);
    color: var(--color-white);
    margin-bottom: var(--space-2xl);
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
}

.scroll-indicator span {
    display: block;
    width: 24px;
    height: 40px;
    border: 2px solid var(--color-accent);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator span::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background-color: var(--color-accent);
    border-radius: 2px;
    animation: scroll-hint 2s ease-in-out infinite;
}

@keyframes scroll-hint {
    0%, 100% { opacity: 1; transform: translateX(-50%) translateY(0); }
    50% { opacity: 0.5; transform: translateX(-50%) translateY(8px); }
}

/* --------------------------------------------
   TRUST INDICATORS
   -------------------------------------------- */
.trust-indicators {
    position: relative;
    padding: var(--space-3xl) 0;
    overflow: hidden;
}

.trust-indicators::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/images/fleet_example_1.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.trust-indicators::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(184, 150, 76, 0.85);
    z-index: 0;
}

.trust-indicators .container {
    position: relative;
    z-index: 1;
}

.trust-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-4xl);
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-headline);
    font-size: var(--text-5xl);
    font-weight: 700;
    color: var(--color-white);
    line-height: 1;
}

.stat-label {
    display: block;
    font-size: var(--text-sm);
    color: var(--color-white);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: var(--space-sm);
    opacity: 0.9;
}

/* --------------------------------------------
   SERVICE PILLARS
   -------------------------------------------- */
.service-pillars {
    padding: var(--space-4xl) 0;
    background-color: var(--color-white);
}

.service-pillars .section-title {
    text-align: center;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-2xl);
}

.pillar {
    text-align: center;
    padding: var(--space-xl);
}

.pillar-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    color: var(--color-highlight);
}

.pillar-icon svg {
    width: 48px;
    height: 48px;
}

.pillar-title {
    font-family: var(--font-headline);
    font-size: var(--text-2xl);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
}

.pillar-description {
    font-size: var(--text-base);
    color: var(--color-text-light);
    line-height: 1.7;
}

/* --------------------------------------------
   DIFFERENTIATOR SECTION
   -------------------------------------------- */
.differentiator {
    padding: var(--space-4xl) 0;
    background-color: var(--color-neutral-light);
}

.diff-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.diff-content .section-title {
    margin-bottom: var(--space-lg);
}

.diff-text {
    font-size: var(--text-lg);
    color: var(--color-text);
    margin-bottom: var(--space-lg);
    line-height: 1.8;
}

.diff-image {
    position: relative;
}

.diff-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.image-placeholder {
    aspect-ratio: 4 / 3;
    background-color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: var(--color-text-light);
    font-style: italic;
}

/* --------------------------------------------
   TESTIMONIAL
   -------------------------------------------- */
.testimonial {
    position: relative;
    padding: var(--space-4xl) 0;
    overflow: hidden;
}

.testimonial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../assets/images/delivery_fedex.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

.testimonial::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(26, 39, 68, 0.85) 0%,
        rgba(61, 44, 107, 0.8) 100%
    );
    z-index: 0;
}

.testimonial .container {
    position: relative;
    z-index: 1;
}

.testimonial-quote {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-quote p {
    font-family: var(--font-headline);
    font-size: var(--text-3xl);
    font-style: italic;
    color: var(--color-white);
    margin-bottom: var(--space-lg);
    line-height: 1.5;
}

.testimonial-quote cite {
    font-family: var(--font-body);
    font-size: var(--text-base);
    font-style: normal;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* --------------------------------------------
   FOOTER
   -------------------------------------------- */
.site-footer {
    background-color: var(--color-neutral-dark);
    color: var(--color-white);
    padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-2xl);
}

.footer-logo {
    font-family: var(--font-headline);
    font-size: var(--text-xl);
    font-weight: 700;
    display: block;
    margin-bottom: var(--space-sm);
}

.footer-logo-img {
    height: 85px;
    width: auto;
    margin-bottom: var(--space-sm);
}

.footer-tagline {
    color: var(--color-accent);
    font-size: var(--text-sm);
}

.footer-links h4,
.footer-contact h4 {
    font-family: var(--font-headline);
    font-size: var(--text-base);
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--color-white);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-links a {
    font-size: var(--text-sm);
    color: var(--color-accent);
}

.footer-links a:hover {
    color: var(--color-highlight);
}

.footer-contact p {
    font-size: var(--text-sm);
    color: var(--color-accent);
    margin-bottom: var(--space-xs);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: var(--text-sm);
    color: var(--color-text-light);
}

/* --------------------------------------------
   RESPONSIVE — Tablet
   -------------------------------------------- */
@media (max-width: 1024px) {
    .pillars-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pillars-grid .pillar:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }

    .diff-grid {
        gap: var(--space-2xl);
    }
}

/* --------------------------------------------
   RESPONSIVE — Mobile
   -------------------------------------------- */
@media (max-width: 768px) {
    :root {
        --text-6xl: 2.5rem;
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
    }

    /* Header mobile */
    .main-nav {
        display: none; /* TODO: Mobile menu implementation */
    }

    .mobile-menu-toggle {
        display: flex;
    }

    /* Hero mobile */
    .hero-content {
        padding: var(--space-lg);
    }

    .hero-subtext {
        font-size: var(--text-base);
    }

    /* Trust indicators mobile */
    .trust-stats {
        flex-direction: column;
        gap: var(--space-2xl);
    }

    /* Pillars mobile */
    .pillars-grid {
        grid-template-columns: 1fr;
    }

    .pillars-grid .pillar:last-child {
        max-width: none;
    }

    /* Differentiator mobile */
    .diff-grid {
        grid-template-columns: 1fr;
    }

    .diff-image {
        order: -1;
    }

    /* Footer mobile */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
        text-align: center;
    }
}
