/* assets/css/index.css */
:root {
    --primary: #CC0000;
    --primary-dark: #990000;
    --secondary: #2D2D2D;
    --gray: #888888;
    --light-gray: #F5F5F5;
    --white: #FFFFFF;
    --black: #1A1A1A;
    --font-primary: 'Inter', sans-serif;
    --font-display: 'Playfair Display', serif;
    --shadow: 0 4px 20px rgba(0,0,0,0.1);
    --shadow-hover: 0 8px 40px rgba(0,0,0,0.15);
    --transition: all 0.3s ease;
    --radius: 12px;
    --header-height: 70px;
}

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

html, body {
    scroll-behavior: smooth;
    overflow-x: hidden !important;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

body {
    font-family: var(--font-primary);
    color: var(--black);
    background: var(--white);
    line-height: 1.6;
    padding-top: var(--header-height);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

.highlight {
    color: var(--primary);
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #ffffff !important;
    backdrop-filter: blur(10px);
    padding: 10px 0;
    transition: var(--transition);
    border-bottom: 2px solid rgba(204, 0, 0, 0.3);
    height: var(--header-height);
    width: 100%;
}

.header.scrolled {
    padding: 6px 0;
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    height: 100%;
    width: 100%;
}

.logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--black); 
    font-family: var(--font-display);
    white-space: nowrap;
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

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

.nav-menu {
    display: flex;
    align-items: center;
    gap: 3px;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    list-style: none;
}

.nav-menu li a {
    color: #1a1a1a !important;
    padding: 5px 9px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 600;
    transition: var(--transition);
    white-space: nowrap;
    display: inline-block;
}

.nav-menu li a:hover {
    color: #CC0000 !important;
    background: rgba(204, 0, 0, 0.08);
}

/* Standard active link style (except for buttons) */
.nav-menu li a.active:not(.btn-nav-book) {
    color: #CC0000 !important;
    background: rgba(204, 0, 0, 0.08);
}

.btn-nav-login {
    color: #1a1a1a !important;
    background: rgba(0,0,0,0.05) !important;
    border: 1px solid rgba(0,0,0,0.1) !important;
    padding: 4px 10px !important;
    font-size: 0.7rem !important;
    border-radius: 6px !important;
}

.btn-nav-login:hover {
    background: rgba(0,0,0,0.1) !important;
}

/* ===== BOOK NOW BUTTON (FIXED FOR ACTIVE STATE) ===== */
.btn-nav-book, 
.btn-nav-book:visited, 
.btn-nav-book:active, 
.btn-nav-book.active {
    background: var(--primary) !important;
    color: #FFFFFF !important;
    font-weight: 600 !important;
    padding: 4px 12px !important;
    font-size: 0.7rem !important;
    border-radius: 6px !important;
    display: inline-block;
}

.btn-nav-book:hover {
    background: var(--primary-dark) !important;
    color: #FFFFFF !important;
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle .bar {
    width: 25px;
    height: 2.5px;
    background: #1a1a1a !important;
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    justify-content: center;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.35);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background: #3D3D3D;
    transform: translateY(-2px);
}

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

.btn-outline:hover {
    background: var(--black);
    color: var(--white);
    transform: translateY(-2px);
}

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

.btn-outline-light:hover {
    background: var(--white);
    color: var(--black);
    transform: translateY(-2px);
}

.btn-hero-outline {
    background: transparent !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
}

.btn-hero-outline:hover {
    background: #ffffff !important;
    color: #1A1A1A !important;
    transform: translateY(-2px);
}

.btn-lg { padding: 16px 40px; font-size: 1.1rem; }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ===== HERO (HOME PAGE) ===== */
.hero {
    position: relative;
    height: calc(100vh - var(--header-height));
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0;
    background: #000;
    width: 100%;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
    z-index: 1;
}

.hero-carousel {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%;
    height: 100%;
}

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

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

.hero-content {
    position: relative;
    z-index: 2;
    color: var(--white);
    max-width: 750px;
    padding: 120px 0 40px 0; 
}

.hero-title {
    font-family: var(--font-primary) !important;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 20px;
    max-width: 500px;
}

.hero-subtitle-large {
    font-size: 1.6rem !important;
    font-weight: 600 !important;
    margin-bottom: 10px !important;
}

.hero-divider {
    width: 100px;
    height: 3px;
    background: #CC0000;
    margin-bottom: 20px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    color: rgba(255,255,255,0.6);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(10px); }
}

/* ===== PAGE HERO (INNER PAGES) ===== */
.page-hero {
    position: relative;
    padding: 140px 0 80px;
    background: var(--secondary);
    color: var(--white);
    text-align: center;
    overflow: hidden;
}

.page-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.3));
    z-index: 1;
}

