/* General Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #000;
    color: white;
}

body {
    margin: 0;
    font-family: 'Arial', sans-serif;
    background-color: #000;
    color: white;
    overflow-x: hidden;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    width: 100%;
    z-index: 100;
}

.menu-icon {
    display: none;
    cursor: pointer;
    font-size: 25px;
    color: white;
    text-align: right;
    right: 60px; 
    top: 20px;
    position: absolute;
}

.logo img {
    width: 150px;
    height: auto;
    margin-left: 100px;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 70px; 
    padding: 0;
    justify-content: flex-end; /* Align links to the right */
    overflow-x: hidden;
    margin-right: 100px;
}

.nav-links li {
    margin: 0 15px;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    position: relative;
    font-size: 25px;
}

.nav-links a::after {
    content: '';
    display: block;
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s;
}

.nav-links a:hover::after {
    width: 100%;
}

.events-section {
    padding: 40px 20px;
    text-align: center;
    z-index: 1;
}

h1 {
    font-size: 2rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: #fff;
}

/* Slider Container */
.event-card {
    position: relative; /* Enable absolute positioning for child elements */
    margin: 40px auto;
    width: 80%;
    max-width: 1000px;
    background-color: #222;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
    overflow: hidden; /* Prevent image overflow */
}

/* Image Styling */
.event-image img {
    width: 100%;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
}


/* Event Info */
.event-info h2 {
    margin: 15px 0 5px;
    font-size: 1.8rem;
    color: #fff;
}

.event-info p {
    font-size: 1.2rem;
    color: #ccc;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    pointer-events: none; /* Prevent pointer interference */
}

.prev, .next {
    background-color: rgba(0, 0, 0, 0.6);
    border: none;
    font-size: 2.5rem;
    color: white;
    padding: 10px;
    cursor: pointer;
    pointer-events: all; /* Allow pointer events on buttons */
    border-radius: 50%;
    transition: background-color 0.3s ease-in-out;
}

.prev:hover, .next:hover {
    background-color: rgba(255, 255, 255, 0.3); /* Add hover effect */
}

/* Ensure that buttons stay inside card */
.prev {
    margin-left: 10px;
}

.next {
    margin-right: 10px;
}

/* Footer Styles */
footer {
    background-color: #000; 
    padding: 50px 20px; 
    text-align: center;
    color: #fff; 
}

footer .footer-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

footer .social-icons {
    display: flex; /* Flexbox for horizontal alignment */
    justify-content: center; /* Center the icons */
    gap: 20px; /* Space between icons */
    margin: 20px 0; /* Space around the icon section */
}

footer .social-icons a {
    text-decoration: none; /* Remove underline from links */
}

footer .social-icons i {
    font-size: 20px; /* Set a consistent size for icons */
    color: #fff; /* Set the color to white */
    transition: transform 0.3s, color 0.3s; /* Add a transition for hover effect */
}

footer .social-icons a:hover i {
    transform: scale(1.2); /* Scale up the icon on hover */
    color: #ccc; /* Change color on hover */
}

footer .links {
    margin-top: 20px;
}

footer .links a {
    margin: 0 20px; 
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s; 
}

footer .links a:hover {
    color: #ccc; 
}

footer p {
    font-size: 14px;
    margin-top: 20px;
    line-height: 1.5;
}

footer p a {
    color: #fff; 
    text-decoration: none; 
    transition: color 0.3s;
}

footer p a:hover {
    color: #ccc;
}

/* Responsive Media Queries */
@media screen and (max-width: 1024px) {
    .logo img {
        width: 120px;
        margin-left: 50px;
    }

    .nav-links {
        gap: 40px;
        margin-left: 50px;
        margin-right: 10px;
    }

    .nav-links a{
        font-size: 22px;
    }
   
}

@media screen and (max-width: 768px) {
    nav {
        flex-direction: column;
        align-items: flex-start;
        padding: 10px;
    }

    .menu-icon {
        display: block;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0px;
        background-color: transparent;
        width: 50%;
        padding: 10px;
        text-align: center;
     }

     .nav-links a {
        font-size: 18px;
    }

    .nav-links.active {
        display: flex;
        z-index: 99;
        margin-bottom: 100px;
    }

    .logo img {
        width: 100px;
        margin-left: 20px;
    }

    .events-section{
        margin-top: 150px;
    }

    .event-card {
        width: 90%;
        padding: 15px;
    }

    .event-info h2 {
        font-size: 1.6rem;
    }

    .event-info p {
        font-size: 1rem;
    }

    .prev, .next {
        font-size: 2rem;
        padding: 8px;
    }

    footer .footer-content {
        padding: 30px 20px;
    }

    footer .social-icons {
        gap: 15px;
    }

    footer .links {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    footer p {
        font-size: 14px;
    }
}

@media screen and (max-width: 480px) {
    nav {
        flex-direction: column;
        align-items: center;
        padding: 10px;
    }

    .menu-icon{
        right: 30px;
    }

    .nav-links {
        gap: 20px;
        margin-left: 0;
    }

    .nav-links a{
        font-size: 16px;
    }

    .nav-links.active {
        display: flex;
    }

    .logo {
        display: flex;
        justify-content: flex-start; /* Ensures the logo stays aligned to the left */
        width: 100%; /* Stretches the logo container to full width */
    }

    .logo img {
        width: 100px;
        margin-left: 20px; /* Adjust this value as needed for spacing */
    }

    .events-section{
        margin-top: 100px;
    }

    .event-card {
        width: 95%;
        padding: 10px;
    }

    .event-info h2 {
        font-size: 1.4rem;
    }

    .event-info p {
        font-size: 0.9rem;
    }

    .prev, .next {
        font-size: 1.5rem; /* Reduce button size */
        padding: 5px;
    }

    .footer p {
        font-size: 12px;
    }
}
