/* EXT Auto NY - Core Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;700;800;900&display=swap');

:root {
    /* Brand Colors */
    --clr-bg: #020617; /* Very dark slate/blue */
    --clr-bg-alt: #0f172a; /* Lighter dark slate */
    --clr-primary: #0ea5e9; /* Electric Blue from Logo */
    --clr-primary-glow: rgba(14, 165, 233, 0.4);
    --clr-secondary: #00b4d8; /* Cyan-ish light blue */
    --clr-accent: #fbbf24; /* Exciting Gold/Yellow */
    --clr-accent-hover: #f59e0b;
    --clr-text: #f8fafc;
    --clr-text-muted: #94a3b8;
    
    /* UI Elements */
    --glass-bg: rgba(15, 23, 42, 0.6);
    --glass-border: rgba(255, 255, 255, 0.08);
    --transition-fast: 0.2s ease-in-out;
    --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Layout */
    --container-width: 1280px;
    --section-pad: 5rem 1.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--clr-bg);
    color: var(--clr-text);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    line-height: 1.1;
}

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

a:hover {
    color: var(--clr-primary);
}

ul {
    list-style: none;
}

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

/* =========================================================================
   CONTAINERS & UTILS
   ========================================================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.text-gradient {
    background: linear-gradient(135deg, #fff 0%, var(--clr-primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-accent {
    color: var(--clr-accent);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-subtitle {
    text-align: center;
    color: var(--clr-text-muted);
    max-width: 600px;
    margin: 0 auto 3rem auto;
    font-size: 1.125rem;
}

/* Base Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all var(--transition-slow);
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, var(--clr-primary) 0%, var(--clr-secondary) 100%);
    color: #fff;
    box-shadow: 0 4px 15px var(--clr-primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px var(--clr-primary-glow);
    color: #fff;
}

.btn-accent {
    background: var(--clr-accent);
    color: var(--clr-bg);
}

.btn-accent:hover {
    background: var(--clr-accent-hover);
    transform: translateY(-2px);
    color: var(--clr-bg);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--clr-primary);
    color: var(--clr-primary);
}

.btn-outline:hover {
    background: rgba(14, 165, 233, 0.1);
    color: var(--clr-primary);
    transform: translateY(-2px);
}

/* =========================================================================
   NAVIGATION
   ========================================================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(2, 6, 23, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.logo img {
    height: 40px;
}

.logo span {
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
}

.logo span .ext {
    color: var(--clr-primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    font-family: 'Outfit', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: var(--clr-primary);
    transition: width var(--transition-fast);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.mobile-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    background: none;
    border: none;
    color: var(--clr-text);
}

/* =========================================================================
   HERO SECTION
   ========================================================================= */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px; /* Offset for navbar */
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(2, 6, 23, 0.95) 0%, rgba(2, 6, 23, 0.4) 100%);
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--glass-bg);
    border: 1px solid var(--clr-primary);
    border-radius: 50px;
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--clr-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.hero h1 {
    font-size: 4.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--clr-text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
}

/* Glow Effect Element */
.hero-glow {
    position: absolute;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--clr-primary-glow) 0%, transparent 60%);
    z-index: 0;
    pointer-events: none;
}

/* =========================================================================
   FEATURES / HOW IT WORKS
   ========================================================================= */
.features {
    padding: var(--section-pad);
    background: var(--clr-bg-alt);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    text-align: center;
    transition: transform var(--transition-slow), box-shadow var(--transition-slow);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--clr-primary), var(--clr-secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-slow);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    border-color: rgba(14, 165, 233, 0.3);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem auto;
    background: rgba(14, 165, 233, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--clr-primary);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--clr-text-muted);
}

/* =========================================================================
   EXOTICS DISPLAY CAROUSEL (MOCKUP)
   ========================================================================= */
.showroom {
    padding: var(--section-pad);
    background: var(--clr-bg);
}

.showroom-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.car-card {
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    group: hover;
    cursor: pointer;
}

.car-img {
    height: 300px;
    position: relative;
    overflow: hidden;
}