.page-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.page-hero-tag {
    display: inline-block;
    background: var(--primary);
    padding: 6px 20px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.page-hero-content h1 {
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.page-hero-content p {
    font-size: 1.1rem;
    opacity: 0.8;
    max-width: 600px;
    margin: 0 auto;
}

.page-hero-buttons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 25px;
    flex-wrap: wrap;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 15px;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
}

.text-center { text-align: center; }
.mt-2 { margin-top: 10px; }
.mt-3 { margin-top: 20px; }
.mt-4 { margin-top: 30px; }

/* ===== RENTALS PREVIEW ===== */
.rentals-preview {
    padding: 80px 0;
    background: var(--light-gray);
    width: 100%;
}

.rental-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    width: 100%;
}

.rental-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    width: 100%;
}

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

.rental-card-image {
    height: 180px;
    overflow: hidden;
    width: 100%;
}

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

.rental-card-body { padding: 18px; }
.rental-card-body h3 { font-size: 1.05rem; margin-bottom: 2px; }
.rental-card-model { color: var(--gray); font-size: 0.8rem; margin-bottom: 10px; }

.rental-card-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 0.85rem;
    margin-bottom: 12px;
}

.rental-card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.rental-card-meta i { color: var(--primary); width: 16px; }

/* ===== TESTIMONIALS ===== */
.testimonials {
    padding: 80px 0;
    width: 100%;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    width: 100%;
}

.testimonial-item {
    background: var(--light-gray);
    padding: 30px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.testimonial-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.testimonial-stars { color: #ffc107; margin-bottom: 15px; }
.testimonial-text { font-size: 0.95rem; line-height: 1.7; color: #555; margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; flex-direction: column; }
.testimonial-author strong { font-size: 1rem; }
.testimonial-author span { color: var(--gray); font-size: 0.85rem; }

.trust-badges {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid #eee;
    flex-wrap: wrap;
}

.trust-badges span { display: flex; align-items: center; gap: 8px; font-weight: 500; }
.trust-badges span i { color: var(--primary); }

/* ===== CTA SECTION ===== */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: var(--white);
    width: 100%;
}

.cta-content { text-align: center; }
.cta-content h2 { font-family: var(--font-display); font-size: 2.8rem; margin-bottom: 15px; }
.cta-content h2 .highlight { color: var(--white); }
.cta-content p { font-size: 1.1rem; opacity: 0.9; margin-bottom: 30px; }
.cta-buttons { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }

/* ===== HOME MAP SECTION ===== */
.home-map-section {
    padding: 60px 0;
    background: var(--white);
    width: 100%;
}

.home-map-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid #eee;
    max-width: 1000px;
    margin: 0 auto;
}

.home-map-wrapper .map-container {
    height: 100%;
    min-height: 350px;
    background: #e5e3df;
}

.home-map-wrapper .map-container iframe {
    width: 100%;
    height: 100%;
    min-height: 350px;
    display: block;
}

.home-map-details {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.home-map-details h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--black);
}

.home-hours-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.home-hours-item {
    display: flex;
    justify-content: space-between;
    font-size: 1rem;
    color: #555;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.home-hours-item span:first-child {
    font-weight: 600;
    color: var(--black);
}

.home-map-actions .btn {
    align-self: flex-start;
}

/* ===== FOOTER ===== */
.footer {
    background: #ffffff !important;
    color: #1a1a1a !important;
    padding: 60px 0 20px;
    border-top: 1px solid #eee;
    width: 100%;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
    width: 100%;
}

