#hero-content h1::before{
    content: "Big Events, Big Fun!";
    color: white;
    position: absolute;
    top: -3px;
    left: -5px;
    -webkit-text-stroke: 2px black;
    z-index: -1;
}
#panel2{
    height: auto;
    width: 100%;
    position: relative;
    z-index: 10;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 3rem;
}
.events-section{
    height: auto;
    width: 90%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-radius: 2rem;
    border: 2px solid white;
}
.events-head{
    height: 4rem;
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}
.h-ele{
    position: relative;
    height: 100%;
    background-color: #C2B280;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50%;
    border-bottom: 2px solid white;
    z-index: 9;
    cursor: pointer;
}
#Upcoming{
    position: relative;
    border-radius: 2rem 0 0 0;
    &:hover{
        background-color: #A38764;
    }
}
#Previous{
    position: relative;
    border-radius: 0 2rem 0 0;
    border-left: 2px solid white;
    &:hover{
        background-color: #A38764;
    }
}
.events-items{
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 2rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
}
.item-box{
    height: 29rem;
    width: 25%;
    border-radius: 1rem;
    padding: 1rem;
    background-color: white;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    text-align: center;
}
.item-box img{
    height: 12rem;
    width: 100%;
    border-radius: 1rem;
    margin-bottom: 1rem;
    align-self: center;
    object-fit: cover;
}
.item-box h3{
    margin-bottom: 5px;
    color: #800020;
}
.item-box p{
    margin-bottom: 10px;
    color: #6F4E37;
}
.item-box h4{
    color: #6F4E37;
    cursor: pointer;
}
.item-box:hover h4 {
    color: blue;
}
.reserve-btn{
    width: 100%;
    border-top: 2px solid gray;
    display: flex;
    justify-content: center;
    align-items: center;
}
.reserve-btn button {
    padding: 1rem 2rem;
    background-color: blue;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    border-style: solid;
    font-weight: 700;
    transition: background-color 0.3s ease;
    margin-top: 3rem;
    margin-bottom: 3rem;
    cursor: pointer;
}

.reserve-btn button:hover {
    background-color: blue;
    color: white;
    transform: scale(1.05);
}
/* reservation btn and subscription section css */
#panel3{
    width: 100%;
    height: auto;
    padding-top: 5rem;
    padding-bottom: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}
.reserve-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
}

.subscribe-section {
    background-color: transparent;
    padding: 2rem;
    border-radius: 0.5rem;
    text-align: center;
    border: 2px solid #ddd;
}

.subscribe-section h3 {
    margin-bottom: 1rem;
    color: #ddd;
}

.subscribe-form input {
    margin: 0.5rem 0;
    padding: 0.8rem;
    border: 2px solid #ddd;
    border-radius: 0.3rem;
    width: 100%;
    color: white;
    background-color: transparent;
    font-size: 1rem;
}

.subscribe-form button {
    font-weight: 700;
    margin-top: 1rem;
    padding: 1rem;
    background-color: transparent;
    color: #ddd;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    border: 2px solid #ddd;
}

.subscribe-form button:hover {
    background-color: #dddddd25;
}
#successMessage {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #28a745; /* Green background */
    color: white;
    border-radius: 0.3rem;
    text-align: center;
    display: none; /* Hide by default */
}

.hidden {
    display: none;
}

@media only screen and (max-width: 600px) {
    .events-head{
        height: 3rem;
    }
    .h-ele{
        height: 3rem;
    }
    .events-items{
        gap: 1rem;
        padding-top: 1.5rem;
        padding: 1.5rem 1rem;
    }
    .h-ele h2{
        font-size: 0.95rem;
    }
    .item-box{
        width: 100%;
        height: auto;
        padding: 0.5rem;
    }
    .item-box img{
        height: 8rem;
        width: 100%;
        margin-bottom: 0.5rem;
    }
    .item-box h3{
        font-size: 1rem;
    }
    .item-box p{
        font-size: 0.7rem;
        font-weight: 800;
    }
    .item-box h4{
        font-size: 0.7rem;
    }
    .reserve-btn{
        height: 5rem;
    }
    .reserve-btn button{
        height: 2.5rem;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    #panel3{
        padding-top: 2rem;
    }
}