/* Professional Design System for SkyRoute Cars */

:root {
    /* Color Palette */
    --primary-color: #1a365d;
    --primary-light: #2c5282;
    --primary-dark: #0f1f38;
    --accent-color: #e67e22;
    --accent-light: #f39c12;
    --success-color: #27ae60;
    --text-dark: #2d3748;
    --text-light: #718096;
    --bg-light: #f7fafc;
    --bg-white: #ffffff;
    --border-color: #e2e8f0;
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    margin: 0;
    padding: 0;
    background-color: var(--bg-light);
    color: var(--text-dark);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Logo */
.logo-link {
    text-decoration: none;
    position: fixed;
    top: 20px;
    left: 30px;
    z-index: 1000;
}

.logo {
    font-size: 1.5em;
    font-weight: 700;
    color: white;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    padding: 12px 24px;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    letter-spacing: 0.5px;
}

.logo:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

/* Header Styles */
header {
    position: relative;
    color: white;
    text-align: center;
    margin-bottom: 0;
    height: 450px;
    overflow: hidden;
}

@media (max-width: 1024px) {
    header {
        height: 380px;
    }
}

header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: brightness(0.7);
}

.header-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 50px 60px;
    max-width: 800px;
    width: 90%;
}

header h1 {
    margin: 0 0 15px 0;
    font-size: 2.75em;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

header p {
    font-size: 1.15em;
    margin: 0;
    font-weight: 300;
    opacity: 0.95;
}

.language-switcher {
    position: absolute;
    top: 18px;
    right: 86px;
    z-index: 7;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    height: 32px;
    border-radius: 999px;
    text-decoration: none;
    font-size: 0.82em;
    font-weight: 700;
    color: white;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: all 0.25s ease;
}

.lang-btn:hover {
    background: rgba(0, 0, 0, 0.5);
}

.lang-btn.active {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    border-color: rgba(255, 255, 255, 0.95);
}

.admin-link {
    position: absolute;
    top: 20px;
    right: 24px;
    z-index: 7;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.35);
    transition: all 0.25s ease;
}

.admin-link:hover {
    background: rgba(0, 0, 0, 0.5);
}

/* Header top logo bar */
.header-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
    padding: 18px 24px;
    pointer-events: none;
}

