/* --- ADDED: :root variables from index (23) --- */
:root {
    --primary-color: #F25C54; /* A vibrant coral red */
    --secondary-color: #F7B267; /* A warm orange */
    --dark-color: #2F2F2F;
    --light-color: #F4F4F9;
    --text-color: #333;
    --klarna-pink: #FFB3C7;
    --klarna-text: #0A0A0A;
    --border-radius-sm: 8px;
    --border-radius-md: 16px;
    --shadow-light: 0 4px 15px rgba(0,0,0,0.06);
    --shadow-strong: 0 8px 25px rgba(0,0,0,0.12);
}

html { scroll-behavior: smooth; }
/* --- UPDATED: Body font to match index (23) --- */
body { font-family: 'Ubuntu', sans-serif; } 
.form-input:focus, .form-select:focus { ring: 2px; ring-color: #FBBF24; border-color: #FBBF24; }
.scooter-card { transition: all 0.3s ease; cursor: pointer; }
.scooter-card:hover { transform: translateY(-5px); box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }
.scooter-card.selected { border-color: #FBBF24; box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.5); }
input:disabled { background-color: #f3f4f6; cursor: not-allowed; }
.iti { width: 100%; }
.step-circle, .step-connector { transition: all 0.4s ease; }

#step-1-content {
    transition: max-height 0.5s ease-in-out, margin 0.5s ease-in-out;
    max-height: 2000px; 
}
.step-minimized #step-1-content {
    max-height: 0;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    overflow: hidden;
}
.step-minimized #step-1-header {
    border-bottom-width: 0;
    padding-bottom: 0;
}
#step-1-toggle-icon {
    transition: transform 0.3s ease;
}
.step-minimized #step-1-toggle-icon {
    transform: rotate(-180deg);
}

@media (max-width: 1023px) {
    body { padding-bottom: 140px; }
    .booking-step { display: none; animation: fadeIn 0.5s ease-in-out; }
    #desktop-summary-wrapper { display: none; }
    #mobile-summary-bar { display: flex; }

    #hero-banner {
        transition: height 0.5s ease-in-out;
    }
    #hero-banner-content {
        transition: opacity 0.3s ease-in-out, padding 0.5s ease-in-out;
        overflow: hidden;
    }
    #hero-banner.banner-minimized {
        height: 4rem; /* 64px */
    }
    #hero-banner.banner-minimized #hero-banner-content {
        opacity: 0;
        padding-top: 0;
        padding-bottom: 0;
        pointer-events: none;
    }
    #minimize-banner-icon {
        transition: transform 0.3s ease-in-out;
    }
    #hero-banner.banner-minimized #minimize-banner-icon {
        transform: rotate(180deg);
    }

    .filter-tabs {
        display: flex; 
        flex-wrap: wrap;
        justify-content: center; 
        margin-top: 0.5rem; 
        align-items: center; 
    }
    .filter-tabs label {
        padding: 0.375rem 0.75rem; 
        font-size: 0.75rem; 
        margin: 0.25rem; 
        white-space: nowrap; 
    }
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Custom Flatpickr Availability Theme --- */
.flatpickr-day:not(.flatpickr-disabled):not(.selected) {
    background-color: #E6F7EB; 
    border-color: #E6F7EB;
    color: #166534;
}
.flatpickr-day:not(.flatpickr-disabled):not(.selected):hover {
    background-color: #BEE3C9; 
}
.flatpickr-day.today {
    border-color: #10B981; 
    font-weight: bold;
}
.flatpickr-day.selected, .flatpickr-day.startRange, .flatpickr-day.endRange, .flatpickr-day.inRange {
    background-color: #10B981; 
    border-color: #10B981;
    color: #ffffff;
}
.flatpickr-day.startRange:hover, .flatpickr-day.endRange:hover {
    background-color: #0F9D70;
    border-color: #0F9D70;
}

