/* Frosty Flame LLC - Main Stylesheet */

/* Base Styles */
html, body {
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevents horizontal scrolling */
    width: 100%;
    font-family: 'Montserrat', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

/* CSS Variables */
:root {
    --primary-color: #ff4d30;
    --primary-color-light: rgba(255, 77, 48, 0.04);
    --secondary-color: #222;
    --dark-color: #000;
    --light-color: #fff;
    --gray-color: #f5f5f5;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --error-color: #ff3333;
    --success-color-bg: #dff0d8;
    --success-color-text: #3c763d;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --border-radius: 8px;
    --max-width: 1200px;
}

/* Reusable Components */

/* Header Component */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 8px 0;
    background-color: transparent; /* Initially transparent */
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background-color: rgba(0, 0, 0, 0.9); /* Black with 90% opacity when scrolled */
}

@media (min-width: 769px) {
    .site-header.scrolled {
        padding: 4px 0; /* Reduced padding to make header 32px tall */
    }
}

.navbar {
    display: flex;
    align-items: center;
    padding: 10px 0;
    position: relative;
}

/* Logo styling */
.logo {
    display: inline-block;
    font-size: 16px;
    font-weight: 700;
    margin-left: 8px;
    color: #fff;
    text-decoration: none;
}

.logo-icon {
    width: 24px;
    height: 24px;
    display: inline-block; /* Ensure proper inline display */
}

.logo-text {
    display: inline-block;
    color: var(--light-color); /* Explicitly set Frosty text color */
}

.logo span {
    color: var(--primary-color);
    margin-left: 8px;
}

/* Keep the main part of the logo (Frosty) the same color on hover */
.logo:hover {
    color: var(--light-color);
}

/* Menu Toggle - hamburger icon */
.menu-toggle {
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 0px;
    position: relative;
    z-index: 1010;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
}

