/* ==========================================================================
   1. Luxury Foundations & Obsidian Dark Canvas Reset
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

body {
    background-color: #07090E;
    color: #F3F4F6;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

::selection {
    background: #D4AF37;
    color: #07090E;
}

/* ==========================================================================
   2. Prestigious Header Architecture
   ========================================================================== */
header {
    background: #111622;
    width: 90%;
    max-width: 1200px;
    margin: 40px auto 0 auto;
    padding: 20px 40px; 
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    border-radius: 16px 16px 0 0; 
    position: relative;
    z-index: 100;
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    border-left: 1px solid rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.logo {
    font-size: 18px;
    font-weight: 700;
    color: #FFFFFF; 
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: 0.5px;
}

.logo-img {
    height: 55px;
    width: auto;
    object-fit: contain;
}

.logo span {
    background: linear-gradient(120deg, #FFFFFF 40%, #E2E8F0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.header-phone-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.phone-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #D4AF37;
    text-decoration: none;
    font-size: 18px;
    font-weight: 700; 
    background: linear-gradient(135deg, rgba(20, 27, 43, 0.9), rgba(11, 15, 25, 0.95));
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.4);
    padding: 12px 26px;
    border-radius: 50px; 
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.phone-link:hover {
    color: #FFFFFF;
    border-color: #FFFFFF;
    transform: translateY(-2px); 
}

.header-text {
    font-size: 12px;
    color: #A0AEC0; 
    font-style: italic;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ==========================================================================
   3. Workspace Wrapper Structure
   ========================================================================== */
.site-wrapper {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #0F1420;
    padding-bottom: 40px;
    position: relative;
    z-index: 10;
    border-left: 1px solid rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.03);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.page-container {
    display: flex;
    width: 100%; 
    position: relative;
    min-height: 720px; 
    align-items: stretch;
}

.car-bg-image {
    position: absolute;
    top: 120px;            /* Increased from 50px to move it lower */
    left: -80px;           /* Decreased from -20px to push it further left */
    width: calc(100% + 40px); 
    height: 100%;
    object-fit: cover;
    object-position: left 65%;
    z-index: 20; 
    pointer-events: none;
    opacity: 0.85;
}

/* ==========================================================================
   4. High-Class Frosted Glass Form Panels & Row Controls
   ========================================================================== */
.content-left {
    flex: 1.25;
    position: relative;
    z-index: 40;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 50px 40px;
}

.overlay-text {
    width: 100%;
    max-width: 440px;
}

.text-card {
    background: rgba(7, 9, 14, 0.9);
    padding: 30px;
    border-radius: 14px;
    color: #FFFFFF; 
    border: 1px solid rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(10px);
}

.text-card h1 {
    font-size: 26px;
    line-height: 1.3;
    margin-bottom: 12px;
    font-weight: 700;
    color: #D4AF37;
}

.text-card p {
    font-size: 13.5px;
    color: #CBD5E1;
    line-height: 1.7;
}

/* Luxury Frosted Glass Window Panel */
.content-right {
    flex: 1; 
    max-width: 540px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    z-index: 40; 
    background: linear-gradient(135deg, rgba(17, 22, 34, 0.85), rgba(11, 15, 25, 0.92)); 
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-left: 1px solid rgba(214, 175, 55, 0.25);
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.05), 0 20px 40px rgba(0, 0, 0, 0.4);
}

.content-right h2 {
    margin-bottom: 25px;
    color: #FFFFFF; 
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* FIXED 12-Column Justified Alignment Grid System Framework Mapping */
.form-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr); 
    gap: 16px;
    margin-bottom: 25px;
    width: 100%;
}

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

/* Explicit Layout Row Width Restrictions */
.row-split { grid-column: span 6 !important; }
.row-full  { grid-column: span 12 !important; }
.third-width { grid-column: span 4 !important; }

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 11px;
    color: #94A3B8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input, 
.form-group textarea {
    width: 100% !important;
    padding: 11px 14px;
    border: 1px solid rgba(255, 255, 255, 0.15); 
    border-radius: 6px;
    font-size: 14px;
    background-color: rgba(7, 9, 14, 0.8);
    color: #FFFFFF; 
    font-weight: 500;
    box-sizing: border-box;
}

/* Native Calendar & Time Selector Icon Color Enhancements */
.form-group input[type="date"]::-webkit-calendar-picker-indicator,
.form-group input[type="time"]::-webkit-calendar-picker-indicator {
    filter: invert(75%) sepia(50%) saturate(1000%) hue-rotate(15deg) brightness(95%) contrast(100%) !important;
    cursor: pointer;
    opacity: 0.85;
}

.form-group input:focus, 
.form-group textarea:focus {
    outline: none;
    border-color: #D4AF37;
    box-shadow: 0 0 0 3px rgba(214, 175, 55, 0.15);
}

.form-group textarea {
    resize: vertical;
    min-height: 90px;
}

/* Proportional Captcha Inline Sizing Nodes */
.captcha-container {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.captcha-box {
    background: #111622;
    padding: 11px 0;
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 4px;
    border-radius: 6px;
    user-select: none;
    text-align: center;
    color: #D4AF37;
    border: 1px solid rgba(214, 175, 55, 0.3);
    width: calc(100% - 48px) !important;
    display: inline-block;
    box-sizing: border-box;
}

.refresh-btn {
    background: #111622;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 6px;
    font-size: 15px;
    cursor: pointer;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    box-sizing: border-box;
}

.refresh-btn:hover {
    border-color: #D4AF37;
    background: #1A2234;
}

.submit-btn {
    width: 100%;
    background: linear-gradient(135deg, #D4AF37, #AA8417);
    color: #07090E;
    border: none;
    padding: 15px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(214, 175, 55, 0.2);
}

.submit-btn:hover { 
    box-shadow: 0 6px 20px rgba(214, 175, 55, 0.35);
}

/* ==========================================================================
   5. Service Pillar Grid Summary Squares
   ========================================================================== */
.squares-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    padding: 40px;
}

.glass-square {
    background: #111622;
    padding: 26px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.glass-square h3 { 
    font-size: 16px; 
    margin-bottom: 10px; 
    color: #D4AF37;
    font-weight: 700;
}

.glass-square p { 
    font-size: 13px; 
    color: #94A3B8;
}

/* ==========================================================================
   6. Corporate Footer Area
   ========================================================================== */
footer {
    padding: 25px 0;
    background: #111622;
    border-radius: 0 0 16px 16px;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto 40px auto;
    border-left: 1px solid rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.03);
}

footer p {
    font-size: 13px;
    color: #64748B;
}
  .time-opt {
        padding: 12px 16px;
        color: #ffffff;
        background-color: #000000;
        cursor: pointer;
        font-size: 14px;
        transition: all 0.15s ease;
    }
    
    /* Interactive hover state: shifts item background to gold and text to pure black */
    .time-opt:hover {
        background-color: #d4af37 !important;
        color: #000000 !important;
        font-weight: bold;
    }

/* Style the main input box area to blend into your dark scheme */
input[type="time"]#pickup-time {
    background-color: #0b0f19 !important; /* Premium dark field background */
    color: #ffffff !important;            /* Clean white text */
    border: 1px solid #1e293b !important; /* Subtle corporate border line */
    border-radius: 6px !important;        /* Smooth curved corners */
    padding: 12px 16px !important;        /* Balanced interior padding spacing */
    font-family: inherit !important;
    font-size: 14px !important;
    box-sizing: border-box !important;
    position: relative;                   /* Crucial coordinate boundary context */
}

/* Force every single inner text segment character to remain white */
input[type="time"]#pickup-time::-webkit-datetime-edit,
input[type="time"]#pickup-time::-webkit-datetime-edit-fields-wrapper,
input[type="time"]#pickup-time::-webkit-datetime-edit-text,
input[type="time"]#pickup-time::-webkit-datetime-edit-hour,
input[type="time"]#pickup-time::-webkit-datetime-edit-minute,
input[type="time"]#pickup-time::-webkit-datetime-edit-ampm-field {
    color: #ffffff !important;
}

