/*
 * Main stylesheet for the landing page.  The design is loosely
 * inspired by Lions Clubs International brand colours – dark blue,
 * bright yellow and a complementary light blue.  The layout is
 * responsive and will adapt gracefully to different screen sizes.
 */

/* CSS Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #00338D; /* dark blue text */
    background-color: #F7F7F7;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
    padding-left: 1.2em;
}


/* Custom bullets for awards and activities lists */
.awards-list li::before,
.activities-list li::before {
    content: '\2022';
    color: #EBB700; /* yellow bullet */
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

h1, h2, h3 {
    font-weight: 700;
    color: #00338D;
    margin-bottom: 0.5em;
}

/* Container helper to constrain width and centre content */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Navigation bar */
.navbar {
    background-color: #00338D;
    color: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar .nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 60px;
}

.navbar .brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #FFFFFF;
}

.navbar .nav-links {
    display: flex;
    gap: 1.5rem;
}

.navbar .nav-links a {
    color: #FFFFFF;
    font-weight: 500;
    transition: color 0.3s ease;
}

.navbar .nav-links a:hover {
    color: #EBB700;
}

/* Hero Section */
.hero-section {
    background-color: #EBB700; /* bright yellow */
    padding: 4rem 0;
}

.hero-inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 2rem;
}

.headshot img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid #00338D;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.hero-content {
    text-align: center;
    max-width: 600px;
}

.hero-title {
    font-size: 2.5rem;
    margin-bottom: 0.3rem;
    color: #00338D;
}

.hero-tagline {
    font-size: 1.25rem;
    font-weight: 500;
    margin-bottom: 1rem;
    color: #00338D;
}

.contact-info p {
    margin: 0.4rem 0;
    font-weight: 500;
    font-size: 1rem;
    color: #00338D;
}

.contact-info i {
    color: #00338D;
    margin-right: 0.5rem;
}

.contact-info a {
    color: #00338D;
    transition: color 0.3s ease;
}

.contact-info a:hover {
    color: #002764; /* slightly darker blue */
    text-decoration: underline;
}

/* Sections */
.section {
    padding: 3rem 0;
}

.about-section,
.awards-section,
.activities-section {
    background-color: #FFFFFF;
}

.contact-section {
    background-color: #f2f6fc;
}

.section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    position: relative;
}

.section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #EBB700;
    margin-top: 0.3rem;
}

.section p {
    font-weight: 400;
    max-width: 800px;
    margin-bottom: 1rem;
}

.awards-list li,
.activities-list li {
    margin-bottom: 0.4rem;
    font-weight: 500;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.3rem;
    font-weight: 600;
    color: #00338D;
}

.form-group input,
.form-group textarea {
    padding: 0.8rem;
    border: 1px solid #CCD5E0;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    color: #00338D;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00338D;
    box-shadow: 0 0 0 3px rgba(0, 51, 141, 0.15);
}

.btn {
    background-color: #00338D;
    color: #FFFFFF;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #002764;
}

.alert {
    padding: 1rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    font-weight: 500;
}

.alert-warning {
    background-color: #FFF8E5;
    color: #8a6d3b;
    border: 1px solid #faebcc;
}

.form-status {
    margin-top: 0.5rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.form-status.success {
    color: #2c662d;
}

.form-status.error {
    color: #a94442;
}

/* Footer */
.footer {
    background-color: #00338D;
    color: #FFFFFF;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-inner {
        flex-direction: column;
        gap: 1.5rem;
    }
    .headshot img {
        width: 150px;
        height: 150px;
    }
    .hero-title {
        font-size: 2rem;
    }
    .hero-tagline {
        font-size: 1.1rem;
    }
    .navbar .nav-links {
        gap: 1rem;
    }
    .navbar .brand {
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .navbar .nav-inner {
        flex-direction: column;
        height: auto;
        padding: 0.5rem 0;
    }
    .navbar .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 0.5rem;
    }
    .contact-info p {
        font-size: 0.95rem;
    }
}