/* Nav Close Button - Override any conflicting styles from legal-modal-close */
.nav-close-btn {
    position: fixed;
    left: 56px;
    top: 20px;
    width: 32px;
    height: 32px;
    /* background-color: var(--primary-color); */
    border-radius: 50%;
    z-index: 1010;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    display: none;
    background-image: url(../images/ff_close.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    border: none;
    padding: 0;
    margin: 0;
    transform: none;
}

/* When menu is active, show the close button */
body.menu-open .nav-close-btn {
    opacity: 1;
    display: block;
}

/* Nav close button hover effect */
.nav-close-btn:hover {
    transform: rotate(90deg);
}

/* Logo positioning should be independent of menu state */
.logo {
    z-index: 1000;
    position: relative;
}

/* Z-INDEX SYSTEM - Consistent z-index values to prevent conflicts 
   We use a structured approach where:
   - 9000-9899: Background elements (overlays)
   - 9900-9999: Secondary containers and wrappers
   - 10000-10099: Controls and buttons
   - 10100-10199: Interactive elements (links, inputs)
   - 10200-10299: Primary navigation containers
   
   IMPORTANT: Remember that z-index only works within a stacking context.
   A parent element with position: relative/absolute/fixed and z-index creates a new stacking context.
   Children cannot appear above their parent container regardless of their z-index values.
   
   For elements that need their children to be interactable, ensure the parent has a higher z-index
   than any elements that might overlap with its children.
*/

/* Menu Structure - Separation of concerns with clear naming */
.nav-system {
    /* Base properties affecting all navigation components */
}

/* Navigation Menu */
.nav-menu {
    position: fixed;
    top: 68px;
    left: -100%;
    width: 300px;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    transition: left 0.3s ease, opacity 0.3s ease;
    z-index: 1005;
    overflow-y: auto;
    padding: 0px 0 50px 0;
    opacity: 0;
}

.nav-menu.active {
    left: 0;
    opacity: 1;
}

/* Navigation Links */
.nav-links {
    /* text-decoration: dotted; */
    font-weight: 700;
    transform: revert-layer;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin: 0 20px;
    padding: 28px 0;
}

.nav-links a {
    display: block;
    color: #fff;
    font-size: 18px;
    padding: 15px 60px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Logo positioning in mobile menu */
.nav-menu.active ~ .logo {
    position: relative;
    z-index: 1010;
}

/* Close button for nav menu - completely hidden */
.nav-close {
    display: none !important; /* Always hidden */
}

/* No need to show nav-close anymore */
.nav-menu.active .nav-close {
    display: none !important;
}

/* Add overlay when menu is open */
body.menu-open::after {
    display: none !important;
    content: none !important;
}

/* Old Nav Menu - disabling completely */
.nav-system {
    display: none !important;
}

/* Old Nav Menu - Make sure it doesn't interfere */
.site-header {
    display: none !important;
}

/* Make sure no old styles interfere with our navigation */
header .mobile-menu,
header .nav-close,
.menu-toggle.active span {
    display: block !important; /* Override any hiding */
}

/* Reset any old properties that might interfere */
.menu-toggle.active {
    background-image: none;
}

/* Ensure the active toggle always uses the span-based X */
.menu-toggle.active span:nth-child(1),
.menu-toggle.active span:nth-child(2),
.menu-toggle.active span:nth-child(3) {
    display: block !important;
}

.nav-indicator {
    width: 10px;
    height: 10px;
    margin-right: 10px;
    display: inline-block;
    vertical-align: middle;
}

/* Removed padding for non-active links since we're no longer using indicators */

/* Footer Component */
.site-footer {
    background-color: #000;
    color: #fff;
    padding: 60px 0 20px;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark-color);
    overflow-x: hidden;
    background-color: var(--light-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: #0066cc;
    transition: color 0.3s ease;
}

a:hover {
    color: #004499;
}

ul {
    list-style: none;
}

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

.btn {
    display: inline-block;
    padding: 15px 30px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--light-color);
    color: var(--light-color);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.btn:hover {
    background-color: var(--light-color);
    color: var(--dark-color);
}

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

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

/* Header Styles */
header {
    background-color: transparent;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.9);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.navbar {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 20px 0;
}

/* Removed duplicate .logo style to avoid conflict with the one using var(--light-color) */

/* Removed duplicate .logo span style to avoid conflict with the one using var(--primary-color) */

/* Commented out duplicate navigation styles to avoid conflicts with the primary styles
.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: #333;
    font-weight: 500;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: #0066cc;
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0066cc;
}
*/

/* Menu Toggle Styles */
.menu-toggle {
    width: 30px;
    height: 30px;
    position: relative;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    margin: 3px 0;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Mobile Navigation Menu */
.nav-menu {
    position: fixed;
    top: 68px;
    left: -340px; /* Start off-screen to the left */
    width: 340px;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    padding: 100px 40px;
    transition: all 0.5s ease;
    z-index: 9950; /* Container level */
    opacity: 0; /* Start fully transparent */
    display: flex;
    align-items: flex-start;
    overflow-y: auto;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--light-color);
    overflow: hidden;
    margin-top: -80px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    padding: 0 20px;
}

.welcome-text {
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 0px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.hero-title {
    font-size: 64px;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 13px;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 56px;
    text-transform: uppercase;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 1;
}

.scroll-down i {
    font-size: 24px;
    color: var(--light-color);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-20px);
    }
    60% {
        transform: translateY(-10px);
    }
}

/* Section Styles */
section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 36px;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: #0066cc;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}

.about-text h3 {
    font-size: 28px;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 15px;
}

.about-img img {
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Fleet Section */
.fleet-categories {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.fleet-category {
    padding: 10px 20px;
    background-color: #f1f1f1;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.fleet-category:hover,
.fleet-category.active {
    background-color: #0066cc;
    color: #fff;
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

/* Updated Vehicle Card Styles for Fleet Design */
.vehicle-card {
    max-width: 300px;
    margin: 0 auto;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}
.vehicle-card:hover {
    transform: translateY(-10px);
}
.vehicle-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
    border-radius: 10px;
    position: relative;
}

.vehicle-image img,
.vehicle-image video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s ease;
}

.vehicle-card:hover .vehicle-image img,
.vehicle-card:hover .vehicle-image video {
    transform: scale(1.05);
}

.vehicle-details {
    padding: 15px;
    text-align: center;
}
.vehicle-details h3 {
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 13px;
}
.vehicle-details .price {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color, #ff4d30);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin: 0;
}
.vehicle-rating {
    font-size: 14px;
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.vehicle-rating .rating {
    color: #333;
    letter-spacing: -8px;
    font-size: 14px;
    display: flex;
    align-items: center;
}
.vehicle-rating .trips {
    color: #666;
    margin-left: 8px;
    font-size: 11px;
    display: inline;
}

.vehicle-info {
    padding: 20px;
}

.vehicle-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
}

.vehicle-price {
    font-weight: 700;
    color: #0066cc;
}

.vehicle-actions {
    display: flex;
    justify-content: space-between;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

/* Booking Process Section */



/* Booking layout - simplified */

.tesla-container {
    width: 100%;
    margin-bottom: 20px;
}

.bikes-container {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

/* Card styling */








.coming-soon-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
}

/* Responsive adjustments */
@media (max-width: 340px) {
    
    .bikes-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
    }
    
    
    
}

@media (max-width: 340px) {
    .testimonials-slider {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .about-content,
    .contact-grid,
    .faq-container {
        grid-template-columns: 1fr;
    }
    
    .vehicle-gallery {
        flex-direction: column;
    }
    
    .vehicle-thumbs {
        flex-direction: row;
        margin-top: 20px;
    }
    
    .vehicle-thumb {
        width: 80px;
    }
}

@media (max-width: 340px) {
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 10px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #fff;
        display: grid;
        grid-template-rows: repeat(8, 1fr);
        gap: 15px;
        padding: 40px 0;
        transition: all 0.3s ease;
        justify-items: center;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .booking-partners {
        flex-direction: column;
    }
    
    .top-card-container,
    .tesla-card {
        width: 100%;
    }
    
    .bottom-cards-container {
        width: 100%;
    }
}

@media (max-width: 340px) {
    .booking-partners {
        flex-direction: column;
    }
    
    
    .bottom-cards-container {
        flex-wrap: wrap;
    }
}

@media (max-width: 340px) {
    .footer-content-new {
        flex-direction: column;
        gap: 30px;
    }
    
    .footer-bottom-new {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .footer-social {
        margin-top: 20px;
    }
}

/* CTA Section */
.cta {
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('../images/hero/8555ec33-e329-494c-a12f-d170f91a1cc5.jpeg');
    background-size: cover;
    background-position: center;
    color: #fff;
    text-align: center;
}

.cta h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.cta p {
    font-size: 18px;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Testimonials Section */
.testimonials-section {
    position: relative;
    padding: 100px 0;
    color: var(--light-color);
    overflow: hidden;
}

.testimonials-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.75);
    z-index: 1;
}

.testimonials-section .container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
    padding: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.testimonial {
    background-color: white;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
}

.testimonial-author {
    margin-bottom: 15px;
}

.testimonial-author h3 {
    color: var(--dark-color);
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 5px;
}

.testimonial-author p {
    font-size: 14px;
    color: #ccc;
    margin: 0;
}

.testimonial-vehicle {
    margin-top: 5px;
    margin-bottom: 10px;
}

.testimonial-vehicle p {
    font-size: 14px;
    color: #aaa;
    font-style: italic;
    margin: 0;
}

.testimonial-rating {
    color: var(--primary-color);
    font-size: 16px;
    margin-bottom: 20px;
}

.testimonial-content {
    flex-grow: 1;
    margin-bottom: 20px;
}

.testimonial-content p {
    color: var(--dark-color);
    font-size: 15px;
    line-height: 1.6;
    margin: 0;
}

.testimonial-response {
    background-color: rgb(255 77 48 / 4%);
    padding: 15px;
    border-radius: 6px;
    border-left: 3px solid var(--primary-color);
}

.testimonial-response p {
    margin: 0;
    font-size: 14px;
    color: #555;
}

.testimonial-response p strong {
    color: var(--primary-color);
}

/* Using existing breakpoints */
@media (max-width: 992px) {
    .testimonials-slider {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .testimonial {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 32px;
        line-height: 40px;
        font-weight: 800;
        margin-bottom: 10px;
    }
    
    .fleet-showcase {
        padding: 48px 0;
        background-color: var(--light-color);
        text-align: center;
    }
    
    .hero-title {
        font-size: 48px;
        font-weight: 900;
        line-height: 1.1;
        margin-bottom: 10px;
        text-transform: uppercase;
    }
    
    .testimonial-author h3 {
        font-size: 16px;
    }
    
    .testimonial-author p {
        font-size: 13px;
    }
    
    .testimonial-rating {
        font-size: 14px;
    }
    
    .testimonial-content p {
        font-size: 14px;
    }
    
    .testimonial-response {
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .testimonials-section {
        padding: 40px 0;
    }
    
    .testimonials-slider {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial {
        padding: 20px;
    }
}

/* Blog Section Styles */
.blog-section {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.blog-card {
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    animation: fadeUpIn 0.5s ease forwards;
    opacity: 0;
    transform: translateY(30px);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.blog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.blog-details {
    padding: 20px;
}

.blog-date {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 500;
}

.blog-details h3 {
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
    color: #333;
    transition: color 0.3s ease;
}

.blog-card:hover .blog-details h3 {
    color: var(--primary-color);
}

.blog-excerpt {
    font-size: 15px;
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.read-more {
    background-color: transparent;
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 8px 20px;
    font-size: 14px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.read-more:hover {
    background-color: var(--primary-color);
    color: white;
}

/* Blog Modal Styles */
.blog-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1100; /* Increased z-index to ensure it appears above other elements */
    display: none;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-modal.active {
    display: flex !important; /* Using !important to override any potential conflicts */
    opacity: 1;
}

.blog-modal-content {
    width: 95%;
    max-width: 900px;
    height: 90vh;
    max-height: 90vh;
    background-color: white;
    border-radius: 8px 8px 0 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.3);
    transform: translateY(100%);
    transition: transform 0.4s ease-out;
    position: relative; /* Added for proper event handling */
}

.blog-modal.active .blog-modal-content {
    transform: translateY(0);
}

.blog-modal-header {
    padding: 20px;
    background-color: white;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 1; /* Added z-index to ensure it stays above content */
}

.blog-modal-header .header-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

@media (min-width: 992px) {
    .blog-modal-header .header-content {
        width: 60%;
        display: block;
        margin: 0 auto;
    }
}

.blog-modal-header h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
    color: #333;
}

.blog-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background-image: url(../images/ff_close.svg);
    background-size: 100%; /* Ensures SVG fills the button */
    background-color: transparent; /* Added */
    border: none; /* Added */
    cursor: pointer;
    z-index: 1101;
    transition: all 0.2s ease; /* Transition preserved */
}

.blog-modal-close:hover {
    transform: rotate(90deg);
}

.blog-modal-body {
    padding: 0;
    overflow-y: auto;
    flex: 1;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
}

.blog-post-content {
    padding: 20px;
}

@media (min-width: 992px) {
    .blog-post-content {
        width: 60%;
        margin: 0 auto;
    }
}

.blog-header-image {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: 20px;
    border-radius: 4px;
}

.blog-post-content h3 {
    margin: 30px 0 15px;
    color: #333;
}

.blog-post-content h4 {
    margin: 25px 0 10px;
    color: #444;
}

.blog-post-content p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.blog-post-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.blog-post-content li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.blog-share-links {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.blog-share-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.blog-share-btn:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.blog-share-btn img {
    width: 20px;
    height: 20px;
    filter: invert(1);
}

.blog-date {
    color: #666;
    font-style: italic;
    margin-bottom: 15px;
}

.book-now-container {
    margin-top: 40px;
    padding: 20px;
    background-color: #f8f9fa;
    border-radius: 8px;
    text-align: center;
}

.book-now-btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    margin-top: 15px;
    transition: background-color 0.2s, transform 0.2s;
}

.book-now-btn:hover {
    background-color: #e64522;
    transform: translateY(-2px);
}

.permalink {
    margin-top: 30px;
    padding-top: 15px;
    border-top: 1px solid #eee;
    font-size: 14px;
    color: #666;
}

.permalink a {
    color: var(--primary-color);
    text-decoration: none;
}

.permalink a:hover {
    text-decoration: underline;
}

/* Copy toast styling */
.copy-toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    opacity: 0;
    transition: transform 0.3s, opacity 0.3s;
    z-index: 2000;
    width: auto;
    max-width: 90%;
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
}

.copy-toast.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

/* Footer */
footer {
    background-color: #000;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-logo {
    text-align: left;
}

.footer-logo .logo {
    margin-left: 0;
}

.footer-logo p {
    text-align: left;
    margin-top: 10px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.footer-col h3 {
    font-size: 20px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #0066cc;
}

.footer-col ul li {
    margin-bottom: 10px;
}

.footer-col ul li a {
    color: #ccc;
}

.footer-col ul li a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #333;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: #0066cc;
    transform: translateY(-5px);
}

.social-icon {
    width: 20px;
    height: 20px;
    filter: invert(1);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #444;
}

/* Vehicle Detail Page */
.vehicle-detail {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.vehicle-gallery {
    display: grid;
    grid-template-columns: 4fr 1fr;
    gap: 20px;
}

.vehicle-main-img {
    height: 400px;
    overflow: hidden;
}

.vehicle-main-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

.vehicle-thumbs {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vehicle-thumb {
    height: 80px;
    cursor: pointer;
    border-radius: 4px;
    overflow: hidden;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.vehicle-thumb.active,
.vehicle-thumb:hover {
    opacity: 1;
    box-shadow: 0 0 0 2px #0066cc;
}

.vehicle-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vehicle-info-detail {
    padding: 30px;
}

.vehicle-info-detail h1 {
    font-size: 32px;
    margin-bottom: 15px;
}

.vehicle-price-detail {
    font-size: 24px;
    color: #0066cc;
    font-weight: 700;
    margin-bottom: 20px;
}

.vehicle-description {
    margin-bottom: 30px;
}

.vehicle-features {
    margin-bottom: 30px;
}

.vehicle-features h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-icon {
    color: #0066cc;
}

.vehicle-specs {
    margin-bottom: 30px;
}

.vehicle-specs h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.specs-table {
    width: 100%;
    border-collapse: collapse;
}

.specs-table tr {
    border-bottom: 1px solid #eee;
}

.specs-table tr:last-child {
    border-bottom: none;
}

.specs-table td {
    padding: 12px 0;
}

.specs-table td:first-child {
    font-weight: 600;
    width: 40%;
}

.booking-actions {
    display: flex;
    gap: 15px;
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
}

.contact-icon {
    font-size: 20px;
    color: #0066cc;
}

.contact-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
}

.form-control:focus {
    outline: none;
    border-color: #0066cc;
}

.form-control.error {
    border-color: var(--error-color);
}

.error-message {
    color: var(--error-color);
    font-size: 14px;
    margin-top: 5px;
}

.success-message {
    background-color: var(--success-color-bg);
    color: var(--success-color-text);
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
    text-align: center;
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background-color: #f9f9f9;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
}

.faq-toggle {
    color: #0066cc;
}

.faq-answer {
    padding: 20px;
    display: none;
}

/* Map Section */
.map-container {
    height: 400px;
    margin-top: 40px;
    border-radius: 8px;
    overflow: hidden;
}

/* Booking Form */
.booking-form {
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.booking-form h3 {
    font-size: 24px;
    margin-bottom: 20px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Scroll to Top Button */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #0066cc;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    background-color: #004499;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-content,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .vehicle-gallery {
        flex-direction: column;
    }
    
    .vehicle-thumbs {
        flex-direction: row;
        margin-top: 20px;
    }
    
    .vehicle-thumb {
        width: 80px;
    }
}

@media (max-width: 340px) {
    .hero-title {
        font-size: 48px;
    }
    
    .hero-subtitle {
        font-size: 32px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        margin-bottom: 10px;
    }
    
    .section-title h2 {
        font-size: 28px;
    }
    
    .nav-links {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #fff;
        display: grid;
        grid-template-rows: repeat(8, 1fr);
        gap: 15px;
        padding: 40px 0;
        transition: all 0.3s ease;
        justify-items: center;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* Fleet Showcase Section */
.fleet-showcase {
    padding: 100px 0;
    background-color: var(--light-color);
    text-align: center;
}

/* Mobile and tablet styles for Fleet Showcase */
@media (max-width: 768px) {
    .fleet-showcase {
        padding: 48px 0;
    }
    
    .section-subtitle {
        font-size: 18px;
        font-weight: 500;
        margin: 24px 0px 24px 0px;
        color: var(--secondary-color);
        text-align: center;
        opacity: 0.8;
    }
}

.section-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 10px;
    text-transform: uppercase;
    color: var(--dark-color);
}

.section-subtitle {
    font-size: 24px;
    font-weight: 500;
    margin: 24px 0px 24px 0px;
    color: var(--secondary-color);
    text-align: center;
    opacity: 0.8;
}

/* Mobile styles for section elements */
@media (max-width: 768px) {
    .section-subtitle {
        font-size: 18px;
    }
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.category-tab {
    padding: 10px 20px;
    background: transparent;
    border: 2px solid var(--dark-color);
    color: var(--dark-color);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 5px;
    outline: none;
    position: relative;
    z-index: 1;
}

.category-tab.active, .category-tab:hover {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.vehicle-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    background-color: white;
}

.vehicle-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.vehicle-image {
    height: 220px;
    position: relative;
    overflow: hidden;
    background-color: #f8f8f8;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.1);
}

.vehicle-details {
    padding: 20px;
    background-color: var(--light-color);
    text-align: center;
}


.vehicle-details .price {
    font-size: 16px;
    font-weight: 500;
    color: #666;
    margin-bottom: 15px;
}

.btn-small {
    display: inline-block;
    padding: 8px 15px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    border: 2px solid var(--dark-color);
    color: var(--dark-color);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-small:hover {
    background-color: var(--dark-color);
    color: var(--light-color);
}

.view-details {
    display: inline-block;
    padding: 10px 20px;
    font-weight: 600;
    letter-spacing: 1px;
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: -1px;
    transition: all 0.3s ease;
}

.view-details:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* About Us Section Styles */
.about-us-section {
    padding: 100px 0;
    background-color: var(--light-color);
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* Grid Layout */
.about-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: stretch;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1px;
    background-color: #eee;
    border: 1px solid #eee;
    border-radius: 10px;
    overflow: hidden;
}

.stat-grid-item {
    background-color: white;
    padding: 30px 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-grid-item .stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 5px;
    line-height: 1.1;
}

.stat-grid-item .stat-label {
    font-size: 14px;
    font-weight: 500;
    color: #777;
}

/* About Text Column */
.about-text-column {
    text-align: left;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.about-text-column p {
    margin-bottom: 15px;
    font-size: 16px;
    line-height: 1.6;
    color: #444;
}

/* Responsive Breakpoints */
@media (max-width: 992px) {
    .about-content-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .stats-grid {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .about-text-column {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .about-us-section {
        padding: 60px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .section-title {
        font-size: 32px;
        line-height: 40px;
        font-weight: 800;
        margin-bottom: 10px;
    }
    
    .stat-grid-item {
        padding: 20px 15px;
    }
    
    .stat-grid-item .stat-number {
        font-size: 32px;
    }
    
    .stat-grid-item .stat-label {
        font-size: 13px;
    }
    
    .about-text-column {
        padding: 20px;
    }
    
    .about-text-column p {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .about-us-section {
        padding: 40px 0;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .stat-grid-item {
        padding: 15px 10px;
    }
    
    .stat-grid-item .stat-number {
        font-size: 28px;
    }
    
    .stat-grid-item .stat-label {
        font-size: 12px;
    }
    
    .about-text-column {
        padding: 15px;
    }
}

main {
    margin-top: 80px; /* Adjust based on your header height */
}

/* Background Slideshow */
.background-slideshow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.background-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.background-slide.active {
    opacity: 1;
}

/* Booking Partners Section */



.booking-partners {
    width: 100%;
}

.bikes-table {
    width: 100%;
    border-spacing: 24px 0;
    border-collapse: separate;
}

.bikes-table td {
    width: 50%;
    padding: 0;
}









@media (max-width: 992px) {
    .booking-partners {
        flex-direction: column;
    }
    
    .top-card-container,
    .tesla-card {
        width: 100%;
    }
    
    .bottom-cards-container {
        width: 100%;
    }
}

@media (max-width: 340px) {
    .booking-partners {
        flex-direction: column;
    }
    
    
    .bottom-cards-container {
        flex-wrap: wrap;
    }
}

/* Legal Modal Styles */
.legal-modal {
    position: fixed;
    bottom: -100%;
    left: 0;
    width: 100%;
    height: 70vh;
    background-color: #111;
    z-index: 1000;
    transition: bottom 0.3s ease-in-out;
    display: flex;
    flex-direction: column;
}

/* White Modal Variant */
#terms-modal,
#privacy-modal,
#cookies-modal {
    background-color: #fff;
}

#terms-modal .legal-modal-header,
#privacy-modal .legal-modal-header,
#cookies-modal .legal-modal-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

#terms-modal .legal-modal-header h2,
#privacy-modal .legal-modal-header h2,
#cookies-modal .legal-modal-header h2 {
    color: #000;
}

#terms-modal .legal-modal-close,
#privacy-modal .legal-modal-close,
#cookies-modal .legal-modal-close {
    color: #000;
}

#terms-modal .legal-modal-body,
#privacy-modal .legal-modal-body,
#cookies-modal .legal-modal-body {
    color: #333;
}

#terms-modal .legal-modal-body h3,
#privacy-modal .legal-modal-body h3,
#cookies-modal .legal-modal-body h3 {
    color: #000;
}

#terms-modal .legal-modal-body p,
#privacy-modal .legal-modal-body p,
#cookies-modal .legal-modal-body p {
    color: #333;
}

#terms-modal .legal-modal-body::-webkit-scrollbar-track,
#privacy-modal .legal-modal-body::-webkit-scrollbar-track,
#cookies-modal .legal-modal-body::-webkit-scrollbar-track {
    background: #f5f5f5;
}

#terms-modal .legal-modal-body::-webkit-scrollbar-thumb,
#privacy-modal .legal-modal-body::-webkit-scrollbar-thumb,
#cookies-modal .legal-modal-body::-webkit-scrollbar-thumb {
    background: #ddd;
}

#terms-modal .legal-modal-body::-webkit-scrollbar-thumb:hover,
#privacy-modal .legal-modal-body::-webkit-scrollbar-thumb:hover,
#cookies-modal .legal-modal-body::-webkit-scrollbar-thumb:hover {
    background: #ccc;
}

.legal-modal.active {
    bottom: 0;
}

.legal-modal-content {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.legal-modal-header {
    background-color: #111;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    position: sticky;
    top: 0;
    z-index: 2;
}

.legal-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.legal-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    transition: transform 0.3s ease;
    background-image: url('../images/ff_close.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    color: transparent; /* Hide the HTML entity */
}

.legal-modal-close:hover {
    transform: rotate(90deg);
}

.legal-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px 40px;
}

.legal-modal-body::-webkit-scrollbar {
    width: 8px;
}

.legal-modal-body::-webkit-scrollbar-track {
    background: #222;
}

.legal-modal-body::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

.legal-modal-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Updated Footer Styles */
.footer-new {
    background-color: #000;
    color: #fff;
    padding: 60px 0 20px;
}

.footer-content-new {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.footer-brand {
    max-width: 400px;
}

.footer-brand h2 {
    font-size: 24px;
    margin-bottom: 20px;
}

.footer-brand p {
    color: #999;
    line-height: 1.6;
}

.footer-links-column h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #fff;
}

.footer-links-column ul {
    list-style: none;
    padding: 0;
}

.footer-links-column ul li {
    margin-bottom: 12px;
}

.footer-links-column ul li a {
    color: #999;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links-column ul li a:hover {
    color: #fff;
}

.footer-bottom-new {
    max-width: var(--max-width);
    margin: 40px auto 0;
    padding: 20px 20px;
    border-top: 1px solid #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-social {
    display: flex;
    gap: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
}

.social-icon {
    width: 20px;
    height: 20px;
    filter: invert(1);
}

@media (max-width: 992px) {
    .footer-content-new {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
        padding: 0 15px;
    }
}

@media (max-width: 768px) {
    .footer-new {
        padding: 40px 0 20px;
    }
    
    .footer-content-new {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .footer-brand {
        max-width: 100%;
    }
    
    .footer-links-column {
        margin-bottom: 10px;
    }
}

@media (max-width: 480px) {
    .footer-new {
        padding: 24px;
    }
    
    .footer-content-new {
        gap: 20px;
        padding: 0 15px;  /* Increased side padding */
    }
    
    .footer-bottom-new {
        flex-direction: column;
        text-align: center;
        gap: 20px;
        padding: 20px 15px 30px;  /* Increased bottom padding */
        margin: 20px auto 20px;   /* Added bottom margin */
    }
    
    .footer-social {
        display: flex;
        justify-content: center;
        gap: 15px;
    }
    
    .footer-social a {
        width: 35px;
        height: 35px;
    }
    
    .footer-content-new {
        padding: 0 15px;
    }
}

/* Documentation and Press Modal Styles */
.docs-section, .press-section {
    color: #fff;
}

.docs-section h3, .press-section h3 {
    font-size: 24px;
    margin: 30px 0 20px;
    color: var(--primary-color);
}

.docs-section h4, .press-section h4 {
    font-size: 20px;
    margin: 25px 0 15px;
    color: #fff;
}

.docs-section p, .press-section p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: #ccc;
}

.docs-section ul, .press-section ul {
    margin: 15px 0;
    padding-left: 20px;
}

.docs-section li, .press-section li {
    margin-bottom: 10px;
    color: #ccc;
}

.press-release {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

.press-date {
    color: var(--primary-color);
    font-size: 14px;
    margin: 5px 0 10px;
}

.media-contact, .brand-assets {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    margin: 20px 0;
}

.media-contact p, .brand-assets p {
    margin-bottom: 10px;
}

.brand-assets ul {
    list-style: none;
    padding-left: 0;
}

.brand-assets li {
    margin-bottom: 8px;
    color: #ccc;
}

.legal-modal-body {
    max-height: calc(70vh - 100px);
    overflow-y: auto;
    padding-right: 20px;
}

.legal-modal-body::-webkit-scrollbar {
    width: 8px;
}

.legal-modal-body::-webkit-scrollbar-track {
    background: #222;
}

.legal-modal-body::-webkit-scrollbar-thumb {
    background: #444;
    border-radius: 4px;
}

.legal-modal-body::-webkit-scrollbar-thumb:hover {
    background: #555;
}

/* Booking Partner Actions */
.booking-partner-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.booking-partner-actions .btn-small {
    flex: 1;
    margin: 0;
    white-space: nowrap;
    padding: 8px 12px;
    font-size: 12px;
}

.booking-partner-actions .notify-me {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.booking-partner-actions .notify-me:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
}

.booking-partner-actions .disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Full width button style */
.booking-partner-actions .full-width {
    width: 100%;
    max-width: 100%;
}

@keyframes fadeUpIn {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

.fa-solid, .fas {
    color: white;
}

.testimonial-rating .fas {
    color: var(--primary-color);
}

/* Screen reader only - accessibility class */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.nav-close:hover {
    display: none;
}

/* 
   CLEAN NAV ARCHITECTURE - FIXED VERSION
   Removing overlays and simplifying z-index
*/

/* Base header and container */
header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0);
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(0, 0, 0, 0.95);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}


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

/* Basic navbar structure */
.navbar {
    display: flex;
    align-items: center;
    padding: 15px 0;
    position: relative;
}

/* Menu Toggle - visible at all breakpoints */
.menu-toggle {
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-left: 0px;
    position: relative;
    z-index: 1010;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Navigation Menu */
.nav-menu {
    position: fixed;
    top: 68px;
    left: -100%;
    width: 300px;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.95);
    transition: left 0.3s ease, opacity 0.3s ease;
    z-index: 1005;
    overflow-y: auto;
    padding: 0px 0 50px 0;
    opacity: 0;
}

.nav-menu.active {
    left: 0;
    opacity: 1;
}

/* Navigation Links */
.nav-links {
    /* text-decoration: dotted; */
    font-weight: 700;
    transform: revert-layer;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-links li {
    margin: 0 20px;
    padding: 28px 0;
}

.nav-links a {
    display: block;
    color: #fff;
    font-size: 18px;
    padding: 15px 60px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-color);
}

/* Active state for the menu toggle - transforms into X */
.menu-toggle.active {
    position: fixed !important;
    left: 20px !important;
    top: 25px !important;
    width: 40px !important;
    height: 40px !important;
    z-index: 1010;
    background-color: var(--primary-color) !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Responsive Adjustments */
@media (min-width: 992px) {
    .nav-menu {
        width: 300px;
    }
    
    .nav-links a:hover {
        transform: translateX(10px);
    }
}

@media (max-width: 768px) {
    .logo {
        margin-left: auto;
    }

    .nav-menu .nav-links li {
        padding: 0;
        margin: 0 0 16px 0;
    }

    .nav-menu {
        position: fixed;
        top: 68px;
        left: -100%;
        width: 280px;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.95);
        transition: left 0.3s ease, opacity 0.3s ease;
        z-index: 1005;
        overflow-y: auto;
        padding: 0px 0 50px 0;
        opacity: 0;
    }

    .nav-close-btn {
        position: fixed;
        left: 32px;
        top: 22px;
        width: 24px;
        height: 24px;
    }
}

/* Body class to prevent scrolling when menu is open - REMOVED OVERLAY */
body.menu-open {
    overflow: hidden;
}

/* When menu is active, hide hamburger and show X */
body.menu-open .menu-toggle {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 768px) {
    .menu-toggle {
        width: 24px;
        height: 24px;
        margin: 0px 16px 0px 0px;
        margin-left: 0;
    }

    .navbar {
        margin-left: -18px;
        justify-content: flex-start;
    }
}

@media (max-width: 480px) {
    .bikes-table {
        display: flex;
        flex-direction: column;
        gap: 15px;
        border-spacing: 0;
    }
    
    .bikes-table td {
        width: 100%;
        display: block;
        padding: 0;
    }
    
    .booking-partners {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .category-tabs {
        display: none;
    }
}

/* Vehicle Rating Display */
.vehicle-rating {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    font-weight: 500;
}

.vehicle-rating .rating {
    color: #333;
    letter-spacing: -8px;
    font-size: 14px;
    display: flex;
    align-items: center;
}

.vehicle-rating .rating .fas {
    color: var(--primary-color);
    margin: 0 4px;
}

.vehicle-rating .trips {
    color: #666;
    margin-left: 8px;
    font-size: 11px;
    display: inline;
}

/* Adjust spacing between rating and price */
.vehicle-details .price {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color, #ff4d30);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.01em;
    margin: 0;
}

/* Override for Font Awesome stars in ratings - high specificity with !important */
.vehicle-rating .rating .fas,
.testimonial-rating .fas {
    color: var(--primary-color) !important;
}

/* Explicit styles for h1 elements within sectioning elements to resolve Firefox warning */
section h1.hero-title {
    font-size: 2rem;
    margin: 0.5rem 0;
}
section h1.section-title {
    font-size: 2.5rem;
    margin: 0.5rem 0;
}

/* =================================================================
   CONSOLIDATED STYLES FROM CUSTOM-STYLES.CSS
   ================================================================= */

/* Chrome Autofill Animations - Required for autocomplete-fix.js */
@keyframes onAutoFillStart {
  from { background: transparent; }
  to { background: rgba(232, 240, 254, 0.2); }
}

@keyframes onAutoFillCancel {
  from { background: rgba(232, 240, 254, 0.2); }
  to { background: transparent; }
}

input:-webkit-autofill {
  animation-name: onAutoFillStart;
  transition: background-color 50000s ease-in-out 0s;
}

input:not(:-webkit-autofill) {
  animation-name: onAutoFillCancel;
}

/* Custom Animation for Page Elements */
.fade-in {
  opacity: 0;
  animation: fadeIn 0.8s forwards;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Custom Utility Classes */
.text-primary { color: var(--primary-color); }
.bg-primary { background-color: var(--primary-color); }
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }

/* Termly Consent Preferences Button Styling */
.termly-display-preferences {
  text-decoration: underline;
  cursor: pointer;
}

.termly-display-preferences:hover {
  color: var(--primary-color);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-color);
}

/* Font System Fallbacks - Ensures text remains visible during webfont load */
body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', 
               Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', 
               sans-serif;
}

.font-loaded body {
  font-family: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 
               'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 
               'Helvetica Neue', sans-serif;
}

/* Form Feedback Messages */
.form-success {
  color: var(--success-color);
  padding: 10px;
  margin-top: 10px;
  background-color: var(--success-color-bg);
  border-radius: var(--border-radius);
}

.form-error {
  color: var(--error-color);
  padding: 10px;
  margin-top: 10px;
  background-color: rgba(255, 51, 51, 0.1);
  border-radius: var(--border-radius);
}

/* Print Styles */
@media print {
  header, footer, .nav-menu, .cta, .scroll-top {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
  
  a {
    text-decoration: none;
    color: #000;
  }
  
  .container {
    width: 100%;
    max-width: none;
  }
}

/* 
 * IMPORTANT NOTE: Legal modal styles are defined here with higher specificity 
 * to override any conflicting styles elsewhere in the stylesheet.
 */

/* Legal modal styling - IMPORTANT: These styles override earlier definitions */
.legal-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    overflow-y: auto;
}

.legal-modal.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 2rem 1rem;
}

.legal-modal-content {
    background-color: white;
    border-radius: 8px;
    max-width: 800px;
    width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.legal-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid #eee;
}

.legal-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    color: #333;
}

.legal-modal-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    transition: transform 0.3s ease;
    background-image: url('../images/ff_close.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: 100%;
    color: transparent; /* Hide the HTML entity */
}

.legal-modal-close:hover {
    transform: rotate(90deg);
}

.legal-modal-body {
    flex: 1;
    overflow-y: auto;
    padding: 30px 40px;
}

.legal-modal-body p,
.legal-modal-body ul,
.legal-modal-body h3 {
    margin-bottom: 1rem;
}

.legal-modal-body ul {
    padding-left: 1.5rem;
}

.legal-modal-body a {
    color: var(--accent-color);
    text-decoration: none;
}

.legal-modal-body a:hover {
    text-decoration: underline;
}

/* White modal variant - applies to all legal modals */
#terms-modal,
#privacy-modal,
#cookies-modal,
#cookie-policy-modal,
#documentation-modal,
#press-modal {
    background-color: rgba(0, 0, 0, 0.7);
}

#terms-modal .legal-modal-content,
#privacy-modal .legal-modal-content,
#cookies-modal .legal-modal-content,
#cookie-policy-modal .legal-modal-content,
#documentation-modal .legal-modal-content,
#press-modal .legal-modal-content {
    background-color: #fff;
}

#terms-modal .legal-modal-header,
#privacy-modal .legal-modal-header,
#cookies-modal .legal-modal-header,
#cookie-policy-modal .legal-modal-header,
#documentation-modal .legal-modal-header,
#press-modal .legal-modal-header {
    background-color: #fff;
    border-bottom: 1px solid #eee;
}

#terms-modal .legal-modal-header h2,
#privacy-modal .legal-modal-header h2,
#cookies-modal .legal-modal-header h2,
#cookie-policy-modal .legal-modal-header h2,
#documentation-modal .legal-modal-header h2,
#press-modal .legal-modal-header h2 {
    color: #000;
}

#terms-modal .legal-modal-close,
#privacy-modal .legal-modal-close,
#cookies-modal .legal-modal-close,
#cookie-policy-modal .legal-modal-close,
#documentation-modal .legal-modal-close,
#press-modal .legal-modal-close {
    color: #000;
}

#terms-modal .legal-modal-body,
#privacy-modal .legal-modal-body,
#cookies-modal .legal-modal-body,
#cookie-policy-modal .legal-modal-body,
#documentation-modal .legal-modal-body,
#press-modal .legal-modal-body {
    color: #333;
}

