/* Beyond Motherhood Project - Component Styles */
/* Reusable components used across multiple pages */

/* ============================================
   CONTENT BOXES & CALLOUTS
   ============================================ */

/* Highlight boxes - informational callouts with blue accent */
.highlight-box {
    background: #e8f4f8;
    border-left: 4px solid #3498db;
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 0 6px 6px 0;
}

.highlight-box h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 15px;
}

.highlight-box p {
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.8;
}

.highlight-box p:last-child {
    margin-bottom: 0;
}

/* Highlight notes - smaller inline callouts */
.highlight-note {
    background: #e8f4f8;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
    font-style: italic;
    color: #2c3e50;
}

/* Signal boxes - positive/encouraging callouts with blue accent */
.signal-box {
    background: #e8f4f8;
    border-left: 4px solid #3498db;
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 6px 6px 0;
}

.signal-box h3 {
    margin-top: 0;
    color: #2c3e50;
    font-size: 20px;
    margin-bottom: 15px;
}

.signal-box p {
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.8;
}

.signal-box p:last-child {
    margin-bottom: 0;
}

/* Warning boxes - cautionary callouts with orange accent */
.warning-box {
    background: #fff3cd;
    border-left: 4px solid #f39c12;
    padding: 30px;
    margin: 40px 0;
    border-radius: 0 6px 6px 0;
}

.warning-box h3 {
    margin-top: 0;
    color: #e67e22;
    font-size: 20px;
    margin-bottom: 15px;
}

.warning-box p {
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.8;
}

.warning-box p:last-child {
    margin-bottom: 0;
}

/* Warning notes - smaller inline warnings */
.warning-note {
    background: #fff3cd;
    padding: 15px;
    border-radius: 4px;
    margin: 15px 0;
    color: #2c3e50;
}

/* Important notes - emphasis blocks with orange accent */
.important-note {
    background: #fff3cd;
    border-left: 4px solid #f39c12;
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 0 6px 6px 0;
}

.important-note h3 {
    margin-top: 0;
    color: #e67e22;
    font-size: 20px;
    margin-bottom: 15px;
}

.important-note p {
    color: #2c3e50;
    margin-bottom: 12px;
    line-height: 1.8;
}

.important-note p:last-child {
    margin-bottom: 0;
}

.important-note ul {
    margin-top: 10px;
    margin-bottom: 0;
}

/* Quote style blocks */
.quote-style {
    font-style: italic;
    padding-left: 30px;
    border-left: 4px solid #95a5a6;
    margin: 25px 0;
    color: #2c3e50;
}

/* Pull quotes - large emphasized quotes */
.pull-quote {
    font-size: 20px;
    font-style: italic;
    text-align: center;
    color: #555;
    margin: 50px 0;
    padding: 30px;
    line-height: 1.6;
}

/* ============================================
   FAQ COMPONENTS
   ============================================ */

.faq-intro {
    background: #ecf0f1;
    padding: 25px;
    border-left: 4px solid #34495e;
    margin: 30px 0 50px 0;
    font-style: italic;
}

.faq-categories {
    margin: 50px 0;
}

.faq-category {
    margin-bottom: 50px;
}

.category-title {
    font-size: 24px;
    color: #34495e;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ecf0f1;
    font-weight: 600;
}

