/* ------------------------------ */
/* 1. Global Reset & Base Styles  */
/* ------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #fff;
    color: #333;
    line-height: 1.6;
}

/* ------------------------------ */
/* 2. Header                      */
/* ------------------------------ */
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background: url('../images/11_1.jpg');    
    min-height: 70px;         /* Let header expand if needed */
    border-bottom: 1px solid #e5e5e5;
}

/* Header Left: Burger + Logo */
.header-left {
    display: flex;
    align-items: center;
}

/* Burger Menu Icon */
.menu-icon {
    font-size: 24px;
    cursor: pointer;
    color: #fff;
    margin-right: 10px;

    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;  /* Expand clickable area width */
    height: 50px; /* Expand clickable area height */
}

/* body {
    background: url('../images/11_1.jpg');
    background-size: cover; 
}                                                       
*/

/* Logo Container */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;  /* Adjust the width */
    height: 100px; /* Adjust the height */
    margin-left: 30px; /* Spacing from the burger menu */
}

/* Logo Styling */
.logo {
    width: 250px;
    height: auto;
    object-fit: contain;
    cursor: pointer;
}

/* ------------------------------ */
/* 3. Search Bar in Header        */
/* ------------------------------ */
.search-container {
    display: flex;
    align-items: center; /* Ensures the items align vertically in the center */
    justify-content: center; /* Centers the container */
    margin: 0 auto; /* Centers the search bar */
    max-width: 600px; /* Restrict maximum width */
    width: 100%; /* Allow responsive scaling */
    padding: 10px; /* Optional padding */
    box-sizing: border-box; /* Ensures padding doesn't affect layout */
}

.search-bar {
    flex: 1; /* Makes the input take up available space */
    padding: 10px 15px; /* Adjust for better spacing */
    border: 1px solid #ccc; /* Border styling */
    border-right: none; /* Remove border overlap between input and button */
    border-radius: 20px 0 0 20px; /* Rounded corners for the left side */
    outline: none;
    font-size: 16px; /* Better readability */
    box-sizing: border-box; /* Ensures padding doesn't affect width */
    height: 40px; /* Consistent height with the button */
}

.search-icon {
    background-color: #bac11b;
    border: none; /* Removes border */
    border-radius: 0 20px 20px 0; /* Rounded corners for the right side */
    padding: 0 15px; /* Add horizontal padding */
    color: white; /* Icon color */
    cursor: pointer; /* Hand cursor on hover */
    display: flex; /* Aligns the icon properly */
    align-items: center;
    justify-content: center;
    height: 40px; /* Match input height */
    box-sizing: border-box; /* Ensures padding doesn't affect dimensions */
}

.search-icon i {
    font-size: 16px; /* Slightly larger icon */
}



/* ------------------------------ */
/* 4. Account / Cart Icons        */
/* ------------------------------ */


.account-icon,
.cart-icon {
    font-size: 28px;
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s ease;
}


.account-icon:hover,
.cart-icon:hover {
    color: #bac11b; /* Bright orange hover effect */
}

/* ------------------------------ */
/* 5. Burger Menu Drawer          */
/* ------------------------------ */
.burger-menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 250px;
    height: 100%;
    background-color: #fff;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 1000;
}

.burger-menu ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.burger-menu ul li {
    margin-bottom: 20px;
}

.burger-menu ul li a {
    text-decoration: none;
    color: #333;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.burger-menu ul li a:hover {
    color: #bac11b;
}

.burger-menu.open {
    left: 0;
}

/* Overlay */
.burger-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Dim the background */
    z-index: 999;
    opacity: 0;
    display: none;
    transition: opacity 0.3s ease;
}

.burger-menu-overlay.open {
    display: block;
    opacity: 1;
}

/* ------------------------------ */
/* 6. Hero Carousel               */
/* ------------------------------ */
/* Shaking Animation */
@keyframes shake {
    0%   { transform: translateX(0); }
    25%  { transform: translateX(-5px); }
    50%  { transform: translateX(5px); }
    75%  { transform: translateX(-5px); }
    100% { transform: translateX(0); }
}

