/* CSS Variables for Premium Beige Theme */
:root {
    --bg-main: #F4F1EA;       
    --bg-alt: #EBE5D9;        
    --accent-gold: #A67C00;   
    --text-main: #2C2A28;     
    --text-muted: #5C5A57;    
    --footer-bg: #1A1918;     
}

/* Base Styles & Smooth Scrolling */
html { scroll-behavior: smooth; }

body {
    margin: 0;
    padding: 0;
    font-family: 'Lato', sans-serif;
    background-color: var(--bg-main);
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--text-main);
    font-weight: 400;
}

/* --- HEADER & NAVIGATION --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(244, 241, 234, 0.95); 
    z-index: 1000;
    border-bottom: 1px solid #E2DCD0;
    backdrop-filter: blur(10px);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--text-main);
    text-decoration: none;
    letter-spacing: 2px;
}

.logo-img {
    height: 80px; 
    width: auto;  
    display: block;
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.03);
}

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    margin-left: 30px;
    font-size: 18px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s ease;
    font-weight: 600;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-gold);
}

/* --- MOBILE MENU TOGGLE (Hamburger Icon) --- */
.menu-toggle {
    display: none; 
    flex-direction: column;
    cursor: pointer;
    gap: 6px;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 30px;
    height: 2px;
    background-color: var(--text-main);
    transition: all 0.3s ease-in-out;
}

.menu-toggle.is-active .bar:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.menu-toggle.is-active .bar:nth-child(2) { opacity: 0; }
.menu-toggle.is-active .bar:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* --- SECTION LAYOUTS --- */
.page-container {
    flex: 1; 
    padding: 140px 10% 80px 10%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bg-alt { background-color: var(--bg-alt); }

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    letter-spacing: 1px;
    color: var(--accent-gold);
}

.content-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-muted);
}

/* --- HOME PAGE --- */
.hero-title {
    font-size: 4rem;
    margin-bottom: 10px;
    letter-spacing: 4px;
    color: var(--accent-gold);
}

.hero-subtitle {
    font-size: 1.2rem;
    letter-spacing: 2px;
    color: var(--text-muted);
    text-transform: uppercase;
}

.home-image-container {
    margin-top: 50px;
    width: 100%;
    max-width: 600px; 
    margin-left: auto;
    margin-right: auto;
}

.home-image-container img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08); 
    border: 1px solid #D6CEBE;
    display: block;
}

/* --- ABOUT PAGE --- */
.about-layout {
    display: flex;
    align-items: flex-start;
    gap: 60px;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
}

.about-content { flex: 1; }

.about-image {
    width: 350px; 
    flex-shrink: 0;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); 
    border: 1px solid #D6CEBE;
}

.about-content h1 {
    font-size: 3.5rem;
    margin-bottom: 5px;
    margin-top: 0;
    color: var(--text-main);
}

.about-content h2.subtitle {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 25px;
    color: var(--text-main);
}

.about-content p.intro-text {
    font-size: 1.1rem;
    color: var(--text-main);
    line-height: 1.8;
    margin-bottom: 40px;
}

.about-list-group { margin-bottom: 25px; }

.about-list-group h4 {
    font-family: 'Lato', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 10px;
    margin-top: 0;
}

.about-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.about-list li {
    font-size: 1.05rem;
    color: var(--text-main);
    margin-bottom: 8px;
    line-height: 1.6;
}

/* --- CURRENT EVENTS SECTION --- */
.events-title {
    text-align: center;
    font-size: 3.5rem;
    margin-bottom: 40px;
    color: var(--text-main); 
    font-family: 'Lato', sans-serif; 
    font-weight: 400;
}

.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 50px;
    margin-bottom: 100px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.event-card {
    display: flex;
    flex-direction: column;
    background-color: #D3D3D3; 
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); 
}

.event-card img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    display: block;
}

.event-title-text {
    padding: 30px;
    font-family: 'Lato', sans-serif;
    font-size: 1.3rem;
    color: var(--text-main);
    text-align: left;
}

.section-divider {
    border: 0;
    border-top: 1px solid #D6CEBE;
    margin: 60px auto;
    max-width: 1200px;
}

/* --- GALLERY SECTION --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.gallery-item {
    width: 100%;
    height: 300px;
    background-color: #E2DCD0; 
    object-fit: cover;
    border: 1px solid #D6CEBE;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-style: italic;
}

.gallery-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08); 
}

/* --- BUTTONS & MAP --- */
.btn-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    padding: 15px 35px;
    border: 1px solid var(--accent-gold);
    background: transparent;
    color: var(--accent-gold);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    cursor: pointer;
    font-weight: 600;
}

.btn:hover {
    background: var(--accent-gold);
    color: #fff; 
}

.map-wrapper {
    width: 100%;
    height: 450px;
    border: 1px solid #E2DCD0;
    filter: grayscale(60%) contrast(1.1) opacity(0.9); 
    transition: filter 0.4s ease;
}

.map-wrapper:hover {
    filter: grayscale(0%) contrast(1) opacity(1);
}

iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* --- FOOTER STYLES --- */
.site-footer {
    background-color: var(--footer-bg); 
    padding: 60px 10% 30px 10%;
    margin-top: auto;
    width: 100%;
    box-sizing: border-box;
    display: block;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto 40px auto;
}

.footer-section {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.footer-logo img {
    height: 45px; 
    width: auto;
    margin-bottom: 15px;
    display: block;
}

.footer-heading {
    color: #F4F1EA; 
    font-size: 1.2rem;
    margin-bottom: 15px;
    margin-top: 0;
    font-family: 'Playfair Display', serif;
    letter-spacing: 1px;
}

.footer-text {
    color: #A09E9B; 
    font-size: 0.95rem;
    line-height: 1.8;
    margin: 0;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-links a {
    color: #A09E9B;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.social-links a:hover { color: var(--accent-gold); }

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #2C2B29;
    color: #666;
    font-size: 0.85rem;
    width: 100%;
}

/* --- RESPONSIVE DESIGN FOR MOBILE & TABLET --- */
@media (max-width: 850px) {
    .about-layout {
        flex-direction: column-reverse; 
        align-items: center;
        gap: 40px;
    }
    .about-image {
        width: 100%;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    nav { 
        padding: 15px 5%; 
        flex-wrap: wrap; 
    }
    
    .menu-toggle { display: flex; }

    .nav-links { 
        display: none; 
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background-color: #F4F1EA; 
        padding: 20px 0;
        text-align: center;
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-top: 1px solid #E2DCD0;
    }

    .nav-links.active { display: flex; }
    .nav-links a { margin: 15px 0; font-size: 16px; }

    .hero-title { font-size: 2.5rem; }
    .page-container { padding: 120px 5% 60px 5%; }
    .events-title { font-size: 2.5rem; }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: left;
    }
    .footer-section { align-items: flex-start; }
    .logo-img { height: 45px; }
}