/* --- Google Fonts Import --- */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@700&family=Lato:wght@400;700&display=swap');

/* --- CSS Variables - Color Palette & Fonts --- */
:root {
    --primary-color: #0D2C4D;
    /* Deep Blue */
    --secondary-color: #F4F4F4;
    /* Light Grey Background */
    --accent-color: #D4A373;
    /* Gold/Tan Accent */
    --text-color: #333333;
    --header-footer-text: #FFFFFF;

    --font-heading: 'Merriweather', serif;
    --font-body: 'Lato', sans-serif;
}

/* --- Global Styles --- */
body {
    font-family: var(--font-body);
    color: var(--text-color);
    background-color: var(--secondary-color);
    margin: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
}

/* --- Header & Navigation --- */
header {
    background-color: var(--primary-color);
    color: var(--header-footer-text);
    padding: 0 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    background-color: #FFFFFF;
    padding: 1rem;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#logo {
    height: 80px;
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--header-footer-text);
    font-weight: bold;
    font-size: 1rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: border-bottom 0.3s ease;
}

nav a:hover,
nav a:focus {
    color: var(--accent-color);
    border-bottom-color: var(--accent-color);
}

/* --- Main Content & Sections --- */
main {
    padding: 0;
    display: block;
    /* Ensure main is treated as a block */
}

section {
    padding: 4rem 3rem;
    border-bottom: 1px solid #DDDDDD;
}

section:last-of-type {
    border-bottom: none;
}

h1,
h2 {
    font-family: var(--font-heading);
    color: var(--primary-color);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 2.5rem;
}

/* --- Hero Section ("Home") --- */
#home {
    background: linear-gradient(rgba(13, 44, 77, 0.7), rgba(13, 44, 77, 0.7)), url('https://images.unsplash.com/photo-1582407947304-fd86f028f716?ixlib=rb-1.2.1&auto=format&fit=crop&w=1950&q=80');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 6rem 3rem;
}

#home h1 {
    color: white;
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

#home p {
    font-size: 1.5rem;
    font-weight: 200;
}


/* --- Footer --- */
footer {
    background-color: var(--primary-color);
    color: var(--header-footer-text);
    text-align: center;
    padding: 2rem;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* --- About Us Section --- */
.about-content {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.about-text {
    flex: 2;
    /* Give more space to text */
}

.about-image {
    flex: 1;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* --- Contact Section --- */
#contact .container {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

#contact ul {
    list-style: none;
    padding: 0;
    display: inline-block;
    text-align: left;
    margin-top: 1.5rem;
}

#contact li {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

/* --- Responsive Design for smaller screens --- */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 1rem;
        text-align: center;
    }

    nav ul {
        flex-direction: column;
        gap: 1rem;
        margin-top: 1rem;
    }

    .about-content {
        flex-direction: column;
    }
}