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

:root {
    --cream: #FAF7F2;
    --gold: #D4AF37;
    --muted-teal: #7BA8A1;
    --warm-gray: #8B8680;
    --deep-gray: #5A5550;
    --soft-white: #FFFFFF;
    --light-gold: #F0E6D2;
    --soft-teal: #A8C5C0;
}

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    line-height: 1.7;
    color: var(--deep-gray);
    background-color: var(--cream);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    background-color: var(--soft-white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--muted-teal);
    cursor: pointer;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--warm-gray);
    text-decoration: none;
    transition: color 0.3s;
    font-size: 0.95rem;
}

.nav-links a:hover {
    color: var(--muted-teal);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--warm-gray);
    cursor: pointer;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 5rem 20px;
    background: linear-gradient(135deg, var(--cream) 0%, var(--light-gold) 100%);
}

.hero h1 {
    font-size: 2.8rem;
    color: var(--deep-gray);
    margin-bottom: 1rem;
    font-weight: 400;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.2rem;
    color: var(--warm-gray);
    max-width: 700px;
    margin: 0 auto 2.5rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.9rem 2rem;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    font-family: 'Georgia', serif;
}

.btn-primary {
    background-color: var(--muted-teal);
    color: white;
}

.btn-primary:hover {
    background-color: #6A9890;
}

.btn-secondary {
    background-color: transparent;
    color: var(--warm-gray);
    border: 2px solid var(--warm-gray);
}

