/*
 * styles-muted.css for rsabiltong.com
 * Muted/Greyed Blue and Orange Color Scheme
 * Mobile-First Base Styles
 */

/* 1. CSS Reset & Typography */
:root {
    --color-primary: #4A8FA7; /* Blue-Teal (with more green) */
    --color-secondary: #D9935F; /* Warm Orange (more vibrant terracotta) */
    --color-background: #f5f5f5;
    --color-light-background: #fafafa;
    --color-text: #2c2c2c;
    --color-text-light: #666666;
    --color-primary-dark: #3A7389;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
}

/* Skip to content link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: 8px;
    text-decoration: none;
    z-index: 1000;
}

.skip-link:focus {
    top: 0;
}

/* 2. Layout & Containers */

.container {
    width: 100%;
    padding: 0 15px; /* Padding for mobile edges */
    margin: 0 auto;
}

section {
    padding: 18px 0;
    border-bottom: 1px solid #e0e0e0;
    scroll-margin-top: 80px; /* Offset for sticky header */
}

/* 3. Header & Navigation */

header {
    background: var(--color-primary);
    color: white;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

header h1 {
    font-size: 1.5rem; /* Mobile-friendly size */
    margin-bottom: 5px;
}

.header-logo {
    height: 40px;
    width: auto;
    display: block;
}

.lang-selector a {
    color: white;
    margin: 0 5px;
    text-decoration: none;
    font-weight: bold;
    padding: 5px 8px; /* Touch target size */
    border-radius: 3px;
    transition: background-color 0.2s;
}

.lang-selector a:hover,
.lang-selector a:focus {
    background-color: rgba(255, 255, 255, 0.15);
}

.lang-selector a.active {
    background-color: var(--color-secondary);
    color: white;
}

/* 4. Headings and Content */

h2 {
    font-size: 1.8rem;
    color: var(--color-primary);
    margin-bottom: 20px;
    text-align: center;
    border-bottom: 3px solid var(--color-secondary);
    padding-bottom: 8px;
}

h3 {
    font-size: 1.3rem;
    margin-top: 25px;
    margin-bottom: 10px;
    color: var(--color-primary);
}

p {
    margin-bottom: 15px;
}

/* Special Section Styling */
.history-bg {
    background-color: var(--color-light-background);
}

/* About Section */
.about-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.about-logo {
    max-width: 200px;
    width: 100%;
    height: auto;
}

/* Hero Section */
.hero-section {
    padding: 10px 0 40px 0;
    background-color: #ffffff;
}

.hero-container {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-container h2 {
    margin-bottom: 10px;
    margin-top: 5px;
    border-bottom: none;
    padding-bottom: 0;
}

.hero-image-wrapper {
    background-color: #ffffff;
    width: 100%;
    margin: 10px 0;
    border-radius: 5px;
    overflow: hidden;
}

.hero-image {
    display: block;
    max-width: 100%;
    width: 100%;
    height: auto;
    background-color: #ffffff;
}

.hero-cta {
    display: inline-block;
    margin-top: 15px;
}

/* 5. Buttons & CTAs */

.cta-button {
    display: inline-block;
    padding: 12px 25px;
    background: var(--color-secondary);
    color: white;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
}

.cta-button:hover {
    background-color: #c77f4d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* 6. Form Styling (Teaser Section) */
#teaser {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
    color: white;
    padding: 50px 0;
    text-align: center;
}

#teaser h2 {
    color: white;
    border-bottom-color: var(--color-secondary);
}

#teaser input[type="email"],
#teaser button[type="submit"] {
    padding: 12px;
    border: none;
    border-radius: 5px;
    margin: 5px;
    font-size: 1rem;
}

#teaser input[type="email"] {
    border: 2px solid var(--color-secondary);
}

#teaser button[type="submit"] {
    background: var(--color-secondary);
    color: white;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#teaser button[type="submit"]:hover {
    background-color: #c77f4d;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

.privacy-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.95);
    background-color: rgba(0, 0, 0, 0.15);
    padding: 12px 16px;
    border-radius: 5px;
    margin-top: 15px;
    line-height: 1.5;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    border-left: 3px solid var(--color-secondary);
}

/* 7. Footer */

footer {
    background: var(--color-primary);
    color: white;
    padding: 20px 0;
    font-size: 0.9rem;
    text-align: center;
}

/* 8. Desktop Enhancements (Media Query) */
@media (min-width: 768px) {
    .container {
        padding: 0 20px;
        max-width: 1100px;
    }

    header h1 {
        font-size: 1.8rem;
    }

    /* Simple Grid for wider content */
    #benefits .content-wrapper {
        display: flex;
        gap: 40px;
    }

    /* About section on desktop */
    .about-content {
        flex-direction: row;
        align-items: flex-start;
    }

    .about-logo {
        max-width: 250px;
        flex-shrink: 0;
    }

    .header-logo {
        height: 50px;
    }
}
