/* Index Page Specific Styles */

/* ===== BODY SPACING FOR FIXED HEADER ===== */

body {
    margin-top: 72px; /* Restore original top margin for fixed header */
}

@media (max-width: 768px) {
    body {
        margin-top: 64px; /* Match mobile header height */
        margin-left: 2px;
        margin-right: 2px;
    }
}

/* ===== HERO SECTION ===== */

.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 72px; /* Restore original hero margin */
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1200px;
    padding: 92px 20px 20px 20px; /* Restore original padding with top spacing */
    margin: 0 auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Restore center alignment */
    height: 100%;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
    color: white;
}

.hero-content p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    max-width: 600px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
    color: white;
}

/* Responsive hero margin adjustments */
@media (max-width: 1040px) {
    .hero {
        margin-top: 68px; /* Restore original responsive margin */
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .features h2,
    .about h2,
    .cta h2 {
        font-size: 2.5rem;
    }
    
    .feature-card h3 {
        font-size: 1.6rem;
    }
    
    .feature-card p {
        font-size: 1rem;
    }
    
    .about p {
        font-size: 1.1rem;
    }
    
    .cta p {
        font-size: 1.1rem;
    }
    
    .cta-button {
        font-size: 1rem;
    }
}
@media (max-width: 1024px) {
    .hero {
        margin-top: 80px;
    }
    
    .hero-content {
        padding: 80px 20px 20px 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        margin-top: 64px;
    }
    
    .hero-content {
        padding: 90px 20px 80px 20px; /* Increased bottom padding for button space */
    }
    
    /* Ensure booking form is fully visible above header */
    .booking-form-overlay {
        margin-top: 10px;
        padding-bottom: 40px; /* Add bottom padding to form overlay */
    }
    
    /* Add bottom spacing for button on mobile */
    .hero-booking-form .form-group:last-child {
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .hero {
        margin-top: 60px;
    }
    
    .hero-content {
        padding: 70px 20px 70px 20px; /* Increased bottom padding for button space */
    }
    
    /* Add bottom spacing for button on small mobile */
    .hero-booking-form .form-group:last-child {
        margin-bottom: 25px;
    }
    
    /* Ensure form columns have bottom padding on small mobile */
    .hero-booking-form .form-columns {
        padding-bottom: 35px;
    }
    
    /* Add bottom padding to form overlay on small mobile */
    .booking-form-overlay {
        padding-bottom: 50px;
    }
}

/* Additional mobile spacing fixes */
@media (max-width: 768px) {
    .hero {
        padding-top: 0 !important;
        min-height: calc(100vh - 64px + 100px) !important; /* Increased height for mobile form */
    }
    
    /* Ensure no extra spacing */
    .hero-background {
        top: 0;
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 0 !important;
        min-height: calc(100vh - 60px + 120px) !important; /* Increased height for small mobile form */
    }
    
    /* Ensure no extra spacing */
    .hero-background {
        top: 0;
    }
}



/* ===== BOOKING FORM ===== */

.booking-form-overlay {
    background: rgba(32, 32, 32, 0.3);
    padding: 50px 40px;
    border-radius: 16px;
    backdrop-filter: blur(2px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 180, 216, 0.2);
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    border: 1px solid rgba(0, 180, 216, 0.3);
}

/* Remove blur effect and make more transparent on mobile devices */
@media (max-width: 768px) {
    .booking-form-overlay {
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        background: rgba(32, 32, 32, 0.15); /* Reduced from 0.3 to 0.15 for more transparency */
    }
    
    /* Make input boxes more see-through on mobile */
    .hero-booking-form .form-group input,
    .hero-booking-form .form-group select {
        background: rgba(255, 255, 255, 0.75) !important; /* 75% see-through on mobile */
    }
    
    /* Ensure date inputs show black text on mobile */
    .hero-booking-form .form-group input[type="date"] {
        color: #000000 !important;
    }
    
    /* Override any browser default date input styling */
    .hero-booking-form .form-group input[type="date"]::-webkit-datetime-edit,
    .hero-booking-form .form-group input[type="date"]::-webkit-datetime-edit-fields-wrapper,
    .hero-booking-form .form-group input[type="date"]::-webkit-datetime-edit-text,
    .hero-booking-form .form-group input[type="date"]::-webkit-datetime-edit-month-field,
    .hero-booking-form .form-group input[type="date"]::-webkit-datetime-edit-day-field,
    .hero-booking-form .form-group input[type="date"]::-webkit-datetime-edit-year-field {
        color: #000000 !important;
    }
    
    /* Ensure promo code placeholder is black on mobile */
    .hero-booking-form .form-group input[placeholder*="promo"]::placeholder {
        color: rgba(0, 0, 0, 0.7) !important;
    }
    
    /* Make Book Now button oval on mobile */
    .hero-booking-form .btn-book-now {
        border-radius: 50px !important; /* Creates oval/pill shape */
    }
}

.hero-booking-form {
    width: 100%;
}

.hero-booking-form .form-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    align-items: stretch;
}

.hero-booking-form .form-column {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Desktop alignment: keep buttons aligned to the bottom across columns */
@media (min-width: 769px) {
    .hero-booking-form .form-column {
        height: 100%;
    }

    .hero-booking-form .form-column .form-group:last-child {
        margin-top: auto;
    }
}

.hero-booking-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 100%;
    min-width: 0;
}

.hero-booking-form .form-group label {
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.hero-booking-form .form-group input,
.hero-booking-form .form-group select {
    padding: 16px 20px;
    border: none;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.9) !important;
    color: #000000 !important;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    min-height: 55px;
    height: 55px;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(0, 180, 216, 0.3);
}

.hero-booking-form .form-group input::placeholder {
    color: rgba(0, 0, 0, 0.7);
    font-family: 'Inter', sans-serif;
}

.hero-booking-form .form-group select option {
    background: rgba(45, 55, 72, 0.95);
    color: #ffffff;
}

.hero-booking-form .form-group input:focus,
.hero-booking-form .form-group select:focus {
    outline: none;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(0, 180, 216, 0.5);
    transform: translateY(-2px);
    background: rgba(55, 65, 82, 0.95) !important;
    border-color: rgba(0, 180, 216, 0.6);
}

/* Form validation and error states */
.hero-booking-form .form-group input.error,
.hero-booking-form .form-group select.error {
    border-color: #e53e3e;
    box-shadow: 0 4px 12px rgba(229, 62, 62, 0.2);
}

.hero-booking-form .form-group input.error:focus,
.hero-booking-form .form-group select.error:focus {
    border-color: #e53e3e;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3), 0 0 0 3px rgba(229, 62, 62, 0.3);
}

.hero-booking-form .form-group .error-message {
    color: #e53e3e;
    font-size: 0.875rem;
    margin-top: 4px;
    display: none;
}

.hero-booking-form .form-group .error-message.show {
    display: block;
}

.hero-booking-form .form-group input.success,
.hero-booking-form .form-group select.success {
    border-color: #38a169;
    box-shadow: 0 4px 12px rgba(56, 161, 105, 0.2);
}

.hero-booking-form .btn-book-now {
    height: 55px;
    padding: 0 32px;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 50%, #ffa726 100%);
    color: #ffffff;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 140px;
    width: 100%;
    box-sizing: border-box;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.hero-booking-form .btn-book-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.5);
    background: linear-gradient(135deg, #ff5722 0%, #ff8c42 50%, #ffa726 100%);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.4);
}

/* ===== FEATURES SECTION ===== */

.features {
    padding: 80px 0;
    background: #f8f9fa;
}

.features h2 {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 3rem;
    color: #333;
    font-weight: bold;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-card i {
    font-size: 3rem;
    color: #2c5aa0;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 2.2rem;
    margin-bottom: 15px;
    color: #333;
}

.feature-card p {
    font-size: 1.2rem;
    color: #666;
    line-height: 1.6;
}

/* ===== RENTALS SECTION ===== */

.rentals {
    padding: 80px 0;
    background: white;
    position: relative;
    z-index: 1;
    margin-top: 20px;
    border-top: 1px solid transparent;
    clear: both;
    display: block;
}

.rentals h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 50px;
}

.rental-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.rental-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 600px; /* Ensure consistent minimum height */
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.rental-card:hover {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.rental-image {
    height: 280px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.rental-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    padding: 12px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.rental-card:hover .rental-image img {
    transform: scale(1.05);
}

.rental-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: flex-start; /* Ensure content starts at the top */
    align-items: stretch; /* Stretch content to fill available space */
}

.rental-content .btn-book-now,
.rental-content .btn-primary {
    margin-top: auto;
    align-self: center;
    width: 100%;
    max-width: 220px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
    cursor: pointer;
    background: linear-gradient(135deg, #ffb347, #ff5e62);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 94, 98, 0.25), 
                0 2px 8px rgba(255, 179, 71, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
}

.rental-content .btn-primary:hover {
    background: linear-gradient(135deg, #ff5e62, #ffb347);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(255, 94, 98, 0.35), 
                0 4px 12px rgba(255, 179, 71, 0.3),
                inset 0 1px 0 rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.3);
    text-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
}

.rental-content .btn-primary:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 94, 98, 0.4),
                0 6px 20px rgba(255, 94, 98, 0.25), 
                0 2px 8px rgba(255, 179, 71, 0.2),
                inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-1px);
}

.rental-content .btn-primary:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 4px 15px rgba(255, 94, 98, 0.3), 
                0 2px 6px rgba(255, 179, 71, 0.2),
                inset 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.1s ease;
}

