/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', sans-serif;
}

body {
    background: #acbee8;
    color: #2d3438;
}

/* Navigation */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.brand {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #2d3436;
    font-weight: 500;
    transition: color 0.3s;
}

/* Search Results Page */
.container {
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.search-heading {
    margin-bottom: 2rem;
    color: #2d3436;
}

.ride-results {
    display: grid;
    gap: 1.5rem;
}

.ride-card {
    background: white;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.ride-card:hover {
    transform: translateY(-3px);
}

.no-rides {
    text-align: center;
    font-size: 1.2rem;
    color: #636e72;
}

.book-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 6px;
    cursor: pointer;
    margin-top: 1rem;
    transition: background 0.3s;
}

.book-btn:hover {
    background: #1d4ed8;
}



.nav-links a:hover {
    color: #0984e3;
}

/* Hero Section */
.hero {
    padding: 4rem 5%;
    text-align: center;
}

.search-container {
    max-width: 800px;
    margin: 0 auto;
}

.search-box {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-top: 2rem;
}

.input-group {
    display: grid;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

input {
    padding: 1rem;
    border: 2px solid #dfe6e9;
    border-radius: 8px;
    font-size: 1rem;
}

/* Results Section */
.results-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    padding: 2rem 5%;
}

#map {
    height: 600px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.ride-results {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.rides-container {
    margin-top: 1.5rem;
    display: grid;
    gap: 1rem;
}

/* Ride Card */
.ride-card {
    padding: 1.5rem;
    border: 2px solid #dfe6e9;
    border-radius: 8px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.ride-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Animations */
.slide-in {
    animation: slideIn 0.8s ease-out;
}

@keyframes slideIn {
    from { transform: translateY(-30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .results-section {
        grid-template-columns: 1fr;
    }
    
    #map {
        height: 400px;
    }
}

.ride-results {
    display: grid;
    gap: 1rem;
    margin-top: 2rem;
}

.ride-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: transform 0.2s, box-shadow 0.2s;
}

.ride-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.book-btn {
    background: #2563eb;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.book-btn:hover {
    background: #1d4ed8;
}
/* Booking Page Styles */
.ride-summary {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.payment-section {
    background: #fff;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.card-element {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    border: 1px solid #dfe6e9;
}

.payment-status {
    margin-top: 1rem;
    padding: 1rem;
    border-radius: 8px;
}

/* Stripe Card Element */
.StripeElement {
    padding: 1rem;
}
