/* ========================================
   EMAAR MOTORS - Premium Vehicle Dealership
   Styles by Azryno © 2026
   Qatar Airways-Inspired Deep Red Theme
   ======================================== */

/* ===== CSS Variables ===== */
:root {
    /* Primary Colors - Qatar Airways Inspired */
    --red-deep: #7A1230;
    --red-primary: #8B1538;
    --red-dark: #5C0E28;
    --red-light: #A31D4A;
    --red-glow: rgba(139, 21, 56, 0.4);
    --red-subtle: rgba(139, 21, 56, 0.08);

    /* Neutral Colors */
    --white: #FFFFFF;
    --off-white: #F8F8F9;
    --light-grey: #F2F2F4;
    --grey-100: #E8E8EB;
    --grey-200: #D1D1D6;
    --grey-300: #B0B0B8;
    --grey-400: #8E8E99;
    --grey-500: #6B6B78;
    --dark-grey: #2D2D35;
    --charcoal: #1E1E24;
    --black: #111115;
    --true-black: #000000;

    /* Accent */
    --gold: #C9A84C;
    --gold-light: #D4B85C;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Bebas Neue', sans-serif;

    /* Spacing */
    --section-pad: 80px;
    --section-pad-mobile: 56px;
    --container-max: 1200px;
    --container-pad: 20px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 50px rgba(0,0,0,0.15);
    --shadow-red: 0 4px 20px rgba(139, 21, 56, 0.2);

    /* Border Radius */
    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

/* ===== Reset & Base ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    color: var(--dark-grey);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    outline: none;
    background: none;
    font-family: inherit;
}

input, select, textarea {
    font-family: inherit;
    font-size: inherit;
    outline: none;
    border: none;
}

/* ===== Utility Classes ===== */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
}

.text-accent {
    color: var(--red-primary);
}

.section {
    padding: var(--section-pad) 0;
}

.required {
    color: var(--red-primary);
}

/* ===== Preloader ===== */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}

.preloader-inner {
    text-align: center;
}

.preloader-logo {
    font-family: var(--font-accent);
    font-size: 3rem;
    color: var(--white);
    letter-spacing: 12px;
    margin-bottom: 24px;
    animation: preloaderPulse 1.5s ease-in-out infinite;
}

.preloader-bar {
    width: 200px;
    height: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-bar-fill {
    width: 0%;
    height: 100%;
    background: var(--red-primary);
    border-radius: 2px;
    animation: preloaderFill 2s ease-in-out forwards;
}

@keyframes preloaderPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

@keyframes preloaderFill {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 16px 0;
    transition: all var(--transition-smooth);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 10px 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

.navbar.scrolled .nav-logo .logo-main,
.navbar.scrolled .nav-logo .logo-sub {
    color: var(--black);
}

.navbar.scrolled .logo-icon {
    color: var(--red-primary);
}

.navbar.scrolled .nav-link {
    color: var(--dark-grey);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
    color: var(--red-primary);
}

.navbar.scrolled .hamburger-line {
    background: var(--dark-grey);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 var(--container-pad);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.logo-icon {
    font-size: 1.4rem;
    color: var(--red-light);
    transition: var(--transition);
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-main {
    font-family: var(--font-accent);
    font-size: 1.6rem;
    letter-spacing: 6px;
    color: var(--white);
    transition: var(--transition);
}

.logo-sub {
    font-family: var(--font-body);
    font-size: 0.6rem;
    letter-spacing: 5px;
    color: rgba(255,255,255,0.7);
    font-weight: 400;
    transition: var(--transition);
}

.navbar.scrolled .logo-sub {
    color: var(--grey-400);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-link {
    font-size: 0.85rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.5px;
    position: relative;
    padding: 4px 0;
    transition: var(--transition);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--red-primary);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--red-primary);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: var(--transition);
}

.nav-cta:hover {
    background: var(--red-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow-red);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 1001;
}

.hamburger-line {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
    transform-origin: center;
}

.nav-toggle.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* ===== Hero Section ===== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1.05); }
    100% { transform: scale(1.12); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(17, 17, 21, 0.85) 0%,
        rgba(17, 17, 21, 0.8) 100%
    );
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--container-pad);
    padding-top: 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 50px;
    padding: 8px 20px;
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(255,255,255,0.9);
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.badge-diamond {
    color: var(--gold);
    font-size: 0.7rem;
}

