/* Morning Meditation Styles - Redesigned 2025 */

/* Color Palette - Traditional Romanesque */
:root {
    --primary-text: #2a2421;
    --secondary-text: #5a524c;
    --accent-text: #7c5c3f;
    --background: #f7f5f2;
    --card-background: #ffffff;
    --burgundy: #6b2d2d;
    --deep-bronze: #8b6f47;
    --olive: #6b7456;
    --stone: #9a8f82;
    --cream: #f4efe8;
    --light-burgundy: #f5ebe8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Garamond', 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: var(--primary-text);
    background-color: var(--background);
}

.container {
    max-width: 820px;
    margin: 0 auto;
    padding: 60px 20px;
}

/* Hero Image Section */
.hero-image-section {
    position: relative;
    width: 100%;
    height: 80vh;
    min-height: 550px;
    max-height: 850px;
    background-image: url('../images/hero-sunrise.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        rgba(42, 36, 33, 0.4) 0%,
        rgba(42, 36, 33, 0.5) 50%,
        rgba(42, 36, 33, 0.6) 100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 40px 20px;
    max-width: 850px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: 4.2em;
    font-weight: 400;
    margin-bottom: 24px;
    color: #ffffff;
    text-shadow: 2px 2px 12px rgba(0, 0, 0, 0.8);
    letter-spacing: 3px;
    line-height: 1.1;
}

.hero-subtitle {
    font-size: 1.6em;
    color: var(--cream);
    font-style: italic;
    margin-bottom: 28px;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.8);
    font-weight: 300;
    letter-spacing: 1px;
}

.hero-motto {
    font-size: 1.2em;
    color: #ffffff;
    line-height: 1.6;
    text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.8);
    max-width: 650px;
    margin: 0 auto;
    padding: 18px 28px;
    background: rgba(42, 36, 33, 0.3);
    border-radius: 4px;
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 70px 40px;
    background-color: var(--card-background);
    border-radius: 0;
    margin-bottom: 70px;
    border-top: 3px solid var(--burgundy);
    border-bottom: 1px solid var(--stone);
}

.hero-headline {
    font-size: 1.9em;
    line-height: 1.5;
    color: var(--primary-text);
    margin-bottom: 30px;
    font-weight: 400;
    letter-spacing: 0.3px;
}

.hero-description {
    font-size: 1.2em;
    line-height: 1.8;
    color: var(--secondary-text);
    margin-bottom: 32px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-tagline {
    font-size: 1.15em;
    color: var(--accent-text);
    font-style: italic;
    font-weight: 300;
    letter-spacing: 0.5px;
}

/* Subscribe Section */
.subscribe-section {
    text-align: center;
    margin: 70px 0;
    padding: 60px 40px;
    background: linear-gradient(to bottom, var(--cream), var(--background));
    border-top: 1px solid var(--stone);
    border-bottom: 1px solid var(--stone);
}

.subscribe-intro {
    font-size: 1.25em;
    margin-bottom: 32px;
    color: var(--primary-text);
    font-weight: 400;
}

#subscribeForm,
#subscribeFormBottom {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 480px;
    margin: 0 auto;
}

#subscribeForm input[type="email"],
#subscribeFormBottom input[type="email"] {
    padding: 18px 24px;
    font-size: 1.05em;
    border: 2px solid var(--stone);
    border-radius: 2px;
    font-family: 'Garamond', Georgia, serif;
    transition: all 0.3s ease;
    background-color: var(--card-background);
}

#subscribeForm input[type="email"]:focus,
#subscribeFormBottom input[type="email"]:focus {
    outline: none;
    border-color: var(--burgundy);
    box-shadow: 0 0 0 3px rgba(107, 45, 45, 0.1);
}

#subscribeForm button,
#subscribeFormBottom button {
    padding: 18px 40px;
    font-size: 1.1em;
    background-color: var(--burgundy);
    color: white;
    border: none;
    border-radius: 2px;
    cursor: pointer;
    font-family: 'Garamond', Georgia, serif;
    transition: all 0.25s ease;
    font-weight: 400;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.95em;
}

#subscribeForm button:hover,
#subscribeFormBottom button:hover {
    background-color: #5a2424;
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(107, 45, 45, 0.3);
}

#subscribeForm button:active,
#subscribeFormBottom button:active {
    transform: translateY(0);
}

.subscribe-note {
    margin-top: 16px;
    font-size: 0.9em;
    color: var(--secondary-text);
    font-style: italic;
}

.message {
    margin-top: 20px;
    padding: 16px;
    border-radius: 2px;
    display: none;
}

.message.success {
    display: block;
    background-color: #e8f0e3;
    color: var(--olive);
    border: 1px solid var(--olive);
}

.message.error {
    display: block;
    background-color: var(--light-burgundy);
    color: var(--burgundy);
    border: 1px solid var(--burgundy);
}

/* Why Practice Section */
.why-section {
    background-color: var(--card-background);
    padding: 70px 50px;
    border-radius: 0;
    margin: 70px 0;
    border-left: 4px solid var(--deep-bronze);
}

