/*
Theme Name: Green Bookings Premium (Child)
Theme URI: https://greenbookings.ng
Description: Custom executive car hire and travel bundle interface.
Author: Gemini & Chidi
Author URI: https://greenbookings.ng
Template: twentyseventeen
Version: 1.0.0
Text Domain: green-bookings-child
*/

/* --- GLOBAL RESET FOR FRONT PAGE --- */
.site-content-contain, 
.site-content, 
.panel-content, 
.wrap {
    background: transparent !important;
}

/* Remove Twenty Seventeen's default white "panels" */
.page-lite-content, .entry-content {
    background: transparent !important;
    padding: 0 !important;
}

/* --- THE NEW THEME --- */
:root {
    --green-primary: #00A859;
    --green-accent: #8DC63F;
    --deep-navy: #0d1b2a;
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.15);
}

body.custom-booking-page {
    background: radial-gradient(circle at top left, #1b4332, #081c15 50%, #000 100%) !important;
    background-attachment: fixed !important;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
}

/* Styling the Header */
.booking-header h1 {
    font-weight: 800;
    letter-spacing: -1px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
    margin-bottom: 10px;
}

/* Enhancing the Car Cards */
.car-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.car-card:hover {
    transform: scale(1.02);
    border-color: var(--green-accent);
    background: rgba(255, 255, 255, 0.12);
}

.car-info h4 {
    font-size: 1.4rem;
    font-weight: 700;
}

/* Button Refinement */
.booking-btn {
    background: linear-gradient(45deg, var(--green-primary), var(--green-accent));
    box-shadow: 0 4px 15px rgba(0, 168, 89, 0.3);
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
}

/* Styling the Select Dropdowns and their Options */
select#pickup_location, 
select#hire_type {
    appearance: none; /* Removes default browser arrow to allow custom styling */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
    cursor: pointer;
}

/* This targets the actual dropdown list */
select#pickup_location option, 
select#hire_type option {
    background-color: #1a1a1a; /* Solid dark background for the list */
    color: #ffffff;            /* White text for visibility */
    padding: 10px;
}

/* Hover/Focus state for the inputs */
.input-group input:focus, 
.input-group select:focus {
    outline: none;
    border-color: var(--green-primary) !important;
    background: rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 0 10px rgba(0, 168, 89, 0.2);
}

/* Fixing the "White Box" issue on some mobile browsers */
input[type="date"]::-webkit-calendar-picker-indicator {
    filter: invert(1); /* Turns the black calendar icon white */
    cursor: pointer;
}