/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #23435c;
    background-color: #f3f0ea;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Sticky Images */
.sticky-image {
    position: fixed;
    z-index: 1001;
    pointer-events: none;
}

    .sticky-image.top-left {
        top: 0;
        left: 0;
        width: 350px;
        height: 350px;
        overflow: hidden;
        transform: rotate(90deg);
    }

    .sticky-image.bottom-right {
        bottom: 0;
        right: 0;
        width: 350px;
        height: 350px;
        overflow: hidden;
    }

    .sticky-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        opacity: 0.8;
        transition: opacity 0.3s ease;
        mix-blend-mode: multiply;
        filter: contrast(1.1) brightness(1.05);
    }

    .sticky-image:hover img {
        opacity: 1;
        mix-blend-mode: multiply;
}

/* Container */
.container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: #23435c;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: 1rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: #6e7d88;
}

/* Header and Navigation */
.site-header {
    background: #f3f0ea;
    box-shadow: 0 2px 4px rgba(35, 67, 92, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.main-nav {
    padding: 1rem 0;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand a {
    font-size: 1.5rem;
    font-weight: 700;
    color: #23435c;
    text-decoration: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: #23435c;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: #c6793d;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #23435c;
    transition: 0.3s;
}

/* Main Content */
main {
    flex: 1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background: #c6793d;
    color: white;
}

.btn-primary:hover {
    background: #843f22;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: #c6793d;
    border: 2px solid #c6793d;
}

.btn-secondary:hover {
    background: #c6793d;
    color: white;
    transform: translateY(-2px);
}

/* Footer */
.site-footer {
    background: #23435c;
    color: #f3f0ea;
    padding: 2rem 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-info p {
    margin-bottom: 0.25rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: #f3f0ea;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #c6793d;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    /* Adjust sticky images for mobile */
    .sticky-image.top-left,
    .sticky-image.bottom-right {
        width: 100px;
        height: 100px;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #f3f0ea;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 2px 4px rgba(35, 67, 92, 0.1);
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    /* Hide sticky images on very small screens to avoid interference */
    .sticky-image {
        display: none;
    }
    
    .container {
        padding: 0 0.75rem;
    }
}
