/*
* Color Palette: Graphite & Copper
* --primary-color: #D97706 (Copper/Amber)
* --secondary-color: #334155 (Graphite/Dark Slate)
* --background-color: #F8FAFC (Very light grey/off-white)
* --text-color: #1E293B (Dark Slate text)
* --white-color: #FFFFFF
*/

:root {
    --primary-color: #D97706;
    --secondary-color: #334155;
    --background-color: #F8FAFC;
    --text-color: #1E293B;
    --text-color-light: #475569;
    --white-color: #FFFFFF;
    --light-bg-color: #F1F5F9;
    --border-color: #E2E8F0;
    --footer-bg-color: #1E293B;
    --footer-text-color: #CBD5E1;
}

/* --- Global Styles --- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-color);
    background-color: var(--background-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
}

h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.3;
    color: var(--secondary-color);
    margin-top: 0;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
}

h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.25rem;
}

img {
    max-width: 100%;
    height: auto;
}

.img-responsive {
    width: 100%;
    height: auto;
}

.img-rounded {
    border-radius: 8px;
}

/* --- Header --- */
.site-header {
    position: relative;
    width: 100%;
    padding: 15px 10px;
    background-color: var(--white-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    z-index: 1000;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 0 10px; /* Consistent padding */
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    z-index: 100;
    text-decoration: none;
}

.logo:hover {
    text-decoration: none;
}

.hamburger {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 24px;
    cursor: pointer;
    z-index: 100;
    display: none;
}

.hamburger .line {
    width: 100%;
    height: 3px;
    background-color: var(--secondary-color);
    margin: 5px 0;
    transition: 0.3s;
}

.menu-checkbox {
    display: none;
}

.desktop-nav {
    display: block;
}

.desktop-nav .nav-list {
    display: flex;
    list-style: none;
    gap: 32px;
    margin: 0;
    padding: 0;
}

.desktop-nav a {
    color: var(--text-color);
    font-weight: 500;
    font-size: 1rem;
}

.desktop-nav a:hover {
    color: var(--primary-color);
    text-decoration: none;
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 72px; /* Adjusted for header height */
    left: 0;
    right: 0;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    z-index: 99;
    background-color: var(--white-color);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav li {
    padding: 12px 0;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.mobile-nav a {
    color: var(--secondary-color);
    font-size: 1.2rem;
    display: block;
    width: 100%;
}

@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }

    .hamburger {
        display: block;
    }

    .mobile-nav {
        display: block;
    }

    #menu-toggle:checked ~ .mobile-nav {
        max-height: 400px;
    }

    #menu-toggle:checked ~ .hamburger .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    #menu-toggle:checked ~ .hamburger .line:nth-child(2) {
        opacity: 0;
    }

    #menu-toggle:checked ~ .hamburger .line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
}


/* --- Buttons --- */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: 2px solid transparent;
}

.btn:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white-color);
}

.btn-primary:hover {
    background-color: #B45309; /* Darker primary */
    color: var(--white-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--white-color);
}

.btn-large {
    padding: 16px 36px;
    font-size: 1.1rem;
}

/* --- Sections --- */
.section-padded {
    padding: 80px 0;
}

.section-light-bg {
    background-color: var(--light-bg-color);
}

.section-title-container {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    margin-bottom: 16px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-color-light);
    max-width: 700px;
    margin: 0 auto;
}

/* --- Hero (Unique: Vertical Composition) --- */
.hero-vertical {
    display: flex;
    flex-direction: column;
}
.hero-vertical-image-container {
    width: 100%;
    height: 40vh;
    max-height: 400px;
}
.hero-vertical-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-vertical-content {
    padding: 60px 0;
    text-align: center;
}
.hero-vertical-content h1 {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
}
.hero-vertical-content p {
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 32px;
    font-size: 1.1rem;
    color: var(--text-color-light);
}

/* --- Grids & Layouts --- */
.two-col-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}
@media (min-width: 768px) {
    .two-col-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.three-col-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) {
    .three-col-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.split-content-image-right {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}
@media (min-width: 992px) {
    .split-content-image-right {
        grid-template-columns: 1fr 1fr;
    }
}
.split-content-image {
    order: -1;
}
@media (min-width: 992px) {
    .split-content-image {
        order: 1;
    }
}

/* --- Asymmetrical Grid (Unique) --- */
.asymmetric-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: 1fr;
}
@media (min-width: 768px) {
    .asymmetric-grid {
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: auto auto;
    }
    .asymmetric-card:nth-child(1) {
        grid-column: 1 / 3;
    }
    .asymmetric-card:nth-child(4) {
        grid-column: 2 / 4;
    }
}
.asymmetric-card {
    background-color: var(--white-color);
    padding: 32px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.asymmetric-card h3 {
    margin-bottom: 12px;
    color: var(--primary-color);
}

/* --- Stats Bar --- */
.stats-bar {
    background-color: var(--secondary-color);
    color: var(--white-color);
    padding: 50px 0;
}
.stats-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 30px;
}
.stat-item {
    text-align: center;
}
.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}
.stat-label {
    font-size: 1rem;
    color: var(--footer-text-color);
}

