/* Miller Myer and Me - Relationships Blog Stylesheet */
/* Warm, romantic, approachable design */

:root {
    --rose: #e8a4a4;
    --beige: #f5ebe0;
    --burgundy: #8b4049;
    --charcoal: #2d3436;
    --light-rose: #f5e6e6;
    --cream: #faf8f5;
    --soft-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Georgia', 'Times New Roman', serif;
    background-color: var(--beige);
    color: var(--charcoal);
    line-height: 1.8;
    font-size: 18px;
}

a {
    color: var(--burgundy);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--rose);
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Header */
header {
    background: linear-gradient(135deg, var(--burgundy) 0%, #6b2f38 100%);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--soft-shadow);
}

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

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--beige);
    font-style: italic;
}

.logo span {
    color: var(--rose);
}

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

nav a {
    color: var(--beige);
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transition: var(--transition);
}

nav a:hover {
    background-color: rgba(232, 164, 164, 0.2);
    color: var(--rose);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(139, 64, 73, 0.85), rgba(107, 47, 56, 0.9)),
                url('https://images.unsplash.com/photo-1516589178581-6cd7833ae3b2?w=1600') center/cover;
    color: var(--beige);
    padding: 6rem 2rem;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.4rem;
    opacity: 0.95;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    background-color: var(--rose);
    color: var(--burgundy);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--beige);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Featured Articles */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--burgundy);
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
}

.article-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--soft-shadow);
    transition: var(--transition);
}

.article-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
}

.article-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

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

.article-category {
    color: var(--rose);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.article-card h3 {
    font-size: 1.4rem;
    color: var(--burgundy);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.article-card p {
    color: #666;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.read-more {
    color: var(--burgundy);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.read-more:hover {
    gap: 0.75rem;
}

/* About Preview */
.about-preview {
    background-color: white;
    padding: 4rem 2rem;
}

.about-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    border-radius: 12px;
    box-shadow: var(--soft-shadow);
}

.about-image::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: 15px;
    bottom: 15px;
    border: 3px solid var(--rose);
    border-radius: 12px;
    z-index: -1;
}

.about-text h2 {
    font-size: 2.2rem;
    color: var(--burgundy);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: #555;
}

/* Newsletter */
.newsletter {
    background: linear-gradient(135deg, var(--burgundy) 0%, #6b2f38 100%);
    padding: 4rem 2rem;
    text-align: center;
    color: var(--beige);
}

.newsletter h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.newsletter p {
    margin-bottom: 2rem;
    opacity: 0.9;
}

.newsletter-form {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
    gap: 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
}

.newsletter-form button {
    background-color: var(--rose);
    color: var(--burgundy);
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    background-color: var(--beige);
}

/* Footer */
footer {
    background-color: var(--charcoal);
    color: var(--beige);
    padding: 3rem 2rem;
}

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

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

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

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--beige);
    opacity: 0.8;
}

.footer-section a:hover {
    opacity: 1;
    color: var(--rose);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.9rem;
}

/* Article Page */
.article-hero {
    background: linear-gradient(rgba(45, 52, 54, 0.7), rgba(45, 52, 54, 0.8)),
                url('https://images.unsplash.com/photo-1522673607200-164d1b6ce486?w=1600') center/cover;
    padding: 4rem 2rem;
    text-align: center;
    color: white;
}

.article-hero-content {
    max-width: 900px;
    margin: 0 auto;
}

.article-hero .article-category {
    color: var(--rose);
}

.article-hero h1 {
    font-size: 2.8rem;
    margin: 1rem 0;
    line-height: 1.3;
}

.article-meta {
    font-size: 1rem;
    opacity: 0.9;
}

.article-body {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 2rem;
    background: white;
}

.article-body h2 {
    color: var(--burgundy);
    font-size: 1.8rem;
    margin: 2rem 0 1rem;
    padding-top: 1rem;
}

.article-body h3 {
    color: var(--charcoal);
    font-size: 1.4rem;
    margin: 1.5rem 0 0.75rem;
}

.article-body p {
    margin-bottom: 1.5rem;
}

.article-body ul, .article-body ol {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.article-body li {
    margin-bottom: 0.75rem;
}

.article-body img {
    margin: 2rem 0;
    width: 100%;
}

/* Author Box */
.author-box {
    background: var(--light-rose);
    padding: 2rem;
    border-radius: 12px;
    margin: 3rem 0;
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
}

.author-box img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.author-info h4 {
    color: var(--burgundy);
    margin-bottom: 0.5rem;
}

.author-info p {
    color: #666;
    font-size: 0.95rem;
}

/* Related Articles */
.related-articles {
    background: var(--cream);
    padding: 3rem 2rem;
}

.related-articles h3 {
    text-align: center;
    font-size: 1.8rem;
    color: var(--burgundy);
    margin-bottom: 2rem;
}

/* Contact Form */
.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--soft-shadow);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--burgundy);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--beige);
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--rose);
}

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

/* Page Header */
.page-header {
    background: linear-gradient(rgba(139, 64, 73, 0.9), rgba(107, 47, 56, 0.95)),
                url('https://images.unsplash.com/photo-1516589178581-6cd7833ae3b2?w=1600') center/cover;
    padding: 3rem 2rem;
    text-align: center;
    color: var(--beige);
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    opacity: 0.9;
}

/* Sitemap */
.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.sitemap-section {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--soft-shadow);
}

.sitemap-section h3 {
    color: var(--burgundy);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--rose);
}

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

.sitemap-section li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.sitemap-section li::before {
    content: '♥';
    position: absolute;
    left: 0;
    color: var(--rose);
    font-size: 0.7rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }

    nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .newsletter-form {
        flex-direction: column;
    }

    .author-box {
        flex-direction: column;
        text-align: center;
    }

    .author-box img {
        margin: 0 auto;
    }
}