.header-topbar-inner {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.header-logo-link {
    pointer-events: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 12px;
    padding: 8px 14px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.header-logo-link:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.header-logo-image {
    display: block;
    width: auto;
    height: 52px;
    max-height: 52px;
    max-width: min(240px, 60vw);
    object-fit: contain;
}

.header-logo-fallback {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.4px;
    line-height: 1;
    white-space: nowrap;
}

/* Search Widget */
.search-widget {
    position: relative;
    z-index: 3;
    color: white;
    padding: 0 30px 10px;
    margin-top: 0;
    margin-bottom: 0;
}

.search-widget h2 {
    margin: 0 0 35px 0;
    font-size: 2.2em;
    font-weight: 600;
    letter-spacing: -0.5px;
    text-align: center;
}

.search-form {
    display: flex;
    gap: 15px;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    top: -86px;
    margin-bottom: -86px;
    align-items: end;
    background-color: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 18px 38px rgba(15, 31, 56, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.form-field {
    flex: 1;
    text-align: left;
    min-width: 180px;
}

.form-field label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    font-size: 0.85em;
    letter-spacing: 0.3px;
    color: var(--text-light);
}

.form-field input,
.form-field select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95em;
    background-color: white;
    color: var(--text-dark);
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: inherit;
}

.form-field input[type="datetime-local"] {
    cursor: text;
}

.form-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 40px;
}

.form-field input {
    cursor: text;
}

.form-field input:focus,
.form-field select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.search-btn {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    flex-shrink: 0;
}

.search-btn:hover {
    background-color: var(--accent-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.search-info p {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Filters */
/* Top Filters (Category) */
.filters-top {
    background-color: var(--bg-white);
    padding: 30px 20px;
    box-shadow: var(--shadow-sm);
    border-bottom: 1px solid var(--border-color);
}

.filters-top .filter-group {
    margin-bottom: 0;
    max-width: 1500px;
    margin: 0 auto;
}

.filters-top .filter-title {
    font-size: 1em;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 12px 0;
    text-align: center;
}

.filters-top .filter-buttons {
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 10px;
    overflow-x: auto;
    overflow-y: hidden;
    padding-bottom: 8px;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}

.filters-top .filter-buttons::-webkit-scrollbar {
    height: 6px;
}

.filters-top .filter-buttons::-webkit-scrollbar-thumb {
    background: rgba(26, 54, 93, 0.25);
    border-radius: 999px;
}

.filters-top .filter-buttons .filter-btn {
    flex: 0 0 auto;
}

/* Content Wrapper (Sidebar + Cars) */
.content-wrapper {
    display: flex;
    max-width: 1500px;
    margin: 0 auto;
    gap: 30px;
    padding: 40px 30px;
    align-items: start;
}

/* Sidebar Filters (Transmission & Fuel) */
.filters-sidebar {
    flex: 0 0 250px;
    background-color: var(--bg-white);
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    height: fit-content;
    position: sticky;
    top: 20px;
    align-self: start;
}

.filter-group {
    margin-bottom: 25px;
}

.filter-group:last-child {
    margin-bottom: 0;
}

.filter-title {
    font-size: 0.95em;
    font-weight: 600;
    color: var(--text-dark);
    margin: 0 0 15px 0;
    text-align: left;
}

.filter-buttons-vertical {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.filter-btn {
    background-color: transparent;
    color: var(--text-dark);
    border: 2px solid var(--border-color);
    padding: 10px 24px;
    cursor: pointer;
    border-radius: 50px;
    font-size: 0.9em;
    font-weight: 500;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    text-align: center;
}

.filter-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background-color: rgba(26, 54, 93, 0.05);
}

.filter-btn.active {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Cars Grid */
.cars {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

/* Empty state for cars */
.cars > p {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-light);
    font-size: 1.1em;
    background-color: var(--bg-white);
    border-radius: 12px;
    border: 2px dashed var(--border-color);
}

.car {
    background-color: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    height: 100%;
}

.car:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
    border-color: var(--primary-light);
}

.car:active {
    transform: translateY(-2px);
}

.car img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
    background-color: var(--bg-light);
}

.car:hover img {
    transform: scale(1.05);
}

.car-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

/* Car Header with Title and Price */
.car-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
}

.car-title h3 {
    margin: 0;
    color: var(--text-dark);
    font-size: 1.15em;
    font-weight: 700;
    line-height: 1.3;
}

.car-subtitle {
    color: #6B7280;
    font-size: 0.65em;
    font-weight: 400;
    display: inline-block;
}

.car-price {
    text-align: right;
    flex-shrink: 0;
    padding: 8px 12px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(59, 130, 246, 0.05));
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.price-amount {
    font-size: 1.5em;
    font-weight: 700;
    color: #3B82F6;
    line-height: 1;
}

.price-period {
    font-size: 0.8em;
    color: var(--text-light);
    margin-top: 2px;
}

/* Car Specs */
.car-specs {
    display: flex;
    gap: 20px;
    padding: 16px 0;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
}

.spec {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    flex: 1;
    color: #6B7280;
}

.spec svg {
    opacity: 0.6;
}

.spec span {
    font-size: 0.85em;
    font-weight: 500;
}

/* Reserve Button */
.reserve-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    background: var(--primary-color);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95em;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: auto;
    border: 2px solid var(--primary-color);
    min-height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.car-actions {
    display: flex;
    gap: 10px;
    margin-top: auto;
    align-items: stretch;
}

.car-actions .reserve-btn {
    flex: 1 1 auto;
    width: auto;
    height: 48px;
    min-height: 48px;
    padding: 0 20px;
}

.car-actions .whatsapp-btn {
    flex: 0 0 48px;
    width: 48px;
    height: 48px;
    min-height: 48px;
    padding: 0;
    border-radius: 50%;
}

.whatsapp-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 18px;
    background: #25D366;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95em;
    letter-spacing: 0.3px;
    border: 2px solid #25D366;
    transition: all 0.3s ease;
}

.reserve-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.reserve-btn:active {
    transform: translateY(0);
}

.whatsapp-btn svg {
    display: block;
}

.whatsapp-btn:hover {
    background-color: #20BA5A;
    border-color: #20BA5A;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* FAQ Section */
.faq {
    max-width: 1000px;
    margin: 60px auto;
    padding: 50px 40px;
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-md);
}

.faq h2 {
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 40px;
    font-size: 2em;
    font-weight: 700;
    letter-spacing: -0.5px;
}

details {
    margin-bottom: 12px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
}

details:hover {
    border-color: var(--primary-light);
}

details summary {
    background-color: var(--bg-light);
    padding: 18px 22px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.98em;
    transition: all 0.3s ease;
}

details summary:hover {
    background-color: rgba(26, 54, 93, 0.05);
    color: var(--primary-color);
}

details[open] summary {
    background-color: var(--primary-color);
    color: white;
}

details p {
    padding: 20px 22px;
    margin: 0;
    background-color: var(--bg-white);
    color: var(--text-light);
    line-height: 1.7;
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%);
    color: white;
    padding: 60px 30px 30px;
    margin-top: 60px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px;
}