.car-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.car-card:hover .car-img img {
    transform: scale(1.05);
}

.car-img::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, var(--clr-bg-alt), transparent);
}

.car-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem;
    z-index: 2;
}

.car-info h3 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.car-info .price {
    color: var(--clr-accent);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
}

/* =========================================================================
   CTA SECTION
   ========================================================================= */
.cta-section {
    padding: 6rem 1.5rem;
    background: linear-gradient(135deg, var(--clr-bg-alt) 0%, var(--clr-bg) 100%);
    text-align: center;
    position: relative;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
    background: var(--clr-bg);
    padding: 4rem 1.5rem 2rem 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: #fff;
}

.footer-desc {
    color: var(--clr-text-muted);
    margin-top: 1.5rem;
    max-width: 300px;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: var(--clr-text-muted);
}

.footer-links a:hover {
    color: var(--clr-primary);
    padding-left: 5px;
}

.footer-contact li {
    color: var(--clr-text-muted);
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.footer-contact i {
    color: var(--clr-primary);
    margin-top: 5px;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--clr-text-muted);
    font-size: 0.875rem;
}

/* =========================================================================
   RESPONSIVE DESIGN
   ========================================================================= */
@media (max-width: 992px) {
    .hero h1 { font-size: 3.5rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .nav-links, .nav-actions { display: none; }
    .mobile-toggle { display: block; }
    
    .hero h1 { font-size: 2.75rem; }
    .hero { text-align: center; }
    .hero-content { margin: 0 auto; }
    .hero-bg::after { background: rgba(2, 6, 23, 0.8); }
    .hero-btns { justify-content: center; flex-direction: column; }
    
    .section-title { font-size: 2rem; }
    .cta-content h2 { font-size: 2.5rem; }
    
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-desc { margin: 1.5rem auto; }
    .footer-contact li { justify-content: center; }
}

/* =========================================================================
   ADA ACCESSIBILITY WIDGET & MODIFIERS
   ========================================================================= */

.ada-toggle-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 65px;
    height: 65px;
    background: var(--clr-primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    z-index: 9999;
    border: 2px solid rgba(255,255,255,0.2);
    transition: all 0.3s ease;
}

.ada-toggle-btn:hover {
    transform: scale(1.1);
    background: var(--clr-secondary);
}

.ada-menu {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 320px;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
    z-index: 9998;
    transform: translateY(20px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ada-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
}

.ada-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
    margin-bottom: 1rem;
}

.ada-menu-header h3 {
    font-size: 1.25rem;
    color: #fff;
    margin: 0;
}

.ada-close {
    background: none;
    border: none;
    color: var(--clr-text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

.ada-close:hover {
    color: #fff;
}

.ada-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.ada-option:last-child {
    border-bottom: none;
}

.ada-option span {
    color: var(--clr-text);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Switch */
.ada-switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}
.ada-switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}
.ada-slider {
    position: absolute;
    cursor: pointer;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(255,255,255,0.1);
    transition: .4s;
    border-radius: 34px;
    border: 1px solid var(--glass-border);
}
.ada-slider:before {
    position: absolute;
    content: "";
    height: 16px;
    width: 16px;
    left: 4px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}
input:checked + .ada-slider {
    background-color: var(--clr-accent);
}
input:checked + .ada-slider:before {
    transform: translateX(24px);
    background-color: #000;
}

/* Base Body Modifications */
body.ada-high-contrast {
    background-color: #000 !important;
}

body.ada-high-contrast * {
    background-color: #000 !important;
    color: #fff !important;
    border-color: #fff !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

body.ada-high-contrast a, 
body.ada-high-contrast button {
    color: #ffff00 !important;
    border: 2px solid #ffff00 !important;
}

body.ada-large-text * {
    font-size: 115% !important;
    line-height: 1.8 !important;
}

body.ada-grayscale {
    filter: grayscale(100%) !important;
}

body.ada-readable-font * {
    font-family: Arial, sans-serif !important;
    letter-spacing: 1px !important;
}
