/*
Theme Name: BUDGEERRENTAL
Theme URI: https://budgeetrental.com/
Author: Trishala
Description: Custom clean, modern, and responsive budgetrental theme.
Version: 1.0
*/

/* 1. Global Reset & Variables */
:root {
    --primary-navy: #00285F;
    --primary-navy-dark: #001A3F;
    --accent-orange: #ED5506;
    --accent-orange-hover: #D04500;
    --bg-light: #F4F6F9;
    --text-dark: #1A202C;
    --text-gray: #5A6A85;
    --border-color: #E2E8F0;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.05);
    --shadow-md: 0 6px 15px rgba(0,0,0,0.1);
    --shadow-lg: 0 12px 25px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --radius: 6px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    background-color: #FFFFFF;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.highlight-orange, .text-orange {
    color: var(--accent-orange);
}

.hidden {
    display: none !important;
}

/* 2. Top Header Ribbon */
.top-bar {
    background-color: var(--primary-navy-dark);
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left i {
    color: var(--accent-orange);
    margin-right: 5px;
}

.top-bar-right {
    display: flex;
    gap: 20px;
    align-items: center;
}

.top-bar-right a:hover {
    color: var(--accent-orange);
}

.fastbreak-btn {
    background: rgba(237, 85, 6, 0.2);
    padding: 3px 10px;
    border-radius: 4px;
    color: var(--accent-orange) !important;
    font-weight: 600;
}

/* 3. Main Header & Navigation */
.main-header {
    background-color: var(--primary-navy);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-md);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    font-size: 26px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-text {
    color: var(--white);
}

.logo-accent {
    color: var(--accent-orange);
    margin-left: 3px;
}

.main-nav ul {
    display: flex;
    gap: 25px;
}

.main-nav a {
    color: var(--white);
    font-weight: 600;
    font-size: 15px;
    padding: 5px 0;
    position: relative;
}

.main-nav a.active, .main-nav a:hover {
    color: var(--accent-orange);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
}

/* Button Styles */
.btn {
    display: inline-block;
    font-weight: 700;
    text-align: center;
    padding: 12px 24px;
    border-radius: var(--radius);
    cursor: pointer;
    border: none;
    transition: var(--transition);
    font-size: 15px;
}

.btn-primary {
    background-color: var(--accent-orange);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--accent-orange-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--accent-orange);
    color: var(--white);
    font-size: 18px;
}

.btn-secondary:hover {
    background-color: var(--accent-orange-hover);
    box-shadow: 0 4px 12px rgba(237, 85, 6, 0.4);
}

.btn-primary-sm {
    background-color: var(--primary-navy);
    color: var(--white);
    padding: 8px 18px;
    font-size: 14px;
}

.btn-primary-sm:hover {
    background-color: var(--accent-orange);
}

.btn-block {
    width: 100%;
}

.btn-outline-white {
    border: 2px solid var(--white);
    color: var(--white);
    background: transparent;
}

.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary-navy);
}

/* 4. Hero Section & Booking Form */
.hero-section {
    position: relative;
    background: linear-gradient(rgba(0, 40, 95, 0.85), rgba(0, 26, 63, 0.9)), 
                url('https://images.unsplash.com/photo-1568605117036-5fe5e7bab0b7?auto=format&fit=crop&w=1800&q=80') center/cover no-repeat;
    padding: 60px 0 80px;
    color: var(--white);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
}

.hero-text h1 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-text p {
    font-size: 18px;
    color: #D1D5DB;
}

/* Booking Card Module */
.booking-card {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    color: var(--text-dark);
}

.booking-tabs {
    display: flex;
    background: #E5E7EB;
}