.btn-secondary:hover {
    background-color: var(--warm-gray);
    color: white;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background-color: var(--soft-white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-teal);
    font-size: 1.3rem;
    transition: all 0.3s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.social-icons a:hover {
    background-color: var(--muted-teal);
    color: white;
    transform: translateY(-3px);
}

/* Page Content */
.page-content {
    padding: 4rem 20px;
    min-height: 60vh;
}

.page-header {
    text-align: center;
    margin-bottom: 3rem;
}

.page-header h2 {
    font-size: 2.5rem;
    color: var(--deep-gray);
    margin-bottom: 1rem;
    font-weight: 400;
}

.page-header p {
    font-size: 1.1rem;
    color: var(--warm-gray);
    max-width: 700px;
    margin: 0 auto;
}

/* Devotionals Grid */
.devotionals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.devotional-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.devotional-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.devotional-card .category {
    display: inline-block;
    background-color: var(--light-gold);
    color: var(--deep-gray);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.devotional-card h3 {
    color: var(--muted-teal);
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: 500;
}

.devotional-card .verse {
    font-style: italic;
    color: var(--warm-gray);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.devotional-card p {
    color: var(--deep-gray);
    line-height: 1.7;
}

/* Journal Tool */
.journal-container {
    max-width: 900px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    overflow: hidden;
}

.journal-tabs {
    display: flex;
    background-color: var(--light-gold);
    border-bottom: 2px solid var(--gold);
    overflow-x: auto;
}

.journal-tab {
    flex: 1;
    padding: 1.2rem;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    color: var(--warm-gray);
    transition: all 0.3s;
    font-family: 'Georgia', serif;
    border-bottom: 3px solid transparent;
    white-space: nowrap;
}

.journal-tab.active {
    color: var(--muted-teal);
    background-color: white;
    border-bottom-color: var(--muted-teal);
}

.journal-content {
    padding: 2.5rem;
}

.journal-mode {
    display: none;
}

.journal-mode.active {
    display: block;
}

.journal-mode h3 {
    color: var(--muted-teal);
    margin-bottom: 1.5rem;
    font-size: 1.6rem;
    font-weight: 500;
}

.journal-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--light-gold);
    border-radius: 4px;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    color: var(--deep-gray);
    margin-bottom: 1rem;
    resize: vertical;
}

.journal-input:focus {
    outline: none;
    border-color: var(--muted-teal);
}

textarea.journal-input {
    min-height: 250px;
}

.gratitude-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.gratitude-field {
    display: flex;
    flex-direction: column;
}

.gratitude-field label {
    margin-bottom: 0.5rem;
    color: var(--deep-gray);
    font-weight: 500;
}

select.journal-input {
    cursor: pointer;
}

.scripture-display {
    background-color: var(--light-gold);
    padding: 2rem;
    border-radius: 4px;
    margin: 1.5rem 0;
}

.scripture-verse {
    margin-bottom: 1.5rem;
}

.scripture-verse p {
    color: var(--deep-gray);
    font-style: italic;
    margin-bottom: 0.5rem;
}

.scripture-verse cite {
    color: var(--muted-teal);
    font-style: normal;
    font-weight: 500;
}

.mood-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.mood-btn {
    padding: 1rem;
    background-color: var(--light-gold);
    border: 2px solid var(--gold);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Georgia', serif;
    font-size: 1rem;
    color: var(--deep-gray);
}

.mood-btn:hover {
    background-color: var(--gold);
    color: white;
}

.mood-btn.selected {
    background-color: var(--muted-teal);
    border-color: var(--muted-teal);
    color: white;
}

.reassurance-message {
    background-color: var(--light-gold);
    padding: 2rem;
    border-radius: 4px;
    text-align: center;
    font-size: 1.1rem;
    color: var(--deep-gray);
    line-height: 1.8;
    margin-top: 1.5rem;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

/* Scripture Reflections */
.category-nav {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.category-btn {
    padding: 0.8rem 1.5rem;
    background-color: white;
    border: 2px solid var(--muted-teal);
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Georgia', serif;
    font-size: 1rem;
    color: var(--muted-teal);
}

.category-btn:hover,
.category-btn.active {
    background-color: var(--muted-teal);
    color: white;
}

.scripture-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.scripture-item {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    border-left: 4px solid var(--muted-teal);
}

.scripture-item .verse-text {
    font-size: 1.2rem;
    font-style: italic;
    color: var(--deep-gray);
    margin-bottom: 0.8rem;
    line-height: 1.8;
}

.scripture-item .verse-ref {
    color: var(--muted-teal);
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: block;
}

.scripture-item .reflection {
    color: var(--warm-gray);
    line-height: 1.8;
}

/* Resources Page */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.resource-card {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    text-align: center;
    transition: transform 0.3s;
}

.resource-card:hover {
    transform: translateY(-5px);
}

.resource-card .icon {
    font-size: 3rem;
    color: var(--muted-teal);
    margin-bottom: 1rem;
}

.resource-card h3 {
    color: var(--deep-gray);
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.resource-card p {
    color: var(--warm-gray);
    margin-bottom: 1.5rem;
}

/* Blog Grid */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.blog-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.1);
}

.blog-card .blog-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--muted-teal), var(--light-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.blog-card .blog-content {
    padding: 1.5rem;
}

.blog-card h3 {
    color: var(--deep-gray);
    margin-bottom: 0.8rem;
    font-size: 1.3rem;
}

.blog-card .date {
    color: var(--warm-gray);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.blog-card p {
    color: var(--warm-gray);
    line-height: 1.7;
}

/* Footer */
footer {
    background-color: var(--deep-gray);
    color: var(--light-gold);
    padding: 3rem 20px 1.5rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--light-gold);
    text-decoration: none;
    line-height: 2;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(244, 230, 210, 0.2);
    color: var(--light-gold);
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .journal-tabs {
        flex-wrap: wrap;
    }
    
    .journal-tab {
        min-width: 50%;
    }
}

.hidden {
    display: none;
}

/* Ad Placement Styling */
.ad-container {
    text-align: center;
    margin: 2rem auto;
    padding: 1rem;
    background-color: var(--light-gold);
    border-radius: 8px;
    max-width: 100%;
}

.ad-label {
    font-size: 0.75rem;
    color: var(--warm-gray);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}