.footer-section h3 {
    color: var(--accent-color);
    margin-top: 0;
    margin-bottom: 20px;
    font-size: 1.3em;
    font-weight: 600;
}

.footer-section p {
    margin: 12px 0;
    line-height: 1.8;
    opacity: 0.9;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-btn {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 8px;
    text-decoration: none;
    color: white;
    font-weight: 600;
    font-size: 0.95em;
    transition: all 0.3s ease;
    text-align: center;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.social-btn:hover {
    transform: translateX(8px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: var(--shadow-md);
}

.social-btn.whatsapp {
    background-color: #25D366;
}

.social-btn.facebook {
    background-color: #1877F2;
}

.social-btn.instagram {
    background: linear-gradient(45deg, #F58529, #DD2A7B, #8134AF);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 20px;
}

.footer-bottom p {
    margin: 0;
    opacity: 0.7;
    font-size: 0.9em;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 64px;
    height: 64px;
    background-color: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: all 0.3s ease;
    color: white;
}

.floating-whatsapp:hover {
    transform: scale(1.12);
    box-shadow: var(--shadow-xl);
}

/* Reservation Form */
.reservation-form {
    max-width: 700px;
    margin: 50px auto;
    padding: 50px 45px;
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.reservation-form h2 {
    text-align: center;
    color: var(--primary-color);
    margin-bottom: 35px;
    font-size: 2em;
    font-weight: 700;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.95em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95em;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.submit-btn {
    background-color: var(--primary-color);
    color: white;
    padding: 16px 28px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.05em;
    font-weight: 600;
    letter-spacing: 0.5px;
    width: 100%;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Car Details Page */
.car-details {
    max-width: 1100px;
    margin: 50px auto;
    padding: 50px 45px;
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.car-details img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin-bottom: 30px;
}

.car-details h2 {
    color: var(--primary-color);
    margin-bottom: 25px;
    font-size: 2.2em;
    font-weight: 700;
}

.car-info, .pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background-color: var(--bg-light);
    border-radius: 8px;
}

.car-info p, .pricing p {
    margin: 0;
    color: var(--text-dark);
}

.insurance {
    margin-bottom: 30px;
}

.insurance h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    font-size: 1.5em;
    font-weight: 600;
}

.insurance-option {
    background-color: var(--bg-light);
    padding: 25px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.insurance-option:hover {
    border-color: var(--primary-light);
    box-shadow: var(--shadow-md);
}

.insurance-option h4 {
    margin: 0 0 15px 0;
    color: var(--primary-color);
    font-size: 1.2em;
    font-weight: 600;
}

.features {
    margin-bottom: 30px;
}

.features h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.5em;
    font-weight: 600;
}

.description {
    line-height: 1.8;
    margin-bottom: 30px;
    color: var(--text-light);
    font-size: 1.05em;
}

/* New Details Page Layout */

/* Car Information Section - Full Width */
.car-info-section {
    max-width: 1200px;
    margin: 30px auto;
    padding: 40px;
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.details-page-wrapper {
    background-color: var(--bg-light);
    padding-bottom: 30px;
}

.car-info-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Pricing and Reservation Section - Two Columns */
.pricing-reservation-section {
    max-width: 1400px;
    margin: 40px auto;
    padding: 0 30px 30px;
}

.pricing-reservation-wrapper {
    background-color: var(--bg-white);
    border-radius: 12px;
    padding: 50px 40px;
    box-shadow: var(--shadow-lg);
}

.section-main-title {
    color: var(--primary-color);
    font-size: 2em;
    font-weight: 700;
    text-align: center;
    margin: 0 0 40px 0;
    position: relative;
    padding-bottom: 15px;
}

.section-main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}

.pricing-reservation-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.pricing-column {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.reservation-column {
    display: flex;
    flex-direction: column;
}

/* Legacy Details Styles */
.details-header {
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 30px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.back-link:hover {
    color: var(--primary-light);
    transform: translateX(-5px);
}

.details-header h2 {
    color: var(--primary-color);
    font-size: 2.2em;
    font-weight: 700;
    margin: 0;
}

.floating-reserve-btn {
    position: fixed;
    right: 30px;
    bottom: 108px;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    box-shadow: var(--shadow-lg);
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.floating-reserve-btn:hover {
    background-color: var(--accent-light);
    transform: scale(1.08);
    box-shadow: var(--shadow-xl);
}

.car-subtitle {
    color: var(--text-light);
    font-weight: 400;
    font-size: 0.75em;
}

/* Image styling */
.car-image-large {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    max-height: 500px;
    object-fit: cover;
}

/* Legacy details-content (kept for compatibility) */
.details-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 40px;
    align-items: start;
}

.details-left {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.car-image-large {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
}

.car-specs-detail {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 15px;
}

.spec-item svg {
    color: var(--primary-color);
    flex-shrink: 0;
}

.spec-item div {
    display: flex;
    flex-direction: column;
}

.spec-item strong {
    color: var(--text-dark);
    font-size: 0.9em;
    font-weight: 600;
    margin-bottom: 4px;
}

.spec-item span {
    color: var(--text-light);
    font-size: 0.95em;
}

.features {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.features h3 {
    color: var(--primary-color);
    margin: 0 0 20px 0;
    font-size: 1.3em;
    font-weight: 600;
}

.features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.features-list li {
    color: var(--text-dark);
    font-size: 0.95em;
    padding: 8px 0;
}

.description-box {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.description-box h3 {
    color: var(--primary-color);
    margin: 0 0 15px 0;
    font-size: 1.3em;
    font-weight: 600;
}

.description-box p {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.details-extra-card-section {
    max-width: 1400px;
    margin: 0 auto 30px;
    padding: 0 30px;
}

.details-extra-card {
    background-color: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 30px;
}

.details-extra-title {
    color: var(--primary-color);
    margin: 0 0 16px 0;
    font-size: 1.3em;
    font-weight: 600;
}

.details-extra-title + .features-list {
    margin-bottom: 25px;
}

.details-extra-description {
    color: var(--text-light);
    line-height: 1.8;
    margin: 0;
}

.details-extra-empty {
    color: #9ca3af;
    list-style: none;
}

.details-right {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/* Remove sticky positioning for standalone use */
.pricing-column .pricing-card,
.pricing-column .insurance-card {
    position: static;
}

.pricing-card {
    background-color: var(--bg-white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 2px solid var(--primary-color);
}

.insurance-card {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
}

.price-header {
    text-align: center;
    padding-bottom: 25px;
    border-bottom: 2px solid var(--border-color);
    margin-bottom: 25px;
}

.price-header .price-amount {
    font-size: 2.5em;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
}

.price-header .price-period {
    color: var(--text-light);
    font-size: 0.95em;
    margin-top: 5px;
}

.rental-summary h3 {
    color: var(--text-dark);
    font-size: 1.1em;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.summary-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-item span {
    color: var(--text-light);
    flex: 0 0 auto;
    white-space: nowrap;
}

.summary-item strong {
    color: var(--text-dark);
    margin-left: auto;
    flex: 1 1 auto;
    min-width: 0;
    text-align: right;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.summary-item.total {
    border-top: 2px solid var(--primary-color);
    border-bottom: none;
    padding-top: 15px;
    margin-top: 10px;
}

.summary-item.total strong {
    color: var(--primary-color);
    font-size: 1.3em;
}

.reserve-btn-large {
    display: block;
    width: 100%;
    padding: 16px 24px;
    background-color: var(--primary-color);
    color: white;
    text-align: center;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin: 25px 0;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    cursor: pointer;
    min-height: 48px; /* Accessibility - minimum touch target */
}

.reserve-btn-large:hover:not(:disabled) {
    background-color: var(--primary-light);
    border-color: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.reserve-btn-large:active:not(:disabled) {
    transform: translateY(0);
}

.reserve-btn-large:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.included-items {
    padding: 20px 0;
    border-top: 1px solid var(--border-color);
}

.included-items p {
    margin: 8px 0;
    color: var(--text-dark);
    font-size: 0.95em;
}

.insurance-card {
    background-color: var(--bg-white);
    padding: 25px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
}

.insurance-card h3 {
    color: var(--primary-color);
    font-size: 1.2em;
    font-weight: 600;
    margin: 0 0 20px 0;
}

.insurance-card .insurance-option {
    background-color: var(--bg-light);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
}

.insurance-card .insurance-option:last-child {
    margin-bottom: 0;
}

.insurance-card .insurance-option:hover {
    border-color: var(--primary-color);
}

.insurance-card .insurance-option.selected {
    border-color: var(--primary-color);
    background-color: rgba(26, 54, 93, 0.05);
    box-shadow: 0 2px 8px rgba(26, 54, 93, 0.2);
}

.insurance-radio {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.insurance-card .insurance-option h4 {
    margin: 0 0 8px 35px;
    color: var(--primary-color);
    font-size: 1.1em;
    font-weight: 600;
}

.insurance-card .insurance-option .insurance-price {
    margin-left: 35px;
}

.insurance-card .insurance-option.recommended {
    border-color: #ddd;
    background-color: rgba(230, 126, 34, 0.05);
}

.insurance-card .insurance-option.recommended.selected {
    border-color: var(--accent-color);
    background-color: rgba(230, 126, 34, 0.1);
    box-shadow: 0 2px 8px rgba(230, 126, 34, 0.3);
}

.recommended-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background-color: var(--accent-color);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8em;
    font-weight: 600;
}

.insurance-cost {
    color: var(--accent-color) !important;
    font-weight: 500 !important;
}

.insurance-cost strong {
    color: var(--accent-color) !important;
}

.insurance-price {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 1em;
    margin: 0 0 15px 0;
}

.insurance-card .insurance-option ul {
    list-style: none;
    padding: 0;
    margin: 0 0 15px 0;
}

.insurance-card .insurance-option li {
    padding: 6px 0;
    color: var(--text-dark);
    font-size: 0.9em;
}

.deposit-info {
    margin: 0;
    padding-top: 12px;
    border-top: 1px solid var(--border-color);
    color: var(--text-light);
    font-size: 0.9em;
    font-weight: 500;
}

/* Custom Searchable Select Styling */
.custom-select-wrapper {
    position: relative;
    width: 100%;
}

.custom-select-input {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.95em;
    background-color: white;
    color: var(--text-dark);
    transition: all 0.3s ease;
    cursor: text;
}

.custom-select-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 54, 93, 0.1);
}

.custom-select {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    margin-top: 4px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    background: white;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    max-height: 200px;
    overflow-y: auto;
}

.custom-select option {
    padding: 10px 14px;
    cursor: pointer;
    font-size: 0.95em;
    color: var(--text-dark);
}

.custom-select option:hover {
    background-color: rgba(26, 54, 93, 0.05);
}

.custom-select option:checked {
    background-color: var(--primary-color);
    color: white;
}

/* Responsive Design */

/* Flash Messages */
.flash-message {
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.flash-success {
    background: #10b981;
    color: white;
}

.flash-error {
    background: #ef4444;
    color: white;
}

/* Reservation Form in Grid Layout */
.reservation-card {
    background-color: var(--bg-white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
    height: 100%;
}

.reservation-title {
    margin-bottom: 25px;
    color: var(--primary-color);
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
}

.reservation-form {
    width: 100%;
}

.form-fields-container {
    width: 100%;
}

.form-section {
    width: 100%;
}

.form-section-title {
    margin-bottom: 20px;
    color: var(--accent-color);
    font-size: 1.05rem;
    font-weight: 600;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 8px;
}

/* Reservation Form Section (legacy, for standalone) */
.reservation-form-section {
    padding: 50px 20px;
    background-color: var(--bg-light);
}

.reservation-form-container {
    max-width: 800px;
    margin: 0 auto;
}

.reservation-card {
    background-color: var(--bg-white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.reservation-title {
    margin-bottom: 30px;
    color: var(--primary-color);
    text-align: center;
    font-size: 1.8rem;
    font-weight: 700;
}

.reservation-form {
    width: 100%;
}

.form-fields-container {
    max-width: 600px;
    margin: 0 auto;
}

.form-section {
    width: 100%;
}

.form-section-title {
    margin-bottom: 25px;
    color: var(--accent-color);
    font-size: 1.15rem;
    font-weight: 600;
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

.reserve-btn-submit {
    width: 100%;
    margin-top: 20px;
}

/* Unavailable Card */
.reservation-card-unavailable {
    text-align: center;
    padding: 60px 40px;
}

.unavailable-message {
    color: #666;
    font-size: 18px;
    margin-bottom: 25px;
}

.reserve-btn-disabled {
    opacity: 0.6;
    cursor: not-allowed;
    padding: 16px 40px;
}

/* Not Found Message */
.not-found-message {
    padding: 40px;
    text-align: center;
}

.not-found-message p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 16px;
}

.btn-inline {
    display: inline-block;
    margin-top: 20px;
}

/* Admin Link in Footer */
.admin-link-footer {
    margin-top: 15px;
}

.admin-link-footer a {
    color: #fff;
    opacity: 0.7;
    font-size: 0.85em;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.admin-link-footer a:hover {
    opacity: 1;
}

/* Tablet Landscape to Desktop */
@media (max-width: 1200px) {
    .content-wrapper {
        padding: 30px 20px;
    }
    
    .cars {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
    
    .pricing-reservation-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .car-info-section {
        padding: 35px 30px;
        margin: 25px 20px;
    }
    
    .pricing-reservation-wrapper {
        padding: 40px 30px;
    }
    
    .pricing-card,
    .insurance-card {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .reservation-card {
        max-width: 600px;
        margin: 0 auto;
    }
    
    .search-form {
        gap: 12px;
    }
}

@media (max-width: 1024px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    .cars {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .content-wrapper {
        padding: 25px 20px;
    }
    
    .pricing-reservation-grid {
        grid-template-columns: 1fr;
    }
    
    .car-specs-detail {
        grid-template-columns: repeat(2, 1fr);
    }

    .details-page-wrapper,
    .car-info-section,
    .pricing-reservation-section,
    .pricing-reservation-wrapper,
    .pricing-reservation-grid,
    .pricing-column,
    .reservation-column,
    .pricing-card,
    .insurance-card,
    .reservation-card,
    .car-info-content,
    .details-header {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .rental-summary,
    .summary-item {
        min-width: 0;
        max-width: 100%;
    }

    .summary-item {
        gap: 8px;
    }

    .summary-item span,
    .summary-item strong {
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .summary-item strong {
        text-align: right;
    }
    
    .filters-sidebar {
        padding: 25px 20px;
    }
}

@media (max-width: 768px) {
    html,
    body {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }

    header {
        height: 300px;
    }

    .header-topbar {
        padding: 12px 14px;
    }

    .header-logo-link {
        padding: 6px 10px;
        border-radius: 10px;
    }

    .header-logo-image {
        height: 42px;
        max-height: 42px;
        max-width: 62vw;
    }

    .header-logo-fallback {
        font-size: 1.02rem;
    }
    
    .header-content {
        padding: 25px 20px;
        width: 95%;
    }
    
    header h1 {
        font-size: 1.6em;
    }
    
    header p {
        font-size: 0.95em;
    }

    .language-switcher {
        top: 12px;
        right: 72px;
        gap: 5px;
    }

    .lang-btn {
        min-width: 32px;
        height: 28px;
        font-size: 0.76em;
    }

    .admin-link {
        top: 12px;
        right: 12px;
        width: 36px;
        height: 36px;
    }
    
    .search-widget {
        padding: 25px 15px;
    }
    
    .search-widget h2 {
        font-size: 1.4em;
        margin-bottom: 25px;
    }
    
    .search-form {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        top: -56px;
        margin-bottom: -56px;
        padding: 18px;
        gap: 14px 12px;
        align-items: stretch;
        border-radius: 18px;
        border: 1px solid rgba(226, 232, 240, 0.95);
        box-shadow: 0 20px 45px rgba(15, 31, 56, 0.16);
    }
    
    .form-field {
        width: 100%;
        min-width: 0;
    }
    
    .form-field label {
        margin-bottom: 10px;
        font-size: 0.76rem;
        font-weight: 700;
        letter-spacing: 0.08em;
        text-transform: uppercase;
        color: #5b6b82;
    }
    
    .form-field input,
    .form-field select {
        min-height: 52px;
        padding: 14px 15px;
        border-radius: 10px;
        border-color: #d7e0ea;
        background: #f8fafc;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    .search-btn {
        grid-column: 1 / -1;
        width: 100%;
        min-height: 54px;
        justify-content: center;
        padding: 14px 28px;
        border-radius: 12px;
        box-shadow: 0 14px 24px rgba(230, 126, 34, 0.25);
    }

    .search-info p {
        font-size: 0.84rem;
    }

    .location-field .custom-select-input {
        min-height: 46px;
        padding: 11px 13px;
        font-size: 0.84rem;
    }

    .location-field .custom-select {
        max-height: 170px;
        font-size: 0.84rem;
    }

    .location-field .custom-select option {
        padding: 8px 12px;
        font-size: 0.82rem;
    }

    /* Stack sidebar on top for mobile */
    .content-wrapper {
        flex-direction: column;
        padding: 20px 15px;
        gap: 25px;
        max-width: 100%;
    }

    .filters-sidebar {
        display: none;
    }
    
    .cars {
        grid-template-columns: 1fr;
        gap: 20px;
        width: 100%;
    }
    
    .car {
        width: 100%;
        max-width: 100%;
    }
    
    .car img {
        height: 200px;
        width: 100%;
    }
    
    .car-content {
        padding: 20px;
    }
    
    .car-header {
        flex-direction: row;
        gap: 12px;
    }
    
    .car-title h3 {
        font-size: 1.1em;
    }
    
    .car-specs {
        gap: 15px;
        padding: 12px 0;
    }
    
    .spec {
        gap: 4px;
    }
    
    .spec span {
        font-size: 0.8em;
    }
    
    .reserve-btn {
        padding: 12px 20px;
        font-size: 0.9em;
    }

    .car-actions .reserve-btn,
    .car-actions .whatsapp-btn {
        height: 44px;
        min-height: 44px;
    }

    .car-actions .whatsapp-btn {
        width: 44px;
        flex-basis: 44px;
    }

    .car-actions .reserve-btn {
        width: auto;
        padding: 0 16px;
    }
    
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }
    
    .logo {
        font-size: 1em;
        padding: 8px 16px;
    }
    
    .logo-link {
        top: 12px;
        left: 12px;
    }
    
    .reservation-form,
    .car-details {
        padding: 25px 20px;
        margin: 20px 10px;
    }
    
    /* Car Info Section Mobile */
    .car-info-section {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 25px 20px;
        margin: 20px 0;
        border-radius: 0;
    }
    
    /* Pricing Reservation Section Mobile */
    .pricing-reservation-section {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 0 20px;
        margin: 20px 0;
    }
    
    .pricing-reservation-wrapper {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 30px 20px;
        border-radius: 0;
    }

    .details-extra-card-section {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 20px;
        margin: 0 auto 20px;
    }

    .details-extra-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 25px 20px;
    }

    .pricing-card,
    .insurance-card,
    .reservation-card {
        width: 100%;
        max-width: 100%;
        margin: 0;
        box-sizing: border-box;
    }
    
    .section-main-title {
        font-size: 1.5em;
        margin-bottom: 30px;
        padding-bottom: 12px;
    }
    
    .section-main-title::after {
        width: 60px;
        height: 2px;
    }
    
    .pricing-reservation-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    /* Details page responsive */
    .details-content {
        grid-template-columns: 1fr;
        padding: 15px;
        gap: 25px;
    }

    .details-header {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 20px;
        margin: 20px auto;
    }

    .floating-reserve-btn {
        right: 20px;
        bottom: 94px;
        width: 54px;
        height: 54px;
    }

    .details-page-wrapper,
    .pricing-column,
    .reservation-column,
    .pricing-reservation-grid,
    .car-info-content {
        width: 100%;
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
        box-sizing: border-box;
    }

    .rental-summary,
    .summary-item {
        min-width: 0;
        max-width: 100%;
    }

    .summary-item {
        gap: 8px;
    }

    .summary-item span,
    .summary-item strong {
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .summary-item strong {
        text-align: right;
    }

    .car-info-section .car-specs,
    .car-specs {
        gap: 10px;
    }

    .car-info-section .spec,
    .car-specs .spec {
        min-width: 0;
    }

    .car-info-section .spec span,
    .car-specs .spec span {
        font-size: 0.78em;
        text-align: center;
        overflow-wrap: anywhere;
    }

    .details-header h2 {
        font-size: 1.5em;
        line-height: 1.3;
    }
    
    .car-subtitle {
        display: block;
        font-size: 0.7em;
        margin-top: 5px;
    }

    .car-specs-detail {
        grid-template-columns: 1fr;
        padding: 20px;
        gap: 20px;
    }
    
    .spec-item {
        padding: 10px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .spec-item:last-child {
        border-bottom: none;
    }

    .features-list {
        grid-template-columns: 1fr;
    }

    .pricing-card {
        position: static;
        padding: 25px;
    }
    
    .price-header .price-amount {
        font-size: 2.2em;
    }

    .details-right {
        order: -1;
    }
    
    .insurance-card {
        padding: 20px;
    }
    
    .insurance-card .insurance-option {
        padding: 18px 15px;
    }
    
    .insurance-radio {
        top: 18px;
        left: 15px;
    }
    
    .reserve-btn-large {
        padding: 15px 24px;
        font-size: 1rem;
    }
    
    /* Reservation Form Mobile */
    .reservation-form-section {
        padding: 30px 15px;
    }
    
    .reservation-card {
        padding: 30px 20px;
    }
    
    .reservation-title {
        font-size: 1.5rem;
        margin-bottom: 25px;
    }
    
    .form-section-title {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    
    .form-input {
        padding: 14px;
        font-size: 16px; /* Prevents zoom on iOS */
    }
    
    /* Footer */
    .footer-content {
        padding: 30px 20px;
    }
    
    /* FAQ */
    .faq {
        padding: 30px 20px;
    }
    
    .faq h2 {
        font-size: 1.4em;
    }
    
    .faq details {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    header {
        height: 250px;
    }

    .header-topbar {
        padding: 10px 12px;
    }

    .header-logo-image {
        height: 36px;
        max-height: 36px;
        max-width: 64vw;
    }

    .header-logo-fallback {
        font-size: 0.95rem;
    }
    
    header h1 {
        font-size: 1.4em;
    }
    
    header p {
        font-size: 0.85em;
    }

    .language-switcher {
        top: 10px;
        right: 56px;
    }

    .lang-btn {
        min-width: 28px;
        height: 24px;
        font-size: 0.7em;
    }

    .admin-link {
        top: 8px;
        right: 8px;
        width: 32px;
        height: 32px;
    }
    
    .search-widget h2 {
        font-size: 1.2em;
    }

    .search-widget {
        padding: 20px 12px 24px;
    }
    
    .search-form {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        top: -38px;
        margin-bottom: -38px;
        padding: 14px;
        gap: 12px 10px;
        align-items: stretch;
        border-radius: 16px;
    }

    .form-field {
        width: 100%;
        min-width: 0;
    }

    .search-btn {
        grid-column: 1 / -1;
        min-height: 50px;
    }

    .search-info p {
        font-size: 0.78rem;
    }

    .form-field label {
        font-size: 0.72rem;
        letter-spacing: 0.06em;
    }

    .form-field input,
    .form-field select {
        min-height: 48px;
        padding: 12px 13px;
    }

    .location-field .custom-select-input {
        min-height: 42px;
        padding: 10px 12px;
        font-size: 0.8rem;
    }

    .location-field .custom-select {
        font-size: 0.8rem;
    }

    .location-field .custom-select option {
        padding: 7px 10px;
        font-size: 0.78rem;
    }
    
    .filter-btn {
        padding: 8px 14px;
        font-size: 0.8em;
    }
    
    .filters-top {
        padding: 20px 15px;
    }
    
    .filters-top .filter-buttons {
        gap: 8px;
    }
    
    .car img {
        height: 180px;
    }
    
    .car {
        width: 100%;
        max-width: 100%;
    }
    
    .cars {
        width: 100%;
    }
    
    .car-content {
        padding: 18px;
    }
    
    .car-title h3 {
        font-size: 1em;
    }
    
    .price-amount {
        font-size: 1.3em;
    }
    
    .reserve-btn {
        padding: 11px 18px;
        font-size: 0.85em;
    }

    .car-actions .reserve-btn,
    .car-actions .whatsapp-btn {
        height: 42px;
        min-height: 42px;
    }

    .car-actions .whatsapp-btn {
        width: 42px;
        flex-basis: 42px;
    }

    .car-actions .reserve-btn {
        width: auto;
        padding: 0 14px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
        padding: 0 15px;
    }
    
    .footer-section h3 {
        font-size: 1.2em;
    }
    
    .search-form {
        padding: 12px;
    }
    
    .details-header h2 {
        font-size: 1.3em;
    }
    
    .car-info-section {
        padding: 20px 14px;
        margin: 15px 0;
    }
    
    .pricing-reservation-wrapper {
        padding: 25px 14px;
    }

    .details-extra-card-section {
        padding: 0 14px;
    }

    .details-extra-card {
        padding: 20px 14px;
    }

    .details-header {
        padding: 0 14px;
    }

    .floating-reserve-btn {
        right: 14px;
        bottom: 88px;
        width: 52px;
        height: 52px;
    }

    .summary-item {
        gap: 8px;
    }

    .summary-item strong {
        text-align: right;
    }
    
    .section-main-title {
        font-size: 1.3em;
        padding-bottom: 10px;
    }
    
    .section-main-title::after {
        width: 50px;
    }
    
    .reservation-card {
        padding: 25px 15px;
    }
    
    .reservation-title {
        font-size: 1.2rem;
    }
    
    .form-input {
        padding: 12px;
    }
    
    .price-header .price-amount {
        font-size: 2em;
    }
    
    .insurance-card .insurance-option h4 {
        font-size: 1em;
    }
    
    .car-specs-detail {
        padding: 15px;
    }
    
    .features,
    .description-box {
        padding: 20px;
    }
}