/* FIX: Keep the trigger active but make it blend into your layout */
input[type="time"]#pickup-time::-webkit-calendar-picker-indicator {
    display: block !important;
    opacity: 1 !important;
    filter: invert(1) brightness(0.9);    /* Flips the default black arrow to white */
    cursor: pointer;
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
}


/* ==========================================================================
   7. Mobile Adaptive Scaling Structures
   ========================================================================== */
@media (max-width: 900px) {
    header, .site-wrapper, footer { width: 95%; margin-top: 20px; }
    header { padding: 25px 20px; flex-direction: column; text-align: center; gap: 20px; }
    .page-container { flex-direction: column; min-height: auto; }
    .car-bg-image { position: static; width: 100%; height: 260px; left: 0; }
    .content-left { padding: 35px 20px 10px 20px; }
    .overlay-text { max-width: 100%; }
    .content-right { max-width: 100%; border-left: none; border-top: 1px solid rgba(214, 175, 55, 0.2); padding: 40px 20px; }
    .form-grid { grid-template-columns: 1fr; gap: 14px; }
    .row-split, .row-full, .third-width { grid-column: span 1 !important; }
    .squares-container { padding: 20px; }
}


/* =====================================================
   AUSSIE EAGLE THEME TOGGLE + AUTOCOMPLETE
   ===================================================== */



