/* Launch Section */
.launch-section {
    display: flex;
    flex-direction: row;
    align-items: center;
    background-color: #1A1A1A;
    color: white;
    min-height: 100vh;
    position: relative;
    overflow: hidden;
    height: 90vh; /* Ensure it fills most of the screen */
}

.launch-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
    z-index: 1;
}

/* Image Container */
.launch-img-con {
    flex: 1;
    z-index: 2;
    height: 100%;
    min-width: 50%;
    opacity: 0; /* Hidden by default for animation */
    transform: translateX(-50px); /* Start offscreen */
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.launch-img-con img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Launch Details */
.launch-detail {
    flex: 1;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    margin-left: 3rem;
    opacity: 0; /* Hidden by default for animation */
    transform: translateX(50px); /* Start offscreen */
    transition: opacity 1s ease-in-out, transform 1s ease-in-out;
}

.launch-detail-heading h1 {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: .5rem;
    color: #E5BC5D;
}

.launch-detail-heading h3 {
    font-size: 1.5rem;
    color: #FFFFFF;
}

.launch-detail ul {
    list-style-type: none;
    padding-left: 0;
}

.launch-detail ul li {
    font-size: 1rem;
    margin-top: .3rem;
    margin-bottom: .3rem;
    display: flex;
    align-items: center;
    color: #CCCCCC;
}

.launch-detail ul li span {
    font-size: 1.2rem;
    color: #E5BC5D;
    margin-right: 0.5rem;
}

/* Book Now Button */
.launch-detail button {
    font-size: 1.3rem;
    padding: 0.8rem 2rem;
    background-color: transparent;
    color: white;
    border: 2px solid #E5BC5D;
    cursor: pointer;
    transition: background-color 0.3s ease-in-out, color 0.3s ease-in-out;
}

.launch-detail button:hover {
    background-color: #FFFFFF;
    color: #1A1A1A;
}

/* Modal Styling */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: white;
    margin: 10% auto;
    padding: 20px;
    border-radius: 8px;
    width: 40%;
    text-align: center;
}

.close {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: red;
}

/* Responsive Design */
@media screen and (max-width: 960px) {
    .launch-section {
        flex-direction: column;
        padding: 2rem;
        text-align: center;
        height: auto;
    }

    .launch-img-con {
        width: 100%;
        margin-bottom: 2rem;
    }

    .launch-detail {
        align-items: center;
        margin-left: 0;
    }
}
