/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

body.no-scroll {
    overflow: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-image {
    width: auto;
    height: 50px;
    flex-shrink: 0;
}

.logo-text h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #a82212;
    margin-bottom: 0.25rem;
}

.tagline {
    font-size: 0.875rem;
    color: #666;
    font-weight: 400;
}

.navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #a82212;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background: #a82212;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);*/
    background: #352026ba;
    color: white;
    overflow: hidden;
    /*opacity: 0.8;*/
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-logo {
    margin-bottom: 2rem;
    text-align: center;
}

.hero-logo-image {
    width: auto;
    height: 120px;
}

.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
}

.btn-primary {
    background: #fff;
    color: #a82212;
}

.btn-primary:hover {
    background: #f8fafc;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #fff;
    border-color: #fff;
}

.btn-secondary:hover {
    background: #fff;
    color: #a82212;
}

.hero-image {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 400 600"><rect fill="%23ffffff" opacity="0.1" width="400" height="600"/></svg>');*/
    background-size: auto 100%;
    background-position: center top;
    background-repeat: no-repeat;
    transform: translateY(20%);
    height: 56.25vw; /* 9/16 * 100 = 56.25 */
  max-height: 100vh; /* Don't exceed viewport height */
  min-height: 600px; /* Minimum height for mobile */
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: -1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

/* Section Styles */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    background: #f9fafb;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
    margin-top: 2rem;
}

.about-text h3:first-child {
    margin-top: 0;
}

.about-text p {
    color: #6b7280;
    margin-bottom: 1.5rem;
}

.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.stat {
    text-align: center;
}

.stat h4 {
    font-size: 2rem;
    font-weight: 700;
    color: #a82212;
    margin-bottom: 0.5rem;
}

.stat p {
    color: #6b7280;
    font-weight: 500;
}

.about-image {
    display: flex;
    justify-content: center;
}

.image-placeholder {
    width: 100%;
    height: 400px;
    background: #e5e7eb;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-weight: 500;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 1rem;
}

.service-card p {
    color: #6b7280;
    line-height: 1.6;
}

/* Events Section */
.events {
    background: #f9fafb;
}

.events-grid {
    display: grid;
    gap: 2rem;
}

.event-card {
    background: #fff;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 2rem;
    align-items: center;
}

.event-date {
    background: #a82212;
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    min-width: 80px;
}

.event-date .month {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
}

