/* GLOBAL STYLES */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: #121212; /* Dark theme */
    color: #fff;
    font-size: 16px;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}

/* 🔹 HEADER SECTION */
.header {
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
}

.logo img {
    height: 60px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 18px;
}

.nav-links a:hover {
    color: #f39c12;
}

/* 🔹 HERO SECTION (BANNER) */
.hero {
    position: relative;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 400px;
    overflow: hidden;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    filter: brightness(70%);
}

.hero-text {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: bold;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 20px;
}

/* 🔹 CONTAINER FIX */
.events-container {
    display: flex;
    justify-content: center;
    align-items: flex-start; 
    gap: 20px; /* Space between cards */
    padding: 40px 0;
    flex-wrap: wrap; /* Allows responsiveness */
    max-width: 90%; /* Ensures full width */
    margin: auto; /* Centers content */
}

.upcoming-shows {
    display: flex;
    justify-content: center;  /* Centers content */
    flex-wrap: wrap;  /* Allows wrapping if needed */
    gap: 20px;  /* Space between items */
    padding: 20px;
}

/* 🔹 EVENT CARDS */
.event-card {
    background: #222;
    color: #fff;
    border-radius: 10px;
    padding: 15px;
    width: 300px; /* Set a fixed width for balance */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease-in-out;
}

/* 🔹 EVENT IMAGE FIX */
.event-card img {
    width: 100%;
    border-radius: 8px;
    object-fit: cover; /* Ensures images don’t stretch */
    height: 200px; /* Keep a consistent height */
}

.event-card:hover {
    transform: scale(1.05);
}

.event-card h3 {
    margin-top: 10px;
    font-size: 20px;
}

.event-card p {
    font-size: 14px;
    color: #bbb;
}

/* Center the section titles */
.section-title {
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    color: white;
}

/* Center the description text under each title */
.section-description {
    text-align: center;
    font-size: 16px;
    color: #ccc;
    margin-bottom: 20px;
}

/* 🔹 BUTTON STYLING */
.btn {
    display: inline-block;
    background: #d32f2f; /* Red color for urgency */
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 6px;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

/* 🔹 HOVER EFFECT */
.btn:hover {
    background: #b71c1c; /* Darker red */
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.book-now-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 15px;
    background-color: #e74c3c;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
}

.book-now-btn:hover {
    background-color: #c0392b;
}

/* 🔹 FOOTER */
.footer {
    background-color: #111;
    padding: 20px;
    text-align: center;
    margin-top: 40px;
}

.footer p {
    color: #ccc;
    font-size: 14px;
}

.success-message {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #28a745; /* Green background */
    color: white; /* White text */
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    z-index: 1000;
    width: 80%;
    max-width: 600px;
    display: block;
    animation: fadeOut 5s forwards;
}

.error-message {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background-color: #b71c1c; /* Red background */
    color: white; /* White text */
    padding: 15px 20px;
    border-radius: 5px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.1);
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    z-index: 1000;
    width: 80%;
    max-width: 600px;
    display: block;
    animation: fadeOut 5s forwards;
}

/* Fade out animation */
@keyframes fadeOut {
    0% {
        opacity: 1;
    }

    80% {
        opacity: 1;
    }

    100% {
        opacity: 0;
        display: none;
    }
}
