/* Basic Reset & Body Styling */
body {
    font-family: Arial, sans-serif; /* Or a more serene font like 'Merriweather' if you link it */
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4; /* Light background */
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh; /* Ensures footer is at bottom */
}

/* Header & Navigation */
header {
    background-color: #fff;
    color: #333;
    padding: 1rem 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.header-logo {
    max-height: 80px; /* Adjust as needed */
    width: auto; /* Maintain aspect ratio */
    display: block; /* Treat as a block element */
    margin: 0 auto 10px auto; /* Center horizontally and add bottom margin */
}

nav a {
    color: #d25e10;
    text-decoration: none;
    margin: 0 15px;
    font-weight: bold;
}

nav a:hover {
    color: #f5ce00;
}

/* Main Content Area */
main {
    flex: 1; /* Allows main content to grow and push footer down */
    padding: 20px;
    max-width: 800px;
    margin: 20px auto; /* Center content */
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
}

/* Daily Spark Section */
.daily-spark .image-container {
    text-align: center;
    margin-bottom: 20px;
}

.daily-spark img {
    max-width: 100%;
    height: auto;
    border-radius: 5px; /* Slightly rounded corners for images */
}

.daily-spark h2 {
    color: #d25e10;
    text-align: center;
    margin-top: 0;
}

.daily-spark p {
    margin-bottom: 15px;
    text-align: center;
}

.daily-spark .cta-message {
    font-style: italic;
    font-weight: bold;
    color: #555;
}

/* Newsletter Section */
.newsletter-signup {
    text-align: center;
    padding: 40px 20px;
}

.newsletter-signup h2 {
    color: #d25e10;
    margin-bottom: 20px;
}

.newsletter-signup p {
    margin-bottom: 25px;
}

.cta-newsletter a {
    display: inline-block;
    background-color: #d25e10;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 5px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-newsletter a:hover {
    background-color: #f5ce00;
}

.newsletter-form-container {
    max-width: 500px; /* Adjust as needed */
    margin: 20px auto;
    text-align: center; /* Center content within the container */
}

.newsletter-features-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 0.9em;
    min-width: 400px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
}

.newsletter-features-table thead tr {
    background-color: #d25e10;
    color: #ffffff;
    text-align: left;
}

.newsletter-features-table th,
.newsletter-features-table td {
    padding: 12px 15px;
    border: 1px solid #dddddd;
}

.newsletter-features-table tbody tr {
    border-bottom: 1px solid #dddddd;
}

.newsletter-features-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}

.newsletter-features-table tbody tr:last-of-type {
    border-bottom: 2px solid #d25e10;
}

.newsletter-features-table tbody tr.active-row {
    font-weight: bold;
    color: #d25e10;
}


/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 1rem 0;
    margin-top: 20px;
    font-size: 0.9rem;
}