/* =============== FLEET PAGE STYLING - MATCHES MAIN SITE =============== */

/* Import the same fonts as your main site */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Inter:wght@300;400;500&display=swap');

/* Base styles matching your main site */
body.dark-theme {
    background-color: #fff; /* Changed to white to match main site */
    color: #222;
    font-family: 'Montserrat', sans-serif;
    font-size: 100%;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    padding-top: 65px; /* For fixed header */
}

/* Container for consistent width */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===== SIMPLE NAVIGATION - MATCHES MAIN SITE ===== */

/* Header - exactly like main site */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    z-index: 9999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    padding: 0;
    margin: 0;
}

/* Nav container */
.navbar {
    width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Logo - fixed size */
.logo img {
    width: 142px;
    height: auto;
    display: block;
}

/* Navigation menu */
.nav-menu {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
}

.nav-item {
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: #1b2f3c;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 30px;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: #aaa892;
}

/* Book Now button */
.nav-btn {
    background-color: #aaa892;
    color: #fff !important;
    padding: 0 20px;
    height: 42px;
    line-height: 42px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border-radius: 0;
    transition: background 0.3s ease;
    font-size: 9px;
    text-decoration: none !important;
    border: none;
}

.nav-btn:hover {
    background-color: #918772;
}

/* Hamburger - hidden on desktop */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
}

.hamburger .bar {
    width: 25px;
    height: 3px;
    background-color: #1b2f3c;
    border-radius: 2px;
    transition: 0.3s;
}