.theme-toggle{
    position:fixed;
    top:16px;
    left:50%;
    transform:translateX(-50%);
    z-index:9999;

    padding:10px 16px;
    background:#111622;
    color:#D4AF37;
    border:1px solid rgba(212,175,55,.35);
    border-radius:999px;
    cursor:pointer;
    font-weight:700;
}



.form-group.row-full{position:relative;}

.autocomplete-dropdown{
    position:absolute;
    left:0;
    right:0;
    top:100%;
    background:#111622;
    border:1px solid rgba(212,175,55,.30);
    border-radius:0 0 8px 8px;
    max-height:220px;
    overflow-y:auto;
    display:none;
    z-index:500;
}

.suggestion-row{
    padding:12px;
    color:#FFFFFF;
    cursor:pointer;
}

.suggestion-row:hover{background:#1A2234;}

.loading,.no-results{
    padding:12px;
    color:#D4AF37;
}

/* FULL WHITE LUXURY THEME */

body.light-theme{
    background:#FFFFFF !important;
    color:#222 !important;
}

body.light-theme header,
body.light-theme .site-wrapper,
body.light-theme footer,
body.light-theme .glass-square,
body.light-theme .content-right,
body.light-theme .text-card{
    background:#FFFFFF !important;
}

body.light-theme .content-right{
    border-left:1px solid rgba(212,175,55,.25);
}

body.light-theme .logo span{
    -webkit-text-fill-color:#222 !important;
    color:#222 !important;
}

body.light-theme h1{
    color:#D4AF37 !important;
}

body.light-theme h2,
body.light-theme h3,
body.light-theme label{
    color:#222 !important;
}

body.light-theme p,
body.light-theme footer p,
body.light-theme .header-text{
    color:#555 !important;
}

body.light-theme input,
body.light-theme textarea,
body.light-theme select{
    background:#FFFFFF !important;
    color:#222 !important;
    border:1px solid #D4AF37 !important;
}

body.light-theme .submit-btn{
    background:linear-gradient(135deg,#D4AF37,#F4E08A) !important;
    color:#111 !important;
}

body.light-theme .phone-link,
body.light-theme .captcha-box,
body.light-theme .refresh-btn{
    background:#FFFFFF !important;
    border-color:#D4AF37 !important;
}

body.light-theme .autocomplete-dropdown{
    background:#FFFFFF !important;
    border-color:#D4AF37 !important;
}

body.light-theme .suggestion-row{
    color:#222 !important;
}

body.light-theme .suggestion-row:hover{
    background:#F8F4E8 !important;
}
/* White Theme Time Dropdown Fix */
body.light-theme #pickup-time{
    background:#FFFFFF !important;
    color:#222222 !important;
    border:1px solid #D4AF37 !important;
}

body.light-theme #pickup-time option{
    background:#FFFFFF !important;
    color:#222222 !important;
}

body.light-theme #pickup-time:focus{
    box-shadow:0 0 0 3px rgba(212,175,55,.15) !important;
}
/* ==========================================
   Pickup Time Selector
   ========================================== */