/* --- Filter Tab Styles --- */
.filter-tabs input[type="radio"] {
    display: none; 
}
.filter-tabs label {
    display: inline-block;
    padding: 0.5rem 1rem; 
    border: 2px solid #D1D5DB; 
    border-radius: 9999px; 
    cursor: pointer;
    font-size: 0.875rem; 
    font-weight: 500; 
    color: #4B5563; 
    transition: all 0.2s ease;
    margin: 0.25rem; 
}
.filter-tabs input[type="radio"]:checked + label {
    background-color: #FBBF24; 
    color: #1F2937; 
    border-color: #FBBF24; 
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.filter-tabs label:hover {
    border-color: #F59E0B; 
    color: #111827; 
}

/* --- === ADDED: STYLES FOR HEADER & FOOTER from index (23) === --- */

/* --- HEADER & NAVIGATION --- */
header {
    background: #222; 
    color: #fff;
    padding: 15px 25px; 
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: transform 0.3s ease-in-out; 
}

header.header-hidden {
    transform: translateY(-100%);
}

.logo {
    font-weight: bold;
    font-size: 20px;
    text-decoration: none;
    color: #fff;
    display: flex;
    align-items: center;
}

.logo img { 
    height: 30px; 
    margin-right: 10px; 
}

/* --- UPDATED: Gap for header controls to be smaller --- */
.header-controls { display: flex; align-items: center; gap: 12px; }

/* --- Language Toggle Button Style --- */
.lang-toggle {
    color: #fff; 
    font-size: 22px; /* Taller emoji */
    text-decoration: none; 
    transition: color 0.3s, transform 0.3s;
    line-height: 1; /* Aligns emoji better */
    cursor: pointer;
    display: none; /* Hidden by default, script will show all *except* current */
    padding: 2px;
}
.lang-toggle:hover {
    color: #ffc107; /* Footer accent color */
    transform: scale(1.1);
}
/* --- END NEW --- */

.phone-icon { 
    color: #fff; 
    font-size: 18px; 
    text-decoration: none; 
    transition: color 0.3s;
}
.phone-icon:hover {
    color: #ffc107; /* Footer accent color */
}

nav#navMenu {
    /* This style is for the mobile menu container */
    display: flex; 
    align-items: center; 
    gap: 15px;
}
nav#navMenu a {
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    padding: 10px 15px;
    border-radius: 20px;
    transition: background-color 0.3s, color 0.3s;
}
nav#navMenu a:hover { 
    background-color: #ffc107; 
    color: #222;
}
nav#navMenu .menu-booking {
    background-color: #ffc107;
    color: #222;
    font-weight: 500;
}
nav#navMenu .menu-booking:hover { 
    background-color: var(--secondary-color); 
    color: #222;
}
.menu-toggle {
    display: none; font-size: 24px; color: #fff;
    cursor: pointer; background: none; border: none; z-index: 1001;
    transition: color 0.3s;
}
.menu-toggle:hover {
    color: #ffc107; /* Footer accent color */
}

/* Mobile Menu Styles */
@media (max-width: 900px) { /* This breakpoint is from index (23) */
    .menu-toggle { display: block; }
    
    /* --- Adjust lang toggle size for mobile --- */
    .lang-toggle {
        font-size: 24px; /* Match .menu-toggle */
    }
    /* --- END NEW --- */

    /* These styles hide the desktop nav and show the mobile menu */
    .header-controls nav#navMenu {
        display: flex; position: fixed; top: 0; right: -100%;
        width: 280px; height: 100vh; background: #1a1a1a;
        flex-direction: column; align-items: flex-start;
        padding: 80px 30px 30px; box-shadow: -5px 0 15px rgba(0,0,0,0.2);
        transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
        gap: 0; /* Reset gap for mobile */
    }
    nav#navMenu.show {
        right: 0;
    }
    nav#navMenu a { 
        margin: 10px 0; 
        width: 100%; 
        text-align: left; 
        font-size: 18px; 
    }
}
/* This ensures desktop nav shows correctly */
@media (min-width: 901px) {
    nav#navMenu { 
        display: flex !important; 
        align-items: center; 
        gap: 15px; 
    }
}


/* --- SITE FOOTER STYLES --- */
.site-footer {
    background-color: #222;
    color: #ccc;
    padding: 50px 20px;
    font-family: 'Ubuntu', sans-serif;
    text-align: left;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.footer-column {
    display: flex;
    flex-direction: column;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 500;
    margin-bottom: 15px;
}

.footer-logo img {
    width: 50px;
    height: auto;
}

.footer-column h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #ffc107; /* A bright accent color */
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: #ffc107;
    padding-left: 5px;
}

.footer-column p {
    margin: 0 0 10px;
    line-height: 1.7;
}

.footer-column p i.fas {
    margin-right: 10px;
    color: #ffc107;
    width: 20px;
    text-align: center;
}

.social-icons {
    margin-top: 15px;
}

.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #333;
    color: #fff;
    margin-right: 10px;
    text-decoration: none;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    background-color: #ffc107;
    color: #222;
    transform: translateY(-3px);
}

.footer-bottom-bar {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #444;
    font-size: 0.9rem;
}