@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@100..900&family=Pacifico&display=swap');

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Lexend", sans-serif;
}

body{
    background: #111010;
    height: 100%;
    overflow-x: hidden;
}


/* Header */
/* Hero Section */

.hero{
    height: 100%;
    width: 100%;
    overflow: hidden;
    position: relative;
}

/* Slider Wrapper */
.slide-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 80vh;
    transition: 1s linear;
    z-index: 2;
    padding: 20px;
}
.slide-item::before{
    content: '';
    position: absolute;
    width: 100%;
    height: 60%;
    background: linear-gradient(0deg, #111010, transparent);
    bottom: 0;
    left: 0;
    z-index: -1;
}

.slide-item::after{
    content: '';
    position: absolute;
    width: 30%;
    height: 100%;
    background: linear-gradient(90deg, rgba(17,16,16,1) 0%, rgba(0,0,0,0) 85%, rgba(0,0,0,0) 91%);    top: 0;
    left: 0;
    z-index: -1;
}


.content{
    width: 100%;
    z-index: 20;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.content h1{
    color: #fff;
    font-size: 40px;
    margin-bottom: 10px;
    transition: 1s linear;
    -webkit-text-stroke: 1px rgba(0, 0, 0, 0.308);
}

.content h3 {
    color: #ffffffb4;
    font-size: 14px;
    transition: 1s linear;
    margin-bottom: 5px;
}

.content h3 span{
    color: #ffffff;
}


.content p{
    width: 80%;
    word-break:keep-all;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
    margin: 30px 0;
    padding-right: 20%;
    transition: 1s linear;
    
}

.content .slide-btn{
    padding: 13px 0;
    width: 240px;
    border-radius: 5px;
    margin-top: 45px;
    display: block;
    background-image: linear-gradient(45deg, #FF512F 0%, #F09819  51%, #FF512F  100%);
    background-size: 200% auto;
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    box-shadow: 0px 0px 14px -7px #f09819;
    touch-action: manipulation;
    cursor: pointer;
    text-align: center;
    transition: 0.5s;
}

.content .slide-btn:hover{
    background-position: right center;
    /* change the direction of the change here */
    color: #fff;
    text-decoration: none;
}

.slider-navigation a{
    position: absolute;
    top: calc(70vh/2);
    height: 50px;
    width: 50px;
    border-radius: 50%;
    text-align: center;
    background: #00000041;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 36px;
    padding-top: 7px;
    z-index: 777;
    transition: color 0.3s ease, background 0.3s ease;
}

.slider-navigation a:hover{
    background: #020202;
    color: #fff;
}

.slider-navigation #prev-btn {
    left: 10px;
}

.slider-navigation #next-btn {
    right: 10px;
}

.slider-controls{
    position: absolute;
    bottom: 0;
    z-index: 777;
}

.swiper-pagination {
    position: absolute;
    bottom: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    z-index: 10;
}

.swiper-pagination-bullet {
    background: #fff;
    width: 40px;
    height: 5px;
    margin: 0 5px;
    border-radius: 0;
    transition: background 0.4s ease;
}

.swiper-pagination-bullet-active {
    background: #ff9100;
}

/* For Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .slider-navigation{
        display: none;
    }
}
/* Category Button */
.category {
    margin-top: 20px;
    padding: 20px 50px;
}

.category-nav {
    width: 100%;
    /* border: 1px solid #ddd; */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); */
}

.categories-list {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    /* border: 1px solid black; */
}

.category-btn {
    padding: 5px 10px;
    font-size: 16px;
    text-align: center;
    background-color: #fff;
    border: 1px solid #b4b3b3;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.category-btn:hover {
    border:none;
    background-color: #ff9100;
    color: #fff;
}

.category-btn.active {
    background-color: #ff9100;
    color: #fff;
    font-weight: bold;
}



/* Categories */

.category .featured {
    height: auto;
    width: 100%;
    /* display: flex; */
}

.featured .category-container{
    width: 100%;
    margin: 20px;
}

.featured .category-container .list-event{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap : 20px;
    padding: 10px;
}


.list-event .event-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    max-width: 200px;
    height: 300px;
    padding: 10px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.list-event .event-card img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    object-position: center;
    border-radius: 5px;
}

.list-event .event-card h3 {
    font-size: 16px;
    margin: 10px 0;
    color: #333;
}

.list-event .event-card p {
    font-size: 14px;
    color: #666;
    margin: 5px 0;
}

.list-event .event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px #ff9100;
}

/* View More Button */
.view-all {
    text-align: center;
    margin-top: 10px;
}

.view-all button {
    padding: 10px 20px;
    background-color: #ff9100;
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.view-all button:hover {
    background-color: #914600;
    transform: scale(1.05);
}

/* Upcoming Event */

.upcoming-events {
    padding: 40px 20px;
    background-color: #ff9100;
}

.section-header {
    text-align: center;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 2rem;
    color: #ffffff;
}

.section-header p {
    color: #ffffff;
    font-size: 1rem;
}

.event-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap : 20px;
    padding: 10px;
}

.event-grid .event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px #000000;
}

/* try try */
.event-grid .event-card {
    position: relative;
    width: 200px; /* Example size */
    height: 200px; /* Example size */
    overflow: hidden;
    /* border: 1px solid #ccc; */
    border-radius: 10px;
    transition: transform 0.3s ease;
}

.event-grid .event-card:hover {
    transform: scale(1.05); /* Optional: Add scaling effect on hover */
}

.event-grid .event-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.event-grid .event-card-content {
    padding: 10px;
    background-color: #fff;
    height: 40%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.event-grid .event-card-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
    color: #fff;
    display: flex;
    justify-content: center;
    text-align: center;
    align-items: center;
    opacity: 0; /* Initially hidden */
    pointer-events: none; /* Prevent interaction when not visible */
    transition: opacity 0.3s ease;
}

.event-grid .event-card:hover .event-card-content {
    opacity: 1; /* Show on hover */
    pointer-events: auto;
}

/* Countdown */
.event-countdown {
    text-align: center;
    padding: 20px;
    background-color: #f5f5f5;
    border-radius: 8px;
    margin: 20px auto;
    max-width: 600px;
}
#countdown-timer {
    font-size: 2rem;
    font-weight: bold;
    color: #333;
}

/* Responsive Design */
@media (max-width: 1024px) {

    .category-container {
        flex: 1 1 calc(50% - 20px); /* Two containers per row */
    }

    .list-event {
        justify-content: center; /* Center event cards */
    }

    .event-card {
        flex: 1 1 calc(50% - 20px); /* Two event cards per row */
    }

    .event-grid .event-card-content{
        opacity: 1;
    }
}

/* For Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .category{
        justify-content: space-between;
    }
    .featured{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 90%;
        height: 105%;
    }

    .event-card {
        flex: 1 1 calc(100% - 20px); /* Single card per row */
    }

    .event-card img {
        height: 120px; /* Reduce image height */
    }

}

/* For Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .category{
        justify-content: space-between;
    }
    .featured{
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 10px;
        width: 100%;
        height: 105%;
    }
    .event-card {
        flex: 1 1 calc(100% - 20px); /* Single card per row */
    }

    .event-card img {
        height: 120px; /* Reduce image height */
    }

}

















