/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f0f2f5; /* Lighter, modern background */
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4 {
    color: #2c3e50; /* Darker, more impactful headings */
    margin-bottom: 15px;
    font-weight: 700; /* Bolder headings */
}

p {
    margin-bottom: 10px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 30px; /* Larger padding */
    border-radius: 50px; /* Pill-shaped buttons */
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease; /* Smooth transitions for all properties */
    text-transform: uppercase; /* Uppercase text for buttons */
    letter-spacing: 1px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.btn-primary {
    background-color: #007bff; /* Vibrant blue */
    color: #fff;
    border: 2px solid #007bff;
}

.btn-primary:hover {
    background-color: #0056b3;
    border-color: #0056b3;
    transform: translateY(-3px); /* Lift effect on hover */
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background-color: #28a745; /* Vibrant green */
    color: #fff;
    border: 2px solid #28a745;
}

.btn-secondary:hover {
    background-color: #218838;
    border-color: #218838;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Header */
.main-header {
    background-color: #fff;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05); /* Softer shadow */
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2em; /* Slightly larger logo */
    font-weight: 800; /* Bolder logo */
    color: #007bff;
    margin: 0;
}

.main-header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-header nav ul li {
    margin-left: 30px; /* More spacing */
}

.main-header nav ul li a {
    text-decoration: none;
    color: #555;
    font-weight: 600;
    transition: color 0.3s ease;
    position: relative;
}

.main-header nav ul li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 3px;
    background-color: #007bff;
    left: 0;
    bottom: -8px;
    transition: width 0.3s ease;
}

.main-header nav ul li a:hover::after {
    width: 100%;
}

.main-header nav ul li a:hover {
    color: #007bff;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('public/images/road-bike.png') no-repeat center center/cover; /* Darker overlay */
    color: #fff;
    text-align: center;
    padding: 120px 20px; /* More vertical padding */
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px; /* 2x smaller hero section */
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 123, 255, 0.2); /* Subtle blue tint overlay */
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h2 {
    font-size: 4.5em; /* Larger, more impactful heading */
    margin-bottom: 25px;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-section p {
    font-size: 1.5em; /* Larger paragraph */
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
}

/* Section Padding */
.featured-bikes-section,
.how-it-works-section,
.contact-section {
    padding: 80px 0; /* More padding for sections */
    text-align: center;
}

.featured-bikes-section h3,
.how-it-works-section h3,
.contact-section h3 {
    font-size: 3em; /* Larger section headings */
    margin-bottom: 50px;
    position: relative;
    display: inline-block;
}

.featured-bikes-section h3::after,
.how-it-works-section h3::after,
.contact-section h3::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: #007bff;
    left: 50%;
    transform: translateX(-50%);
    bottom: -15px;
    border-radius: 2px;
}

.bike-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); /* Slightly wider cards */
    gap: 30px;
    margin-top: 40px;
}

.bike-card {
    background-color: #fff;
    border-radius: 15px; /* More rounded corners */
    box-shadow: 0 8px 20px rgba(0,0,0,0.08); /* More prominent shadow */
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.bike-card:hover {
    transform: translateY(-8px); /* More pronounced lift */
    box-shadow: 0 12px 25px rgba(0,0,0,0.15);
}

.bike-image {
    max-width: 100%;
    height: 220px; /* Slightly taller images */
    object-fit: cover;
    border-radius: 10px; /* Rounded image corners */
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.bike-card:hover .bike-image {
    transform: scale(1.03); /* Slight zoom on image hover */
}

.bike-card h4 {
    font-size: 2em; /* Larger bike titles */
    margin-bottom: 12px;
}

.bike-description {
    font-size: 1em;
    color: #666;
    margin-bottom: 20px;
}

.bike-price {
    font-size: 1.6em; /* Larger price */
    font-weight: 700;
    color: #007bff;
    display: block;
    margin-bottom: 25px;
}

/* Booking Options */
.booking-options {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: left;
    padding: 0 10px;
}

.booking-options label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #555;
}

.booking-options input[type="date"] {
    width: calc(100% - 22px); /* Adjust for padding and border */
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Poppins', sans-serif;
    font-size: 1em;
}

.upsell {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.upsell input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
}

.upsell label {
    margin-bottom: 0; /* Override default label margin */
}

.total-price {
    font-size: 1.4em;
    font-weight: 700;
    color: #28a745; /* Green for total price */
    text-align: right;
    margin-top: 15px;
}

/* How It Works Section */
.how-it-works-section {
    background-color: #e9ecef; /* Lighter background for contrast */
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background-color: #fff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.08);
    padding: 35px;
    text-align: center;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-8px);
}

.step-icon {
    font-size: 3em; /* Larger icons */
    color: #007bff;
    margin-bottom: 20px;
    font-weight: 700;
    background-color: #e0f2ff; /* Light background for icon */
    border-radius: 50%;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px auto;
}

.step-card h4 {
    font-size: 1.8em;
    margin-bottom: 15px;
}

.step-card p {
    color: #666;
}

/* Contact Section */
.contact-section {
    background-color: #fff;
}

.contact-section p {
    font-size: 1.2em;
    margin-bottom: 40px;
}

/* Footer */
.main-footer {
    background-color: #2c3e50; /* Darker footer */
    color: #fff;
    text-align: center;
    padding: 30px 0;
}

.main-footer p {
    margin: 0;
    font-size: 1em;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-header .container {
        flex-direction: column;
    }

    .main-header nav ul {
        margin-top: 15px;
    }

    .main-header nav ul li {
        margin: 0 10px;
    }

    .hero-section h2 {
        font-size: 3em;
    }

    .hero-section p {
        font-size: 1.1em;
    }

    .featured-bikes-section h3,
    .how-it-works-section h3,
    .contact-section h3 {
        font-size: 2.5em;
    }

    .bike-grid,
    .steps-grid {
        grid-template-columns: 1fr;
    }

    .bike-card {
        padding: 20px;
    }

    .booking-options input[type="date"] {
        width: calc(100% - 20px);
    }
}

@media (max-width: 480px) {
    .main-header .container {
        padding: 0 15px;
    }

    .logo {
        font-size: 1.5em;
    }

    .main-header nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }

    .main-header nav ul li {
        margin: 5px 8px;
    }

    .hero-section h2 {
        font-size: 2.2em;
    }

    .hero-section p {
        font-size: 0.9em;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9em;
    }

    .featured-bikes-section h3,
    .how-it-works-section h3,
    .contact-section h3 {
        font-size: 2em;
    }

    .bike-card h4 {
        font-size: 1.5em;
    }

    .bike-price {
        font-size: 1.2em;
    }

    .step-icon {
        width: 60px;
        height: 60px;
        font-size: 2em;
    }

    .step-card h4 {
        font-size: 1.4em;
    }
}