/* ===== MOBILE STYLES ===== */
@media (max-width: 991px) {
    /* Hide desktop menu, show hamburger */
    .nav-menu {
        display: none;
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        background: #1b2f3c;
        padding: 20px;
        flex-direction: column;
        gap: 0;
        z-index: 9998;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .hamburger {
        display: flex;
    }
    
    /* Mobile menu items */
    .nav-menu li {
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        padding: 0;
        margin: 0;
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
        margin-top: 15px;
    }
    
    /* Mobile links */
    .nav-menu li a {
        display: block;
        padding: 15px 0;
        color: #fff !important;
        font-size: 14px;
        width: 100%;
    }
    
    /* Mobile button - FIXED */
    .nav-menu li a.nav-btn {
        background: #aaa892;
        color: #ffffff !important;
        text-align: center;
        border-radius: 4px;
        padding: 12px 20px !important;
        margin-top: 10px;
        font-weight: 700;
    }
    
    /* Hamburger animation */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* ===== DESKTOP STYLES ===== */
@media (min-width: 992px) {
    .nav-menu {
        display: flex !important;
    }
    
    .hamburger {
        display: none !important;
    }
}

/* ===== FLEET HERO SECTION ===== */
.fleet-hero {
    height: 420px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(rgba(27, 47, 60, 0.8), rgba(27, 47, 60, 0.6));
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 40px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../images/backgrounds/fleet-hero.jpg') center center no-repeat;
    background-size: cover;
    z-index: -1;
}

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

.hero-title {
    color: #fff;
    font-size: 24px;
    letter-spacing: 5px;
    text-transform: uppercase;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.hero-subtitle {
    color: #aaa892;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 0;
    font-weight: 400;
}

/* ===== FLEET FILTER SECTION ===== */
.fleet-filter {
    background: #f8f8f8;
    padding: 30px 0;
    margin-bottom: 40px;
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-end;
    justify-content: center;
}

.filter-group {
    flex: 1;
    min-width: 200px;
}

.filter-group label {
    display: block;
    margin-bottom: 8px;
    color: #1b2f3c;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.filter-select {
    width: 100%;
    height: 42px;
    padding: 0 15px;
    border: 1px solid #d1cdbe;
    background: #fff;
    color: #1b2f3c;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 400;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b2f3c' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 15px;
}

.btn-filter-reset {
    background-color: #aaa892;
    color: #fff !important;
    border: none;
    padding: 0 25px;
    height: 42px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.3s ease;
    text-decoration: none !important;
    font-family: 'Montserrat', sans-serif;
}

.btn-filter-reset:hover {
    background-color: #918772;
}

/* ===== FLEET GRID SECTION ===== */
.fleet-grid-section {
    padding: 40px 0;
    background: #fff;
}

.results-count {
    margin-bottom: 30px;
    color: #1b2f3c;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

/* Individual Car Card */
.car-card {
    background: #fff;
    border: 1px solid #eee;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.car-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.car-image {
    height: 200px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.car-info {
    padding: 25px;
}

.car-title {
    color: #1b2f3c;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 15px 0;
}

.car-details {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 0;
}

.car-details li {
    color: #1b2f3c;
    font-size: 12px;
    margin-bottom: 8px;
    display: flex;
    justify-content: space-between;
}

.car-details li span:first-child {
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.car-price {
    color: #aaa892;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

.car-buttons {
    display: flex;
    gap: 10px;
}

/* Buttons matching main site */
.btn, .btn-primary, .btn-secondary {
    height: 42px;
    font-size: 9px;
    line-height: 42px;
    padding: 0 20px;
    border: 0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 2px;
    text-align: center;
    text-decoration: none !important;
    text-transform: uppercase;
    cursor: pointer;
    color: #fff !important;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

.btn-primary {
    background-color: #aaa892;
}

.btn-primary:hover {
    background-color: #918772;
}

.btn-secondary {
    background-color: #1b2f3c;
}

.btn-secondary:hover {
    background-color: #0d1a23;
}

/* ===== BOOKING CTA SECTION ===== */
.booking-cta {
    background: #d1cdbe;
    padding: 60px 0;
    text-align: center;
    margin-top: 60px;
}

.cta-title {
    color: #1b2f3c;
    font-size: 24px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin: 0 0 15px 0;
}

.cta-subtitle {
    color: #1b2f3c;
    font-size: 14px;
    font-weight: 400;
    margin: 0 0 30px 0;
    letter-spacing: 2px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    min-width: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* ===== FOOTER MATCHING MAIN SITE ===== */
.main-footer {
    background: #152936;
    color: #fff;
    padding: 40px 0 20px 0;
}

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

.footer-logo .logo-text {
    color: #fff;
    font-size: 24px;
    margin-bottom: 15px;
    display: block;
}

.footer-logo p {
    color: #aaa892;
    font-size: 12px;
    line-height: 1.8;
    margin: 0;
}

.footer-links h3,
.footer-contact h3 {
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 0 0 20px 0;
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 12px;
}

.footer-links a {
    color: #aaa892;
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s ease;
}

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

.footer-contact li {
    color: #aaa892;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact i {
    width: 20px;
    color: #aaa892;
}

.footer-bottom {
    border-top: 1px solid #2a3d4c;
    padding-top: 20px;
    text-align: center;
}

.footer-bottom p {
    color: #aaa892;
    font-size: 10px;
    margin: 0;
}

.footer-bottom a {
    color: #aaa892;
    text-decoration: none;
}

.footer-bottom a:hover {
    color: #fff;
}

/* ===== WHATSAPP FLOAT BUTTON ===== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* ===== RESPONSIVE STYLES ===== */
@media (max-width: 991px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero-title {
        font-size: 20px;
        letter-spacing: 3px;
    }
    
    .filter-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-group {
        min-width: 100%;
    }
    
    .fleet-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 767px) {
    body.dark-theme {
        padding-top: 60px;
    }
    
    .fleet-hero {
        height: 300px;
    }
    
    .hero-title {
        font-size: 18px;
        letter-spacing: 2px;
    }
    
    .hero-subtitle {
        font-size: 12px;
    }
    
    .fleet-grid {
        grid-template-columns: 1fr;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
        bottom: 20px;
        right: 20px;
    }
}

/* ===== IMPROVED MOBILE NAVIGATION ===== */
@media (max-width: 991px) {
    /* Mobile menu styling */
    .nav-menu {
        display: none;
        position: fixed;
        top: 65px;
        left: 0;
        width: 100%;
        background: #1b2f3c;
        padding: 20px;
        flex-direction: column;
        gap: 0;
        z-index: 9998;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);
        max-height: calc(100vh - 65px);
        overflow-y: auto;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    /* Navigation items */
    .nav-menu li {
        width: 100%;
        margin: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-menu li:last-child {
        border-bottom: none;
        margin-top: 15px;
    }
    
    /* Navigation links */
    .nav-menu li a {
        display: block;
        padding: 15px 0 !important;
        color: #ffffff !important;
        font-size: 14px !important;
        text-align: left;
        width: 100%;
        text-decoration: none;
        transition: all 0.3s ease;
    }
    
    .nav-menu li a:hover {
        color: #aaa892 !important;
        padding-left: 10px !important;
    }
    
    /* Active state */
    .nav-menu li a.active {
        color: #aaa892 !important;
        font-weight: 700;
    }
    
    /* WhatsApp button in mobile menu */
    .nav-menu li a.nav-btn {
        background: #aaa892;
        color: #ffffff !important;
        text-align: center;
        border-radius: 10px;
        padding: 12px 20px !important;
        margin-top: 10px;
        font-weight: 700;
    }
    
    .nav-menu li a.nav-btn:hover {
        background: #918772;
        padding-left: 20px !important; /* Reset hover effect */
    }
    
    /* Hamburger icon animation */
    .hamburger {
        display: flex;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
        padding: 5px;
    }
    
    .hamburger .bar {
        width: 25px;
        height: 3px;
        background: #1b2f3c;
        border-radius: 2px;
        transition: all 0.3s ease;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

/* Desktop navigation - ensure it's visible */
@media (min-width: 992px) {
    .nav-menu {
        display: flex !important;
        flex-direction: row;
    }
    
    .hamburger {
        display: none;
    }
}

