:root {
    /* Update these colors to match the branding from beta.kahulife.com */
    --primary-color: #4b6a5d;
    --accent-color: #d78963;
    --text-color: #4b6a5d;
    --bg-color: #fefbf4;
    --footer-bg: #fefbf4;
    --footer-text: #4b6a5d;
}

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

.hidden {
    display: none;
}

body {
    font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header / Logo Area */
header {
    padding: 2rem 2rem 0.5rem;
    text-align: center;
}

.logo {
    max-width: 200px;
    height: auto;
    /* If no image is available yet, this styles the text fallback */
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 1rem 2rem 2rem;
    text-align: center;
}

h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

p.subtitle {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    color: var(--text-color);
    max-width: 600px;
}

/* Responsive Video Container (16:9 Aspect Ratio) */
.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 800px;
    aspect-ratio: 16 / 9;
    margin: 0 auto;
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

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

/* Newsletter Section */
.newsletter-section {
    margin-top: 4rem;
    width: 100%;
    max-width: 600px;
    text-align: center;
}

.newsletter-section h2 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 2rem;
}

.newsletter-section p {
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.newsletter-form input[type="email"] {
    flex: 1;
    padding: 14px 24px;
    border: 1px solid #ccc;
    border-radius: 100px;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
}

.newsletter-form input[type="email"]:focus {
    border-color: var(--accent-color);
}

.newsletter-form button {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 14px 30px;
    border-radius: 100px;
    font-family: inherit;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

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

@media (min-width: 600px) {
    .newsletter-form {
        flex-direction: row;
    }
}

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

    main {
        padding: 0.5rem 1rem 2rem;
    }

    h1 {
        font-size: 2rem;
    }

    p.subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 2rem;
    text-align: center;
    margin-top: auto;
    border-top: 1px solid var(--accent-color);
}

.footer-links {
    margin-bottom: 1rem;
}

.footer-links a {
    color: var(--footer-text);
    text-decoration: none;
    margin: 0 10px;
    transition: color 0.3s ease;
}

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

.copyright {
    font-size: 0.9rem;
    opacity: 0.8;
}