.carousel {
    position: relative;
    width: 100%;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    animation: shake 0.5s ease-in-out; /* Apply the shaking animation */
}

.carousel-slide {
    position: relative;
    width: 90%;
    max-width: 1200px;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.carousel-overlay h1 {
    font-size: 36px;
    margin-bottom: 10px;
}

.carousel-overlay p {
    font-size: 18px;
    margin-bottom: 20px;
}

.cta-button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #bac11b;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.cta-button:hover {
    background-color: #333;
    transform: scale(1.05);
}

/* ------------------------------ */
/* 7. Events Section              */
/* ------------------------------ */
.events-category {
    padding: 40px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.events-category h2 {
    font-size: 28px;
    margin-bottom: 20px;
    color: #333;
}

/* Carousel of events */
.event-carousel {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.event-slider {
    display: flex;
    gap: 20px;
    overflow: hidden;
    scroll-behavior: smooth;
    width: 80%;
    justify-content: center;
}

.event-card {
    flex: 0 0 25%;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: scale(1.05);
}

.event-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.card-info {
    padding: 15px;
}

.card-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.card-info p {
    font-size: 14px;
    margin-bottom: 10px;
    color: #666;
}

/* Navigation Buttons */
.carousel-btn {
    background: #f0f0f0;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}

.carousel-btn i {
    font-size: 16px;
    color: #333;
}

.carousel-btn:hover {
    background-color: #ddd;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}

/* ------------------------------ */
/* 8. Footer                      */
/* ------------------------------ */
footer {
    background: #f9f9f9;
    padding: 20px 0;
    border-top: 1px solid #e5e5e5;

    /* Ensure the footer stays at the bottom */
    text-align: center;
    margin-top: auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: center;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto; /* Center the footer content */
}

.quick-links a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    margin-bottom: 10px;
    display: inline-block;
}

.social-icons a {
    font-size: 18px;
    color: #333;
    margin: 0 10px;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.newsletter input {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
    width: 70%;
    margin-right: 10px;
}

.newsletter button {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    background-color: #bac11b; 
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter button:hover {
    background-color: #ff8c00;
}

.view-gallery-btn {
    background-color: #007bff; /* Blue background */
    color: white; /* White text */
    border: none; /* Remove border */
    padding: 10px 15px; /* Add padding */
    border-radius: 5px; /* Rounded corners */
    cursor: pointer; /* Pointer cursor on hover */
    margin-top: 10px; /* Add space above the button */
    font-size: 14px; /* Set font size */
}

.view-gallery-btn:hover {
    background-color: #0056b3; /* Darker blue on hover */
}

.event-card {
    position: relative; /* Ensure the button is positioned correctly */
    overflow: visible; /* Ensure nothing is clipped */
}

.card-info {
    padding: 10px; /* Add padding to the card info */
}

/* ------------------------------ */
/* 9. Responsive Media Queries    */
/* ------------------------------ */
@media (max-width: 768px) {
    /* Let header wrap if needed */
    header {
        flex-wrap: wrap;
        min-height: auto;
    }
    
    .logo-container {
        margin-left: 10px;
    }

    /* Make event cards narrower if needed */
    .event-card {
        flex: 0 0 45%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr; /* 2 columns instead of 3 */
    }
}

@media (max-width: 480px) {
    /* Stack header items or shrink as needed */
    .menu-icon {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
    
    .logo {
        width: 150px;
    }

    /* Events: single-column in extreme small screens */
    .event-card {
        flex: 0 0 80%;
    }
    
    /* Footer single column */
    .footer-grid {
        grid-template-columns: 1fr; /* 1 column stack */
    }
    
    /* Newsletter input full width */
    .newsletter input {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
    .newsletter button {
        width: 100%;
    }
}