.why-section h2 {
    margin-bottom: 35px;
    color: var(--primary-text);
    font-size: 2.1em;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.benefits-content {
    max-width: 680px;
}

.benefit-intro {
    font-size: 1.15em;
    line-height: 1.8;
    color: var(--secondary-text);
    margin-bottom: 32px;
}

.benefits-list {
    list-style: none;
    margin: 32px 0;
    padding: 0;
}

.benefits-list li {
    font-size: 1.1em;
    line-height: 2;
    color: var(--primary-text);
    padding-left: 32px;
    position: relative;
    margin-bottom: 14px;
}

.benefits-list li::before {
    content: "—";
    position: absolute;
    left: 0;
    color: var(--burgundy);
    font-weight: bold;
}

.benefit-closing {
    font-size: 1.1em;
    line-height: 1.8;
    color: var(--accent-text);
    margin-top: 32px;
    font-style: italic;
}

/* What You Receive Section */
.what-section {
    background-color: var(--cream);
    padding: 60px 50px;
    border-radius: 0;
    margin: 70px 0;
    border-top: 1px solid var(--stone);
    border-bottom: 1px solid var(--stone);
}

.what-section h2 {
    text-align: center;
    margin-bottom: 28px;
    color: var(--primary-text);
    font-size: 2.1em;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.what-description {
    font-size: 1.15em;
    line-height: 1.8;
    color: var(--secondary-text);
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

/* Sample Email */
.sample {
    background-color: var(--card-background);
    padding: 70px 50px;
    border-radius: 0;
    margin: 70px 0;
}

.sample h3 {
    text-align: center;
    margin-bottom: 40px;
    color: var(--primary-text);
    font-size: 1.6em;
    font-weight: 400;
    letter-spacing: 0.5px;
}

.email-preview {
    border: 2px solid var(--stone);
    border-radius: 0;
    overflow: hidden;
    background-color: var(--background);
    max-width: 650px;
    margin: 0 auto;
}

.email-header {
    background-color: var(--cream);
    padding: 20px 24px;
    font-size: 0.95em;
    line-height: 1.7;
    color: var(--primary-text);
    border-bottom: 1px solid var(--stone);
}

.email-body {
    padding: 32px 28px;
    background-color: var(--card-background);
}

.email-body blockquote {
    margin: 0 0 28px 0;
    padding: 28px;
    background-color: var(--light-burgundy);
    border-left: 4px solid var(--burgundy);
    font-style: italic;
    color: var(--primary-text);
    font-size: 1.05em;
    line-height: 1.7;
}

.email-body cite {
    display: block;
    margin-top: 14px;
    font-style: normal;
    color: var(--accent-text);
    font-size: 0.95em;
}

.email-body p {
    line-height: 1.8;
    margin-bottom: 16px;
    color: var(--secondary-text);
}

.read-more {
    color: var(--stone);
    font-style: italic;
    margin-top: 20px;
}

/* Final CTA Section */
.final-cta {
    text-align: center;
    padding: 70px 50px;
    background: linear-gradient(to bottom, var(--background), var(--cream));
    border-radius: 0;
    margin: 70px 0 0 0;
    border-top: 3px solid var(--burgundy);
}

.final-cta h2 {
    font-size: 2.2em;
    margin-bottom: 20px;
    color: var(--primary-text);
    font-weight: 400;
    letter-spacing: 0.5px;
}

.final-cta-sub {
    font-size: 1.15em;
    margin-bottom: 36px;
    color: var(--secondary-text);
}

/* Footer */
footer {
    text-align: center;
    padding: 50px 20px 40px;
    color: var(--secondary-text);
    font-size: 0.9em;
    background-color: var(--background);
    border-top: 1px solid var(--stone);
}

footer p {
    margin: 6px 0;
    line-height: 1.7;
}

footer a {
    color: var(--burgundy);
    text-decoration: none;
    transition: color 0.2s;
}

footer a:hover {
    color: var(--accent-text);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-image-section {
        height: 70vh;
        min-height: 500px;
    }

    .hero-title {
        font-size: 2.8em;
        letter-spacing: 2px;
    }

    .hero-subtitle {
        font-size: 1.3em;
        margin-bottom: 22px;
    }

    .hero-motto {
        font-size: 1.05em;
        padding: 16px 22px;
    }

    .container {
        padding: 40px 20px;
    }

    .hero {
        padding: 50px 30px;
        margin-bottom: 50px;
    }

    .hero-headline {
        font-size: 1.5em;
        margin-bottom: 24px;
    }

    .hero-description {
        font-size: 1.05em;
    }

    .hero-tagline {
        font-size: 1.05em;
    }

    .subscribe-section {
        padding: 45px 30px;
        margin: 50px 0;
    }

    .subscribe-intro {
        font-size: 1.1em;
    }

    #subscribeForm,
    #subscribeFormBottom {
        max-width: 100%;
    }

    .why-section,
    .what-section,
    .sample,
    .final-cta {
        padding: 50px 30px;
        margin: 50px 0;
    }

    .why-section h2,
    .what-section h2,
    .final-cta h2 {
        font-size: 1.7em;
        margin-bottom: 28px;
    }

    .sample h3 {
        font-size: 1.4em;
        margin-bottom: 32px;
    }

    .benefits-list li {
        font-size: 1.05em;
    }

    footer {
        padding: 40px 20px 30px;
    }
}

@media (max-width: 480px) {
    .hero-image-section {
        height: 65vh;
        min-height: 450px;
    }

    .hero-title {
        font-size: 2.2em;
        letter-spacing: 1px;
    }

    .hero-subtitle {
        font-size: 1.15em;
    }

    .hero-motto {
        font-size: 0.95em;
        padding: 14px 18px;
    }

    .hero-headline {
        font-size: 1.3em;
    }

    .why-section,
    .what-section,
    .sample,
    .final-cta {
        padding: 40px 24px;
    }

    .email-preview {
        max-width: 100%;
    }

    .email-body {
        padding: 24px 20px;
    }
}