.hero-title {
    font-family: var(--font-heading);
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.15;
}

.title-line {
    display: block;
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
}

.title-accent {
    color: var(--red-light);
    font-style: italic;
}

.hero-subtitle {
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    color: rgba(255,255,255,0.75);
    max-width: 560px;
    margin: 0 auto 32px;
    line-height: 1.7;
    font-weight: 300;
}

.hero-ctas {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-stats-mini {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}

.hero-stat-item {
    text-align: center;
}

.hero-stat-num {
    display: block;
    font-family: var(--font-accent);
    font-size: 1.4rem;
    color: var(--white);
    letter-spacing: 2px;
}

.hero-stat-label {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 400;
}

.hero-stat-divider {
    width: 1px;
    height: 30px;
    background: rgba(255,255,255,0.2);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    transition: var(--transition);
}

.scroll-indicator:hover {
    color: rgba(255,255,255,0.8);
}

.scroll-text {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 500;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}

.scroll-dot {
    width: 1px;
    height: 12px;
    background: var(--red-light);
    position: absolute;
    top: -12px;
    animation: scrollDown 2s ease-in-out infinite;
}

@keyframes scrollDown {
    0% { top: -12px; }
    100% { top: 40px; }
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 28px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--red-primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-red);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.35);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--red-primary);
    border: none;
}

.btn-white:hover {
    background: var(--off-white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline.btn-white {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.4);
}

.btn-outline.btn-white:hover {
    background: rgba(255,255,255,0.15);
    border-color: var(--white);
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.8rem;
}

.btn-full {
    width: 100%;
    justify-content: center;
}

/* ===== Section Headers ===== */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 48px;
}

.section-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--red-primary);
    margin-bottom: 12px;
    position: relative;
    padding: 0 20px;
}

.section-tag::before,
.section-tag::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 12px;
    height: 1px;
    background: var(--red-primary);
}

.section-tag::before { left: 0; }
.section-tag::after { right: 0; }

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.2;
    margin-bottom: 14px;
}

.section-desc {
    font-size: 0.92rem;
    color: var(--grey-500);
    line-height: 1.7;
    font-weight: 400;
}

/* ===== About Section ===== */
.about {
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.about-img {
    width: 100%;
    height: 480px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    transition: var(--transition-slow);
}

.about-image-wrapper:hover .about-img {
    transform: scale(1.03);
}

.about-image-accent {
    position: absolute;
    bottom: -8px;
    right: -8px;
    width: 50%;
    height: 50%;
    border: 3px solid var(--red-primary);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-experience-badge {
    position: absolute;
    bottom: 20px;
    left: 20px;
    background: var(--red-primary);
    color: var(--white);
    padding: 16px 20px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
}

.exp-number {
    font-family: var(--font-accent);
    font-size: 1.6rem;
    line-height: 1;
}

.exp-text {
    font-size: 0.72rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.3;
}

.about-heading {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 16px;
    line-height: 1.3;
}

.about-text {
    font-size: 0.9rem;
    color: var(--grey-500);
    line-height: 1.75;
    margin-bottom: 14px;
}

.about-features {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
    background: var(--off-white);
    border-radius: var(--radius);
    transition: var(--transition);
}

.about-feature:hover {
    background: var(--red-subtle);
    transform: translateX(4px);
}

.feature-icon {
    width: 40px;
    height: 40px;
    background: var(--red-primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    flex-shrink: 0;
}

.feature-info h4 {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 2px;
}

.feature-info p {
    font-size: 0.78rem;
    color: var(--grey-400);
    line-height: 1.5;
}

.about-contact-strip {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid var(--grey-100);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-strip-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--grey-500);
}

.contact-strip-item i {
    color: var(--red-primary);
    width: 16px;
    text-align: center;
    font-size: 0.8rem;
}

.contact-strip-item a {
    color: var(--grey-500);
}

.contact-strip-item a:hover {
    color: var(--red-primary);
}

/* ===== Highlights Banner ===== */
.highlights-banner {
    background: var(--red-primary);
    padding: 16px 0;
    overflow: hidden;
    position: relative;
}

.highlights-track {
    overflow: hidden;
    width: 100%;
}

.highlights-slide {
    display: flex;
    animation: marquee 30s linear infinite;
    width: max-content;
}

.highlight-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    white-space: nowrap;
    padding: 0 40px;
}

.highlight-item i {
    font-size: 0.7rem;
    opacity: 0.7;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== Vehicles Section ===== */
.vehicles {
    background: var(--off-white);
}

.vehicles-filter {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--grey-500);
    background: var(--white);
    border: 1.5px solid var(--grey-200);
    transition: var(--transition);
    cursor: pointer;
}

.filter-btn:hover {
    border-color: var(--red-primary);
    color: var(--red-primary);
}

.filter-btn.active {
    background: var(--red-primary);
    color: var(--white);
    border-color: var(--red-primary);
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.vehicle-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-smooth);
    border: 1px solid transparent;
    position: relative;
}

