/* Main Stylesheet for Slowell */

:root {
    --primary-bg: #faf8f4;
    --primary-text: #2c2c2c;
    --accent-dark: #2d5a3d;
    --accent-warm: #b89968;
    --border-light: #e8e4dd;
    --white: #ffffff;
}

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

html, body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--white);
    color: var(--primary-text);
    line-height: 1.6;
}

/* Hero Section */
.hero {
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
    text-align: left;
}

.hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.5px;
}

.hero-content .lead {
    font-size: 1.5rem;
    font-weight: 300;
    opacity: 0.95;
}

/* Navigation */
.navbar {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
    font-size: 1.5rem;
    color: var(--accent-dark) !important;
}

.navbar-light .navbar-nav .nav-link {
    color: var(--primary-text) !important;
    transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--accent-dark) !important;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: var(--primary-text);
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 1.75rem;
    border-bottom: 2px solid var(--accent-warm);
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.25rem;
    color: var(--accent-dark);
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

/* Images */
img {
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-light);
}

.img-fluid {
    max-width: 100%;
    height: auto;
}

/* Buttons */
.btn {
    border-radius: 4px;
    font-weight: 500;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
}

.btn-dark {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
}

.btn-dark:hover {
    background-color: #1f3f2a;
    border-color: #1f3f2a;
}

.btn-outline-dark {
    color: var(--accent-dark);
    border-color: var(--accent-dark);
}

.btn-outline-dark:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    color: white;
}

.btn-outline-secondary {
    color: var(--primary-text);
    border-color: var(--primary-text);
}

.btn-outline-secondary:hover {
    background-color: var(--primary-text);
    border-color: var(--primary-text);
    color: white;
}

/* Forms */
.form-control {
    border: 1px solid var(--border-light);
    border-radius: 4px;
    padding: 0.75rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--accent-dark);
    box-shadow: 0 0 0 0.2rem rgba(45, 90, 61, 0.25);
}

.form-group label {
    font-weight: 500;
    color: var(--primary-text);
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--primary-bg);
    border-top: 1px solid var(--border-light);
}

footer h6 {
    color: var(--accent-dark);
    font-weight: 600;
}

footer a {
    color: var(--primary-text);
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: var(--accent-dark);
}

footer .small {
    font-size: 0.875rem;
}

/* Cookie Consent Banner */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--primary-bg);
    border-top: 1px solid var(--border-light);
    padding: 1.5rem;
    z-index: 1000;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.08);
}

.cookie-consent p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.cookie-consent .btn {
    white-space: nowrap;
}

/* Alerts */
.alert {
    border-radius: 6px;
    border: 1px solid var(--border-light);
}

.alert-light {
    background-color: var(--primary-bg);
    border-color: var(--border-light);
}

/* Custom Sections */
section {
    margin: 2rem 0;
}

.text-decoration-none {
    text-decoration: none;
}

.text-decoration-none:hover {
    text-decoration: underline;
}

/* Responsive Design - Mobile First */
@media (max-width: 576px) {
    .hero {
        height: 300px;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content .lead {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    h3 {
        font-size: 1.1rem;
    }

    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .cookie-consent {
        bottom: 0;
        left: 0;
        right: 0;
    }

    .cookie-consent .container {
        flex-direction: column;
    }

    .cookie-consent .btn {
        width: 100%;
        margin-top: 0.5rem;
    }
}

@media (min-width: 768px) {
    .hero {
        height: 450px;
    }

    .hero-content h1 {
        font-size: 4rem;
    }
}

@media (min-width: 992px) {
    section {
        margin: 3rem 0;
    }

    .navbar-expand-lg .navbar-nav .nav-link {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
    }
}

/* Utility Classes */
.mb-0 {
    margin-bottom: 0 !important;
}

.mt-0 {
    margin-top: 0 !important;
}

.py-5 {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.text-muted {
    color: #6c757d;
}

.text-danger {
    color: #dc3545;
}

.border-bottom {
    border-bottom: 1px solid var(--border-light);
}

/* Links */
a {
    color: var(--accent-dark);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-warm);
}

/* Lists */
ul {
    margin-bottom: 1.5rem;
}

li {
    margin-bottom: 0.75rem;
}

.list-unstyled li {
    margin-bottom: 0.5rem;
}

/* Spacing */
.gap-4 {
    gap: 1.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mb-5 {
    margin-bottom: 3rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.mr-2 {
    margin-right: 0.5rem;
}

.my-4 {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

.my-5 {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

/* Grid */
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -12px;
    margin-left: -12px;
}

.row > [class*='col-'] {
    padding-right: 12px;
    padding-left: 12px;
}

/* Flexbox */
.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.justify-content-between {
    justify-content: space-between;
}

.flex-wrap {
    flex-wrap: wrap;
}

/* Screen reader text */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Print Styles */
@media print {
    .navbar,
    .cookie-consent,
    footer {
        display: none;
    }
}
