@import url('https://fonts.googleapis.com/css2?family=Dancing+Script:wght@700&display=swap');

:root {
    /* Colors */
    --color-primary: #003399;
    /* Deep Professional Blue */
    --color-accent: #E6A817;
    /* Rich Gold/Orange from logo */
    --color-black: #0A0A0A;
    --color-white: #FFFFFF;
    --color-off-white: #F9F9F9;
    --color-dark-gray: #1A1A1A;
    --color-medium-gray: #666666;
    --color-light-gray: #E5E5E5;
    --color-charcoal: #333333;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #003399 0%, #002266 100%);
    --gradient-accent: linear-gradient(135deg, #E6A817 0%, #C79010 100%);
    --gradient-dark: linear-gradient(135deg, #1A1A1A 0%, #0A0A0A 100%);

    /* Typography */
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    --font-logo: 'Dancing Script', cursive;
    /* Updated Logo Font */

    /* 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;

    /* Border Radius */
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --border-radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;

    /* Text Sizes - Desktop Default */
    --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;
    /* Z-Index */
    --z-negative: -1;
    --z-normal: 1;
    --z-tooltip: 10;
    --z-fixed: 100;
    --z-modal: 1000;
}

/* Reset & Base Styles */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
    /* Removes blue highlight on mobile tap */
    -webkit-touch-callout: none;
}

/* Aggressive focus removal for mobile feel */
a:focus,
button:focus,
input:focus,
textarea:focus,
div:focus {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

body {
    font-family: var(--font-primary);
    color: var(--color-charcoal);
    line-height: 1.6;
    overflow-x: hidden;
    background-color: var(--color-white);
    width: 100%;
    max-width: 100%;
    position: relative;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

/* Typography */
/* ... */

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }
}

.container-narrow {
    max-width: 800px;
}

.section {
    padding: var(--space-4xl) 0;
}

.section-sm {
    padding: var(--space-2xl) 0;
}

.grid {
    display: grid;
    gap: var(--space-xl);
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.gap-sm {
    gap: var(--space-sm);
}

.gap-md {
    gap: var(--space-md);
}

.gap-lg {
    gap: var(--space-lg);
}

.text-center {
    text-align: center;
}

.mt-lg {
    margin-top: var(--space-lg);
}

.mt-xl {
    margin-top: var(--space-xl);
}

.mt-2xl {
    margin-top: var(--space-2xl);
}

/* Backgrounds */
.bg-off-white {
    background-color: var(--color-off-white);
}

.bg-black {
    background-color: var(--color-black);
}

.bg-gradient-dark {
    background: var(--gradient-dark);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-subtitle {
    color: var(--color-accent);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-size: var(--text-sm);
    margin-bottom: var(--space-sm);
}

.section-title {
    margin-bottom: var(--space-md);
}

.section-description {
    color: var(--color-medium-gray);
    font-size: var(--text-lg);
}

/* Customer Gallery */
.customer-gallery {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
}

.customer-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--color-accent);
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}



.customer-circle:hover {
    transform: scale(1.1);
}

.customer-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    :root {
        --space-4xl: 4rem;
        --space-3xl: 3rem;
    }
}

@media (max-width: 768px) {
    :root {
        --text-5xl: 2.5rem;
        --text-4xl: 2rem;
        --text-3xl: 1.75rem;
        --text-2xl: 1.5rem;
        --text-xl: 1.25rem;
        --text-lg: 1.125rem;
        --text-base: 1rem;

        --space-4xl: 3rem;
        --space-3xl: 2.5rem;
        --space-2xl: 2rem;
        --space-xl: 1.5rem;
        --space-lg: 1rem;
    }

    .grid-3,
    .grid-2 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: var(--space-3xl) 0;
    }

    .section-sm {
        padding: var(--space-xl) 0;
    }

    .desktop-br {
        display: none;
    }

    .customer-circle {
        width: 150px;
        height: 150px;
        border-width: 3px;
    }
}

@media (max-width: 480px) {
    :root {
        --text-5xl: 2rem;
        --text-4xl: 1.75rem;
        --text-3xl: 1.5rem;
        --text-2xl: 1.25rem;

        --space-4xl: 2.5rem;
        --space-3xl: 2rem;
    }

    h1 {
        font-size: var(--text-4xl);
    }

    h2 {
        font-size: var(--text-3xl);
    }

    h3 {
        font-size: var(--text-2xl);
    }

    .customer-circle {
        width: 120px;
        height: 120px;
        border-width: 2px;
    }
}

@media (max-width: 375px) {
    :root {
        --text-4xl: 1.5rem;
        --text-3xl: 1.25rem;
        --space-md: 0.75rem;
    }
}

/* Car Detail Page Layout */
.car-detail-grid {
    grid-template-columns: 2fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

@media (max-width: 1024px) {
    .car-detail-grid {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        gap: var(--space-xl);
    }
}

/* Inventory Page Layout */
.inventory-grid {
    grid-template-columns: 280px 1fr;
    gap: var(--space-2xl);
}

@media (max-width: 1024px) {
    .inventory-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

    .filters-sidebar {
        position: static;
        margin-bottom: var(--space-xl);
    }
}

/* Contact Page Layout */
.contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: start;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
}

/* === TEXT LOGO === */
.logo-text {
    font-family: var(--font-logo);
    font-size: 3.5rem;
    font-weight: bold;
    /* Make it thicker */
    text-shadow: 0.5px 0 0 currentcolor;
    /* Faux-bold for script fonts */
    line-height: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none !important;
    padding-bottom: 10px;
}

.text-ben {
    color: #3399FF;
    /* Light Blue Request */
}

.text-cars {
    color: var(--color-accent);
    /* Standard Orange */
}

@media (max-width: 768px) {
    .logo-text {
        font-size: 2.5rem;
    }
}