/* Font Declarations */
@font-face {
    font-family: 'Blacker';
    src: url('../fonts/Blacker-Text-Regular-trial.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Blacker';
    src: url('../fonts/Blacker-Text-Medium-trial.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Blacker';
    src: url('../fonts/Blacker-Text-Bold-trial.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Blacker';
    src: url('../fonts/Blacker-Display-Regular-trial.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Italic-VariableFont_opsz,wght.ttf') format('truetype-variations');
    font-weight: 100 900;
    font-style: italic;
    font-display: swap;
}

/* Material Icons Utilities */
.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    vertical-align: middle;
}

.material-icons-outlined {
    font-family: 'Material Icons Outlined';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    vertical-align: middle;
}

.material-icons-round {
    font-family: 'Material Icons Round';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    vertical-align: middle;
}

.material-icons-sharp {
    font-family: 'Material Icons Sharp';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    vertical-align: middle;
}

.material-icons-two-tone {
    font-family: 'Material Icons Two Tone';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
    vertical-align: middle;
}

/* Icon Size Utilities */
.icon-sm { font-size: 18px; }
.icon-md { font-size: 24px; }
.icon-lg { font-size: 36px; }
.icon-xl { font-size: 48px; }

/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: #100E0C;
    color: #C7C7C7;
    line-height: 1.6;
    font-weight: 400;
    font-size: 13px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    text-align: center;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Blacker', serif;
    font-weight: 400;
    line-height: 1.2;
    color: white;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

p {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    color: #C7C7C7;
    font-weight: 400;
}

/* Navigation Styles */
#navbar {
    background-color: rgba(16, 14, 12, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Get in Touch Button */
.get-in-touch-btn {
    border-radius: 0 !important;
    font-size: 16px;
    line-height: 1;
    background-color: transparent;
    transition: all 0.3s ease;
}

.get-in-touch-btn:hover {
    background-color: white;
    color: #100E0C;
}

/* Navigation Links */
nav a {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    text-decoration: none;
}

/* Smooth transitions */
* {
    scroll-behavior: smooth;
}

/* Section styling to ensure full viewport height */
section {
    min-height: 100vh;
}

/* Logo sizing */
nav img {
    max-height: 64px;
    width: auto;
    transition: filter 0.3s ease;
}

nav img:hover {
    filter: drop-shadow(0 0 10px rgba(255, 255, 255, 0.3));
}

/* Simple Hero Slideshow (right-to-left) */
.hero-slideshow {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.hero-slide {
    flex: 0 0 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Jeep Wrangler Slideshow Styles */
.jeep-slideshow-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.jeep-slide {
    position: absolute;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    transition: left 0.6s ease-in-out;
    opacity: 0;
}

.jeep-slide.active {
    left: 0;
    opacity: 1;
}

.jeep-slide.prev {
    left: -100%;
    opacity: 0;
}

/* Navigation arrows for Jeep slideshow */
.jeep-prev-slide, .jeep-next-slide {
    background: rgba(0, 0, 0, 0.4);
    border: none;
    border-radius: 50%;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    z-index: 30;
}

.jeep-prev-slide:hover, .jeep-next-slide:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}

/* Slide indicators for Jeep slideshow */
.jeep-slide-indicators {
    display: flex;
    gap: 8px;
    z-index: 30;
}

.jeep-indicator {
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.jeep-indicator.active {
    background-color: white !important;
    transform: scale(1.3);
}

.jeep-indicator:hover {
    transform: scale(1.2);
}
.slide button {
    border-radius: 0;
    font-size: 16px;
    line-height: 1.2;
    font-weight: 500;
    min-width: 160px;
    text-align: center;
}

/* Company Brochure Button */
.company-brochure-btn {
    border-radius: 0 !important;
    height: 46px;
    border: 2px solid white;
    background-color: white;
    color: #100E0C;
    font-family: 'Blacker', serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 1px;
    transition: all 0.3s ease;
}

.company-brochure-btn:hover {
    background-color: #100E0C;
    color: white;
    border-color: white;
}

/* Explore Button */
.explore-btn {
    border-radius: 0 !important;
    font-size: 14px;
    line-height: 1.2;
    background-color: transparent;
    transition: all 0.3s ease;
    border: 1px solid white;
}

.explore-btn:hover {
    background-color: white;
    color: #100E0C;
}

/* Vehicle tabs */
.vehicle-tab {
    transition: color 0.3s ease, border-color 0.3s ease;
}

.vehicle-tab.active {
    color: #B30000 !important;
    border-color: #B30000 !important;
}

/* Brands Ticker */
.brands-slider {
    display: flex;
    align-items: center;
    gap: 4rem;
    width: max-content; /* allow content width */
    animation: ticker-scroll 30s linear infinite;
}

.brands-slider:hover {
    animation-play-state: paused; /* pause on hover */
}

.brand-logo {
    width: 60px;
    height: auto;
    opacity: 0.9;
    filter: grayscale(100%);
    transition: transform 0.3s, opacity 0.3s;
}

/* Slightly larger center logo */
.brands-slider img:nth-child(5) {
    transform: scale(1.3);
    opacity: 1;
}

@keyframes ticker-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Fade-out overlay on ticker ends */
.ticker-wrapper::before,
.ticker-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px; /* width of fade */
    pointer-events: none;
    z-index: 2;
}

.ticker-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #100E0C 0%, rgba(16,14,12,0) 100%);
}

.ticker-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #100E0C 0%, rgba(16,14,12,0) 100%);
}

/* Featured vehicles horizontal slider */
.featured-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 9999px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: background 0.2s ease, transform 0.2s ease;
}

.featured-slider-arrow:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: translateY(-50%) scale(1.05);
}

