/**
 * Premium Car Rental Website
 * Custom Stylesheet
 * Modern, Minimal, Premium Design
 */

/* ===================================
   ROOT VARIABLES
   =================================== */
:root {
    --primary-color: #d92f1d;
    --secondary-color: #141615;
    --light-bg: #f3f9ff;
    --white: #ffffff;
    --text-dark: #1a1a1a;
    --text-muted: #6c757d;
    --border-light: #e9ecef;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --border-radius: 12px;
    --section-padding: 80px 0;
}

/* ===================================
   GLOBAL STYLES
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

section {
    padding: var(--section-padding);
}

.container {
    max-width: 1200px;
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.main-header.scrolled {
    /* background: var(--secondary-color); */
    background: white;
    box-shadow: var(--shadow-md);
}

.main-header .navbar {
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 600;
    /* color: var(--white) !important; */
    color: black !important;
    transition: var(--transition);
}

.navbar-brand i {
    font-size: 1.8rem;
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.logo-text {
    font-weight: 300;
}

.logo-text strong {
    font-weight: 700;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-nav {
    align-items: center;
}

.nav-link {
    font-size: 13px;
    font-weight: 500;
    /* color: rgba(255, 255, 255, 0.85) !important; */
    color: black !important;
    padding: 0.5rem 1rem !important;
    margin: 0 0.2rem;
    transition: var(--transition);
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    /* color: var(--white) !important; */
    color: coral !important;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 70%;
}

/* Dropdown Menu */
.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: 8px;
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    font-size: 13px;
    padding: 0.6rem 1.5rem;
    color: var(--text-dark);
    transition: var(--transition);
}

.dropdown-item i {
    margin-right: 0.5rem;
    color: var(--primary-color);
    font-size: 1rem;
}

.dropdown-item:hover {
    background: var(--light-bg);
    color: var(--primary-color);
    padding-left: 2rem;
}

/* Mobile Toggle */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

/* ===================================
   BUTTONS
   =================================== */
.btn {
    font-size: 13px;
    font-weight: 500;
    padding: 0.7rem 1.8rem;
    border-radius: 50px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-primary-custom {
    background: var(--primary-color);
    color: var(--white);
}

.btn-primary-custom:hover {
    background: #b82618;
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(217, 47, 29, 0.3);
}

.btn-outline-custom {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline-custom:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-dark-custom {
    background: var(--secondary-color);
    color: var(--white);
}

.btn-dark-custom:hover {
    background: #2a2d2b;
    transform: translateY(-2px);
}

/* ===================================
   HERO SLIDER
   =================================== */
.hero-slider {
    margin-top: 70px;
    position: relative;
}

.hero-slide {
    position: relative;
    height: 650px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(20, 22, 21, 0.8), rgba(217, 47, 29, 0.3));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 1rem;
    animation: fadeInUp 1s ease;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

.hero-content .btn {
    margin: 0 0.5rem;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0;
    transition: var(--transition);
}

.hero-slider:hover .carousel-control-prev,
.hero-slider:hover .carousel-control-next {
    opacity: 1;
}

.carousel-control-prev {
    left: 2rem;
}

.carousel-control-next {
    right: 2rem;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background: rgba(217, 47, 29, 0.9);
}

.carousel-indicators {
    bottom: 2rem;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--white);
    opacity: 0.5;
    border: none;
    margin: 0 0.3rem;
}

.carousel-indicators button.active {
    opacity: 1;
    background: var(--primary-color);
}

/* ===================================
   SECTION TITLES
   =================================== */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title .subtitle {
    font-size: 13px;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.section-title h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-title p {
    font-size: 15px;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ===================================
   CARDS
   =================================== */
.card-custom {
    background: var(--white);
    border: none;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
    height: 100%;
}

.card-custom:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.card-custom .card-img-top {
    border-radius: 0;
    height: 220px;
    object-fit: cover;
}

.card-custom .card-body {
    padding: 1.5rem;
}

.card-custom .card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-dark);
}

.card-custom .card-text {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

/* Icon Cards */
.icon-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    height: 100%;
}

.icon-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.icon-card .icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), #ff4433);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: var(--transition);
}

.icon-card:hover .icon {
    transform: scale(1.1) rotate(10deg);
}

.icon-card .icon i {
    font-size: 2rem;
    color: var(--white);
}

.icon-card h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.icon-card p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ===================================
   SERVICES SECTION
   =================================== */
.services-section {
    background: var(--light-bg);
}

/* ===================================
   TOURS/PACKAGES SECTION
   =================================== */
.tour-card {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    height: 350px;
    cursor: pointer;
}

.tour-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.tour-card:hover img {
    transform: scale(1.1);
}

.tour-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(20, 22, 21, 0.9), transparent);
    padding: 2rem;
    color: var(--white);
    transition: var(--transition);
}

.tour-card:hover .tour-overlay {
    background: linear-gradient(to top, rgba(217, 47, 29, 0.9), transparent);
}

.tour-overlay h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.5rem;
}

.tour-overlay p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0;
}

/* ===================================
   BENEFITS SECTION
   =================================== */