.footer-about .logo { margin-bottom: 15px; }
.footer-about .logo a { font-size: 1.3rem; color: #1a1a1a !important; }
.footer-about p { font-size: 0.9rem; line-height: 1.7; max-width: 300px; color: #555 !important; }

.footer-social { display: flex; gap: 12px; margin-top: 15px; }
.footer-social a {
    display: flex; align-items: center; justify-content: center;
    width: 38px; height: 38px; border-radius: 50%;
    background: rgba(0,0,0,0.05) !important; color: #1a1a1a !important;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary) !important; color: var(--white) !important; transform: translateY(-3px); }

.footer-col h4 { color: #1a1a1a !important; font-size: 1rem; margin-bottom: 18px; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a { font-size: 0.9rem; transition: var(--transition); color: #555 !important; }
.footer-col ul li a:hover { color: var(--primary) !important; }

.footer-contact li { display: flex; align-items: center; gap: 10px; font-size: 0.9rem; color: #555 !important; }
.footer-contact li i { color: var(--primary) !important; width: 18px; }
.footer-contact li a { color: #555 !important; }
.footer-contact li a:hover { color: var(--primary) !important; }

.footer-bottom {
    border-top: 1px solid #eee !important;
    padding-top: 20px;
    display: flex; justify-content: space-between; align-items: center;
    font-size: 0.85rem; color: #555 !important; flex-wrap: wrap; gap: 10px;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed; bottom: 30px; right: 30px; width: 45px; height: 45px;
    border-radius: 50%; background: var(--primary); color: var(--white);
    border: none; font-size: 1.2rem; cursor: pointer; transition: var(--transition);
    z-index: 999; opacity: 0; visibility: hidden; transform: translateY(20px);
}
.scroll-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ===== FLOATING WHATSAPP BUTTON ===== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    left: 30px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}
.whatsapp-float:hover {
    background-color: #128C7E;
    color: #FFF;
    transform: translateY(-3px);
}

@media (max-width: 850px) {
    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 25px;
        bottom: 20px;
        left: 20px;
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-title { font-size: 3.5rem; }
    .rental-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .home-map-wrapper { grid-template-columns: 1fr; }
    .home-map-wrapper .map-container { min-height: 300px; }
    .home-map-details { padding: 30px; }
}

@media (max-width: 850px) {
    :root { --header-height: 58px; }
    .nav-toggle { display: flex; }
    
    .nav-menu {
        position: fixed; top: var(--header-height); left: 0; right: 0;
        background: #ffffff !important; flex-direction: column; padding: 15px; padding-bottom: 30px; 
        gap: 3px; transform: translateY(-120%); transition: var(--transition);
        border-bottom: 3px solid var(--primary); max-height: calc(100vh - var(--header-height));
        overflow-y: auto; z-index: 999; width: 100%;
    }
    
    .nav-menu.open { transform: translateY(0); }
    .nav-menu li { width: 100%; }
    .nav-menu li a { display: block; padding: 10px 15px; width: 100%; text-align: center; font-size: 0.9rem; }
    
    /* FIXED MOBILE BOOK NOW BUTTON (Active & Normal) */
    .btn-nav-login { 
        width: 100% !important; 
        text-align: center !important; 
        font-size: 0.9rem !important; 
        padding: 10px !important; 
        margin-top: 5px; 
    }
    .btn-nav-book, .btn-nav-book.active { 
        width: 100% !important; 
        text-align: center !important; 
        font-size: 0.9rem !important; 
        padding: 10px !important; 
        margin-top: 5px;
        color: #FFFFFF !important;
        background: var(--primary) !important;
    }

    /* Mobile Hero */
    .hero { height: 100vh !important; min-height: auto !important; position: relative; width: 100%; }
    .hero-slide { display: flex; align-items: center; justify-content: center; }
    .hero-content {
        position: absolute !important; top: 50% !important; left: 50% !important;
        transform: translate(-50%, -50%) !important; width: 100% !important;
        max-width: 100% !important; display: flex; flex-direction: column;
        align-items: center; text-align: center; padding: 0 15px !important; margin: 0 !important;
    }
    .hero-title { font-size: 2.5rem !important; text-align: center !important; margin-bottom: 15px !important; width: 100%; }
    .hero-subtitle, .hero-subtitle-large { text-align: center !important; font-size: 1rem !important; max-width: 90% !important; margin: 0 auto 15px auto !important; }
    .hero-divider { margin: 0 auto 20px auto !important; }
    .hero-buttons { flex-direction: column !important; width: 100%; align-items: center; gap: 10px !important; }
    .hero-buttons .btn { width: 100%; max-width: 280px; }
    .hero-scroll { display: none; }

    /* Mobile Page Hero */
    .page-hero { padding: 100px 0 60px; text-align: center; }
    .page-hero-content h1 { font-size: 2.5rem; }
    .page-hero-buttons { flex-direction: column; align-items: center; }
    .page-hero-buttons .btn { width: 100%; max-width: 300px; }

    .rental-grid { grid-template-columns: 1fr; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .section-title { font-size: 2.2rem; }
    .cta-content h2 { font-size: 2rem; }
    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-buttons .btn { width: 100%; max-width: 300px; }

    /* Mobile Map Section */
    .home-map-wrapper { grid-template-columns: 1fr; }
    .home-map-details { padding: 25px; }
    .home-map-wrapper .map-container { min-height: 250px; }
    .home-map-wrapper .map-container iframe { min-height: 250px; }
}

@media (max-width: 480px) {
    :root { --header-height: 54px; }
    .logo a { font-size: 0.8rem; gap: 4px; }
    .logo-icon { font-size: 1rem; }
    .hero-title { font-size: 2rem !important; line-height: 1.2 !important; }
    .hero-subtitle, .hero-subtitle-large { font-size: 0.95rem !important; }
    .section-title { font-size: 1.8rem; }
    
    .home-hours-item { font-size: 0.9rem; }
    .home-map-details h4 { font-size: 1.3rem; }
}