/* ================= GLOBAL RESET & FONTS ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: #333333;
    background-color: #ffffff;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ================= UTILITIES ================= */
.uber-container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px;
}

.icon-sm {
    width: 16px;
    height: 16px;
    vertical-align: middle;
}

.desktop-only {
    display: none;
}

@media (min-width: 768px) {
    .desktop-only {
        display: flex;
    }
}

/* ================= BUTTONS ================= */
.btn-black {
    background-color: black;
    color: white;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-black:hover {
    background-color: #333;
}

.btn-light {
    background-color: #f3f3f3;
    color: black;
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-light:hover {
    background-color: #e2e2e2;
}

.btn-block {
    display: block;
    width: 100%;
    text-align: center;
}

.btn-rounded {
    border-radius: 9999px;
    padding: 14px 28px;
    font-weight: 700;
}

.link-underline {
    border-bottom: 1px solid #e2e2e2;
    padding-bottom: 4px;
    transition: border-color 0.2s;
}

.link-underline:hover {
    border-color: black;
}

/* ================= NAVBAR ================= */
.navbar {
    background-color: black;
    color: white;
    height: 64px;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
}

.nav-container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    font-size: 24px;
    letter-spacing: -1px;
    color: white;
}

.nav-links {
    display: none; /* Mobile default */
    align-items: center;
    gap: 24px;
    font-size: 14px;
    font-weight: 500;
}

@media (min-width: 900px) {
    .nav-links {
        display: flex;
    }
}

.nav-item {
    cursor: pointer;
    padding: 8px 12px;
    border-radius: 9999px;
    transition: background-color 0.2s;
}

.nav-item:hover {
    background-color: #333;
}

.nav-right {
    display: none; /* Mobile default */
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
}

@media (min-width: 900px) {
    .nav-right {
        display: flex;
    }
}

.nav-btn-white {
    background-color: white;
    color: black;
    padding: 8px 16px;
    border-radius: 9999px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s;
}

.nav-btn-white:hover {
    background-color: #e2e2e2;
}

.mobile-menu-btn {
    display: block;
}

.mobile-menu-btn button {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

@media (min-width: 900px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* ================= MOBILE MENU ================= */
.mobile-menu {
    position: fixed;
    inset: 0;
    background-color: white;
    z-index: 2000;
    padding: 64px 24px 24px;
    display: flex;
    flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out;
}

.mobile-menu.open {
    transform: translateX(0);
}

.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 48px;
}

.mobile-auth-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ================= HERO SECTION ================= */
.hero-section {
    position: relative;
    padding-top: 64px; /* Account for navbar */
    background-color: white;
    overflow: hidden;
}

.hero-bg-image {
    width: 100%;
    height: 300px;
}

.hero-bg-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-content-wrapper {
    position: relative;
    margin-top: -60px; /* Pull card up over image on mobile */
    margin-bottom: 48px;
}

.request-card {
    background-color: white;
    padding: 24px;
    border-radius: 8px; /* Mobile rounded */
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

.request-card h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 32px;
}

/* Desktop Hero Overrides */
@media (min-width: 900px) {
    .hero-section {
        background-color: white;
    }
    
    .hero-bg-image {
        position: absolute;
        right: 0;
        top: 0;
        width: 66%;
        height: 100%;
    }
    
    .hero-content-wrapper {
        margin-top: 0;
        padding-top: 64px;
        padding-bottom: 64px;
    }
    
    .request-card {
        max-width: 500px;
        padding: 48px;
        border-radius: 0; /* Cleaner look on desktop often */
        box-shadow: none;
        border: 1px solid #e2e2e2;
    }
    
    .request-card h1 {
        font-size: 52px;
    }
}

/* Inputs */
.input-container {
    position: relative;
    margin-bottom: 24px;
}

.input-group {
    background-color: #f3f3f3;
    border-radius: 8px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}

.input-group input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    font-size: 16px;
    font-weight: 500;
    margin-left: 12px;
    font-family: inherit;
}

.input-icon-filled {
    width: 20px;
    height: 20px;
    fill: black;
}

.square-icon {
    width: 20px;
    height: 20px;
    background-color: black;
    color: white;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.input-arrow {
    width: 16px;
    height: 16px;
    color: #a0a0a0;
}

.connector-line {
    position: absolute;
    left: 20px;
    top: 35px;
    bottom: 35px;
    width: 2px;
    background-color: black;
    z-index: 1;
}

.schedule-link {
    display: inline-block;
    margin-top: 24px;
    font-weight: 500;
    border-bottom: 1px solid black;
    padding-bottom: 2px;
}

.schedule-link:hover {
    color: #555;
    border-color: #555;
}

/* ================= PROMO SECTION ================= */
.promo-section {
    background-color: #f3f3f3;
    padding: 48px 0;
}

.promo-card {
    background-color: white;
    padding: 24px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 24px;
    border: 1px solid #e2e2e2;
}

.promo-text h2 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.promo-text p {
    color: #5e5e5e;
    font-size: 14px;
}

@media (min-width: 768px) {
    .promo-card {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        padding: 32px;
    }
}

/* ================= FEATURES SECTION ================= */
.features-section {
    padding: 64px 0;
}

.feature-row {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 80px;
}

.feature-image img {
    width: 100%;
    border-radius: 12px;
}

.feature-text h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.feature-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #5e5e5e;
    margin-bottom: 24px;
}

@media (min-width: 900px) {
    .feature-row {
        flex-direction: row;
        align-items: center;
        gap: 64px;
    }
    .feature-image, .feature-text {
        flex: 1;
    }
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 48px;
    line-height: 1.2;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 900px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-card {
    background-color: white; /* or light gray depending on section */
    padding: 24px;
    border-radius: 12px;
    transition: box-shadow 0.2s;
    /* Optional: Uber sometimes has subtle borders */
    border: 1px solid transparent; 
}

.feature-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.feature-icon {
    width: 32px;
    height: 32px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
}

.feature-card p {
    color: #5e5e5e;
    font-size: 14px;
    margin-bottom: 24px;
    line-height: 1.5;
}

.card-link {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
    color: black;
}

/* ================= BUSINESS SECTION ================= */
.business-section {
    background-color: #f3f3f3;
    padding: 64px 0;
}

.business-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 900px) {
    .business-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.business-card {
    background-color: white;
    padding: 32px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.business-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
}

.business-card p {
    color: #5e5e5e;
    margin-bottom: 32px;
}

.business-card button {
    align-self: flex-start;
}

/* ================= APP SECTION ================= */
.app-section {
    background-color: #f6f6f6;
    padding: 64px 0;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
}

@media (min-width: 900px) {
    .app-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.app-card {
    background-color: white;
    padding: 24px;
    border: 1px solid #e2e2e2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: box-shadow 0.2s;
}

.app-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.app-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.app-icon-box {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

.app-icon-box.black {
    background-color: black;
    color: white;
}

.app-icon-box.white {
    background-color: white;
    color: black;
    border: 1px solid #e2e2e2;
}

.app-title {
    font-size: 20px;
    font-weight: 700;
}

.app-sub {
    color: #5e5e5e;
    font-size: 14px;
}

.arrow-light {
    color: #a0a0a0;
}

/* ================= FOOTER ================= */
.main-footer {
    background-color: black;
    color: white;
    padding-top: 64px;
    padding-bottom: 32px;
}

.footer-logo {
    font-size: 24px;
    margin-bottom: 48px;
}

.footer-help {
    margin-bottom: 32px;
}

.footer-help a {
    font-size: 14px;
}

.footer-help a:hover {
    text-decoration: underline;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 64px;
}

@media (min-width: 900px) {
    .footer-links-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.footer-column h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 24px;
}

.footer-column ul li {
    margin-bottom: 16px;
}

.footer-column ul li a {
    color: #a0a0a0;
    font-size: 14px;
}

.footer-column ul li a:hover {
    color: white;
}

.footer-social {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-bottom: 64px;
}

@media (min-width: 900px) {
    .footer-social {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.social-icons {
    display: flex;
    gap: 32px;
}

.social-icons a {
    padding: 8px;
    background-color: #333;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-icons a:hover {
    background-color: #444;
}

.footer-utils {
    display: flex;
    gap: 24px;
    font-size: 14px;
    color: #a0a0a0;
}

.util-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.util-item:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    font-size: 12px;
    color: #717171;
}

@media (min-width: 900px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
    }
}

.legal-links {
    display: flex;
    gap: 24px;
}

.legal-links a:hover {
    color: #a0a0a0;
}