﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(180deg, #185c9b 0%, #5daffb 100%);
    min-height: 100vh;
    color: #ffffff;
}

/* Layout components */
.main-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    min-height: 100vh;
    padding: 16px;
}

.header-section {
    margin-top: 18px;
    margin-right: 18px;
    margin-left: 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    gap: 16px;
}

.header-row {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    /*width: 100%;*/
    gap: 16px;
}

.logo-image {
    width: 40px;
    height: 34px;
}

.brand-content {
    padding-right: 10px;
    padding-left: 10px;
    display: flex;
    /*flex-direction: column;*/
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    gap: 8px;
}

.brand-letters {
    display: flex;
    gap: 2px;
    justify-content: center;
    align-items: center;
    width: auto;
}

    .brand-letters img {
        width: 12px;
        height: 20px;
    }

        .brand-letters img:nth-child(7) {
            width: 16px;
            height: 20px;
        }

.entertainment-text {
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 21px;
    text-align: center;
    text-transform: uppercase;
    color: #ffffff;
    /*margin-bottom: 6px;*/
    margin-top: 20px;
}

.usa-text {
    font-size: 24px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    line-height: 36px;
    text-align: center;
    text-transform: uppercase;
    color: #ffffff;
    margin-top: 20px;
}

.content-section {
    margin-right: 90px;
    margin-left: 90px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    gap: 16px;
}

.event-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    box-shadow: 0px 4px 10px #888888ff;
    border-radius: 20px;
    background-color: rgb(96 92 92 / 25%);
    padding: 12px;
    /*background-image: url('../img/bg_img_new.png');*/
    background-repeat: round;
    background-size: auto 100%;
}

.event-image {
    align-self: center;
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 12px;
}

.event-details {
    margin-top: 6px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: flex-start;
    align-items: center;
    width: 70%;
}

.event-title {
    font-size: 24px;
    font-family: 'Shrikhand', cursive;
    font-weight: 400;
    line-height: 36px;
    text-align: center;
    color: #ea8500;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
}

.event-info {
    margin-right: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
}

.info-text {
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    line-height: 21px;
    text-align: left;
    color: #ffffff;
}

.booking-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    width: 100%;
    gap: 16px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.contact-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    gap: 6px;
}

.contact-label {
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    line-height: 21px;
    text-align: left;
    color: #ffffff;
}

.contact-value {
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 21px;
    text-align: left;
    color: rgba(255, 255, 255, 0.25);
    margin-left: 6px;
}

.contact-line {
    width: 100%;
    height: 1px;
    background-color: #ffffff;
}

.rate-text {
    margin-top: 12px;
    font-size: 16px;
    font-family: 'Shrikhand', cursive;
    font-weight: 400;
    line-height: 24px;
    text-align: left;
    color: #ea8500;
}