/* --- CTA Section --- */
.cta-section {
    background-color: var(--primary-color);
    color: var(--white-color);
    padding: 80px 0;
    text-align: center;
}
.cta-container h2 {
    color: var(--white-color);
    margin-bottom: 16px;
}
.cta-container p {
    max-width: 600px;
    margin: 0 auto 32px auto;
    opacity: 0.9;
}
.cta-section .btn-primary {
    background-color: var(--white-color);
    color: var(--primary-color);
}
.cta-section .btn-primary:hover {
    background-color: var(--light-bg-color);
}

/* --- Page Header --- */
.page-header {
    padding: 60px 0;
    background-color: var(--light-bg-color);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}
.page-header h1 {
    margin-bottom: 12px;
}
.page-header p {
    max-width: 700px;
    margin: 0 auto;
    color: var(--text-color-light);
}

/* --- Horizontal Tabs (Unique) --- */
.tabs-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.tab-radio {
    display: none;
}
.tab-label {
    padding: 15px 25px;
    font-weight: 600;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
    color: var(--text-color-light);
}
.tab-label:hover {
    color: var(--primary-color);
}
.tab-radio:checked + .tab-label {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}
.tab-content {
    order: 99;
    width: 100%;
    display: none;
    padding: 40px 0;
}
.tab-radio:checked + .tab-label + .tab-content {
    display: block;
}
.content-image {
    float: right;
    width: 300px;
    margin-left: 30px;
    margin-bottom: 20px;
    border-radius: 8px;
}
@media (max-width: 768px) {
    .content-image {
        float: none;
        width: 100%;
        margin: 0 0 20px 0;
    }
}


/* --- Storytelling Section (Unique) --- */
.story-block {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 60px;
}
@media (min-width: 992px) {
    .story-block {
        grid-template-columns: 1fr 1fr;
    }
    .story-block:nth-child(even) .story-image {
        order: 2;
    }
}
.story-text h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* --- Value Cards --- */
.value-card {
    background: var(--white-color);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

/* --- Contact Page (Unique Sidebar Layout) --- */
.contact-layout-sidebar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 50px;
}
@media (min-width: 992px) {
    .contact-layout-sidebar {
        grid-template-columns: 300px 1fr;
    }
}
.contact-sidebar {
    background-color: var(--light-bg-color);
    padding: 30px;
    border-radius: 8px;
}
.contact-sidebar h3 {
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
}
.contact-sidebar p {
    line-height: 1.8;
}

/* --- Forms --- */
.contact-form {
    max-width: 800px;
}
.form-group {
    margin-bottom: 20px;
}
.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
}
.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}
.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}
.form-group textarea {
    resize: vertical;
}

/* --- Legal & Thank You Pages --- */
.text-content {
    max-width: 800px;
}
.text-content h1, .text-content h2 {
    margin-bottom: 20px;
}
.thank-you-section {
    padding: 80px 0;
    text-align: center;
}
.thank-you-content {
    max-width: 700px;
    margin: 0 auto;
}
.thank-you-links {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- Footer --- */
.site-footer {
    background-color: var(--footer-bg-color);
    color: var(--footer-text-color) !important;
    padding: 60px 0 0 0;
}
.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 40px;
}
.site-footer .logo {
    color: var(--white-color) !important;
}
.site-footer h4 {
    color: var(--white-color) !important;
    margin-bottom: 20px;
}
.site-footer p, .site-footer li {
    font-size: 0.95rem;
    color: var(--footer-text-color) !important;
}
.footer-links ul, .footer-legal ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-links li, .footer-legal li {
    margin-bottom: 10px;
}
.site-footer a {
    color: var(--footer-text-color) !important;
    text-decoration: none;
}
.site-footer a:hover {
    color: var(--primary-color) !important;
    text-decoration: underline;
}
.footer-copyright {
    text-align: center;
    padding: 20px;
    border-top: 1px solid #334155;
}
.footer-copyright p {
    margin: 0;
    font-size: 0.9rem;
}

/* --- Cookie Banner --- */
#cookie-banner {
    position: fixed; bottom: 0; left: 0; right: 0; z-index: 9999;
    padding: 18px 24px;
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
    transform: translateY(0); transition: transform 0.4s ease;
    background-color: var(--secondary-color);
    color: var(--white-color);
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
}
#cookie-banner.hidden { transform: translateY(110%); }
#cookie-banner p { margin: 0; flex: 1; min-width: 200px; font-size: 0.9rem; }
#cookie-banner a { color: var(--primary-color); font-weight: 600; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; flex-wrap: wrap; }
.cookie-btn-accept, .cookie-btn-decline {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}
.cookie-btn-accept {
    background-color: var(--primary-color);
    color: var(--white-color);
}
.cookie-btn-decline {
    background-color: transparent;
    color: var(--white-color);
    border: 1px solid var(--white-color);
}
@media (max-width: 600px) {
    #cookie-banner { flex-direction: column; align-items: flex-start; }
    .cookie-btns { width: 100%; }
    .cookie-btn-accept, .cookie-btn-decline { flex: 1; text-align: center; }
}