.featured-slider-arrow-left {
    left: -1.5rem;
}

.featured-slider-arrow-right {
    right: -1.5rem;
}

/* Hide horizontal scrollbar but keep scroll behavior */
.hide-scrollbar {
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE/Edge */
}

.hide-scrollbar::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
}

/* Mega Menu Base Styles */
.mega-menu {
	position: fixed;
	left: 0;
	right: 0;
	width: 100vw;
	max-width: 100vw;
	height: 57.5vh;
	max-height: 57.5vh;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
	/* Light theme for mega menu */
	background-color: #F6F7F9 !important;
	border-top: 1px solid rgba(0, 0, 0, 0.08) !important;
	color: #111827;
	/* Hidden by default */
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, visibility 0.2s ease;
	/* Position will be set dynamically by JavaScript below navbar */
	top: 80px;
	z-index: 40;
}

/* Show menu when menu-open class is added to parent */
#vehicles-nav-group.menu-open .mega-menu {
	opacity: 1 !important;
	visibility: visible !important;
	pointer-events: auto !important;
}

/* Menu bridge - invisible gap filler to prevent mouse leave */
.menu-bridge {
	position: fixed;
	left: 0;
	right: 0;
	width: 100vw;
	max-width: 100vw;
	height: 1rem;
	/* Position will be set dynamically by JavaScript */
	top: 64px;
	z-index: 39;
}

/* Ensure vehicles nav group is positioned relatively */
#vehicles-nav-group {
	position: relative;
}

/* Mega menu image box: keeps images large, centered, and below text fits */
.mega-img-box {
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 23.625vh; /* reduced by 10% from 26.25vh */
}
.mega-img-box img {
	max-height: 100%;
	width: auto;
	display: block;
}

/* Typography overrides for light mega menu */
.mega-menu h1,
.mega-menu h2,
.mega-menu h3,
.mega-menu h4,
.mega-menu h5,
.mega-menu h6 {
	color: #111827; /* slate-900 */
}
.mega-menu .text-white {
	color: #111827 !important;
}
.mega-menu .text-body-text {
	color: #374151 !important; /* slate-700 */
}
.mega-menu a {
	color: #1f2937; /* slate-800 */
	transition: color 0.2s ease-in-out, border-color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}
.mega-menu a:hover {
	color: #111827;
}

/* Tabs on light background */
.mega-menu .vehicle-tab {
	color: #4b5563 !important; /* slate-600 */
	border-color: transparent;
}
.mega-menu .vehicle-tab:hover {
	border-color: #9ca3af; /* gray-400 */
}
.mega-menu .vehicle-tab.active {
	color: #B30000 !important;
	border-color: #B30000 !important;
}

/* Explore button on light background */
.mega-menu .explore-btn {
	border-color: #111827 !important;
	color: #111827 !important;
	background-color: transparent;
}
.mega-menu .explore-btn:hover {
	background-color: #111827 !important;
	color: #ffffff !important;
}

/* Removed hover zoom effect for thumbnails */


/* Description Tabs on Vehicle Pages */
.description-tab {
    transition: color 0.3s ease, border-color 0.3s ease;
    cursor: pointer;
    padding-bottom: 0.75rem;
    border-bottom-width: 2px;
}

.description-tab.active {
    color: #ffffff !important;
    border-color: #B30000 !important;
}

.description-tab:not(.active) {
    color: #C7C7C7;
    border-color: transparent;
}

.description-tab:not(.active):hover {
    color: #ffffff;
}

/* Vehicle Filter Styles */
.vehicle-filter input[type="checkbox"]:checked + div {
    border-color: white;
}

.vehicle-filter input[type="checkbox"]:checked + div > div {
    opacity: 1;
}

.vehicle-filter input[type="checkbox"]:checked ~ span {
    color: white;
}

/* Enhanced Vehicle Filter Styles */
.vehicle-filter input[type="checkbox"]:checked + div {
    border-color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

.vehicle-filter input[type="checkbox"]:checked + div > div {
    opacity: 1;
    background-color: white;
}

.vehicle-filter input[type="checkbox"]:checked ~ span {
    color: white;
    font-weight: 500;
}





/* Filter Hover Effects */
.vehicle-filter:hover input[type="checkbox"]:not(:checked) + div {
    border-color: rgba(255, 255, 255, 0.6);
}

.vehicle-filter:hover input[type="checkbox"]:not(:checked) + div > div {
    opacity: 0.3;
} 