/* General Body Styles */
body {
    font-family: 'Heebo', sans-serif;
    background-color: #f8fafc; /* Tailwind 'slate-50' */
    color: #1e293b; /* Tailwind 'slate-800' */
}

/* Logo Text Styling */
.logo-text {
    font-weight: 800;
}

/* Search Button Styling */
.search-button {
    background-color: #d4af79;
    color: white;
    transition: background-color 0.3s;
}

.search-button:hover {
    background-color: #c7a561;
}

/* Card Transitions and Hover Effects */
.category-card, .result-card, .promo-card, .offering-card, .step-card {
    transition: all 0.3s ease;
}

.category-card:hover, .result-card:hover, .offering-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px -5px rgb(0 0 0 / 0.1);
}

/* Hidden Elements by Default (Spinners) */
.spinner, #initial-loader, #main-search-spinner, #car-specific-search-spinner {
    display: none;
}

/* Modal Styling */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 100; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(0,0,0,0.6); /* Black w/ opacity */
    animation: fadeIn 0.3s ease-out; /* Fade-in animation */
}

.modal-content {
    position: relative;
    background-color: #ffffff;
    margin: 10% auto; /* 10% from the top and centered */
    padding: 30px;
    border-radius: 12px;
    width: 90%; /* Could be more responsive */
    max-width: 600px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.close-btn {
    color: #94a3b8; /* Tailwind 'slate-400' */
    position: absolute;
    left: 25px; /* Positioned from left for RTL */
    top: 15px;
    font-size: 28px;
    font-weight: bold;
    transition: color 0.3s;
}

.close-btn:hover, .close-btn:focus {
    color: #1e293b; /* Tailwind 'slate-800' */
    text-decoration: none;
    cursor: pointer;
}

/* Brand Logo Styling */
.brand-logo {
    filter: grayscale(100%); /* Desaturate logos */
    opacity: 0.6; /* Make them slightly transparent */
    transition: all 0.3s ease-in-out; /* Smooth transition for hover effects */
}

.brand-logo:hover {
    opacity: 1; /* Full opacity on hover */
    filter: grayscale(0%); /* Original colors on hover */
    transform: scale(1.1); /* Slightly enlarge on hover */
}

/* Offering Card (Hot Offerings) Styling */
.offering-card {
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    text-align: center;
}

.offering-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.offering-content {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.offering-title {
    font-weight: 700;
    color: #3b82f6; /* blue-500 */
    margin-bottom: 0.5rem;
}

.offering-description {
    color: #475569; /* slate-600 */
    font-size: 0.875rem; /* sm text */
    flex-grow: 1;
}

.offering-price {
    font-size: 1.5rem; /* xl text */
    font-weight: 700;
    color: #1e293b; /* slate-800 */
    margin-top: 1rem;
}

/* Custom Select Dropdown Styling */
.custom-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%233b82f6' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: left 0.5rem center; /* Position icon on the left for RTL */
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-left: 2.5rem; /* Adjust padding for icon */
    -webkit-appearance: none; /* Remove default browser styling */
    -moz-appearance: none;
    appearance: none;
}

/* Disabled Input/Select/Button Styling */
input:disabled, select:disabled, button:disabled {
    opacity: 0.6;
    background-color: #e2e8f0; /* slate-200 */
    cursor: not-allowed;
}

/* Fade-in Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}
