/* Base Layout Styles */
body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
}

/* Typography - Headings use Rowan, Paragraphs use Sweet Sans */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-headings);
}

p {
    font-family: var(--font-family-body);
}

.container {
    width: 100%;
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 var(--space-4);
}

/* Header Layout */
.header {
    background-color: var(--color-background);
    border-bottom: 1px solid var(--color-border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-4);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    text-decoration: none;
}

.logo-icon {
    height: 50px;
    width: auto;
}

.logo-divider {
    font-size: 3rem;
    color: var(--color-primary);
    font-weight: var(--font-weight-normal);
    line-height: 1;
}

.logo-text {
    height: 40px;
    width: auto;
}

.nav-list {
    display: flex;
    gap: var(--space-6);
}

.nav-link {
    font-family: var(--font-family-body);
    font-weight: var(--font-weight-semibold);
    padding: var(--space-2) var(--space-3);
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.nav-link:hover {
    background-color: var(--color-background-light);
    color: var(--color-primary);
}

/* Main Content Layout */
.main {
    min-height: calc(100vh - 200px);
}

.section {
    padding: var(--space-16) 0;
}

.section:nth-child(even) {
    background-color: var(--color-background-light);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    text-align: center;
    padding: var(--space-24) 0;
}

.hero-badge {
    max-width: 150px;
    width: 100%;
    height: auto;
    margin: 0 auto var(--space-6);
    display: block;
}

.hero-title {
    font-family: var(--font-family-headings);
    font-size: var(--font-size-4xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-4);
}

.hero-title-image {
    max-width: 600px;
    width: 100%;
    height: auto;
    margin: 0 auto var(--space-4);
    display: block;
}

.hero-text {
    font-size: var(--font-size-lg);
    margin-bottom: var(--space-8);
    opacity: 0.9;
}

/* Section Layout */
.section-title {
    font-size: var(--font-size-3xl);
    font-weight: var(--font-weight-bold);
    margin-bottom: var(--space-6);
    text-align: center;
}

.section-text {
    font-size: var(--font-size-lg);
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    color: var(--color-wood);
}

/* Home Page Image */
.home-image {
    width: 100%;
    max-width: 1000px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Footer Layout */
.footer {
    background-color: var(--color-text);
    color: white;
    text-align: center;
    padding: var(--space-8) 0;
}

/* Mobile Responsive Design */
@media (max-width: 768px) {
    .logo-icon {
        height: 40px;
    }

    .logo-text {
        height: 32px;
    }

    .logo-divider {
        font-size: 2.5rem;
    }

    .header .container {
        flex-direction: column;
        gap: var(--space-4);
    }

    .nav-list {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-3);
    }

    .hero {
        padding: var(--space-16) 0;
    }

    .hero-badge {
        max-width: 120px;
    }

    .hero-title {
        font-size: var(--font-size-3xl);
    }

    .hero-title-image {
        max-width: 400px;
    }

    .section {
        padding: var(--space-12) 0;
    }

    .section-title {
        font-size: var(--font-size-2xl);
    }

    .container {
        padding: 0 var(--space-3);
    }

    .home-image {
        border-radius: var(--border-radius);
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: var(--font-size-2xl);
    }

    .hero-title-image {
        max-width: 280px;
    }

    .hero-text {
        font-size: var(--font-size-base);
    }

    .section-title {
        font-size: var(--font-size-xl);
    }

    .nav-list {
        gap: var(--space-2);
    }
}