.vehicle-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--red-primary);
}

.vehicle-card.hidden {
    display: none;
}

.vehicle-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.08);
}

.vehicle-status {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 6px 12px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 2;
}

.status-sold {
    background: rgba(0,0,0,0.75);
    color: var(--white);
    backdrop-filter: blur(6px);
}

.status-new {
    background: var(--red-primary);
    color: var(--white);
}

.status-available {
    background: rgba(16, 185, 129, 0.9);
    color: var(--white);
}

.vehicle-badge-hot {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gold);
    color: var(--black);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    z-index: 2;
}

.vehicle-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    display: flex;
    justify-content: center;
    align-items: flex-end;
    opacity: 0;
    transition: var(--transition);
    height: 100%;
}

.vehicle-card:hover .vehicle-overlay {
    opacity: 1;
}

.vehicle-info {
    padding: 20px;
}

.vehicle-brand {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 6px;
}

.brand-name {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--red-primary);
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.vehicle-year {
    font-size: 0.7rem;
    color: var(--grey-400);
    font-weight: 500;
}

.vehicle-name {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.vehicle-desc {
    font-size: 0.8rem;
    color: var(--grey-400);
    line-height: 1.6;
    margin-bottom: 14px;
}

.vehicle-specs {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.spec {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.7rem;
    color: var(--grey-500);
    background: var(--off-white);
    padding: 5px 10px;
    border-radius: 4px;
}

.spec i {
    font-size: 0.65rem;
    color: var(--red-primary);
}

/* ===== Why Choose Us ===== */
.why-us {
    background: var(--white);
}

.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    padding: 32px 24px;
    background: var(--off-white);
    border-radius: var(--radius-lg);
    transition: all var(--transition-smooth);
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
}

.why-card:hover {
    background: var(--white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--red-subtle);
}

.why-card-icon {
    width: 48px;
    height: 48px;
    background: var(--red-primary);
    color: var(--white);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    margin-bottom: 16px;
    transition: var(--transition);
}

.why-card:hover .why-card-icon {
    transform: scale(1.1);
    box-shadow: var(--shadow-red);
}

.why-card-number {
    position: absolute;
    top: 16px;
    right: 20px;
    font-family: var(--font-accent);
    font-size: 2.4rem;
    color: rgba(0,0,0,0.04);
    line-height: 1;
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 10px;
}

.why-card p {
    font-size: 0.82rem;
    color: var(--grey-400);
    line-height: 1.65;
}

/* ===== Stats Section ===== */
.stats-section {
    position: relative;
    padding: 64px 0;
    overflow: hidden;
}

.stats-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.stats-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stats-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(17, 17, 21, 0.92) 0%,
        rgba(122, 18, 48, 0.88) 100%
    );
}

.stats-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-card {
    text-align: center;
    padding: 28px 16px;
    border-radius: var(--radius);
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
    transition: var(--transition);
}

.stat-card:hover {
    background: rgba(255,255,255,0.1);
    transform: translateY(-3px);
}

.stat-icon {
    font-size: 1.4rem;
    color: var(--red-light);
    margin-bottom: 12px;
}

.stat-number {
    font-family: var(--font-accent);
    font-size: 2.8rem;
    color: var(--white);
    letter-spacing: 2px;
    line-height: 1;
    display: inline;
}

.stat-suffix {
    font-family: var(--font-accent);
    font-size: 1.6rem;
    color: var(--red-light);
    display: inline;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 500;
    margin-top: 8px;
}

/* ===== Featured Highlights ===== */
.featured-highlights {
    background: var(--off-white);
}

.highlights-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 20px;
}

