/* General Styles */
body {
    font-family: 'Arial', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #ffffff;
    color: #333;
    box-sizing: border-box;
}

/* Event Image Section */
.event-image-section {
    text-align: center;
    padding: 20px;
    padding-top: 100px;
}

.event-image-section img {
    width: 70%;
    height: auto;
    margin: 0 auto;
    border-radius: 15px;
    box-sizing: border-box;
    display: block;
}

/* Event Title and Details Section */
.event-details-section {
    padding: 20px 240px;
    background-color: #ffffff;
    border-top: 1px solid #ddd;
    border-radius: 15px;
}

/* Event Title Container */
.event-title-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.event-title-container h1 {
    font-size: 2.5rem;
    margin: 0;
    color: #333;
}

.buy-ticket-btn, .back-btn {
    padding: 10px 20px;
    background-color: #ff3c00;
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    text-align: center;
    white-space: nowrap;
}

.buy-ticket-btn:hover, .back-btn:hover {
    background-color: #e02e00;
}

/* Event About Section */
.event-about {
    margin-bottom: 60px; 
}

.event-about h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #ff3c00;
}

.event-about p {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #666;
}

/* Event Date and Location Specific Styles */
.event-date, .event-location {
    margin-bottom: 60px; 
}

.event-date h2, .event-location h2 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: #ff3c00;
    /* text-transform: uppercase; */
    letter-spacing: 1px;
    padding-bottom: 5px;
}

.event-date p, .event-location p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #666;
    margin-left: 40px;
    padding: 10px 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    color: #333;
}




/* Icon Styling */
.icon {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    vertical-align: middle;
}

/* Back Button Section */
.back-btn-section {
    text-align: right;
    padding-right: 240px; 
    margin-top: -30px; 
    margin-bottom: 40px; 
}



/* Add subtle hover effect for the date and location sections */
.event-date p:hover, .event-location p:hover {
    background-color: #fff;
    box-shadow: 0 6px 10px rgba(0, 0, 0, 0.15); 
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}


@media (max-width: 1024px) {
    .event-details-section {
        padding: 20px 80px; /* Reduce padding for tablet-sized screens */
    }

    .back-btn-section {
        padding-right: 80px; /* Adjust the back button padding for tablets */
    }
    
}

@media (max-width: 768px) {
    .event-details-section {
        padding: 20px 40px; /* Further reduce padding for smaller screens */
    }

    .back-btn-section {
        padding-right: 40px; /* Adjust back button padding for smaller screens */
    }

    .event-title-container {
        flex-direction: column; /* Stack title and button vertically */
        align-items: flex-start; 
    }

    .event-title-container h1 {
        font-size: 2rem; /* Adjust the font size for smaller screens */
    }

    .buy-ticket-btn {
        margin-top: 20px; /* Add margin to separate the button from the title */
        align-self: flex-start; /* Align the button to the start */
    }

    .event-date p, .event-location p {
        margin-left: 0; /* Remove left margin on smaller screens */
    }
}

@media (max-width: 480px) {
    .event-image-section img {
        width: 90%; /* Increase image width for very small screens */
    }

    .event-title-container h1 {
        font-size: 1.8rem; /* Further adjust the font size for small screens */
    }

    .event-details-section {
        padding: 40px; /* Minimal padding for mobile screens */
    }

    .event-date h2, .event-location h2 {
        font-size: 1.1rem; /* Adjust heading sizes for small screens */
    }

    .event-about h2 {
        font-size: 1rem; /* Adjust about section heading size */
    }

    .event-about p, .event-date p, .event-location p {
        font-size: 1rem; /* Adjust paragraph font size */
    }

    .back-btn-section {
        padding-right: 20px; /* Minimal padding for the back button on mobile */
    }
}
