/*
Theme Name: EMDRIA Harms Sex Abuse Victims
Description: Advocacy site highlighting concerns about EMDRIA policies affecting sex abuse victims.
Version: 1.0.0
Text Domain: emdria-harms
*/

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

:root {
    --color-bg: #ffffff;
    --color-text: #333333;
    --color-heading: #1a1a1a;
    --color-accent: #2b6cb0;
    --color-border: #e0e0e0;
    --font-heading: 'Poppins', 'Futura', 'Helvetica Neue', sans-serif;
    --font-body: 'Lora', 'Georgia', serif;
    --header-height: 70px;
    --max-width: 1200px;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3 {
    font-family: var(--font-body);
    color: var(--color-heading);
    line-height: 1.3;
    margin-bottom: 0.5em;
    font-weight: 400;
}
h1 { font-size: 2.4rem; }
h2 { font-size: 1.35rem; }
h3 { font-size: 1.1rem; }
p { margin-bottom: 1em; }

/* === Header === */
.site-header {
    position: relative;
    background: #f1f1f1;
    border-bottom: none;
    padding: 24px 0;
    text-align: center;
}

.site-header .container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

.site-title {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.site-title a { color: var(--color-heading); text-decoration: none; }

.main-navigation { display: none; }
.menu-toggle { display: none; }

/* === Hero Banner === */
.hero-banner {
    width: 100%;
    min-height: 400px;
    background-color: #08182d;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-banner-overlay {
    padding: 100px 20px;
    max-width: 750px;
}

.hero-banner h1 {
    color: #c0392b;
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 5px;
    margin-bottom: 1.8em;
}

.hero-banner h2 {
    color: #fff;
    font-family: var(--font-body);
    font-size: 4.2rem;
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin-bottom: 0;
}

/* === Spacer === */
.section-spacer { height: 40px; }

/* === Two-Column Layout === */
.page-content-columns {
    display: flex;
    margin: 0;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    gap: 80px;
}

.column-main { flex: 3; min-width: 0; }
.column-sidebar { flex: 1; min-width: 0; }

/* Inner columns */
.inner-columns {
    padding-left: 0;
}

.inner-content {
    max-width: 100%;
}

/* === Photo Slideshow === */
.photo-slideshow {
    position: relative;
    background: #f1f1f1;
    overflow: hidden;
}

.slideshow-viewport {
    position: relative;
    width: 100%;
    height: 690px;
    overflow: hidden;
}

.slideshow-track {
    position: relative;
    width: 100%;
    height: 100%;
}

.slideshow-track img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.slideshow-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(34,34,34,1);
    color: #fff;
    border: none;
    width: 44px;
    height: 44px;
    font-size: 1.4rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slideshow-arrow:hover { opacity: 0.8; }
.slideshow-arrow--prev { left: 0; }
.slideshow-arrow--next { right: 0; }

.slideshow-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 12px;
    padding-bottom: 20px;
}

.slideshow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    border: none;
    cursor: pointer;
    padding: 0;
}

.slideshow-dot.active { background: #333; }

/* === Main Text Content (flowing, no section borders) === */
.main-text-content {
    padding: 20px 0;
}

.main-text-content h2 {
    font-family: var(--font-body);
    font-size: 1.35rem;
    font-weight: 400;
    line-height: 1.4;
    margin-top: 0.8em;
    margin-bottom: 0.4em;
}

.main-text-content p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 1em;
}

/* === Quote Image === */
.quote-image-section {
    padding: 20px 0;
    margin: 20px 0;
}

.quote-image-section img {
    width: 100%;
    margin-bottom: 12px;
}

.quote-image-section .caption {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--color-text);
}

/* === Evidence Section === */
.evidence-section {
    padding: 20px 0;
}

.evidence-section img {
    width: 100%;
    margin: 16px 0;
}

/* === Video Embeds === */
.video-block { margin-bottom: 24px; }

.video-responsive {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
    margin-bottom: 12px;
}

.video-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* === Sidebar / Newsletter === */
.sidebar-signup {
    background: #f1f1f1;
    padding: 20px 16px;
    text-align: center;
    overflow: hidden;
}

.sidebar-signup *,
.sidebar-signup *::before,
.sidebar-signup *::after {
    box-sizing: border-box;
}

.sidebar-signup h2 {
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 0.4em;
    color: var(--color-heading);
}

.sidebar-signup > p {
    font-size: 0.8rem;
    color: #555;
    margin-bottom: 1em;
}