.highlight-card {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.highlight-large {
    grid-row: 1 / 3;
    min-height: 440px;
}

.highlight-small {
    min-height: 210px;
}

.highlight-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.highlight-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.highlight-card:hover .highlight-bg img {
    transform: scale(1.08);
}

.highlight-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to top,
        rgba(17, 17, 21, 0.9) 0%,
        rgba(17, 17, 21, 0.3) 60%,
        transparent 100%
    );
    transition: var(--transition);
}

.highlight-card:hover .highlight-overlay {
    background: linear-gradient(
        to top,
        rgba(122, 18, 48, 0.9) 0%,
        rgba(17, 17, 21, 0.4) 60%,
        transparent 100%
    );
}

.highlight-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 28px;
    z-index: 2;
}

.highlight-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--red-light);
    margin-bottom: 8px;
}

.highlight-content h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.3;
    margin-bottom: 8px;
}

.highlight-small .highlight-content h3 {
    font-size: 1.15rem;
}

.highlight-content p {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 14px;
}

.highlight-small .highlight-content p {
    font-size: 0.78rem;
    margin-bottom: 0;
}

/* ===== Testimonials ===== */
.testimonials {
    background: var(--white);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: var(--off-white);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition-smooth);
    border: 1px solid transparent;
    position: relative;
}

.testimonial-card:hover {
    background: var(--white);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--red-subtle);
}

.testimonial-quote {
    color: var(--red-primary);
    font-size: 1.4rem;
    margin-bottom: 14px;
    opacity: 0.4;
}

.testimonial-text {
    font-size: 0.88rem;
    color: var(--grey-500);
    line-height: 1.7;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.author-avatar {
    width: 40px;
    height: 40px;
    background: var(--red-subtle);
    color: var(--red-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
}

.author-info h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--charcoal);
}

.author-info span {
    font-size: 0.72rem;
    color: var(--grey-400);
}

.testimonial-rating {
    display: flex;
    gap: 3px;
}

.testimonial-rating i {
    font-size: 0.72rem;
    color: var(--gold);
}

/* ===== Inquiry Section ===== */
.inquiry {
    background: var(--off-white);
}

.inquiry-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.inquiry-title {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 14px;
    line-height: 1.3;
}

.inquiry-desc {
    font-size: 0.9rem;
    color: var(--grey-500);
    line-height: 1.7;
    margin-bottom: 28px;
}

.inquiry-benefits {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.inquiry-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    color: var(--grey-500);
}

.inquiry-benefit i {
    color: var(--red-primary);
    font-size: 0.8rem;
}

.inquiry-direct h4 {
    font-size: 0.85rem;
    color: var(--charcoal);
    margin-bottom: 8px;
    font-weight: 600;
}

.inquiry-phone {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-accent);
    font-size: 1.6rem;
    color: var(--red-primary);
    letter-spacing: 2px;
}

.inquiry-phone:hover {
    color: var(--red-dark);
}

.inquiry-form-wrapper {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.inquiry-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group-full {
    grid-column: 1 / -1;
}

.inquiry-form label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--charcoal);
    letter-spacing: 0.3px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: var(--off-white);
    border: 1.5px solid var(--grey-100);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.input-wrapper:focus-within {
    border-color: var(--red-primary);
    box-shadow: 0 0 0 3px var(--red-subtle);
}

.input-wrapper i {
    position: absolute;
    left: 14px;
    color: var(--grey-300);
    font-size: 0.82rem;
    transition: var(--transition);
    pointer-events: none;
}

.input-wrapper:focus-within i {
    color: var(--red-primary);
}

.input-wrapper input,
.input-wrapper select {
    width: 100%;
    padding: 12px 14px 12px 40px;
    background: transparent;
    color: var(--charcoal);
    font-size: 0.85rem;
}

.input-wrapper select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
}

.textarea-wrapper {
    align-items: flex-start;
}

.textarea-wrapper i {
    top: 14px;
}

.input-wrapper textarea {
    width: 100%;
    padding: 12px 14px 12px 40px;
    background: transparent;
    color: var(--charcoal);
    font-size: 0.85rem;
    resize: vertical;
    min-height: 100px;
}

.inquiry-form .btn {
    grid-column: 1 / -1;
    margin-top: 8px;
}

.form-note {
    grid-column: 1 / -1;
    font-size: 0.72rem;
    color: var(--grey-400);
    display: flex;
    align-items: center;
    gap: 6px;
    justify-content: center;
}

