body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
    background: #000;
    color: white;
}

.loader-container {
    position: fixed;
    width: 100%;
    height: 100vh;
    background: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.text-container {
    font-size: 10rem;  /* Increased from 6rem to 10rem */
    font-weight: 900;
    letter-spacing: 4px;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    height: 100vh;
}

.text-left, .text-right {
    display: inline-block;
    position: relative;
    transition: all 1.5s ease-out;  /* Faster animation: reduced from 2s to 1.5s */
}

.text-left.split {
    transform: translateX(-150vw) scale(5);  /* Increased scale from 3 to 5 */
    opacity: 0;
}

.text-right.split {
    transform: translateX(150vw) scale(5);  /* Increased scale from 3 to 5 */
    opacity: 0;
}

.car {
    position: fixed;
    bottom: -100px;
    left: 50%;
    fill: white;
    transform: translateX(-50%) scale(1.5);
    transition: bottom 1s ease-out;  /* Reduced from 1.5s to 1s */
    z-index: 1001;
}

.text-left, .text-right {
    display: inline-block;
    position: relative;
    transition: all 1s ease-out;  /* Reduced from 1.5s to 1s */
}

.text-left.split {
    transform: translateX(-150vw) scale(5);  /* Increased scale from 3 to 5 */
    opacity: 0;
}

.text-right.split {
    transform: translateX(150vw) scale(5);  /* Increased scale from 3 to 5 */
    opacity: 0;
}

.car {
    position: fixed;
    bottom: -100px;
    left: 50%;
    fill: white;
    transform: translateX(-50%) scale(1.5);
    transition: bottom 1.5s ease-out;  /* Faster animation: reduced from 2s to 1.5s */
    z-index: 1001;
}

.car.animate {
    bottom: 100vh;
}

.content {
    opacity: 0;
    transition: opacity 0.5s ease-in;
    color: white;
    position: relative;
    height: 100vh;
    overflow: hidden;
}

.background-text {
    position: fixed;
    font-size: 40rem;
    font-weight: 900;
    color: white;
    opacity: 0.3;
    white-space: nowrap;
    bottom: -20%;  /* Add this to position from bottom */
    left: -10%;    /* Add this to adjust horizontal position */
    transform: none;  /* Remove the previous transform */
    z-index: -1;
}

.main-container {
    display: flex;
    height: 100vh;
    padding: 2rem;
}

.form-section {
    width: 50%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
}

.input-container input {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.1rem;
    outline: none;
}

.datetime-container {
    display: flex;
    gap: 1rem;
}

.datetime-row {
    display: flex;
    gap: 1rem;
}

.date-input {
    width: 65%;
    background: transparent;
}

.time-input {
    width: 35%;
    background: transparent;
}

.button-row {
    display: flex;
    gap: 1rem;
}

.price-button {
    width: 35%;
    background: white;
    color: black;
}

.login-button {
    width: 65%;
    background: transparent;
    color: white;
    border: 1px solid white;
}
.date-input, .time-input {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.2rem;
    border-radius: 8px;
    border: none;
    color: white;
    font-size: 1.1rem;
    outline: none;
}

.date-input {
    width: 65%;
    margin-right: 1rem;
}

.time-input {
    width: 35%;
}

.price-button {
    width: 35%;
    padding: 1.2rem;
    background: white;
    color: black;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-right: 1rem;
}

.login-button {
    width: 65%;
    padding: 1.2rem;
    background: transparent;
    color: white;
    border: 1px solid white;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s;
}

.login-button:hover {
    background: rgba(255, 255, 255, 0.1);
}

.price-button:hover {
    background: #f0f0f0;
}

.map-section {
    width: 50%;
    padding: 2rem;
    height: 70vh;  /* Added height to make map smaller */
}

#map {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-top: 2rem;  /* Added margin to push map down a bit */
}

.form-section {
    width: 50%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 70vh;
    margin-top: 2rem;  /* Added margin to align with map */
}

.input-container {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.2rem;  /* Slightly increased padding */
    border-radius: 8px;
    margin-top: 0.5rem;  /* Added small spacing between containers */
}

.input-container input {
    width: 100%;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.1rem;
    outline: none;
}

.price-button {
    width: 100%;
    padding: 1.2rem;  /* Matched padding with input containers */
    background: white;
    color: black;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: background-color 0.3s;
    margin-top: 0.5rem;  /* Added small spacing */
}

.price-button:hover {
    background: #f0f0f0;
}

.map-section {
    width: 50%;
    padding: 2rem;
    height: 70vh;  /* Added height to make map smaller */
}

#map {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    margin-top: 2rem;  /* Added margin to push map down a bit */
}

.form-section {
    width: 50%;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    height: 70vh;  /* Added to match map height */
}

/* Update existing styles */
.content.visible {
    opacity: 1;
}
.text-split {
    position: relative;
    transition: clip-path 0.5s ease-out;
}

.text-split.split {
    clip-path: inset(0 0 50% 0);
}

.text-split::after {
    content: 'UBER';
    position: absolute;
    top: 0;
    left: 0;
    clip-path: inset(50% 0 0 0);
    transition: transform 0.5s ease-out;
}

.text-split.split::after {
    transform: translateY(100%);
}

@media (max-width: 768px) {
    .text-container {
        font-size: 6rem;  /* Increased from 4rem to 6rem */
    }
}

@media (max-width: 480px) {
    .text-container {
        font-size: 4rem;  /* Increased from 3rem to 4rem */
    }
}
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
}

.about-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.3s;
}

.about-link:hover {
    opacity: 0.8;
}

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

.nav-link {
    color: white;
    text-decoration: none;
    font-size: 1rem;
    transition: opacity 0.3s;
}

.nav-link:hover {
    opacity: 0.8;
}

.menu-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    width: 30px;
    height: 24px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0;
}

.menu-btn span {
    display: block;
    height: 2px;
    width: 100%;
    background-color: white;
    transition: all 0.3s;
}

.menu-btn:hover span {
    opacity: 0.8;
}
.menu-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}
/* Add these media queries at the end of your CSS file */

@media (max-width: 1024px) {
    .background-text {
        font-size: 30rem;
    }

    .main-container {
        padding: 1rem;
    }

    .form-section, .map-section {
        padding: 1.5rem;
    }
}

@media (max-width: 768px) {
    .main-container {
        flex-direction: column;
    }

    .form-section, .map-section {
        width: 100%;
        height: auto;
        margin-top: 4rem;
    }

    .map-section {
        height: 50vh;
    }

    .background-text {
        font-size: 20rem;
        bottom: -10%;
    }

    .text-container {
        font-size: 8rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .date-input {
        width: 60%;
    }

    .time-input {
        width: 40%;
    }
}

@media (max-width: 480px) {
    .main-header {
        padding: 1rem;
    }

    .logo-section {
        gap: 1rem;
    }

    .nav-links {
        gap: 0.5rem;
    }

    .text-container {
        font-size: 6rem;
    }

    .background-text {
        font-size: 15rem;
        bottom: -5%;
    }

    .form-section {
        margin-top: 3rem;
    }

    .input-container {
        padding: 1rem;
    }

    .datetime-row, .button-row {
        flex-direction: column;
        gap: 0.5rem;
    }

    .date-input, .time-input, .price-button, .login-button {
        width: 100%;
        margin-right: 0;
    }

    .about-link {
        display: none;
    }
}

@media (max-height: 700px) {
    .form-section {
        gap: 0.5rem;
    }

    .input-container {
        margin-top: 0.25rem;
    }

    .map-section {
        height: 45vh;
    }
}