/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;700&family=Oswald:wght@400;700&family=Montserrat:wght@700;800&family=Inter:wght@400;700&display=swap');

/*
 * Font choices to match Canva design:
 * - Oswald: Condensed sans-serif for hero title
 * - Montserrat: Bold, modern sans-serif for section headings
 * - DM Sans/Inter: Clean, readable for body text
 */

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

body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #333;
    background-color: #eef0e9;  
}

/* Navigation */
nav {
    padding: 1.5rem 2rem 1rem 2rem;
    display: flex;
    justify-content: flex-start;
    gap: 2.5rem;
    border-bottom: 1px solid rgba(90, 74, 66, 0.3);
}

nav a {
    text-decoration: none;
    color: #5a4a42;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

nav a:hover {
    color: #333;
}

/* Hero Section */
.hero {
    max-width: 1200px;
    margin: 0 auto;
    min-height: 600px;
    background: linear-gradient(rgba(0,0,0,0.05), rgba(0,0,0,0.05)),
                url('images/hero-mill.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.hero-content {
    max-width: 800px;
    color: #333;
    text-shadow: 0 2px 4px rgba(255,255,255,0.3);
    padding: 6rem 2rem 6rem 2rem;
    flex: 1;
    display: flex;
    align-items: center;
}

.hero h1 {
    /* Oswald provides condensed sans-serif similar to Canva design */
    font-family: 'Oswald', 'Arial Narrow', 'Liberation Sans Narrow', sans-serif;
    font-size: 66px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #3a3a3a;
}

.hero h1 strong {
    font-weight: 700;
}

/* Main Sections */
section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

/* Section Headings - Montserrat Bold */
h2 {
    font-family: 'Montserrat', 'DM Sans', sans-serif;
    font-size: 20px;
    font-weight: 800;
    color: #5a4a42;
    margin-bottom: 3rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #5a4a42;
    letter-spacing: 0.5px;
}

/* Subheadings - DM Sans 13 Bold */
h3 {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    font-style: italic;
    margin: 2rem 0 1rem;
}

/* Body Text - DM Sans 13 */
p {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 400;
    margin-bottom: 1.2rem;
    color: #333;
}

/* Content Layout */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin: 2rem 0;
}

.content-block {
    margin-bottom: 4.5rem;
}

/* Lists */
.objectives-list {
    list-style: disc;
    padding-left: 1.5rem;
    margin: 1.5rem 0;
}

.objectives-list li {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Images */
.image-placeholder {
    position: relative;
}

.image-placeholder img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

.image-placeholder video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
}

.image-placeholder.large img {
    max-height: 600px;
    object-fit: cover;
    width: 100%;
}

/* Mill Worker's Story - Smaller Images */
.image-placeholder.worker-image {
    max-width: 280px;
    margin-bottom: 1.5rem;
}

.image-placeholder.worker-image img {
    width: 100%;
    height: auto;
}

.caption {
    font-size: 11px;
    color: #666;
    font-style: italic;
    margin-top: 0.5rem;
    text-align: right;
}

/* Worker Quote Styling */
.worker-quote {
    font-style: italic;
    color: #444;
}

/* Resources Section */
.resources-links {
    display: grid;
    gap: 2rem;
    margin: 2rem 0;
}

.resource-item {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e0e0e0;
}

.resource-item:last-child {
    border-bottom: none;
}

.resource-title {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.25rem;
}

.resources-links a {
    font-family: 'DM Sans', sans-serif;
    font-size: 13px;
    color: #2563eb;
    text-decoration: underline;
    transition: color 0.3s;
    word-break: break-all;
}

.resources-links a:hover {
    color: #1d4ed8;
}

/* Contact Section */
#contact {
    position: relative;
    min-height: 600px;
    background: linear-gradient(rgba(238, 240, 233, 0.85), rgba(238, 240, 233, 0.85)),
                url('images/chimney-belfry-2023.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.contact-info {
    background: rgba(255, 255, 255, 0.85);
    padding: 2rem;
    border-radius: 0;
    margin: 2rem 0;
    position: relative;
    z-index: 10;
}

.contact-info h3 {
    margin-top: 0;
}

.contact-info p {
    margin-bottom: 0.5rem;
}

.contact-info a {
    color: #2563eb;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Logo */
.logo {
    width: 120px;
    height: 120px;
    background: #d94a2e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    padding: 1rem;
    line-height: 1.3;
    position: absolute;
    right: 3rem;
    bottom: 3rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        gap: 1.5rem;
        padding: 1.5rem 2rem 1rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 14px;
    }

    .hero {
        min-height: 80vh;
    }

    .hero-content {
        padding: 3rem 2rem;
    }

    .hero h1 {
        font-size: 40px;
    }

    .content-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    section {
        padding: 3rem 1.5rem;
    }
    
    h2 {
        font-size: 18px;
    }

    .logo {
        position: relative;
        right: auto;
        bottom: auto;
        margin: 2rem auto;
    }
}