.rental-content h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: #333;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    text-align: center;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
    padding: 0 10px;
}

.rental-features {
    list-style: none;
    margin-bottom: 25px;
}

/* ===== RENTAL FEATURES ENHANCEMENT ===== */

.rental-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    color: #666;
    padding: 8px 0;
    transition: all 0.3s ease;
}

.rental-features li i {
    color: #2c5aa0;
    font-size: 1rem;
    width: 20px;
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

/* Enhanced hover effects for rental features */
.rental-features li:hover {
    color: #333;
}

.rental-features li:hover i {
    transition: transform 0.3s ease;
}

/* Focus states for accessibility */
.rental-features li:focus-within {
    outline: 2px solid #2c5aa0;
    outline-offset: 2px;
}

/* Feature type indicators with consistent color */
.rental-features li:nth-child(1) i { color: #64c8ff; } /* Safety */
.rental-features li:nth-child(2) i { color: #64c8ff; } /* Performance */
.rental-features li:nth-child(3) i { color: #64c8ff; } /* Comfort */
.rental-features li:nth-child(4) i { color: #64c8ff; } /* Safety */
.rental-features li:nth-child(5) i { color: #64c8ff; } /* Tech */
.rental-features li:nth-child(6) i { color: #64c8ff; } /* Tech */
.rental-features li:nth-child(7) i { color: #64c8ff; } /* Flexibility */

/* ===== RESPONSIVE CART HEADING SIZES ===== */

/* Tablet and small desktop (768px and above) */
@media (min-width: 768px) {
    .rental-content h3 {
        font-size: 1.6rem;
        margin-bottom: 22px;
        line-height: 1.3;
    }
}

/* Medium desktop (1024px and above) */
@media (min-width: 1024px) {
    .rental-content h3 {
        font-size: 1.8rem;
        margin-bottom: 25px;
        line-height: 1.3;
    }
}

/* Large desktop (1200px and above) */
@media (min-width: 1200px) {
    .rental-content h3 {
        font-size: 2rem;
        margin-bottom: 28px;
        line-height: 1.3;
    }
}

/* Extra large desktop (1400px and above) */
@media (min-width: 1400px) {
    .rental-content h3 {
        font-size: 2.2rem;
        margin-bottom: 30px;
        line-height: 1.3;
    }
}

.rental-pricing {
    display: flex;
    align-items: baseline;
    gap: 5px;
    margin-bottom: 25px;
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c5aa0;
}

.period {
    color: #666;
    font-size: 1rem;
}

/* ===== ABOUT SECTION ===== */

.about {
    padding: 80px 0;
    background: linear-gradient(135deg, #1F3B4D 0%, #2a4a5f 50%, #1F3B4D 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.about h2 {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 2rem;
    color: white;
    font-weight: bold;
}

.about p {
    font-size: 1.4rem;
    color: white;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(100, 200, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(100, 200, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 60% 80%, rgba(100, 200, 255, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(100, 200, 255, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.about-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
    z-index: 2;
}

.about-header h2 {
    font-size: 2.8rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    margin-bottom: 20px;
    position: relative;
    display: inline-block;
}

.about-header-accent {
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, #64c8ff, #d4a574, #64c8ff);
    margin: 0 auto;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.about-content {
    display: flex;
    flex-direction: row;
    gap: 80px;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap;
}

.about-main-content {
    display: flex;
    flex-direction: column;
    gap: 50px;
    flex: 1;
    min-width: 0;
    max-width: 700px;
    width: 100%;
}

.about-intro-section {
    padding: 45px;
    width: 100%;
    box-sizing: border-box;
}

/* Hover effect removed - no card background */

.about-intro-header {
    margin-bottom: 25px;
    position: relative;
}

.about-intro-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #64c8ff;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    transition: color 0.3s ease;
    white-space: nowrap;
    overflow: visible;
    text-overflow: clip;
    min-width: 0;
    flex: 1;
    position: relative;
    line-height: 1.3;
    word-wrap: normal;
    max-width: 100%;
}

.about-intro-section p {
    font-size: 1.3rem !important;
    margin: 0;
    opacity: 0.95;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    transition: opacity 0.3s ease;
    position: relative;
    z-index: 1;
}

.about-cru-section {
    background: rgba(42, 76, 95, 0.8);
    padding: 35px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.about-cru-section:hover {
    background: rgba(42, 76, 95, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
}

.about-cru-header {
    margin-bottom: 25px;
    position: relative;
}

.about-cru-header h3 {
    font-size: 1.6rem;
    font-weight: 600;
    color: #d4a574;
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    position: relative;
}

.about-cru-section p {
    font-size: 1.3rem !important;
    margin: 0;
    opacity: 0.95;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 1;
}

.about-visual-section {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    flex: 0 0 auto;
    min-width: 400px;
}

.about-logo-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-background {
    background: #ffffff;
    padding: 50px;
    border-radius: 25px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.logo-background:hover {
    transform: scale(1.02) translateY(-2px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.2);
}

.company-logo {
    max-width: 350px;
    width: 100%;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.logo-accent-ring {
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    border: 2px solid rgba(100, 200, 255, 0.3);
    border-radius: 35px;
    z-index: 1;
    animation: pulse-ring 3s infinite;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.3;
    }
    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

/* ===== CTA SECTION ===== */

.cta {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
}

.cta h2 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: bold;
}

.cta p {
    font-size: 1.4rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    padding: 1rem 2rem;
    background: #ff6b6b;
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.cta-button:hover {
    background: #ff5252;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

/* ===== LOCATIONS SECTION ===== */

.locations {
    padding: 80px 0;
    background: #f8f9fa;
}

.locations h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.location-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.location-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.location-image {
    height: 250px;
    overflow: hidden;
}

.location-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.location-card:hover .location-image img {
    transform: scale(1.1);
}

.location-content {
    padding: 30px;
}

.location-content h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #333;
}

.location-content p {
    color: #666;
    margin-bottom: 20px;
    line-height: 1.6;
}

.location-content ul {
    list-style: none;
}

.location-content li {
    padding: 8px 0;
    color: #666;
    display: flex;
    align-items: center;
}

.location-content li i {
    color: #2c5aa0;
    margin-right: 8px;
    font-size: 14px;
}





/* ===== MAIN CONTENT WRAPPER ===== */

.main-content-wrapper {
    display: flex;
    flex-direction: column;
    margin-top: 0;
}

/* ===== MISSING ID STYLES ===== */

#nav-menu {
    /* Navigation menu container */
}

#fleet-container {
    /* Fleet container for rental cards */
}

#chatWidget {
    /* Chat widget container */
}

#chatButton {
    /* Chat button styling */
}

#chatPopup {
    /* Chat popup styling */
}

#chatClose {
    /* Chat close button styling */
}

/* ===== FORM INPUT ENHANCEMENTS ===== */

.hero-booking-form input[type="date"] {
    /* Ensure date inputs have consistent styling */
    min-height: 55px;
}

.hero-booking-form input[type="date"]::-webkit-calendar-picker-indicator {
    /* Style the date picker icon */
    filter: invert(1);
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.hero-booking-form input[type="date"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

/* Date picker calendar styling - ensure white background */
.hero-booking-form input[type="date"]::-webkit-datetime-edit {
    color: #ffffff !important;
}

.hero-booking-form input[type="date"]::-webkit-datetime-edit-fields-wrapper {
    background: transparent !important;
}

.hero-booking-form input[type="date"]::-webkit-datetime-edit-text {
    color: #ffffff !important;
    background: transparent !important;
}

.hero-booking-form input[type="date"]::-webkit-datetime-edit-month-field,
.hero-booking-form input[type="date"]::-webkit-datetime-edit-day-field,
.hero-booking-form input[type="date"]::-webkit-datetime-edit-year-field {
    color: #ffffff !important;
    background: transparent !important;
}

/* Ensure the date picker popup has white background */
.hero-booking-form input[type="date"]::-webkit-calendar-picker {
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #cccccc !important;
    border-radius: 8px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
}

/* Firefox date input styling */
.hero-booking-form input[type="date"]::-moz-calendar-picker {
    background: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #cccccc !important;
    border-radius: 8px !important;
}

/* Edge/IE date input styling */
.hero-booking-form input[type="date"]::-ms-expand {
    background: #ffffff !important;
    color: #000000 !important;
}

.about h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: 2.8rem;
    color: #ffffff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}



/* ===== PERFORMANCE OPTIMIZATIONS ===== */

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .hero-booking-form .form-group input,
    .hero-booking-form .form-group select {
        border-width: 2px;
    }
    
    .btn-primary {
        border: 2px solid #000;
        text-align: center;
    }
}





/* ===== REVIEWS SECTION ===== */

.reviews {
    background: #f5f5f5;
    padding: 80px 0;
}

.reviews h2 {
    color: #1e3a4a;
    font-size: 2.8rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.reviews .section-subtitle {
    color: #0f2d3d;
    font-size: 1.2rem;
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.5;
    font-weight: 500;
}

.reviews-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.reviews-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.review-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #e9ecef;
}

.reviewer-info h4 {
    color: #2c3e50;
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 8px 0;
}

.stars {
    display: flex;
    gap: 2px;
}

.stars i {
    color: #fbbf24;
    font-size: 0.9rem;
}

.review-date {
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.review-text {
    color: #2c3e50;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
}

.review-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #6c757d;
    font-size: 0.9rem;
}

.review-location i {
    color: #6c757d;
    font-size: 0.8rem;
}

/* Call-to-Action Sidebar */
.reviews-cta {
    background: linear-gradient(135deg, #1e3a4a 0%, #0f2d3d 50%, #1a4a5e 100%);
    border-radius: 16px;
    padding: 35px 30px;
    box-shadow: 0 8px 30px rgba(15, 76, 117, 0.3);
    top: 100px;
    height: fit-content;
}

.reviews-cta h3 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.3;
    text-align: center;
}

.reviews-cta p {
    color: #ffffff;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.95;
}

.cta-buttons {
    margin-bottom: 30px;
}

.btn-book-now {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 50%, #ffa726 100%);
    color: #ffffff;
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(255, 107, 53, 0.18);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.btn-book-now:hover {
    background: linear-gradient(135deg, #ff5722 0%, #ff8c42 50%, #ffa726 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 107, 53, 0.28);
}

.trust-indicators {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.1);
    padding: 12px 16px;
    border-radius: 8px;
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
}

.trust-item i {
    font-size: 1rem;
    width: 20px;
    text-align: center;
}

.trust-item:nth-child(1) i {
    color: #fbbf24;
}

.trust-item:nth-child(2) i {
    color: #fbbf24;
}

.trust-item:nth-child(3) i {
    color: #fbbf24;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .reviews-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .reviews-cta {
        position: static;
        order: 1;
    }

    /* Hero section adjustments */
    .hero {
        padding-top: 0;
        margin-top: 80px;
        min-height: 60vh;
    }
    
    .hero-content {
        padding: 80px 20px 20px 20px;
    }

    .hero-content h1 {
        font-size: 2.8rem;
    }

    .booking-form-overlay {
        padding: 40px 30px;
        max-width: 800px;
    }
    
    /* Ensure form is fully visible on mobile */
    .hero-content {
        padding-top: 90px !important;
    }

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

    /* Features grid adjustments */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }

    /* Rental grid adjustments - ensure single column on medium screens */
    .rental-grid {
        grid-template-columns: 1fr;
        gap: 30px;
        max-width: 400px;
        margin: 50px auto 0;
    }

    /* About section adjustments */
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .about-visual-section {
        order: -1;
        display: flex;
        justify-content: center;
    }

    .about-logo-container {
        max-width: 400px;
    }

    .logo-background {
        padding: 40px 30px;
    }

    .company-logo {
        max-width: 300px;
    }

    .about-main-content {
        gap: 40px;
    }

    .about-intro-section h3 {
        font-size: 1.4rem;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .about-cru-section {
        padding: 30px;
    }

    .about-cru-section h3 {
        font-size: 1.5rem;
    }

    .about-header-accent {
        width: 60px;
        height: 3px;
    }

    /* Locations grid adjustments */
    .locations-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Enhanced trust indicators for smaller desktops */
    .trust-indicators {
        gap: 18px;
        padding: 0 20px;
    }

    .trust-item {
        padding: 16px 20px;
        font-size: 0.95rem;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(6px);
        border-radius: 14px;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
        transition: all 0.3s ease;
    }

    .trust-item:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
    }

    .trust-item i {
        font-size: 1.3rem;
        width: 28px;
        text-align: center;
        filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
    }
}

/* Large desktop breakpoint */
@media (min-width: 1400px) {
    .about {
        padding: 100px 0;
    }

    .about h2 {
        font-size: 3.2rem;
        margin-bottom: 60px;
    }

    .about-content {
        gap: 80px;
        max-width: 1400px;
        padding: 0 30px;
    }

    .about-text-column {
        gap: 50px;
    }

    .about-intro-section h3 {
        font-size: 1.8rem;
        margin-bottom: 28px;
    }

    .about-intro-section p {
        font-size: 1.2rem;
        line-height: 1.75;
    }

    .about-cru-section {
        padding: 40px 35px;
    }

    .about-cru-section h3 {
        font-size: 1.8rem;
        margin-bottom: 28px;
    }

    .about-cru-section p {
        font-size: 1.2rem;
        line-height: 1.75;
    }

    .company-logo-card {
        padding: 80px 60px;
        max-width: 600px;
    }

    .company-logo {
        width: 250px;
        height: 250px;
    }
}

/* Large tablet breakpoint */
@media (max-width: 1200px) {
    .about {
        padding: 75px 0;
    }

    .about h2 {
        font-size: 2.6rem;
        margin-bottom: 48px;
    }

    .about-content {
        gap: 55px;
        padding: 0 25px;
    }

    .about-text-column {
        gap: 38px;
    }

    .about-intro-section h3 {
        font-size: 1.7rem;
        margin-bottom: 24px;
    }

    .about-intro-section p {
        font-size: 1.12rem;
        line-height: 1.68;
    }

    .about-cru-section {
        padding: 32px 26px;
    }

    .about-cru-section h3 {
        font-size: 1.7rem;
        margin-bottom: 22px;
    }

    .about-cru-section p {
        font-size: 1.12rem;
        line-height: 1.68;
    }

    .company-logo-card {
        padding: 55px 45px;
        max-width: 450px;
    }

    .company-logo {
        width: 190px;
        height: 190px;
    }
}

/* Tablet breakpoint */
@media (max-width: 900px) {
    .about {
        padding: 70px 0;
    }

    .about-header h2 {
        font-size: 2.5rem;
        margin-bottom: 45px;
    }

    .about-content {
        display: flex;
        gap: 45px;
        flex-direction: column;
    }

    .about-main-content {
        gap: 32px;
        order: 2;
    }

    .about-intro-section h3 {
        font-size: 1.6rem;
        margin-bottom: 22px;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .about-intro-section p {
        font-size: 1.05rem;
        line-height: 1.65;
    }

    .about-cru-section {
        padding: 28px 22px;
    }

    .about-cru-section h3 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .about-cru-section p {
        font-size: 1.05rem;
        line-height: 1.65;
    }

    .logo-background {
        padding: 45px 35px;
        max-width: 380px;
    }

    .company-logo {
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    /* Navigation adjustments - handled by header-footer.css */

    /* Hero section mobile adjustments */
    .hero {
        padding-top: 0;
        margin-top: 70px;
        min-height: 50vh;
    }
    
    .hero-content {
        padding: 70px 20px 20px 20px;
    }

    .hero-content h1 {
        font-size: 2.2rem;
        margin-bottom: 15px;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .booking-form-overlay {
        padding: 30px 20px;
        margin: 0 15px;
    }

    .hero-booking-form .form-columns {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .hero-booking-form .form-column {
        gap: 15px;
    }

    .hero-booking-form .form-group label {
        font-size: 0.9rem;
    }

    .hero-booking-form .form-group input,
    .hero-booking-form .form-group select {
        font-size: 0.9rem;
        padding: 12px 15px;
    }

    .btn-book-now {
        font-size: 1rem;
        padding: 15px 30px;
        margin-bottom: 20px; /* Add bottom padding under button on mobile */
    }
    
    /* Ensure form columns have bottom padding */
    .hero-booking-form .form-columns {
        padding-bottom: 30px;
    }

    /* Features section mobile */
    .features {
        padding: 60px 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 15px;
    }

    .feature-card {
        padding: 25px 20px;
    }

    .feature-card h3 {
        font-size: 1.3rem;
    }

    /* Rentals section mobile */
    .rentals {
        padding: 60px 0;
    }

    .rental-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 0.1px;
        max-width: 400px;
        margin: 0 auto;
    }

    .rental-card {
        flex-direction: column;
    }

    .rental-image {
        width: 100%;
        height: 280px;
    }

    .rental-content {
        padding: 25px 20px;
    }

    .rental-content h3 {
        font-size: 1.4rem;
    }
    
    .section-subtitle {
        text-align: center;
    }
    
    /* Left-align rental features list items on mobile */
    .rental-features {
        text-align: left;
    }
    
    .rental-features li {
        justify-content: flex-start;
    }
    
    /* Change "Our Premium Fleet" to "Premium Fleet" on mobile */
    .rentals h2 {
        font-size: 2.2rem;
    }

    /* About section mobile */
    .about {
        padding: 60px 0;
    }

    .about-header h2 {
        font-size: 2.2rem;
        margin-bottom: 40px;
        line-height: 1.2;
    }

    .about-header-accent {
        width: 50px;
        height: 2px;
    }

    .about-content {
        gap: 40px;
        padding: 0 20px;
    }

    .about-main-content {
        gap: 30px;
    }

    .about-intro-section h3 {
        font-size: 1.5rem;
        margin-bottom: 18px;
        line-height: 1.3;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .about-intro-section p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 0;
    }

    .about-cru-section {
        padding: 25px 20px;
        border-radius: 14px;
    }

    .about-cru-section h3 {
        font-size: 1.5rem;
        margin-bottom: 18px;
        line-height: 1.3;
    }

    .about-cru-section p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 0;
    }

    .logo-background {
        padding: 40px 30px;
        max-width: 350px;
        border-radius: 25px;
    }

    .company-logo {
        max-width: 250px;
    }

    .logo-accent-ring {
        display: none;
    }

    /* Locations section mobile */
    .locations {
        padding: 60px 0;
    }

    .locations h2 {
        font-size: 2.2rem;
    }

    .location-card {
        flex-direction: column;
    }

    .location-image {
        width: 100%;
        height: 200px;
    }

    .location-content {
        padding: 25px 20px;
    }

    .location-content h3 {
        font-size: 1.4rem;
        text-align: center;
    }
    
    .location-content p {
        text-align: center;
    }

    /* Reviews section mobile */
    .reviews {
        padding: 60px 0;
    }
    
    .reviews h2 {
        font-size: 2rem;
    }
    
    .reviews-content {
        padding: 0 15px;
    }
    
    .review-card {
        padding: 20px;
    }
    
    .review-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .review-date {
        align-self: flex-end;
    }
    
    .reviews-cta {
        padding: 25px 20px;
    }
    
    .reviews-cta h3 {
        font-size: 1.5rem;
    }

    /* FAQ section mobile */
    .faq-section {
        padding: 60px 0;
    }

    .faq-header h3 {
        font-size: 2rem;
    }

    .faq-item {
        margin-bottom: 20px;
    }

    .faq-question {
        padding: 20px;
        font-size: 1rem;
    }

    .faq-answer {
        /* FAQ answer styling handled by chat-and-arrow.css */
    }

    /* Footer mobile - handled by header-footer.css */

    /* Enhanced trust indicators for tablets */
    .trust-indicators {
        gap: 15px;
        padding: 0 15px;
    }

    .trust-item {
        padding: 14px 18px;
        font-size: 0.9rem;
        background: rgba(255, 255, 255, 0.12);
        border: 1px solid rgba(255, 255, 255, 0.18);
        backdrop-filter: blur(8px);
        border-radius: 12px;
        box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
        transition: all 0.3s ease;
    }

    .trust-item:hover {
        background: rgba(255, 255, 255, 0.18);
        transform: translateY(-1px);
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    }

    .trust-item i {
        font-size: 1.2rem;
        width: 26px;
        text-align: center;
        filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
    }
}

@media (max-width: 480px) {
    /* Navigation mobile adjustments - handled by header-footer.css */

    /* Hero section small mobile */
    .hero {
        padding-top: 0;
        margin-top: 60px;
        min-height: 40vh;
    }
    
    .hero-content {
        padding: 60px 20px 20px 20px;
    }

    .hero-content h1 {
        font-size: 1.8rem;
        line-height: 1.2;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 25px;
    }

    .booking-form-overlay {
        padding: 25px 15px;
        margin: 0 8px;
        border-radius: 12px;
    }

    .hero-booking-form .form-group {
        margin-bottom: 12px;
    }

    .hero-booking-form .form-group label {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }

    .hero-booking-form .form-group input,
    .hero-booking-form .form-group select {
        font-size: 0.8rem;
        padding: 8px 10px;
    }

    .btn-book-now {
        font-size: 0.85rem;
        padding: 10px 20px;
    }

    /* Compact mobile layouts */
    .feature-card,
    .rental-card,
    .location-card {
        padding: 15px 12px;
    }

    .feature-card h3,
    .rental-card h3,
    .location-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .feature-card p,
    .rental-card p,
    .location-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    /* Mobile-optimized trust indicators */
    .trust-indicators {
        gap: 12px;
        padding: 0 10px;
    }

    .trust-item {
        padding: 12px 16px;
        font-size: 0.85rem;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .trust-item:active {
        transform: scale(0.98);
        background: rgba(255, 255, 255, 0.2);
    }

    .trust-item i {
        font-size: 1.1rem;
        width: 24px;
        text-align: center;
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
    }

    /* Better mobile FAQ */
    .faq-question {
        padding: 16px 12px;
        font-size: 0.9rem;
    }

    .faq-answer {
        /* FAQ answer styling handled by chat-and-arrow.css */
    }
}

/* Landscape mobile optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 60px;
    }

    .booking-form-overlay {
        padding: 15px 20px;
        max-width: 600px;
    }

    .hero-booking-form .form-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Navigation styles handled by header-footer.css */
}

/* High DPI and Retina displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-bg-image,
    .rental-image img,
    .location-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hero-booking-form,
    .btn-book-now,
    .nav-toggle {
        display: none;
    }

    .hero {
        height: auto;
        min-height: auto;
        padding: 20px 0;
    }

    .hero-content h1 {
        color: #000;
        text-shadow: none;
    }

    .hero-subtitle {
        color: #333;
        text-shadow: none;
    }
}

/* Additional Mobile Optimizations */
@media (max-width: 768px) {
    /* Touch-friendly improvements */
    .btn-book-now,
    .btn-primary,
    .faq-question {
        min-height: 44px; /* Apple's recommended minimum touch target size */
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Better mobile form handling */
    .hero-booking-form input[type="date"],
    .hero-booking-form input[type="text"],
    .hero-booking-form select {
        font-size: 16px; /* Prevents zoom on iOS */
        -webkit-appearance: none;
        border-radius: 8px;
    }

    .hero-booking-form input[type="date"]::-webkit-calendar-picker-indicator {
        width: 24px;
        height: 24px;
        cursor: pointer;
    }

    /* Improved mobile spacing - handled by header-footer.css */

    /* Better mobile card layouts */
    .feature-card,
    .rental-card,
    .location-card,
    .review-card {
        margin-bottom: 20px;
        border-radius: 12px;
        overflow: hidden;
    }

    /* Mobile-optimized images */
    .rental-image img,
    .location-image img {
        transition: transform 0.3s ease;
    }

    .rental-card:active .rental-image img,
    .location-card:active .location-image img {
        transform: scale(1.05);
    }

    /* Mobile-friendly buttons */
    .btn-book-now,
    .btn-primary {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
        display: block;
        text-align: center;
    }

    /* Improved mobile typography */
    .section-subtitle {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 30px;
    }

    /* Better mobile grid layouts */
    .features-grid,
    .rental-grid,
    .locations-grid,
    .reviews-grid {
        gap: 20px;
    }

    /* Mobile-optimized hero section */
    .hero-content {
        padding: 0 15px;
    }

    .booking-form-overlay {
        backdrop-filter: blur(2px);
        -webkit-backdrop-filter: blur(2px);
    }

    /* Mobile-friendly navigation - handled by header-footer.css */

    /* Improved mobile footer - handled by header-footer.css */
}

@media (max-width: 480px) {
    /* Extra small mobile optimizations */
    .hero-content h1 {
        font-size: 1.6rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .booking-form-overlay {
        padding: 20px 12px;
        margin: 0 8px;
    }

    .hero-booking-form .form-group {
        margin-bottom: 12px;
    }

    .hero-booking-form .form-group label {
        font-size: 0.8rem;
        margin-bottom: 6px;
    }

    .hero-booking-form .form-group input,
    .hero-booking-form .form-group select {
        font-size: 0.8rem;
        padding: 8px 10px;
    }

    .btn-book-now {
        font-size: 0.85rem;
        padding: 10px 20px;
    }

    /* Compact mobile layouts */
    .feature-card,
    .rental-card,
    .location-card {
        padding: 15px 12px;
    }

    .feature-card h3,
    .rental-card h3,
    .location-card h3 {
        font-size: 1.2rem;
        margin-bottom: 10px;
    }

    .feature-card p,
    .rental-card p,
    .location-card p {
        font-size: 0.9rem;
        line-height: 1.4;
    }

    /* Mobile-optimized trust indicators */
    .trust-indicators {
        gap: 12px;
        padding: 0 10px;
    }

    .trust-item {
        padding: 12px 16px;
        font-size: 0.85rem;
        background: rgba(255, 255, 255, 0.15);
        border: 1px solid rgba(255, 255, 255, 0.2);
        backdrop-filter: blur(10px);
        border-radius: 10px;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
    }

    .trust-item:active {
        transform: scale(0.98);
        background: rgba(255, 255, 255, 0.2);
    }

    .trust-item i {
        font-size: 1.1rem;
        width: 24px;
        text-align: center;
        filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
    }

    /* Better mobile FAQ */
    .faq-question {
        padding: 16px 12px;
        font-size: 0.9rem;
    }

    .faq-answer {
        /* FAQ answer styling handled by chat-and-arrow.css */
    }
}

/* Landscape mobile optimizations */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding-top: 0;
        margin-top: 60px;
    }
    
    .hero-content {
        padding: 60px 20px 20px 20px;
    }

    .booking-form-overlay {
        padding: 15px 20px;
        max-width: 600px;
    }

    .hero-booking-form .form-columns {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    /* Navigation styles handled by header-footer.css */
}

/* High DPI and Retina displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-bg-image,
    .rental-image img,
    .location-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Dark mode support for mobile */
@media (prefers-color-scheme: dark) {
    .booking-form-overlay {
        background: rgba(20, 20, 20, 0.95);
        border-color: rgba(100, 200, 255, 0.4);
    }
}

/* Reduced motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .hero-booking-form .form-group input:focus,
    .hero-booking-form .form-group select:focus,
    .btn-book-now:hover,
    .feature-card:hover,
    .rental-card:hover,
    .location-card:hover {
        transform: none;
        transition: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .booking-form-overlay {
        background: rgba(0, 0, 0, 0.98);
        border: 2px solid #ffffff;
    }

    .btn-book-now {
        border: 2px solid #ffffff;
        color: #000000;
        background: #ffffff;
    }

    /* Navigation hover styles handled by header-footer.css */
}

/* Mobile Form Validation and UX Improvements */
@media (max-width: 768px) {
    /* Mobile form validation styles */
    .hero-booking-form .form-group input.error,
    .hero-booking-form .form-group select.error {
        border-color: #e74c3c;
        box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
    }

    .hero-booking-form .form-group input.success,
    .hero-booking-form .form-group select.success {
        border-color: #27ae60;
        box-shadow: 0 0 0 2px rgba(39, 174, 96, 0.2);
    }

    .hero-booking-form .form-group .error-message {
        font-size: 0.8rem;
        color: #e74c3c;
        margin-top: 5px;
        display: block;
    }

    /* Mobile form focus improvements */
    .hero-booking-form .form-group input:focus,
    .hero-booking-form .form-group select:focus {
        outline: none;
        border-color: #64c8ff;
        box-shadow: 0 0 0 3px rgba(100, 200, 255, 0.3);
        transform: translateY(-1px);
    }

    /* Mobile form placeholder improvements */
    .hero-booking-form .form-group input::placeholder {
        color: rgba(255, 255, 255, 0.6);
        font-size: 0.9rem;
        font-family: 'Inter', sans-serif;
    }

    /* Mobile form label improvements */
    .hero-booking-form .form-group label {
        font-weight: 600;
        color: rgba(255, 255, 255, 0.9);
        margin-bottom: 8px;
        display: block;
    }

    /* Mobile form group spacing */
    .hero-booking-form .form-group {
        margin-bottom: 20px;
    }

    /* Mobile form submit button improvements */
    .btn-book-now {
        position: relative;
        overflow: hidden;
        transition: all 0.3s ease;
    }

    .btn-book-now:active {
        transform: scale(0.98);
    }

    .btn-book-now::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
        transition: left 0.5s ease;
    }

    .btn-book-now:hover::before {
        left: 100%;
    }

    /* Mobile form loading state */
    .btn-book-now.loading {
        pointer-events: none;
        opacity: 0.7;
    }

    .btn-book-now.loading::after {
        content: '';
        position: absolute;
        width: 20px;
        height: 20px;
        top: 50%;
        left: 50%;
        margin: -10px 0 0 -10px;
        border: 2px solid transparent;
        border-top: 2px solid #ffffff;
        border-radius: 50%;
        animation: spin 1s linear infinite;
    }



    @keyframes spin {
        0% { transform: rotate(0deg); }
        100% { transform: rotate(360deg); }
    }
}

/* Mobile-specific accessibility improvements */
@media (max-width: 768px) {
    /* Better focus indicators for mobile */
    .btn-book-now:focus,
    .faq-question:focus {
        outline: 3px solid #64c8ff;
        outline-offset: 2px;
        border-radius: 4px;
    }

    /* Improved touch targets */
    .btn-book-now:focus,
    .faq-question,
    .faq-question i {
        cursor: pointer;
        -webkit-tap-highlight-color: rgba(100, 200, 255, 0.3);
    }

    /* Navigation styles handled by header-footer.css */
}

/* Mobile performance optimizations */
@media (max-width: 768px) {
    /* Optimize animations for mobile */
    .feature-card,
    .rental-card,
    .location-card,
    .review-card {
        will-change: transform;
        transform: translateZ(0);
        backface-visibility: hidden;
    }

    /* Reduce motion for better mobile performance */
    .hero-bg-image,
    .rental-image img,
    .location-image img {
        will-change: transform;
    }

    /* Optimize mobile transitions */
    .booking-form-overlay,
    .btn-book-now {
        will-change: transform, opacity;
    }
}

/* About Us Responsive Styles */
@media (max-width: 1024px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }

    .about-visual-section {
        order: -1;
        display: flex;
        justify-content: center;
    }

    .about-logo-container {
        max-width: 400px;
    }

    .logo-background {
        padding: 40px 30px;
    }

    .company-logo {
        max-width: 300px;
    }

    .about-main-content {
        gap: 40px;
    }

    .about-intro-section h3 {
        font-size: 1.4rem;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .about-cru-section {
        padding: 30px;
    }

    .about-cru-section h3 {
        font-size: 1.5rem;
    }

    .about-header-accent {
        width: 60px;
        height: 3px;
    }
}

@media (max-width: 900px) {
    .about {
        padding: 70px 0;
    }

    .about-header h2 {
        font-size: 2.5rem;
        margin-bottom: 45px;
    }

    .about-content {
        display: flex;
        gap: 45px;
        flex-direction: column;
    }

    .about-main-content {
        gap: 32px;
        order: 2;
    }

    .about-intro-section h3 {
        font-size: 1.6rem;
        margin-bottom: 22px;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }

    .about-intro-section p {
        font-size: 1.05rem;
        line-height: 1.65;
    }

    .about-cru-section {
        padding: 28px 22px;
    }

    .about-cru-section h3 {
        font-size: 1.6rem;
        margin-bottom: 20px;
    }

    .about-cru-section p {
        font-size: 1.05rem;
        line-height: 1.65;
    }

    .logo-background {
        padding: 45px 35px;
        max-width: 380px;
    }

    .company-logo {
        max-width: 280px;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 60px 0;
    }
    
    .about-content {
        display: flex;
        gap: 40px;
        padding: 0 20px;
        flex-direction: column;
    }
    
    .about-main-content {
        gap: 30px;
        order: 1;
        max-width: 100%;
    }
    
    .about-visual-section {
        order: 2;
        min-width: 250px;
        max-width: 350px;
    }
    
    .about-intro-section,
    .about-cru-section {
        padding: 25px 20px;
        backdrop-filter: none; /* Disable backdrop-filter on mobile for better performance */
    }
    
    .about-intro-section,
    .about-cru-section {
        padding: 20px 15px;
        border-radius: 15px;
    }
    
    .about-intro-header h3 {
        font-size: 1.2rem;
        white-space: normal; /* Allow text wrapping on very small screens */
        overflow: visible;
        text-overflow: clip;
    }
    
    .about-cru-header h3 {
        font-size: 1.4rem;
    }
    
    .logo-background {
        padding: 30px 20px;
        max-width: 280px;
    }
    
    .company-logo {
        max-width: 200px;
    }
    
    .logo-accent-ring {
        display: none; /* Hide accent ring on mobile for cleaner look */
    }
    
    /* Disable complex animations on mobile */
    .about-intro-section:hover,
    .about-cru-section:hover,
    .logo-background:hover {
        transform: none;
    }
}

@media (max-width: 480px) {
    .about {
        padding: 40px 0;
    }
    
    .about-header h2 {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .about-content {
        display: flex;
        gap: 30px;
        padding: 0 15px;
        flex-direction: column;
    }
    
    .about-main-content {
        gap: 25px;
        order: 1;
    }
    
    .about-visual-section {
        min-width: 200px;
        max-width: 280px;
        order: 2;
    }
}

@media (max-width: 360px) {
    .about {
        padding: 30px 0;
    }
    
    .about-header h2 {
        font-size: 1.6rem;
        margin-bottom: 25px;
        line-height: 1.2;
    }
    
    .about-content {
        gap: 25px;
        padding: 0 12px;
    }
    
    .about-main-content {
        gap: 20px;
        order: 1;
    }
    
    .about-visual-section {
        min-width: 180px;
        max-width: 260px;
        order: 2;
    }
    
    .about-intro-section h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
        line-height: 1.3;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
    
    .about-intro-section p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 0;
    }
    
    .about-cru-section {
        padding: 18px 15px;
        border-radius: 10px;
    }
    
    .about-cru-section h3 {
        font-size: 1.2rem;
        margin-bottom: 12px;
        line-height: 1.3;
    }
    
    .about-cru-section p {
        font-size: 0.9rem;
        line-height: 1.4;
        margin-bottom: 0;
    }
    
    .logo-background {
        padding: 30px 20px;
        max-width: 260px;
    }
    
    .company-logo {
        max-width: 180px;
    }
    
    .logo-accent-ring {
        display: none;
    }
}

/* Mobile navigation menu toggle - handled by header-footer.css */

/* Mobile optimizations for better responsiveness */
@media (max-width: 1024px) {
    .about-content {
        display: flex;
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }
    
    .about-main-content {
        max-width: 100%;
        order: 2;
    }
    
    .about-visual-section {
        order: 1;
        min-width: 300px;
        max-width: 400px;
    }
    
    .about-intro-section h3 {
        font-size: 1.4rem;
        white-space: normal;
        overflow: visible;
        text-overflow: clip;
    }
    
    .about-cru-section {
        padding: 30px;
    }
    
    .about-cru-section h3 {
        font-size: 1.5rem;
    }
    
    .about-header-accent {
        width: 60px;
        height: 3px;
    }
}

/* ===== FAQ RESPONSIVE STYLES ===== */

@media (max-width: 768px) {
    .faq-section {
        padding: 40px 20px;
    }
    
    .faq-header h3 {
        font-size: 1.8rem;
        margin-bottom: 20px;
    }
    
    .faq-container {
        gap: 15px;
    }
    
    .faq-item {
        border-radius: 8px;
    }
    
    .faq-question {
        padding: 15px 20px;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 15px 20px;
    }
    
    .faq-answer p {
        font-size: 0.9rem;
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .faq-section {
        padding: 30px 15px;
    }
    
    .faq-header h3 {
        font-size: 1.6rem;
        margin-bottom: 15px;
    }
    
    .faq-container {
        gap: 12px;
    }
    
    .faq-question {
        padding: 12px 15px;
        font-size: 0.9rem;
    }
    
    .faq-answer {
        padding: 12px 15px;
    }
    
    .faq-answer p {
        font-size: 0.85rem;
        line-height: 1.4;
    }
}

@media (max-width: 320px) {
    .faq-section {
        padding: 25px 12px;
    }
    
    .faq-header h3 {
        font-size: 1.4rem;
        margin-bottom: 12px;
    }
    
    .faq-container {
        gap: 10px;
    }
    
    .faq-question {
        padding: 10px 12px;
        font-size: 0.85rem;
    }
    
    .faq-answer {
        padding: 10px 12px;
    }
    
    .faq-answer p {
        font-size: 0.8rem;
        line-height: 1.3;
    }
}

/* ===== FORCE DESKTOP BLACK INPUTS - OVERRIDE INDEX.CSS ===== */
@media (min-width: 768px) {
    /* Override the white backgrounds in this file */
    .hero-booking-form .form-group input,
    .hero-booking-form .form-group select,
    .hero-booking-form .form-group textarea {
        background: #000000 !important;
        background-color: #000000 !important;
        color: #ffffff !important;
        border-color: #333333 !important;
    }
    
    .hero-booking-form .form-group input:focus,
    .hero-booking-form .form-group select:focus,
    .hero-booking-form .form-group textarea:focus {
        background: #111111 !important;
        background-color: #111111 !important;
        color: #ffffff !important;
        border-color: #666666 !important;
    }
    
    /* Force all input types */
    .hero-booking-form .form-group input[type="text"],
    .hero-booking-form .form-group input[type="date"],
    .hero-booking-form .form-group input[type="email"],
    .hero-booking-form .form-group input[type="tel"],
    .hero-booking-form .form-group input[type="time"],
    .hero-booking-form .form-group input[type="number"],
    .hero-booking-form .form-group select,
    .hero-booking-form .form-group textarea {
        background: #000000 !important;
        background-color: #000000 !important;
        color: #ffffff !important;
        border-color: #333333 !important;
    }
    
    /* Override any existing hero-booking-form styles */
    .hero-booking-form input,
    .hero-booking-form select,
    .hero-booking-form textarea {
        background: #000000 !important;
        background-color: #000000 !important;
        color: #ffffff !important;
        border-color: #333333 !important;
    }
    
    /* Ensure placeholder text is visible on black backgrounds */
    .hero-booking-form input::placeholder,
    .hero-booking-form select::placeholder,
    .hero-booking-form textarea::placeholder {
        color: #cccccc !important; /* Light gray placeholder text */
        opacity: 1 !important; /* Ensure full opacity */
    }
    
    /* Specific placeholder styling for different input types */
    .hero-booking-form input[type="text"]::placeholder,
    .hero-booking-form input[type="email"]::placeholder,
    .hero-booking-form input[type="tel"]::placeholder {
        color: #cccccc !important;
    }
    
    .hero-booking-form input[type="date"]::placeholder {
        color: #cccccc !important;
    }
    
    .hero-booking-form input[type="time"]::placeholder {
        color: #cccccc !important;
    }
}