.faq-item {
    margin-bottom: 30px;
    padding: 25px;
    background: #f8f9fa;
    border-left: 4px solid var(--accent-color, #34495e);
    border-radius: 0 6px 6px 0;
}

/* FAQ category color coding */
.faq-category.logistics .faq-item { --accent-color: #3498db; }
.faq-category.body-image .faq-item { --accent-color: #e74c3c; }
.faq-category.relationships .faq-item { --accent-color: #8e44ad; }
.faq-category.process .faq-item { --accent-color: #2ecc71; }
.faq-category.emotional .faq-item { --accent-color: #f39c12; }

.faq-question {
    font-size: 18px;
    color: #34495e;
    font-weight: 600;
    margin-bottom: 12px;
}

.faq-answer {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.faq-answer p {
    margin-bottom: 12px;
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    margin: 15px 0 15px 20px;
}

.faq-answer li {
    margin-bottom: 8px;
}

.still-have-questions {
    background: #f8f9fa;
    padding: 35px;
    border-radius: 8px;
    text-align: center;
    margin: 60px 0 40px 0;
}

.still-have-questions h3 {
    color: #34495e;
    margin-bottom: 15px;
}

.still-have-questions p {
    margin-bottom: 20px;
    line-height: 1.8;
}

/* ============================================
   RESONANCE ITEMS (IS THIS FOR ME PAGE)
   ============================================ */

.resonance-intro {
    text-align: center;
    font-size: 17px;
    color: #555;
    margin-bottom: 40px;
    font-style: italic;
}

.resonance-grid {
    display: grid;
    gap: 25px;
    margin: 40px 0;
}

.resonance-item {
    background: #f8f9fa;
    padding: 25px 30px;
    border-left: 4px solid var(--item-color, #3498db);
    border-radius: 0 6px 6px 0;
    font-size: 16px;
    line-height: 1.7;
    color: #2c3e50;
    transition: all 0.3s ease;
}

.resonance-item:hover {
    background: #ecf0f1;
    transform: translateX(5px);
}

.resonance-item.yes { --item-color: #2ecc71; }
.resonance-item.maybe { --item-color: #f39c12; }
.resonance-item.no { --item-color: #e74c3c; }

/* Section dividers */
.section-divider {
    margin: 80px 0 60px 0;
    text-align: center;
    position: relative;
}

.section-divider::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 1px;
    background: #bdc3c7;
}

.section-divider span {
    background: white;
    padding: 0 20px;
    color: #7f8c8d;
    font-style: italic;
    position: relative;
    z-index: 1;
}

/* ============================================
   TIMELINE/PHASE COMPONENTS
   ============================================ */

.timeline-phases {
    margin: 50px 0;
}

.timeline-phase {
    margin-bottom: 50px;
    border-left: 4px solid var(--phase-color, #34495e);
    padding-left: 30px;
    position: relative;
}

.timeline-phase::before {
    content: attr(data-number);
    position: absolute;
    left: -15px;
    top: 0;
    background: var(--phase-color, #34495e);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
}

.timeline-phase.before { --phase-color: #3498db; }
.timeline-phase.during { --phase-color: #2ecc71; }
.timeline-phase.after { --phase-color: #8e44ad; }

.phase-title {
    font-size: 24px;
    color: #34495e;
    font-weight: 600;
    margin-bottom: 10px;
}

.phase-duration {
    font-size: 15px;
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 20px;
}

.phase-content {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.phase-content h3 {
    color: #34495e;
    font-size: 18px;
    margin: 25px 0 12px 0;
    font-weight: 600;
}

.phase-content ul {
    margin: 15px 0;
    padding-left: 25px;
}

.phase-content li {
    margin-bottom: 10px;
    line-height: 1.7;
}

/* ============================================
   NAVIGATION CARDS
   ============================================ */

.nav-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 40px 0;
}

.nav-card {
    background: white;
    border: 2px solid #e0e0e0;
    border-left: 4px solid var(--accent-color, #34495e);
    padding: 25px;
    text-decoration: none;
    color: inherit;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
    position: relative;
}

.nav-card:hover {
    border-color: var(--accent-color, #34495e);
    transform: translateX(5px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.nav-card h3 {
    color: #34495e;
    font-size: 20px;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.nav-card p {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 0;
}

.nav-card .arrow {
    position: absolute;
    right: 20px;
    bottom: 20px;
    font-size: 24px;
    color: var(--accent-color, #34495e);
    transition: transform 0.3s ease;
}

.nav-card:hover .arrow {
    transform: translateX(5px);
}

/* ============================================
   CTA SECTIONS
   ============================================ */

.cta-section {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px;
    margin: 60px 0 40px 0;
    text-align: center;
}

.cta-section h2 {
    margin-top: 0;
    color: #34495e;
    margin-bottom: 20px;
}

.cta-section p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

/* Next steps section variant */
.next-steps {
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 40px;
    margin: 60px 0 40px 0;
    text-align: center;
}

.next-steps h2 {
    margin-top: 0;
    color: #34495e;
    margin-bottom: 20px;
}

.next-steps p {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 25px;
}

/* Action buttons container */
.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.action-button {
    padding: 15px 35px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 16px;
    font-family: 'Georgia', serif;
    transition: all 0.3s ease;
    display: inline-block;
}

.action-button.primary {
    background: #34495e;
    color: white;
}

.action-button.primary:hover {
    background: #2c3e50;
    transform: translateY(-2px);
}

.action-button.secondary {
    background: white;
    color: #34495e;
    border: 2px solid #34495e;
}

.action-button.secondary:hover {
    background: #ecf0f1;
}

/* ============================================
   CONTENT SECTIONS
   ============================================ */

/* Opening sections */
.opening-question {
    font-size: 22px;
    font-style: italic;
    text-align: center;
    color: #34495e;
    margin: 50px 0 30px 0;
    line-height: 1.6;
}

.opening-answer {
    font-size: 18px;
    text-align: center;
    color: #555;
    margin: 30px 0 50px 0;
    line-height: 1.7;
}

/* What you get section */
.what-you-get {
    margin: 50px 0;
}

.what-you-get h2 {
    text-align: center;
    margin-bottom: 30px;
}

.what-you-get ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.what-you-get li {
    background: #f8f9fa;
    padding: 20px 25px;
    margin-bottom: 15px;
    border-left: 4px solid #3498db;
    border-radius: 0 6px 6px 0;
    line-height: 1.7;
}

.what-you-get li strong {
    color: #34495e;
}

/* ============================================
   ADJECTIVE MENU COMPONENTS
   ============================================ */

.category-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-color, #34495e);
}

.category-name {
    font-size: 26px;
    color: var(--accent-color, #34495e);
    margin: 0 0 8px 0;
    font-weight: 600;
}

.category-description {
    font-size: 15px;
    color: #7f8c8d;
    font-style: italic;
    margin: 0;
}

.category-words {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.adjective {
    background: white;
    border: 2px solid #e0e0e0;
    border-left: 4px solid var(--accent-color, #34495e);
    padding: 20px;
    border-radius: 0 8px 8px 0;
    transition: all 0.3s ease;
}

.adjective:hover {
    border-color: var(--accent-color, #34495e);
    transform: translateX(5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.adjective-word {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent-color, #34495e);
    margin-bottom: 8px;
}

.adjective-variant {
    font-size: 14px;
    color: #7f8c8d;
    font-style: italic;
    margin-bottom: 12px;
}

.adjective-description {
    font-size: 14px;
    color: #555;
    line-height: 1.6;
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .nav-cards {
        grid-template-columns: 1fr;
    }

    .category-words {
        grid-template-columns: 1fr;
    }

    .action-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .highlight-box,
    .signal-box,
    .warning-box,
    .important-note {
        padding: 20px;
    }

    .resonance-item {
        padding: 20px;
        font-size: 15px;
    }

    .phase-title {
        font-size: 20px;
    }

    .opening-question {
        font-size: 20px;
    }

    .pull-quote {
        font-size: 18px;
        padding: 20px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

/* Layout utilities */
.centered {
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.grid-auto-fit {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.gap-md {
    gap: 25px;
}

/* Typography utilities */
.text-sm { font-size: 14px; }
.text-base { font-size: 16px; }
.text-lg { font-size: 18px; }
.text-xl { font-size: 24px; }
.text-2xl { font-size: 32px; }

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.text-italic { font-style: italic; }
.text-bold { font-weight: 600; }

/* Spacing utilities */
.mt-sm { margin-top: 20px; }
.mt-md { margin-top: 40px; }
.mt-lg { margin-top: 60px; }

.mb-sm { margin-bottom: 20px; }
.mb-md { margin-bottom: 40px; }
.mb-lg { margin-bottom: 60px; }

.my-sm { margin-top: 20px; margin-bottom: 20px; }
.my-md { margin-top: 40px; margin-bottom: 40px; }
.my-lg { margin-top: 60px; margin-bottom: 60px; }

.p-sm { padding: 20px; }
.p-md { padding: 30px; }
.p-lg { padding: 40px; }

/* ============================================
   NEWSLETTER SIGNUP FORM
   ============================================ */

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

.footer-newsletter p {
    margin-bottom: 0.75rem;
    color: #7f8c8d;
    font-size: 14px;
}

.newsletter-form {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 400px;
    margin: 0 auto;
}

.newsletter-form input[type="email"] {
    flex: 1;
    min-width: 200px;
    padding: 0.5rem 1rem;
    border: 1px solid #bdc3c7;
    border-radius: 4px;
    font-size: 14px;
    font-family: 'Georgia', serif;
}

.newsletter-form input[type="email"]:focus {
    outline: none;
    border-color: #34495e;
}

.newsletter-form .action-button {
    padding: 0.5rem 1.5rem;
    font-size: 14px;
}

.footer-copyright {
    color: #7f8c8d;
    font-size: 14px;
}

@media (max-width: 768px) {
    .newsletter-form {
        flex-direction: column;
        align-items: stretch;
    }

    .newsletter-form input[type="email"] {
        min-width: auto;
    }
}
