* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --gold-color: #d4af37;
    --light-gold: #f4e4bc;
    --text-light: #f1f1f1;
    --text-dark: #333;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 100%);
    min-height: 100vh;
    padding: 20px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: #ffffff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
}

header {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-light);
    padding: 60px 40px;
    text-align: center;
    position: relative;
    border-bottom: 4px solid var(--gold-color);
}

.logo-container {
    margin-bottom: 30px;
}

.lodge-logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    background: white;
    padding: 20px;
    border-radius: 50%;
}

h1 {
    font-size: 2.8em;
    margin-bottom: 15px;
    color: var(--gold-color);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
}

.motto {
    font-size: 1.2em;
    font-style: italic;
    color: var(--light-gold);
    letter-spacing: 3px;
    margin-top: 10px;
}

.glq-affiliation {
    font-size: 1.1em;
    color: var(--text-light);
    margin: 15px 0;
}

.glq-affiliation a {
    color: var(--gold-color);
    text-decoration: none;
    border-bottom: 1px solid var(--gold-color);
    transition: all 0.3s ease;
}

.glq-affiliation a:hover {
    color: var(--light-gold);
    border-bottom-color: var(--light-gold);
}

main {
    padding: 50px 40px;
}

section {
    margin-bottom: 50px;
}

section:last-child {
    margin-bottom: 0;
}

h2 {
    font-size: 2em;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold-color);
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 60px;
    height: 2px;
    background: var(--accent-color);
}

p {
    font-size: 1.1em;
    margin-bottom: 15px;
    color: #555;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.pillar {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid var(--gold-color);
}

.pillar:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.pillar h3 {
    font-size: 1.5em;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.pillar p {
    font-size: 1em;
    color: #666;
}

.contact {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 40px;
    border-radius: 8px;
    border-left: 6px solid var(--gold-color);
}

.contact-info {
    margin-top: 25px;
}

.contact-info p {
    margin-bottom: 10px;
    font-size: 1.05em;
}

.contact-info strong {
    color: var(--primary-color);
    display: inline-block;
    width: 80px;
}

.contact-info a {
    color: var(--accent-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: var(--gold-color);
    text-decoration: underline;
}

.glq-info {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 2px solid var(--gold-color);
}

.glq-info h3 {
    font-size: 1.4em;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.glq-info p {
    margin-bottom: 8px;
}

footer {
    background: var(--primary-color);
    color: var(--text-light);
    padding: 30px 40px;
    text-align: center;
}

.footer-motto {
    font-style: italic;
    color: var(--light-gold);
    margin-top: 10px;
    font-size: 0.95em;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 10px;
    }

    header {
        padding: 40px 20px;
    }

    h1 {
        font-size: 2em;
    }

    .motto {
        font-size: 1em;
        letter-spacing: 1px;
    }

    main {
        padding: 30px 20px;
    }

    h2 {
        font-size: 1.6em;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .contact {
        padding: 25px 20px;
    }

    footer {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .lodge-logo {
        max-width: 150px;
    }

    h1 {
        font-size: 1.6em;
    }

    .contact-info strong {
        display: block;
        margin-bottom: 5px;
    }
}