.form-note i {
    font-size: 0.65rem;
    color: var(--grey-300);
}

/* Form Success */
.form-success {
    text-align: center;
    padding: 40px 20px;
}

.success-icon {
    font-size: 3rem;
    color: #10b981;
    margin-bottom: 16px;
    animation: successPop 0.5s ease;
}

@keyframes successPop {
    0% { transform: scale(0); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

.form-success h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    color: var(--charcoal);
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.88rem;
    color: var(--grey-400);
    margin-bottom: 20px;
}

.form-success .btn-outline {
    color: var(--red-primary);
    border-color: var(--red-primary);
}

.form-success .btn-outline:hover {
    background: var(--red-primary);
    color: var(--white);
}

/* ===== Contact Section ===== */
.contact {
    background: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 36px;
    align-items: start;
}

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px;
    background: var(--off-white);
    border-radius: var(--radius);
    transition: var(--transition);
    border: 1px solid transparent;
}

.contact-card:hover {
    background: var(--white);
    border-color: var(--red-subtle);
    box-shadow: var(--shadow-md);
    transform: translateX(4px);
}

.contact-card-icon {
    width: 44px;
    height: 44px;
    background: var(--red-primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.contact-card-info h4 {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 4px;
}

.contact-card-info p {
    font-size: 0.8rem;
    color: var(--grey-400);
    line-height: 1.5;
}

.contact-card-info a {
    font-size: 0.85rem;
    color: var(--red-primary);
    font-weight: 500;
    display: block;
    margin-bottom: 2px;
}

.contact-card-info a:hover {
    color: var(--red-dark);
}

.contact-cta {
    margin-top: 6px;
}

.contact-map {
    height: 100%;
    min-height: 400px;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 400px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 400px;
}

.map-overlay-card {
    position: absolute;
    bottom: 16px;
    left: 16px;
    background: var(--white);
    border-radius: var(--radius);
    padding: 12px 16px;
    box-shadow: var(--shadow-md);
}

.map-card-inner {
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-card-inner i {
    color: var(--red-primary);
    font-size: 1.1rem;
}

.map-card-inner strong {
    font-size: 0.82rem;
    color: var(--charcoal);
    display: block;
}

.map-card-inner span {
    font-size: 0.72rem;
    color: var(--grey-400);
}

/* ===== CTA Banner ===== */
.cta-banner {
    background: linear-gradient(135deg, var(--red-dark) 0%, var(--red-primary) 50%, var(--red-dark) 100%);
    padding: 56px 0;
    text-align: center;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: var(--white);
    margin-bottom: 12px;
    font-weight: 700;
}

.cta-content p {
    font-size: 0.92rem;
    color: rgba(255,255,255,0.75);
    margin-bottom: 28px;
    font-weight: 300;
}

.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== Footer ===== */
.footer {
    background: var(--charcoal);
    padding: 56px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr;
    gap: 36px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo .logo-icon {
    color: var(--red-light);
}

.footer-logo .logo-main {
    color: var(--white);
}

.footer-logo .logo-sub {
    color: var(--grey-400);
}

.footer-about p {
    font-size: 0.82rem;
    color: var(--grey-400);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.06);
    color: var(--grey-400);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--red-primary);
    color: var(--white);
    transform: translateY(-2px);
}

.footer-col h4 {
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 18px;
    letter-spacing: 0.5px;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    font-size: 0.82rem;
    color: var(--grey-400);
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.footer-col ul li a:hover {
    color: var(--red-light);
    transform: translateX(4px);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 14px !important;
}

.footer-contact li i {
    color: var(--red-primary);
    font-size: 0.78rem;
    margin-top: 3px;
    width: 14px;
    text-align: center;
}

.footer-contact li span,
.footer-contact li a {
    font-size: 0.8rem;
    color: var(--grey-400);
    line-height: 1.5;
}

.footer-contact li a:hover {
    color: var(--red-light);
    transform: none;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    flex-wrap: wrap;
    gap: 10px;
}

.footer-bottom p {
    font-size: 0.75rem;
    color: var(--grey-500);
}

.azryno-link {
    color: var(--red-light);
    font-weight: 600;
}

.azryno-link:hover {
    color: var(--white);
}

.demo-notice {
    font-style: italic;
    opacity: 0.7;
}

/* ===== Back to Top ===== */
.back-to-top {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 44px;
    height: 44px;
    background: var(--red-primary);
    color: var(--white);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: all var(--transition-smooth);
    box-shadow: var(--shadow-red);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background: var(--red-dark);
    transform: translateY(-3px);
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
    position: fixed;
    bottom: 24px;
    left: 24px;
    width: 52px;
    height: 52px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    z-index: 900;
    box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
    transition: all var(--transition);
    animation: whatsappPulse 2s ease-in-out infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

@keyframes whatsappPulse {
    0%, 100% { box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4); }
    50% { box-shadow: 0 4px 24px rgba(37, 211, 102, 0.6); }
}

/* ===== Animations ===== */
[data-animate] {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate="fade-up"] {
    transform: translateY(30px);
}

[data-animate="fade-down"] {
    transform: translateY(-30px);
}

[data-animate="fade-right"] {
    transform: translateX(-30px);
}

[data-animate="fade-left"] {
    transform: translateX(30px);
}

[data-animate].animated {
    opacity: 1;
    transform: translate(0, 0);
}

/* ===== Responsive Design ===== */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --section-pad: 64px;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--charcoal);
        flex-direction: column;
        padding: 80px 32px 32px;
        gap: 0;
        transition: right var(--transition-smooth);
        z-index: 999;
        align-items: flex-start;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        color: rgba(255,255,255,0.8);
        font-size: 0.95rem;
        padding: 12px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    .nav-link:hover,
    .nav-link.active {
        color: var(--red-light);
    }

    .nav-cta {
        margin-top: 16px;
        width: 100%;
        justify-content: center;
    }

    .nav-toggle {
        display: flex;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .about-img {
        height: 360px;
    }

    .vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid .testimonial-card:last-child {
        grid-column: 1 / -1;
        max-width: 50%;
        margin: 0 auto;
    }

    .inquiry-wrapper {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .contact-map {
        min-height: 350px;
    }

    .map-wrapper {
        min-height: 350px;
    }

    .highlights-grid {
        grid-template-columns: 1fr;
    }

    .highlight-large {
        grid-row: auto;
        min-height: 360px;
    }

    .highlight-small {
        min-height: 240px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 28px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-pad: 48px;
        --container-pad: 16px;
    }

    .section-header {
        margin-bottom: 36px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .hero-content {
        padding-top: 100px;
    }

    .hero-badge {
        font-size: 0.65rem;
        padding: 6px 14px;
    }

    .hero-stats-mini {
        gap: 16px;
    }

    .hero-stat-divider {
        height: 24px;
    }

    .hero-scroll {
        display: none;
    }

    .about-img {
        height: 280px;
    }

    .about-heading {
        font-size: 1.4rem;
    }

    .vehicles-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .why-us-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .stat-number {
        font-size: 2.2rem;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .testimonials-grid .testimonial-card:last-child {
        grid-column: auto;
        max-width: 100%;
    }

    .inquiry-form {
        grid-template-columns: 1fr;
    }

    .inquiry-form-wrapper {
        padding: 24px;
    }

    .inquiry-title {
        font-size: 1.6rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 6px;
    }

    .cta-content h2 {
        font-size: 1.5rem;
    }

    .whatsapp-float {
        bottom: 16px;
        left: 16px;
        width: 46px;
        height: 46px;
        font-size: 1.3rem;
    }

    .back-to-top {
        bottom: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    .hero-ctas .btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

    .hero-stats-mini {
        flex-direction: column;
        gap: 12px;
    }

    .hero-stat-divider {
        width: 40px;
        height: 1px;
    }

    .vehicle-image {
        height: 190px;
    }

    .highlight-large {
        min-height: 300px;
    }

    .highlight-small {
        min-height: 200px;
    }

    .highlight-content {
        padding: 20px;
    }

    .highlight-content h3 {
        font-size: 1.15rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn {
        width: 100%;
        max-width: 260px;
        justify-content: center;
    }

    .about-experience-badge {
        bottom: 12px;
        left: 12px;
        padding: 12px 14px;
    }

    .nav-menu {
        width: 100%;
    }
}

/* Print */
@media print {
    .navbar, .back-to-top, .whatsapp-float, .hero-scroll, #preloader {
        display: none !important;
    }

    .hero {
        min-height: auto;
        padding: 40px 0;
    }

    .section {
        padding: 30px 0;
    }
}