/* BAETENS - Shared Styles */

/* Google Fonts loaded in HTML head */

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Titillium Web', system-ui, -apple-system, sans-serif;
    line-height: 1.7;
    color: #383838;
    background: #cacaca;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: 'Titillium Web', system-ui, sans-serif;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }

/* Accent bar */
.accent-bar {
    height: 4px;
    background: #ffdd00;
}

/* Header */
header {
    background: #383838;
    padding: 1.5rem;
}

.header-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: block;
    width: 180px;
    height: auto;
}

.logo path { fill: #fff; }
.logo polyline { stroke: #fff; }

/* Navigation */
nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.03em;
    transition: color 0.2s;
}

nav a:hover,
nav a.active {
    color: #fff;
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    max-width: 800px;
    margin: 0 auto;
    padding: 4rem 1.5rem;
    text-align: center;
}

.hero h1 {
    margin-bottom: 1.5rem;
}

.hero .tagline {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.5rem;
    font-family: 'Titillium Web', system-ui, sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.hero .intro {
    font-size: 1.15rem;
    line-height: 1.8;
    color: #444;
    max-width: 650px;
    margin: 0 auto;
}

/* Bold highlight band - box around text */
.highlight-band {
    display: inline-block;
    margin-bottom: 2rem;
}

.highlight-band h1 {
    display: inline-block;
    background: #ffdd00;
    color: #383838;
    font-size: 2.75rem;
    padding: 2.5rem 3.5rem;
    line-height: 1.3;
}

/* Page title highlight - box around text */
.page-title-highlight {
    margin-bottom: 2rem;
}

.page-title-highlight h1 {
    display: inline-block;
    background: #ffdd00;
    color: #383838;
    font-size: 2.25rem;
    padding: 2.5rem 3rem;
    margin: 0;
    line-height: 1.4;
}

.page-title-highlight p {
    color: #444;
    margin: 1.25rem 0 0 0;
    font-size: 1.1rem;
    line-height: 1.7;
}

@media (max-width: 480px) {
    .page-title-highlight h1 {
        font-size: 1.75rem;
        padding: 1.5rem 2rem;
    }

    .highlight-band h1 {
        font-size: 2rem;
        padding: 1.5rem 2rem;
    }
}

/* Main content container */
.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 1.5rem;
}

.container-narrow {
    max-width: 600px;
}

/* Cards */
.card {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Section styling */
.section {
    padding: 3rem 0;
}

.section-title {
    display: inline-block;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #ffdd00;
    margin-bottom: 1.5rem;
}

/* Focus areas grid */
.focus-grid {
    display: grid;
    gap: 2rem;
}

.focus-item {
    background: #fff;
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.focus-item h3 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #ffdd00;
    display: inline-block;
}

.focus-item p {
    color: #555;
    font-size: 0.95rem;
}

/* About page */
.about-section {
    margin-bottom: 3rem;
}

.about-section:last-child {
    margin-bottom: 0;
}

.about-section h2 {
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #ffdd00;
    display: inline-block;
}

.about-section p {
    color: #444;
    margin-bottom: 1rem;
}

.about-section p:last-child {
    margin-bottom: 0;
}

/* Contact Form */
.form-header {
    margin-bottom: 1.5rem;
}

.form-header h2 {
    display: inline-block;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #ffdd00;
}

.form-group {
    margin-bottom: 1.25rem;
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.375rem;
}

input, textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fff;
}

input:focus, textarea:focus {
    outline: none;
    border-color: #ffdd00;
    box-shadow: 0 0 0 3px rgba(255,221,0,0.2);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

.btn {
    display: inline-block;
    background: #383838;
    color: #fff;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-decoration: none;
}

.btn:hover {
    background: #ffdd00;
    color: #383838;
    text-decoration: none;
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Full-width CTA */
.cta-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #ddd;
    text-align: center;
}

.cta-section p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 1.25rem;
}

.btn-cta {
    display: block;
    width: 100%;
    background: #383838;
    color: #fff;
    padding: 1.25rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    font-family: inherit;
    text-decoration: none;
    text-align: center;
}

.btn-cta:hover {
    background: #ffdd00;
    color: #383838;
    text-decoration: none;
}

.msg {
    padding: 0.75rem;
    border-radius: 4px;
    margin-bottom: 1rem;
    display: none;
    font-size: 0.9rem;
}

.msg.ok {
    display: block;
    background: #d4edda;
    color: #155724;
}

.msg.err {
    display: block;
    background: #f8d7da;
    color: #721c24;
}

/* Form Type Selector */
.form-type-selector {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #eee;
}

.form-type-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: #383838;
}

.form-type-options {
    display: flex;
    gap: 0.75rem;
}

.form-type-option {
    flex: 1;
    cursor: pointer;
}

.form-type-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.form-type-btn {
    display: block;
    text-align: center;
    padding: 0.75rem 1rem;
    background: #f5f5f5;
    border: 2px solid #ddd;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 500;
    color: #555;
    transition: all 0.2s;
}

.form-type-option input[type="radio"]:checked + .form-type-btn {
    background: #ffdd00;
    border-color: #ffdd00;
    color: #383838;
}

.form-type-option:hover .form-type-btn {
    border-color: #bbb;
}

.form-type-option input[type="radio"]:checked + .form-type-btn:hover {
    border-color: #e6c800;
}

/* Select dropdown styling */
select {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 1rem;
    background: #fff;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23383838' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    padding-right: 2.5rem;
}

select:focus {
    outline: none;
    border-color: #ffdd00;
    box-shadow: 0 0 0 3px rgba(255,221,0,0.2);
}

select:invalid {
    color: #888;
}

.turnstile-wrapper {
    margin-bottom: 1.25rem;
}

/* Privacy/Policy pages */
.policy h1 {
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #ffdd00;
    display: inline-block;
}

.policy h2 {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.75rem;
}

.policy p {
    margin-bottom: 1rem;
    color: #444;
    font-size: 0.95rem;
}

.policy ul {
    margin: 0 0 1rem 1.5rem;
    color: #444;
    font-size: 0.95rem;
}

.policy li {
    margin-bottom: 0.5rem;
}

.policy a {
    color: #383838;
    text-decoration: underline;
    text-decoration-color: #ffdd00;
    text-underline-offset: 2px;
}

.policy a:hover {
    color: #000;
}

/* Footer */
footer {
    text-align: center;
    padding: 2rem 1.5rem;
    font-size: 0.8rem;
    color: #666;
}

footer a {
    color: #555;
    text-decoration: none;
}

footer a:hover {
    color: #383838;
    text-decoration: underline;
}

.footer-divider {
    width: 40px;
    height: 3px;
    background: #ffdd00;
    margin: 0 auto 1rem;
}

.footer-nav {
    margin-top: 0.5rem;
}

/* Utility classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-wrap: wrap;
    }

    .nav-toggle {
        display: block;
    }

    nav {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px solid #555;
    }

    nav.active {
        display: flex;
    }

    nav a {
        padding: 0.75rem 0;
        border-bottom: 1px solid #444;
    }

    nav a:last-child {
        border-bottom: none;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }

    .hero {
        padding: 3rem 1rem;
    }

    .hero h1 {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1rem;
    }

    .logo {
        width: 150px;
    }

    .container {
        padding: 2rem 1rem;
    }

    .card {
        padding: 1.5rem;
    }

    .hero {
        padding: 2rem 1rem;
    }

    .form-type-options {
        flex-direction: column;
    }

    .form-type-btn {
        padding: 0.625rem 0.75rem;
        font-size: 0.85rem;
    }
}