.signup-label {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.65rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #999;
    margin-bottom: 6px;
    text-align: left;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-signup input[type="email"],
.signup-form input[type="email"] {
    width: 100% !important;
    padding: 8px 0 !important;
    border: none !important;
    border-bottom: 1px solid #ccc !important;
    border-radius: 0 !important;
    font-size: 0.85rem !important;
    font-family: var(--font-body) !important;
    background: transparent !important;
    color: var(--color-text) !important;
    box-sizing: border-box !important;
}

.sidebar-signup input[type="email"]::placeholder,
.signup-form input[type="email"]::placeholder {
    color: #bbb;
}

.sidebar-signup input[type="email"]:focus,
.signup-form input[type="email"]:focus {
    outline: none !important;
    border-bottom-color: #666 !important;
    box-shadow: none !important;
}

.sidebar-signup input[type="submit"],
.sidebar-signup button[type="submit"],
.signup-form button {
    width: 100% !important;
    padding: 12px 14px !important;
    background: transparent !important;
    color: var(--color-heading) !important;
    border: 1px solid var(--color-heading) !important;
    border-radius: 0 !important;
    font-family: var(--font-heading) !important;
    font-size: 0.7rem !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    cursor: pointer !important;
}

.sidebar-signup input[type="submit"]:hover,
.sidebar-signup button[type="submit"]:hover,
.signup-form button:hover {
    background: var(--color-heading) !important;
    color: #fff !important;
}

.signup-privacy {
    font-size: 0.7rem;
    color: #999;
    margin-top: 4px;
    text-align: center;
}

/* === Sidebar Videos === */
.sidebar-video-section {
    margin-top: 30px;
}

.sidebar-video-section .video-block {
    margin-bottom: 36px;
}

.video-overlay-wrapper {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    padding-bottom: 56.25%;
    height: 0;
    margin-bottom: 8px;
}

.video-overlay-wrapper img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay-wrapper .video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0,0,0,0.6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.video-overlay-wrapper .video-play-icon::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 10px 0 10px 18px;
    border-color: transparent transparent transparent #fff;
    margin-left: 3px;
}

.video-overlay-wrapper .video-opaque {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.15);
    z-index: 1;
}

.video-overlay-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.sidebar-video-section .video-caption {
    font-size: 0.85rem;
    line-height: 1.6;
    color: #555;
}

/* === Sidebar Contact Button === */
.sidebar-contact {
    text-align: center;
    padding: 30px 0;
}

.contact-button {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-heading);
    border: 1px solid var(--color-heading);
    padding: 12px 24px;
    text-decoration: none;
    transition: all 0.2s;
}

.contact-button:hover {
    background: var(--color-heading);
    color: #fff;
    text-decoration: none;
}

/* === Full-width CTA === */
.full-width-cta {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 40px;
}

.full-width-cta p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1em;
}

/* === Footer (citations + disclaimer) === */
.site-footer {
    background: var(--color-bg);
    padding: 40px 0;
    border-top: 1px solid var(--color-border);
}

.footer-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.site-footer h3 {
    font-family: var(--font-body);
    font-size: 1.1rem;
    margin-bottom: 0.8em;
}

.site-footer p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: #555;
    margin-bottom: 0.8em;
    word-break: break-word;
}

.site-footer a {
    color: var(--color-accent);
}

.footer-disclaimer {
    margin-top: 40px;
    font-size: 0.85rem;
    color: #555;
}

/* === Mobile === */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        cursor: pointer;
        padding: 8px;
    }

    .menu-toggle span {
        display: block;
        width: 22px;
        height: 2px;
        background: var(--color-heading);
        margin: 5px 0;
        transition: all 0.3s;
    }

    .main-navigation {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--color-bg);
        border-bottom: 1px solid var(--color-border);
        padding: 16px 20px;
        z-index: 100;
    }

    .main-navigation.active { display: block; }
    .main-navigation ul { list-style: none; }
    .main-navigation li { padding: 8px 0; }
    .main-navigation a { color: var(--color-heading); font-family: var(--font-heading); font-size: 0.9rem; }

    .page-content-columns {
        flex-direction: column;
        padding: 0 20px;
    }

    .column-main, .column-sidebar {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .inner-columns { padding-left: 0; }

    .hero-banner { min-height: 250px; }
    .hero-banner h1 { font-size: 0.65rem; }
    .hero-banner h2 { font-size: 1.8rem; }

    .slideshow-viewport { height: 400px; }

    .full-width-cta { padding: 30px 20px; }
    .footer-inner { padding: 0 20px; }
}