.pickup-time-select{
    width:100%;
    padding:12px 16px;
    border:1px solid #1e293b;
    border-radius:6px;
    background:#000000;
    color:#ffffff;
    font-size:14px;
    font-family:inherit;
    cursor:pointer;
    outline:none;

    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;

    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='10' viewBox='0 0 10 10'%3E%3Cpath fill='%23d4af37' d='M0 3l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat:no-repeat;
    background-position:right 16px center;
    background-size:12px;
}

.pickup-time-select:focus{
    border-color:#D4AF37;
    box-shadow:0 0 0 3px rgba(212,175,55,.15);
}

.pickup-time-select option{
    background:#000000;
    color:#ffffff;
}

/* White Theme */

body.light-theme .pickup-time-select{
    background:#FFFFFF;
    color:#222222;
    border:1px solid #D4AF37;
}

body.light-theme .pickup-time-select option{
    background:#FFFFFF;
    color:#222222;
}

body.light-theme label[for="pickup-time"]{
    color:#222222;
}

/* Manual Address Entry Fallback */
.manual-entry{
    padding:12px;
    cursor:pointer;
    border-top:1px solid rgba(255,255,255,0.15);
}
.manual-entry strong{
    display:block;
    color:#D4AF37;
}
.manual-entry small{
    color:#CCCCCC;
}
.manual-entry:hover{
    background:rgba(212,175,55,0.15);
}


/* Flatpickr Time Picker Styling */
.flatpickr-input{
    width:100%;
}

.flatpickr-calendar{
    background:#111622 !important;
    border:1px solid rgba(212,175,55,.35) !important;
    box-shadow:0 10px 30px rgba(0,0,0,.4) !important;
}

.flatpickr-time input,
.flatpickr-time .flatpickr-am-pm{
    color:#FFFFFF !important;
    background:#111622 !important;
}

body.light-theme .flatpickr-calendar{
    background:#FFFFFF !important;
}

body.light-theme .flatpickr-time input,
body.light-theme .flatpickr-time .flatpickr-am-pm{
    color:#222 !important;
    background:#FFFFFF !important;
}


/* Facebook Follow Button */
.facebook-follow-btn{
 display:flex;
 align-items:center;
 justify-content:center;
 width:100%;
 min-height:42px;
 padding:11px 14px;
 background:#1877F2;
 color:#FFFFFF;
 text-decoration:none;
 font-weight:700;
 border-radius:6px;
 box-shadow:0 4px 15px rgba(24,119,242,.35);
 transition:all .3s ease;
}
.facebook-follow-btn:hover{
 transform:translateY(-2px);
 color:#FFFFFF;
 box-shadow:0 8px 20px rgba(24,119,242,.5);
}
.facebook-cell{
 display:flex;
 flex-direction:column;
 justify-content:flex-end;
}


/* Enhanced Facebook Button */
.facebook-follow-btn{
    display:flex !important;
    align-items:center;
    justify-content:center;
    gap:10px;
    width:100%;
    min-height:42px;
    padding:11px 14px;
    background:#1877F2;
    color:#FFFFFF !important;
    text-decoration:none;
    font-weight:700;
    font-size:14px;
    border-radius:6px;
    box-shadow:0 6px 20px rgba(24,119,242,.45);
    transition:all .3s ease;
}

.facebook-follow-btn svg{
    flex-shrink:0;
}

.facebook-follow-btn:hover{
    transform:translateY(-2px);
    box-shadow:0 10px 28px rgba(24,119,242,.65);
}

body.light-theme .facebook-follow-btn{
    color:#FFFFFF !important;
}


.visit-counter{
    display:flex;
    align-items:center;
    justify-content:center;
    min-height:42px;
    padding:11px 14px;
    border-radius:6px;
    background:#111622;
    color:#D4AF37;
    font-weight:700;
    border:1px solid rgba(212,175,55,.35);
}

body.light-theme .visit-counter{
    background:#FFFFFF;
    color:#222;
    border:1px solid #D4AF37;
}


/* PWA Install Button */
.install-app-btn{
width:100%;
margin-top:12px;
padding:14px;
background:#1877F2;
color:#FFFFFF;
border:none;
border-radius:6px;
font-weight:700;
cursor:pointer;
box-shadow:0 6px 20px rgba(24,119,242,.35);
}