@media (max-width: 768px) {
    .legal-modal-content {
        width: 95%;
        max-height: 90vh;
    }
}

/* Vehicle Gallery Actions Buttons - Standardize Heights and Styles */
.vehicle-gallery-wrapper .gallery-actions button,
.vehicle-gallery-wrapper .gallery-actions a {
    padding: 12px 24px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 120px;
    min-height: 50px; /* Ensure uniform height */
    text-decoration: none;
    margin: 5px;
}

.vehicle-gallery-wrapper .gallery-actions button:hover,
.vehicle-gallery-wrapper .gallery-actions a:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.vehicle-gallery-wrapper .gallery-actions .view-details {
    background-color: var(--dark-color);
    color: var(--light-color);
    border: none;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vehicle-gallery-wrapper .gallery-actions .view-details:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.vehicle-gallery-wrapper .gallery-actions .book-now {
    background-color: var(--dark-color);
    color: var(--light-color);
    border: none;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vehicle-gallery-wrapper .gallery-actions .book-now:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.vehicle-gallery-wrapper .gallery-actions .notify-me {
    background-color: var(--dark-color);
    color: var(--light-color);
    border: none;
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.vehicle-gallery-wrapper .gallery-actions .notify-me:hover {
    background-color: var(--primary-color);
    color: var(--light-color);
    transform: translateY(-2px);
}

/* Vehicle Gallery Price Badge */
.vehicle-gallery-price-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: var(--primary-color, #ff4d30);
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin: 0;
    z-index: 10;
}

/* Notification Content Container Styling for Desktop */
@media (min-width: 992px) {
    .notification-content-container {
        width: 40%;
        margin: 0 auto;
    }
}

/* Notification Modal Content Container - matching legal-modal styling */
.notification-modal .notification-content-container {
    padding: 20px;
    width: 100%;
}
@media (min-width: 992px) {
    .notification-modal .notification-content-container {
        width: 40%;
        margin: 0 auto;
    }
}

/* Modal Slide-Up Animation - Updated for faster speed */
@keyframes slideUp {
    from {
        transform: translateY(100%);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.notification-modal.active,
.vehicle-details-modal.active {
    animation: slideUp 0.4s ease-out forwards; /* Faster animation */
    background-color: transparent; /* Remove black overlay */
}

.vehicle-gallery-wrapper .vehicle-details-modal.active {
    animation: slideUp 0.4s ease-out forwards; /* Faster animation */
    background-color: transparent !important; /* Override black background from vehicle-gallery.css */
}

/* Additional rule with high specificity to override background for vehicle details modal */
.vehicle-gallery-wrapper .vehicle-gallery-container .gallery-main .vehicle-details-modal.active {
    background-color: transparent; /* Override black background with extremely high specificity */
}

