/**
 * Static Pages Stylesheet
 * Styles for /pages/*.php (about, contact, terms, privacy, etc.)
 */

/* Main container for static pages */
.static-page-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Content card with proper padding */
.static-content-card {
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 40px;
    margin-bottom: 30px;
}

/* Page title styling */
.static-page-title {
    color: #359756;
    font-size: 2.5rem;
    margin: 0 0 15px 0;
    font-weight: bold;
    line-height: 1.2;
}

/* Page subtitle */
.static-page-subtitle {
    color: #6b7280;
    font-size: 1.2rem;
    margin: 0 0 40px 0;
    line-height: 1.4;
}

/* Section headings */
.static-section-title {
    color: #333;
    font-size: 1.5rem;
    margin: 40px 0 20px 0;
    font-weight: 600;
}

/* Subsection headings */
.static-subsection-title {
    color: #444;
    font-size: 1.2rem;
    margin: 30px 0 15px 0;
    font-weight: 600;
}

/* Regular paragraphs */
.static-text {
    color: #666;
    line-height: 1.7;
    margin: 0 0 20px 0;
    font-size: 1rem;
}

/* Lists */
.static-list {
    color: #666;
    line-height: 1.8;
    margin: 0 0 20px 0;
    padding-left: 30px;
}

.static-list li {
    margin-bottom: 10px;
}

/* Success story cards */
.success-story {
    border-left: 4px solid #359756;
    padding-left: 25px;
    margin-bottom: 35px;
}

.success-story-title {
    color: #333;
    font-size: 1.2rem;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.success-story-text {
    color: #666;
    line-height: 1.6;
    margin: 0 0 10px 0;
    font-style: italic;
}

.success-story-date {
    color: #999;
    font-size: 0.9rem;
    font-style: italic;
}

/* Call to action section */
.static-cta-section {
    margin-top: 50px;
    padding: 40px;
    background: #f9fafb;
    border-radius: 12px;
    text-align: center;
}

.static-cta-title {
    color: #359756;
    font-size: 1.8rem;
    margin: 0 0 15px 0;
    font-weight: 600;
}

.static-cta-text {
    color: #666;
    margin: 0 0 25px 0;
    font-size: 1.1rem;
}

.static-cta-button {
    display: inline-block;
    background-color: #359756;
    color: white;
    padding: 14px 35px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.05rem;
    transition: all 0.3s ease;
}

.static-cta-button:hover {
    background-color: #2a7a47;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(53, 151, 86, 0.3);
}

/* Contact form styling */
.contact-form {
    margin-top: 30px;
}

.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    color: #444;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    background: white;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: #359756;
}

.form-textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    background-color: #359756;
    color: white;
    padding: 14px 35px;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    background-color: #2a7a47;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(53, 151, 86, 0.3);
}

/* Alert boxes */
.static-alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.static-alert-success {
    background-color: #d4f4dd;
    color: #1e5631;
    border: 1px solid #a8d5ba;
}

.static-alert-error {
    background-color: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

/* Terms and Privacy specific styling */
.legal-section {
    margin-bottom: 40px;
}

.legal-section h2 {
    color: #333;
    font-size: 1.5rem;
    margin: 35px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #e5e7eb;
}

.legal-section h3 {
    color: #444;
    font-size: 1.2rem;
    margin: 25px 0 15px 0;
}

.legal-text {
    color: #666;
    line-height: 1.7;
    margin-bottom: 15px;
}

/* Help/FAQ styling */
.faq-item {
    margin-bottom: 30px;
    padding: 25px;
    background: #f9fafb;
    border-radius: 10px;
    border-left: 4px solid #359756;
}

.faq-question {
    color: #333;
    font-size: 1.15rem;
    font-weight: 600;
    margin: 0 0 15px 0;
}

.faq-answer {
    color: #666;
    line-height: 1.6;
    margin: 0;
}

/* Responsive styles */
@media (max-width: 768px) {
    .static-content-card {
        padding: 30px 25px;
        border-radius: 8px;
    }

    .static-page-title {
        font-size: 2rem;
    }

    .static-page-subtitle {
        font-size: 1.1rem;
    }

    .static-cta-section {
        padding: 30px 20px;
    }

    .static-cta-button,
    .form-submit {
        width: 100%;
        padding: 14px 20px;
    }
}

@media (max-width: 480px) {
    .static-page-container {
        padding: 15px;
    }

    .static-content-card {
        padding: 25px 20px;
    }

    .static-page-title {
        font-size: 1.75rem;
    }

    .static-page-subtitle {
        font-size: 1rem;
    }

    .static-section-title {
        font-size: 1.3rem;
    }

    .form-input,
    .form-textarea,
    .form-select {
        padding: 10px 12px;
    }
}

/* Print styles */
@media print {
    .static-cta-section,
    .form-submit,
    .static-cta-button {
        display: none;
    }

    .static-content-card {
        box-shadow: none;
        border: 1px solid #ddd;
    }
}