.ticket-section {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.total-rate {
    margin-top: 14px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 400;
    line-height: 21px;
    text-align: left;
    color: #ffffff;
}

.pay-button {
    margin-top: 50px;
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    line-height: 21px;
    text-align: center;
    color: #ffffff;
    width: 100%;
    border-radius: 10px;
    background-color: #ea8500;
    padding: 12px 24px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

    .pay-button:hover {
        background-color: #d17700;
        transform: scale(1.02);
    }

    .pay-button:active {
        transform: scale(0.98);
    }
.centerfont {
    font-size: 20px;
    margin-top: 10px;
}

/* Responsive media queries */
@media (min-width: 640px) {
    .main-container {
        gap: 20px;
        padding: 24px;
    }    
    .header-section {
        margin-top: 24px;
        margin-right: 24px;
        margin-left: 24px;
    }

    .header-row {
        flex-direction: row;
        gap: 24px;
    }

    .logo-image {
        width: 48px;
        height: 40px;
    }

    .brand-letters img {
        width: 15px;
        height: 24px;
    }

        .brand-letters img:nth-child(7) {
            width: 18px;
            height: 24px;
        }

    .entertainment-text {
        font-size: 16px;
        line-height: 24px;
    }

    .usa-text {
        font-size: 32px;
        line-height: 48px;
    }

    .content-section {
        margin-right: 120px;
        margin-left: 120px;
    }

    .event-card {
        flex-direction: row;
        gap: 18px;
        padding: 15px;
        background-size: auto 80%;
        /*background-image: none;
        background-color: rgb(170 168 168 / 25%);*/
        /*background-image: url('../img/bg_image.png');*/
    }

    .event-image {
        max-width: 350px;
    }

    .event-title {
        font-size: 30px;
        line-height: 44px;
    }

    .info-text {
        font-size: 15px;
        line-height: 22px;
    }

    .contact-label, .contact-value {
        font-size: 15px;
        line-height: 22px;
    }

    .rate-text {
        font-size: 18px;
        line-height: 27px;
    }

    .total-rate {
        font-size: 15px;
        line-height: 22px;
    }

    .pay-button {
        font-size: 15px;
        line-height: 22px;
        padding: 14px 28px;
    }
    /*.modal-content {
        width: 55%;
    }*/
    .contact-item {
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }

    .contact-label {
        font-size: 15px;
    }
}

@media (min-width: 768px) {
    .brand-content {
        padding-right: 12px;
        padding-left: 12px;
    }

    .event-info {
        margin-right: 12px;
    }

    .event-details {
        gap: 14px;
    }

    .event-info {
        gap: 24px;
    }

    .contact-list {
        gap: 18px;
    }

    .contact-item {
        gap: 7px;
    }
   
       /* .modal-content {
            width: 60%;
        }*/
    .contact-row {
        gap: 10px;
    }

    .contact-label {
        font-size: 16px;
        line-height: 24px;
    }
    .event-card {
        background-size: auto 80%;
    }
    
}
@media (max-width: 684px) {
    .event-card {
        background-image: none;
    }
}

@media (min-width: 1024px) {
    .main-container {
        gap: 20px;
        padding: 32px;
    }

    .header-section {
        margin-top: 30px;
        margin-right: 30px;
        margin-left: 30px;
    }

    .logo-image {
        width: 56px;
        height: 48px;
    }

    .brand-content {
        padding-right: 16px;
        padding-left: 16px;
    }

    .brand-letters {
        gap: 4px;
    }

        .brand-letters img {
            width: 18px;
            height: 28px;
        }

            .brand-letters img:nth-child(7) {
                width: 22px;
                height: 28px;
            }

    .entertainment-text {
        font-size: 20px;
        line-height: 30px;
        margin-bottom: 8px;
    }

    .usa-text {
        font-size: 40px;
        line-height: 60px;
    }

    .content-section {
        margin-right: 148px;
        margin-left: 148px;
    }

    .event-card {
        gap: 22px;
        padding: 18px;
        background-size: 100% 100%;
    }

    .event-image {
        max-width: 444px;
    }

    .event-details {
        margin-top: 10px;
        gap: 16px;
    }

    .event-title {
        font-size: 37px;
        line-height: 54px;
    }

    .event-info {
        margin-right: 14px;
        gap: 32px;
    }

    .info-text {
        font-size: 16px;
        line-height: 24px;
    }

    .contact-list {
        gap: 22px;
    }

    .contact-item {
        gap: 8px;
    }

    .contact-label, .contact-value {
        font-size: 16px;
        line-height: 24px;
    }

    .rate-text {
        margin-top: 16px;
        font-size: 20px;
        line-height: 30px;
    }

    .ticket-section {
        margin-top: 28px;
        gap: 8px;
    }

    .total-rate {
        margin-top: 20px;
        font-size: 16px;
        line-height: 24px;
    }

    .pay-button {
        /*margin-top: 64px;*/
        font-size: 16px;
        line-height: 24px;
        padding: 16px 34px;
    }
    /*.modal-content {
        width: 60%;
    }*/
    .contact-item {
        gap: 12px;
    }

    .contact-label {
        font-size: 17px;
    }
}

@media (min-width: 1280px) {
    .event-card {
        flex-direction: row;
        background-size: cover;
    }

    .booking-section {
        align-self: flex-end;
    }
    /*.modal-content {
        width: 550px;*/ /* Or any fixed value you prefer */
    /*}*/
    .contact-item {
        justify-content: space-between;
    }

    .contact-label {
        font-size: 18px;
    }
}
.modal {
    display: none;
    position: fixed;
    z-index: 1;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background: #fff;
    margin: 15% auto;
    padding: 10px;
    width: 425px;
    border-radius: 8px;
    text-align: center;
    position: relative;
    overflow-y: auto;
    overflow-x: auto;
}

.closeBtn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 22px;
    cursor: pointer;
}

.summary {
    font-size: medium;
    color: black;
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: -webkit-left;
}

#loaderOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

    /* Hide the overlay by default (it will be shown via JavaScript) */
    #loaderOverlay .spinner-border {
        width: 3rem;
        height: 3rem;
        border-width: 0.3rem;
    }

.loader {
    border: 4px solid #f3f3f3; /* Light grey background */
    border-top: 4px solid #3498db; /* Blue color for the spinner */
    border-radius: 50%;
    width: 50px;
    height: 50px;
    animation: spin 2s linear infinite; /* Animation for rotation */
    margin: auto; /* Centering the spinner */
    display: block;
}

/* Define the keyframe animation for spinning */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.header-row {   
    z-index: 9999;
}
/* For Samsung Galaxy Z Fold 4 cover display (folded mode) */
@media screen and (max-width: 400px) {
    .event-details,
    .contact-item,
    .event-card {
        flex-direction: column !important;
        align-items: center !important;
    }

    .contact-label,
    .form-label,
    .centerfont {
        font-size: 16px !important;
        text-align: center;
    }

    .event-card {
        padding: 10px !important;
        background-size: cover;
        margin: 0 8px;
    }

    textarea.form-control {
        font-size: 12px;
    }
}

/* For Samsung Galaxy Z Fold 4 main screen (unfolded mode ~844px) */
@media screen and (min-width: 800px) and (max-width: 880px) {
    .event-card {
        flex-direction: row;
        gap: 20px;
        padding: 18px;
        background-size: auto 90%;
    }

    .event-details {
        width: 65% !important;
        gap: 16px;
    }

    .event-image {
        max-width: 360px;
        width: 100%;
    }

    .centerfont,
    .contact-label,
    .form-label {
        font-size: 18px;
    }

    .contact-row {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
    }

    textarea.form-control {
        font-size: 14px;
    }
}
/*textarea.form-control {
    resize: none;
    overflow-y: auto;
    width: 100%;
    white-space: pre-wrap;
    background-color: #1a1a1a;
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.2);
    font-family: 'Poppins', sans-serif;
}*/