.benefits-section {
    background: var(--white);
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.benefit-icon {
    width: 50px;
    height: 50px;
    background: var(--light-bg);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

.benefit-content h5 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.benefit-content p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ===================================
   TESTIMONIALS SECTION
   =================================== */
.testimonials-section {
    background: var(--light-bg);
}

.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    position: relative;
    margin: 1rem;
}

.testimonial-quote {
    font-size: 3rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: 1rem;
    left: 1.5rem;
}

.testimonial-text {
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 1rem;
    object-fit: cover;
}

.author-info h6 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.author-info .rating {
    color: #ffc107;
    font-size: 12px;
}

/* ===================================
   GOOGLE REVIEWS SECTION
   =================================== */
.google-reviews-section {
    background: var(--white);
}

.google-rating-badge {
    text-align: center;
    padding: 2rem;
    background: var(--light-bg);
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
}

.google-rating-badge .rating-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.google-rating-badge .stars {
    font-size: 1.5rem;
    color: #ffc107;
    margin: 0.5rem 0;
}

.google-rating-badge p {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* ===================================
   CTA BANNER
   =================================== */
.cta-banner {
    background: linear-gradient(135deg, var(--secondary-color), #2a2d2b);
    color: var(--white);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    opacity: 0.1;
    border-radius: 50%;
}

.cta-content {
    position: relative;
    z-index: 1;
}

.cta-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 0;
}

/* ===================================
   ENQUIRY FORM
   =================================== */
.enquiry-form-section {
    background: var(--light-bg);
}

.form-floating-custom {
    margin-bottom: 1.5rem;
}

.form-floating-custom .form-control,
.form-floating-custom .form-select {
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 14px;
    padding: 1rem;
    height: auto;
    background: var(--white);
}

.form-floating-custom .form-control:focus,
.form-floating-custom .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(217, 47, 29, 0.1);
}

.form-floating-custom label {
    font-size: 13px;
    color: var(--text-muted);
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Form Messages */
.alert-custom {
    border-radius: 8px;
    padding: 1rem 1.5rem;
    font-size: 14px;
    margin-bottom: 1.5rem;
    border: none;
}

/* ===================================
   FLEET PAGE
   =================================== */
.vehicle-card {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--transition);
}

.vehicle-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.vehicle-image {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.vehicle-card:hover .vehicle-image img {
    transform: scale(1.1);
}

.vehicle-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--primary-color);
    color: var(--white);
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
}

.vehicle-info {
    padding: 1.5rem;
}

.vehicle-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.vehicle-category {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.vehicle-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vehicle-feature {
    display: flex;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
}

.vehicle-feature i {
    margin-right: 0.4rem;
    color: var(--primary-color);
}

.vehicle-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-light);
}

.price-tag {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-tag small {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
}

/* ===================================
   FOOTER
   =================================== */
.footer {
    background: var(--secondary-color);
    color: rgba(255, 255, 255, 0.7);
    padding: 4rem 0 0;
}

.footer-logo {
    display: flex;
    align-items: center;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
}

.footer-logo i {
    font-size: 1.8rem;
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.footer-description {
    font-size: 13px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
}

.footer-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.8rem;
}

.footer-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
    transition: var(--transition);
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.footer-contact {
    list-style: none;
    padding: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
    font-size: 13px;
}

.footer-contact i {
    margin-right: 0.8rem;
    color: var(--primary-color);
    font-size: 1rem;
    margin-top: 0.2rem;
}

.social-links {
    display: flex;
    gap: 0.8rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: var(--transition);
}

.social-icon:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-bottom {
    margin-top: 3rem;
    padding: 1.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 0;
}

.footer-bottom-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: flex-end;
    gap: 1.5rem;
}

.footer-bottom-links a {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom-links a:hover {
    color: var(--primary-color);
}
.dev-link:hover {
    color: var(--primary-color) !important;
}



/* ===================================
   SCROLL TO TOP BUTTON
   =================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow-md);
}

.scroll-top-btn:hover {
    background: var(--secondary-color);
    transform: translateY(-5px);
}

.scroll-top-btn.show {
    display: flex;
}

/* ===================================
   ANIMATIONS
   =================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease;
}

/* ===================================
   RESPONSIVE DESIGN
   =================================== */

/* Tablets */
@media (max-width: 991px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.7rem; }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-slide {
        height: 500px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .navbar-collapse {
        /* background: var(--secondary-color); */
        background: white;
        padding: 1rem;
        margin-top: 1rem;
        border-radius: 8px;
        color: #141615;
    }
    
    .nav-link::after {
        display: none;
    }
}

/* Mobile */
@media (max-width: 767px) {
    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .hero-slide {
        height: 400px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .section-title h2 {
        font-size: 1.7rem;
    }
    
    .tour-card {
        height: 280px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
    
    .footer-bottom-links {
        justify-content: center;
        margin-top: 1rem;
    }
    
    .scroll-top-btn {
        bottom: 1rem;
        right: 1rem;
        width: 45px;
        height: 45px;
    }
}

/* Small Mobile */
@media (max-width: 576px) {
    .hero-content .btn {
        display: block;
        margin: 0.5rem 0;
    }
    
    .vehicle-features {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* ===================================
   UTILITIES
   =================================== */
.bg-light-custom {
    background: var(--light-bg) !important;
}

.text-primary-custom {
    color: var(--primary-color) !important;
}

.border-radius-custom {
    border-radius: var(--border-radius);
}

.shadow-custom {
    box-shadow: var(--shadow-md);
}

/* Spacing Utilities */
.section-padding {
    padding: var(--section-padding);
}

.mb-small { margin-bottom: 1rem; }
.mb-medium { margin-bottom: 2rem; }
.mb-large { margin-bottom: 3rem; }