.event-date .day {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.event-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.event-time {
    color: #a82212;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.event-description {
    color: #6b7280;
    margin-bottom: 1rem;
}

.event-link {
    color: #a82212;
    text-decoration: none;
    font-weight: 500;
}

.event-link:hover {
    text-decoration: underline;
}

/* Gallery Section */
.gallery-grid {
    position: relative;
    min-height: 500px; /* Adjust as needed */
    display: flex;
    justify-content: center;
    align-items: center;
}

.gallery-item {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease;
    transform-origin: center center;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-item:nth-child(1) { transform: translateX(-160px) translateY(-100px) rotate(-8deg); }
.gallery-item:nth-child(2) { transform: translateX(20px) translateY(-120px) rotate(5deg); }
.gallery-item:nth-child(3) { transform: translateX(180px) translateY(-80px) rotate(-6deg); }
.gallery-item:nth-child(4) { transform: translateX(-180px) translateY(100px) rotate(7deg); }
.gallery-item:nth-child(5) { transform: translateX(0px) translateY(120px) rotate(-4deg); }
.gallery-item:nth-child(6) { transform: translateX(170px) translateY(110px) rotate(10deg); }

/* Apply hover effects only on devices that support hover */
@media (hover: hover) {
    .gallery-item:hover {
        z-index: 10;
        box-shadow: 0 15px 30px rgba(0,0,0,0.3);
    }

    .gallery-item:nth-child(1):hover { transform: translateX(-160px) translateY(-100px) rotate(-8deg) scale(1.1); }
    .gallery-item:nth-child(2):hover { transform: translateX(20px) translateY(-120px) rotate(5deg) scale(1.1); }
    .gallery-item:nth-child(3):hover { transform: translateX(180px) translateY(-80px) rotate(-6deg) scale(1.1); }
    .gallery-item:nth-child(4):hover { transform: translateX(-180px) translateY(100px) rotate(7deg) scale(1.1); }
    .gallery-item:nth-child(5):hover { transform: translateX(0px) translateY(120px) rotate(-4deg) scale(1.1); }
    .gallery-item:nth-child(6):hover { transform: translateX(170px) translateY(110px) rotate(10deg) scale(1.1); }
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #9ca3af;
    font-weight: 500;
}

@media (max-width: 768px) {
    .gallery-item {
        width: 200px;
        height: 200px;

        /* Tighter cluster for mobile to prevent overflow */
        &:nth-child(1) { transform: translateX(-80px) translateY(-60px) rotate(-8deg); }
        &:nth-child(2) { transform: translateX(10px) translateY(-70px) rotate(5deg); }
        &:nth-child(3) { transform: translateX(90px) translateY(-50px) rotate(-6deg); }
        &:nth-child(4) { transform: translateX(-90px) translateY(60px) rotate(7deg); }
        &:nth-child(5) { transform: translateX(0px) translateY(70px) rotate(-4deg); }
        &:nth-child(6) { transform: translateX(85px) translateY(65px) rotate(10deg); }
    }
}

/* Contact Section */
.contact {
    background: #f9fafb;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.contact-item p {
    color: #6b7280;
}

.contact-form {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.contact-image {
    display: flex;
    justify-content: center;
}

.contact-link {
    color: #a82212;
    text-decoration: none;
    font-weight: 500;
}

.contact-link:hover {
    text-decoration: underline;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2563eb;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: #1f2937;
    color: #d1d5db;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fff;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    padding: 8px 12px;
    background: #374151;
    border-radius: 6px;
    font-size: 0.875rem;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 8px 12px;
    border: 1px solid #374151;
    border-radius: 6px;
    background: #374151;
    color: #fff;
}

.newsletter-form button {
    padding: 8px 16px;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 500;
}

.footer-bottom {
    border-top: 1px solid #374151;
    padding-top: 1rem;
    text-align: center;
    color: #9ca3af;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .event-card {
        flex-direction: column;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-image img {
        max-width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .service-card,
    .event-card,
    .contact-form {
        padding: 1.5rem;
    }
}

/* Glide.js Slider */
.glide {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    padding-bottom: 30px; /* Add some padding for the bullets */
}

.glide__track {
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.glide__slides {
    display: flex;
    height: 100%;
}

.glide__slide {
    width: 100%;
    flex-shrink: 0;
    height: 100%;
}

.glide__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.glide__bullets {
    bottom: 20px;
}

/* Image Modal */
.event-poster-modal {
    position: fixed; /* Stay in place */
    z-index: 1000; /* Sit on top */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
    display: flex; /* Use flexbox for centering */
    align-items: flex-start; /* Align to the top */
    justify-content: center; /* Center horizontally */
    display: none; /* Hidden by default */
}

.event-poster-modal-content {
    width: 80%;
    max-width: 700px;
    max-height: 90%;
    object-fit: contain;
    margin-top: 50px; /* Adjust this value to lower the content */
}

.event-poster-close-button {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.event-poster-close-button:hover,
.event-poster-close-button:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.gallery-nav-arrow {
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 30px;
    transition: 0.3s ease;
    user-select: none;
}

.gallery-prev-arrow {
    left: 10px;
}

.gallery-next-arrow {
    right: 10px;
}

.gallery-nav-arrow:hover {
    background-color: rgba(0,0,0,0.3);
}

/* Gallery Modal */
.gallery-modal {
    position: fixed;
    z-index: 1001; /* Higher than header */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    display: none; /* Hidden by default */
}

.gallery-modal-content {
    width: 90%;
    max-width: 900px;
    max-height: 90%;
    object-fit: contain;
}

.gallery-close-button {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
}

.gallery-close-button:hover,
.gallery-close-button:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}