/* General Styling */
html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    scroll-padding-top: 70px; /* Adjust the value based on your nav bar height */
    scroll-behavior: smooth;
}

/* Hero Section for Featured Event */
.hero-section {
    background-image: url('/images/home/tour/1-DSC_0062.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 400px;
    background-color: #f5a623; /* Placeholder color */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    margin-top: 70px;
}

.hero-content {
    background-color: #0000006d;
    backdrop-filter: blur(2px);
    padding: 20px 60px;
    border-radius: 10px;
    
}

.hero-content h1 {
    font-size: 3em;
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.9));
}

.hero-content p {
    font-size: 1.5em;
    font-weight: bold;
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.9));
}

/* Google Calendar Section */
.calendar-section {
    padding: 40px 20px;
    text-align: center;
}

.calendar-section h2 {
    color: #a109a9;
    margin-top: 30px;
    margin-bottom: 60px;
    font-size: 2em;    
}

.google-calendar-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
}

.google-calendar-container iframe {
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 1 / 1; /* This will help maintain a square aspect ratio */
    border: none;
    margin: 5px; /* Ensure 20px margins */
    box-sizing: border-box;
    
}


/* Past Events Section */
.past-events-section {
    padding: 40px 20px;
    text-align: center;
}

.past-events-section h2 {
    margin-bottom: 50px;
    color: #0971a9;
    font-size: 2em;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); /* Auto-fit ensures responsive columns */
    gap: 10px;
    justify-content: center;
    padding: 20px;
    margin-bottom: 30px;
}

/* Gallery Item */
.gallery-item {
    width: 100%;
    max-width: 300px;
    aspect-ratio: 1 / 1; /* Ensures the gallery items remain square */
    background-color: #f4f4f4; /* Temporary background color */
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Lightbox Modal */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.lightbox.show {
    display: flex;
}

.lightbox img {
    max-width: 90%;
    max-height: 80%;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    color: white;
    cursor: pointer;
}

.lightbox-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}


/* Subscribe Section */
.subscribe-section {
    min-height: 500px;
    background-color: #4a90e2; /* Placeholder background */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 50px;
    padding-bottom: 50px;
}

.subscribe-section h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.subscribe-section p {
    font-size: 1.2em;
    margin-bottom: 30px;
    text-align: center;
    
}


form {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f900;
    border-radius: 10px;
   
}

label {
    display: none;
    margin-bottom: 5px;
    font-weight: bold;
}

input {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    width: 100%;
    padding: 10px;
    background-color: #0094cf00;
    color: #fff;
    border: 1px solid #ccc;
    border-radius: 5px;
    border-color: #fff;
    cursor: pointer;
    font-size: 16px;
}

button:hover {
    background-color: #0056b3;
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
    .gallery-item {
        max-width: 250px; /* Reduce the maximum size of grid items */
    }
}

@media (max-width: 768px) {
    .gallery-item {
        max-width: 200px; /* Further reduce the maximum size on smaller screens */
    }
}

@media (max-width: 480px) {
    .gallery-item {
        max-width: 150px; /* Even smaller size for mobile screens */
    }
}


/* ///////////////// FOOTER ADDRESS STYLING  ////////////////// */
.footer-address p {
    text-align: center;
    margin-top: 20px;
    
    font-size: 1.5em;
}

.footer-address a {
    color: #0ae1a4;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.3em;
    
}

.footer-address a:hover {
    color: #fbff00;
    filter: drop-shadow(0 0 5px rgb(1, 1, 1));
}

.footer-copyright {
    margin-top: 30px;
   
}