.install-app-btn:hover{
transform:translateY(-2px);
}

body.light-theme .install-app-btn{
color:#FFFFFF;
}


.visit-counter,
.facebook-follow-btn,
.install-app-btn{
    min-height:48px;
    height:48px;
}

.visit-counter{
    display:flex;
    align-items:center;
    justify-content:center;
    background:#111622;
    border:1px solid rgba(212,175,55,.35);
    border-radius:6px;
    color:#D4AF37;
    font-weight:700;
}

.facebook-follow-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
    background:#1877F2;
    color:#fff !important;
    text-decoration:none;
    border-radius:6px;
    font-weight:700;
}

.install-app-btn{
    width:100%;
    border:none;
    border-radius:6px;
    background:linear-gradient(135deg,#22c55e,#16a34a);
    color:#fff;
    font-weight:700;
    cursor:pointer;
    box-shadow:0 6px 20px rgba(34,197,94,.35);
}

.install-app-btn:hover{
    transform:translateY(-2px);
}


/* PROMO CARDS MOVED BELOW CAR */
.promo-cards-section{
    position:relative;
    z-index:60;
    margin-top:-40px;
    padding:0 40px 30px;
}

.promo-cards-row{
    width:58%;
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:16px;
}

.promo-card{
    background:#111622;
    border:1px solid rgba(212,175,55,.15);
    border-radius:12px;
    padding:16px;
}

.promo-label{
    display:block;
    color:#94A3B8;
    font-size:11px;
    font-weight:700;
    margin-bottom:10px;
}

.promo-card .visit-counter,
.promo-card .facebook-follow-btn,
.promo-card .install-app-btn{
    width:100%;
    margin-top:0;
}

@media(max-width:900px){
 .promo-cards-row{
   width:100%;
   grid-template-columns:1fr;
 }
}


/* ===== UI REPAIR PATCH ===== */
.page-container{
    display:flex !important;
    align-items:stretch !important;
    min-height:720px;
}

.content-left{
    flex:1.25 !important;
    min-width:0;
}

.content-right{
    flex:0 0 540px !important;
    max-width:540px !important;
    width:540px !important;
}

/* PROMO CARDS */
.promo-cards-section{
    clear:both;
    width:100%;
    padding:25px 40px 30px;
    margin-top:0;
}
/* 4 Equal Promo Cards */
.promo-cards-row{
    display:grid;
    grid-template-columns:repeat(4, 1fr);
    gap:16px;
    width:760px;          /* adjust if needed */
    margin-left:40px;
}

.promo-card{
    height:140px;         /* all cards same height */
    background:#111622;
    border:1px solid rgba(212,175,55,.15);
    border-radius:12px;
    padding:16px;

    display:flex;
    flex-direction:column;
    justify-content:space-between;
    align-items:center;
    text-align:center;
}

.promo-label{
    margin-bottom:10px;
}

.promo-card img{
    width:70px;
    height:70px;
    object-fit:contain;
}

@media(max-width:900px){

    .promo-cards-row{
        width:100%;
        margin-left:0;
        flex-direction:column;
    }
}

@media(max-width:900px){
 .promo-cards-row{
   width:100% !important;
   grid-template-columns:1fr !important;
 }
 .content-right{
   width:100% !important;
   max-width:100% !important;
 }
}
body.light-theme .promo-cards-section{
    background:#FFFFFF !important;
}
/* ==========================================
   WHITE THEME PROMO CARDS
   ========================================== */

body.light-theme .promo-card{
    background:#FFFFFF !important;
    border:1px solid #D4AF37 !important;
    box-shadow:0 4px 15px rgba(0,0,0,.08);
}

body.light-theme .promo-label{
    color:#555555 !important;
}

body.light-theme .promo-card .visit-counter{
    background:#FFFFFF !important;
    color:#222222 !important;
    border:1px solid #D4AF37 !important;
}

body.light-theme .promo-card .facebook-follow-btn{
    color:#FFFFFF !important;
}

body.light-theme .promo-card .install-app-btn{
    color:#FFFFFF !important;
}