/*
Theme Name: Rides Nepexo
Theme URI: https://rides.nepexo.com
Author: Tikam Chandr Sah
Author URI: https://nepexo.com
Description: Custom WordPress theme for vehicle rentals including cars, bikes, scooters, vans, and EVs. Fully responsive, mobile-first, and modern UI.
Version: 1.0
License: GPL-2.0+
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: rides-nepexo
Tags: responsive, rental, vehicles, cars, bikes, scooters, ev, bootstrap, modern
*/

/* ==========================
   Global Styles
========================== */
body {
    font-family: 'Open Sans', sans-serif;
    background: #F8F9FA;
    color: #212121;
    margin: 0;
    padding: 0;
}

a {
    color: #1E90FF;
    text-decoration: none;
}

a:hover {
    color: #FF6F61;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    color: #212121;
}

/* Buttons */
button, .btn {
    border-radius: 5px;
    transition: 0.3s;
}

.btn-primary {
    background-color: #FF6F61;
    border: none;
    color: #fff;
}

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

/* ==========================
   Header Styles
========================== */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: linear-gradient(90deg, #1E3C72 0%, #2A5298 100%);
    padding: 10px 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* Logo */
.site-header .logo span {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

/* Desktop Menu */
.main-nav .menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 20px;
}

.main-nav .menu li a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 5px;
    transition: 0.3s;
}

.main-nav .menu li a:hover,
.main-nav .menu li.current-menu-item > a {
    background: rgba(255,255,255,0.2);
    color: #ffffff;
}

/* Mobile Menu */
@media (max-width: 767px) {
    .menu {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: linear-gradient(90deg, #1E3C72 0%, #2A5298 100%);
        display: none;
        padding: 15px 0;
    }

    .menu li a {
        padding: 12px 20px;
        display: block;
    }

    .menu.active {
        display: flex;
    }

    .menu-toggle {
        display: block;
        font-size: 1.8rem;
        color: #ffffff;
        cursor: pointer;
    }
}

/* Hide toggle on desktop */
@media (min-width: 768px) {
    .menu-toggle {
        display: none;
    }
}

/* ==========================
   Hero Section
========================== */
.hero-section {
    background: #1E90FF;
    color: #fff;
    padding: 80px 0;
    text-align: center;
}
.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
}
.hero-section p {
    font-size: 1.2rem;
}

/* ==========================
   Vehicle Cards
========================== */
.vehicle-card {
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    background: #fff;
}
.vehicle-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.vehicle-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.vehicle-card .card-body h5 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.vehicle-card .card-body p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ==========================
   Search Bar
========================== */
.search-bar {
    background: #f8f9fa;
    padding: 30px 0;
}

.search-bar input,
.search-bar select {
    height: 45px;
    border-radius: 5px;
}

/* ==========================
   Footer Styles
========================== */
footer {
    background: linear-gradient(90deg, #12224A 0%, #1E3C72 100%);
    color: #ffffff;
    padding: 40px 0;
    text-align: center;
    border-top: 3px solid #FF6F61;
}

footer a {
    color: #ffffff;
    margin: 0 10px;
    transition: 0.3s;
}

footer a:hover {
    color: #FF6F61;
}

footer p, footer span {
    color: #d1d1d1;
}

/* ==========================
   Responsive Enhancements
========================== */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2rem;
    }
    .vehicle-card .card-body h5 {
        font-size: 1rem;
    }
    footer {
        padding: 30px 15px;
    }
    footer a {
        display: inline-block;
        margin: 5px;
    }
}
