/* =========================================================
   style_TreesAndRocks_Earthbound.css
   TreesAndRocks.Love – Custom Earthbound Theme
   ========================================================= */


/* =========================================================
   01. Reset & Base
   ========================================================= */

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

html {
    font-size: 16px;
}

body {
    font-family: "Times New Roman", Times, serif;
    line-height: 1.7;
    color: #3b3b3b;
    background-color: #f4f1ec;
}


/* =========================================================
   02. Layout Primitives
   ========================================================= */

main {
    min-height: calc(100vh - 200px);
}

.container {
    max-width: 900px;
    margin: 3rem auto;
    padding: 2.5rem;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.08);
}


/* =========================================================
   03. Header & Navigation
   ========================================================= */

header {
    background: linear-gradient(
        135deg,
        #2aa6a1 0%,
        #1f7f7b 100%
    );
    color: #ffffff;
    padding: 0.75rem 1.25rem;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.15);
}

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

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

nav ul.navbar {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
}

nav ul.navbar li {
    margin: 0 1.25rem;
}

nav ul.navbar a {
    color: #ffffff;
    font-weight: 600;
    letter-spacing: 0.03em;
    padding: 0.5rem 0;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

nav ul.navbar a:hover {
    color: #ffe6c7;
    text-shadow: 0 0 6px rgba(255, 255, 255, 0.4);
}


/* =========================================================
   04. Typography
   ========================================================= */

h1 {
    font-size: 2.6rem;
    color: #5a3e2b;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #d9772b;
    padding-bottom: 0.5rem;
}

h2 {
    font-size: 1.9rem;
    color: #2aa6a1;
    margin: 2rem 0 1rem;
}

h3 {
    font-size: 1.4rem;
    color: #5a3e2b;
    margin: 1.5rem 0 0.75rem;
}

h4 {
    font-size: 1.2rem;
    color: #2aa6a1;
    margin: 1.25rem 0 0.75rem;
}

h5 {
    font-size: 1.05rem;
    color: #5a3e2b;
}

h6 {
    font-size: 0.95rem;
    color: #2aa6a1;
}

p {
    margin-bottom: 1.1rem;
    text-align: justify;
}

small {
    font-size: 0.85rem;
    color: #6b6b6b;
}

strong {
    font-weight: 700;
}


/* =========================================================
   05. Links & Buttons
   ========================================================= */

a {
    color: #2aa6a1;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #1f7f7b;
    text-decoration: underline;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.75rem;
    background: linear-gradient(
        135deg,
        #d9772b 0%,
        #b8611f 100%
    );
    color: #ffffff;
    border-radius: 6px;
    font-weight: 600;
    letter-spacing: 0.03em;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(217, 119, 43, 0.4);
}


/* Contextual CTA links */
main a[href*="/contact/"],
main a[href*="/schedule/"] {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: #2aa6a1;
    color: #ffffff;
    border-radius: 6px;
    margin: 0.5rem 0;
}

main a[href*="/contact/"]:hover,
main a[href*="/schedule/"]:hover {
    background: #1f7f7b;
    box-shadow: 0 5px 15px rgba(42, 166, 161, 0.35);
}


/* =========================================================
   06. Lists & Content Elements
   ========================================================= */

ul, ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
}

blockquote {
    border-left: 5px solid #d9772b;
    padding-left: 1.25rem;
    margin: 1.25rem 0;
    color: #5a3e2b;
    font-style: italic;
    background: #faf6f1;
}

hr {
    border: none;
    border-top: 1px solid #ddd;
    margin: 2.5rem 0;
}


/* =========================================================
   07. Code & Preformatted
   ========================================================= */

code {
    background-color: #f0ebe5;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-family: "Courier New", monospace;
    color: #1f7f7b;
}

pre {
    background-color: #f4f1ec;
    padding: 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    overflow-x: auto;
    border-left: 5px solid #2aa6a1;
}


/* =========================================================
   08. Forms
   ========================================================= */

label {
    font-weight: 600;
    color: #5a3e2b;
}

input,
textarea,
select {
    width: 100%;
    padding: 0.65rem 0.75rem;
    font-family: inherit;
    font-size: 1rem;
    border: 1px solid #cfc6bc;
    border-radius: 5px;
    margin-bottom: 1rem;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #2aa6a1;
    box-shadow: 0 0 0 2px rgba(42, 166, 161, 0.25);
}


/* =========================================================
   09. Tables
   ========================================================= */

th {
    background-color: #f0ebe5;
    font-weight: 700;
    color: #5a3e2b;
}


/* =========================================================
   10. Hero Section
   ========================================================= */

.hero {
    position: relative;
    padding: 4rem 1.5rem;
    background: linear-gradient(
        180deg,
        #ffffff 0%,
        #f0ebe5 100%
    );
    overflow: hidden;
    border-radius: 10px;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("/images/Hero_Background.webp");
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}


/* =========================================================
   11. Footer
   ========================================================= */

footer {
    background-color: #5a3e2b;
    color: #ffffff;
    text-align: center;
    padding: 2.5rem 1.5rem;
    margin-top: 3rem;
}

footer p {
    margin-bottom: 0.5rem;
}


/* =========================================================
   12. Accessibility & Motion
   ========================================================= */

:focus-visible {
    outline: 3px solid #d9772b;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}


/* =========================================================
   13. Responsive Adjustments
   ========================================================= */

@media (max-width: 768px) {
    .container {
        margin: 1rem;
        padding: 1.25rem;
    }

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

    nav ul.navbar {
        flex-direction: column;
        align-items: center;
    }

    nav ul.navbar li {
        margin: 0.5rem 0;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    h1 { font-size: 1.6rem; }
    h2 { font-size: 1.25rem; }

    .container {
        margin: 0.5rem;
        padding: 1rem;
    }
}
