/* --- 1. VARIABLES & RESET --- */
:root {
    --primary: #557C83;   /* Deep Kilkenny Green */
    --secondary: #D4A373; /* Warm Earth Tone/Gold */
    --bg-light: #F9F7F2;  /* Cream/Off-white background */
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #555555;
    --font-heading: 'Georgia', serif;
    --font-body: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

img { max-width: 100%; display: block; }

/* --- 2. LAYOUT UTILITIES --- */
.container { 
    max-width: 1100px; 
    margin: 0 auto; 
    padding: 0 1.5rem; 
}

.section { 
    padding: 4rem 0; 
}

.text-center { text-align: center; }

/* Buttons */
.btn {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 4px;
    transition: background 0.3s;
    font-weight: bold;
    border: none;
    cursor: pointer;
}
.btn:hover { background: #b58b62; }

/* --- 3. HEADER & NAVIGATION --- */
header {
    background: var(--white);
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px; /* Fixed height keeps layout stable */
}

/* Logo Setup */
.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    height: 100%;
    padding-right: 1rem;
}

.logo img {
    max-height: 60px; /* Limits logo height to fit navbar */
    width: auto;
}

/* Desktop Links */
.nav-links { 
    list-style: none; 
    display: flex; 
    gap: 1.5rem; 
    align-items: center; 
}
.nav-links a { 
    text-decoration: none; 
    color: var(--text-dark); 
    font-weight: 500; 
    transition: color 0.3s;
}
.nav-links a:hover { color: var(--secondary); }

/* --- 4. HERO SECTION --- */
.hero {
    /* Background image with dark overlay */
    background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)), url('https://images.unsplash.com/photo-1518241353330-0f7941c2d9b5?auto=format&fit=crop&w=1350&q=80'); 
    background-size: cover;
    background-position: center;
    height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero h1 { 
    font-size: 3rem; 
    font-family: var(--font-heading); 
    margin-bottom: 1rem; 
}

/* --- 5. CONTENT SECTIONS --- */

/* About Section Grid */
.about-grid { 
    display: grid; 
    grid-template-columns: 1fr 1fr; 
    gap: 3rem; 
    align-items: center; 
}
.about-img { 
    width: 100%; 
    border-radius: 8px; 
    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
}

/* Offerings Grid */
.offerings-grid { 
    display: grid; 
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); 
    gap: 2rem; 
    margin-top: 2rem; 
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.2s;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}
.card:hover { transform: translateY(-5px); }
.card h3 { 
    color: var(--primary); 
    margin-bottom: 1rem; 
    font-family: var(--font-heading); 
}

/* Sub-Page Headers */
.page-header {
    background: var(--primary);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}
.page-header h1 { 
    font-family: var(--font-heading); 
    font-size: 2.5rem; 
}

/* --- 6. SHARED FOOTER (Contact + Credits) --- */
.site-footer {
    background-color: var(--primary); /* Green Background */
    color: var(--white);
    padding-top: 4rem;
    padding-bottom: 2rem;
    margin-top: 4rem;
}

.site-footer h2 {
    color: var(--white);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

/* Form Styles */
.footer-form {
    max-width: 600px;
    margin: 0 auto 3rem auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-form input, 
.footer-form textarea {
    padding: 1rem;
    border: none;
    border-radius: 4px;
    font-family: inherit;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95); /* Soft white inputs */
}

/* Bottom Copyright Area */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.9;
}

.footer-bottom a {
    color: var(--secondary);
    text-decoration: none;
    font-weight: bold;
    margin: 0 10px;
}

/* --- 7. MOBILE RESPONSIVE --- */

/* Hamburger Icon (Hidden on Desktop) */
.hamburger {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    border-radius: 2px;
}

/* Mobile Media Query */
@media (max-width: 768px) {
    .container { padding: 0 1.5rem; }
    
    .hero h1 { font-size: 2rem; }
    
    .about-grid { grid-template-columns: 1fr; }

    /* Show hamburger */
    .hamburger { display: flex; }

    /* Mobile Menu Logic */
    .nav-links {
        display: none; /* Hidden by default */
        flex-direction: column;
        position: absolute;
        top: 80px; /* Matches header height */
        right: 0;
        width: 100%;
        background-color: var(--white);
        border-bottom: 4px solid var(--secondary);
        padding: 2rem 0;
        text-align: center;
        gap: 1.5rem;
        z-index: 9999;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }

    /* Class added by JS to show menu */
    .nav-links.active {
        display: flex;
    }
    
    /* Center buttons in mobile menu */
    .nav-links .btn {
        display: inline-block;
        margin: 0 auto;
    }
}