.tab-btn {
    flex: 1;
    padding: 15px 10px;
    border: none;
    background: transparent;
    font-weight: 700;
    font-size: 14px;
    color: var(--text-gray);
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active {
    background: var(--white);
    color: var(--primary-navy);
    border-top: 3px solid var(--accent-orange);
}

.booking-form {
    padding: 25px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.span-2 {
    grid-column: span 2;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 6px;
}

.form-group label i {
    color: var(--accent-orange);
}

.form-group input, .form-group select {
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus, .form-group select:focus {
    border-color: var(--primary-navy);
    box-shadow: 0 0 0 3px rgba(0, 40, 95, 0.1);
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    font-size: 13px;
    color: var(--text-gray);
}

/* 5. Fastbreak Ribbon */
/* ==========================================
   Fastbreak Loyalty Ribbon Section
   ========================================== */

.fastbreak-ribbon {
    background-color: #f26522; /* Official brand orange */
    padding: 24px 0;
    color: #ffffff;
}

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

.fastbreak-ribbon .ribbon-text h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 0 6px 0;
    color: #ffffff;
    line-height: 1.2;
}

.fastbreak-ribbon .ribbon-text h2 .highlight-orange {
    color: #ffffff; /* Contrast text inside orange banner */
    text-transform: uppercase;
}

.fastbreak-ribbon .ribbon-text p {
    font-family: 'Open Sans', sans-serif;
    font-size: 0.95rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

.fastbreak-ribbon .ribbon-action {
    flex-shrink: 0;
}

/* White Outline Button */
.btn-outline-white {
    display: inline-block;
    padding: 10px 24px;
    border: 2px solid #ffffff;
    background-color: transparent;
    color: #ffffff;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: nowrap;
}

.btn-outline-white:hover {
    background-color: #ffffff;
    color: #f26522;
    border-color: #ffffff;
}

/* Responsive Layout for Mobile Devices */
@media (max-width: 768px) {
    .fastbreak-ribbon .container.ribbon-flex {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .fastbreak-ribbon .ribbon-text h2 {
        font-size: 1.25rem;
    }

    .fastbreak-ribbon .ribbon-text p {
        font-size: 0.875rem;
    }

    .btn-outline-white {
        width: 100%;
        max-width: 250px;
    }
}

/* 6. Fleet Section */
.vehicles-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.section-title h2 {
    font-size: 32px;
    color: var(--primary-navy);
}

.section-title p {
    color: var(--text-gray);
    font-size: 16px;
}

.fleet-filters {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.filter-btn {
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    background: var(--white);
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
    background: var(--primary-navy);
    color: var(--white);
    border-color: var(--primary-navy);
}

.fleet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 25px;
}

.fleet-card {
    background: var(--white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    position: relative;
    transition: var(--transition);
    border: 1px solid var(--border-color);
}

.fleet-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.card-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--accent-orange);
    color: var(--white);
    font-size: 11px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
}

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

.card-details {
    padding: 20px;
}

.card-details h3 {
    font-size: 18px;
    color: var(--primary-navy);
}

.card-details .category {
    font-size: 13px;
    color: var(--text-gray);
    margin-bottom: 15px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    font-size: 13px;
    color: var(--text-gray);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    margin-bottom: 15px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.amount {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary-navy);
}

.per-day {
    font-size: 13px;
    color: var(--text-gray);
}

/* 7. Deals Section */
.deals-section {
    padding: 80px 0;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.deal-card {
    background: var(--primary-navy);
    color: var(--white);
    border-radius: 10px;
    padding: 30px;
    position: relative;
    box-shadow: var(--shadow-md);
}

.deal-highlight {
    background: linear-gradient(135deg, var(--primary-navy) 0%, #0040A0 100%);
    border: 2px solid var(--accent-orange);
}

.deal-tag {
    background: var(--accent-orange);
    font-size: 12px;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 4px;
    display: inline-block;
    margin-bottom: 15px;
}

.deal-card h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

.deal-card p {
    font-size: 14px;
    color: #D1D5DB;
    margin-bottom: 20px;
}

.deal-link {
    color: var(--accent-orange);
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.deal-link:hover {
    color: var(--white);
}

/* 8. Process Section */
.process-section {
    padding: 80px 0;
    background-color: var(--bg-light);
}

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

.step-card {
    background: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    box-shadow: var(--shadow-sm);
}

.step-number {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 36px;
    font-weight: 800;
    color: #E5E7EB;
}

.step-icon {
    width: 60px;
    height: 60px;
    background: rgba(237, 85, 6, 0.1);
    color: var(--accent-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin: 0 auto 20px;
}

.step-card h3 {
    margin-bottom: 10px;
    color: var(--primary-navy);
}

.step-card p {
    font-size: 14px;
    color: var(--text-gray);
}

/* 9. Reviews Section */
.reviews-section {
    padding: 80px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.review-card {
    background: var(--white);
    padding: 25px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.stars {
    color: #FBBF24;
    margin-bottom: 12px;
}

.review-text {
    font-size: 14px;
    color: var(--text-dark);
    font-style: italic;
    margin-bottom: 15px;
}

.reviewer-info strong {
    display: block;
    color: var(--primary-navy);
    font-size: 14px;
}

.reviewer-info span {
    font-size: 12px;
    color: var(--text-gray);
}

/* 10. Footer Section */
.main-footer {
    background: var(--primary-navy-dark);
    color: var(--white);
    padding-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr repeat(3, 1fr);
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo .logo-text.light {
    color: var(--white);
}

.footer-col p {
    font-size: 14px;
    color: #A0AEC0;
    margin: 15px 0 20px;
}

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

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.social-links a:hover {
    background: var(--accent-orange);
}

.footer-col h4 {
    font-size: 16px;
    margin-bottom: 20px;
    color: var(--white);
}

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

.footer-col ul a {
    color: #A0AEC0;
    font-size: 14px;
}

.footer-col ul a:hover {
    color: var(--accent-orange);
}

.footer-bottom {
    padding: 20px 0;
    font-size: 13px;
    color: #A0AEC0;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.legal-links a:hover {
    color: var(--white);
}

/* Responsive Design */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .mobile-toggle {
        display: block;
    }

    .top-bar-left {
        display: none;
    }

    .ribbon-flex {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-bottom-flex {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
}