/* Moriah J. Williams - Custom Styles */
/* Matching Wix site aesthetic: calm, healing, nature-inspired */

:root {
    --primary-blue: #1E4D7B;
    --deep-blue: #0D2840;
    --light-blue: #5B8DB8;
    --white: #FFFFFF;
    --off-white: #F8F9FA;
    --text-dark: #2C3E50;
    --text-light: #6C757D;
}

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

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

/* Header with Spider Web Background */
.hero-header {
    position: relative;
    height: 150px;
    background: linear-gradient(rgba(30, 77, 123, 0.7), rgba(13, 40, 64, 0.8)),
                url('/static/images/spider-web-header.png') center/cover no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    margin-bottom: 0;
}

.hero-content h1 {
    font-size: 2rem;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Navigation */
.main-nav {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.5rem 2rem;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 1rem 0;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

/* Content Sections */
.content-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.centered-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Two-Column Layout with Sidebar */
.homepage-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

.main-content {
    /* Left column */
}

.sidebar {
    /* Right column */
}

@media (max-width: 968px) {
    .homepage-container {
        grid-template-columns: 1fr;
    }
}

/* Taglines */
.tagline-section {
    text-align: center;
    margin: 2rem 0;
}

.tagline-section h2 {
    color: var(--primary-blue);
    font-size: 1.8rem;
    font-weight: 300;
    margin-bottom: 0.5rem;
}

.tagline-section h3 {
    color: var(--light-blue);
    font-size: 1.3rem;
    font-weight: 300;
    font-style: italic;
}

.tagline-section p {
    font-size: 1rem;
    margin-top: 1rem;
}

/* Content Images */
.content-images {
    margin: 2rem 0;
}

.content-images img {
    width: 100%;
    height: auto;
    margin-bottom: 1rem;
    border-radius: 4px;
}

/* Service Links */
.service-links {
    text-align: center;
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: var(--off-white);
    border-radius: 8px;
}

.service-links h2 {
    color: var(--primary-blue);
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.8;
}

.service-links a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: color 0.3s;
}

.service-links a:hover {
    color: var(--deep-blue);
}

/* Collapsible Accordion for Principles (Sidebar) */
.principles-sidebar {
    position: sticky;
    top: 120px;
}

.principles-sidebar h2 {
    color: var(--primary-blue);
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.accordion {
    background-color: var(--white);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.accordion-item {
    border-bottom: 1px solid #E0E0E0;
}

.accordion-item:last-child {
    border-bottom: none;
}

.accordion-header {
    padding: 1.5rem;
    cursor: pointer;
    background-color: var(--white);
    transition: background-color 0.3s;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover {
    background-color: var(--off-white);
}

.accordion-header h3 {
    color: var(--primary-blue);
    font-size: 1.3rem;
    font-weight: 500;
}

.accordion-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
    transition: transform 0.3s;
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.accordion-item.active .accordion-content {
    max-height: 500px;
}

.accordion-body {
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-dark);
    line-height: 1.8;
}

/* Footer with Milky Way Background */
.footer-milkyway {
    background: linear-gradient(rgba(13, 40, 64, 0.85), rgba(13, 40, 64, 0.95)),
                url('https://pixy.org/src2/600/6006020.jpg') center/cover no-repeat;
    color: var(--white);
    padding: 3rem 0 2rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-cta {
    text-align: center;
    margin-bottom: 2rem;
}

.book-session-btn {
    display: inline-block;
    padding: 1rem 3rem;
    background-color: var(--primary-blue);
    color: var(--white);
    text-decoration: none;
    border-radius: 4px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: background-color 0.3s;
}

.book-session-btn:hover {
    background-color: var(--light-blue);
}

.footer-newsletter {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-newsletter h3 {
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input {
    padding: 0.75rem;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
}

.newsletter-form button {
    padding: 0.75rem 2rem;
    background-color: var(--light-blue);
    color: var(--white);
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    transition: background-color 0.3s;
}

.newsletter-form button:hover {
    background-color: var(--primary-blue);
}

.footer-social {
    text-align: center;
    margin: 2rem 0;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.social-icons a {
    color: var(--white);
    font-size: 2rem;
    transition: opacity 0.3s;
}

.social-icons a:hover {
    opacity: 0.7;
}

.footer-legal {
    text-align: center;
    font-size: 0.9rem;
    margin-top: 2rem;
    opacity: 0.9;
}

.footer-legal a {
    color: var(--white);
    text-decoration: none;
}

.footer-legal a:hover {
    text-decoration: underline;
}
