/* Madeline's Weddings - The Future of Weddings */
/* Elegant wedding theme with modern twist */

:root {
    --primary: #E8A0B0;
    --primary-light: #F8B4C8;
    --secondary: #FFE4E8;
    --accent: #D4A5A5;
    --accent-gold: #C9A86C;
    --text: #2D2D2D;
    --text-light: #666666;
    --text-muted: #888888;
    --background: #FFFAF8;
    --white: #FFFFFF;
    --border: #F0E6E4;
    --shadow: rgba(200, 150, 150, 0.1);
    --shadow-hover: rgba(200, 150, 150, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--text);
    line-height: 1.7;
    font-size: 16px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    line-height: 1.3;
    color: var(--text);
}

h1 { font-size: 3rem; }
h2 { font-size: 2.25rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.2s ease;
}

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

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

.container-narrow {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header */
.header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 4px;
}

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

.logo-icon {
    font-size: 1.75rem;
    margin-right: 8px;
}

.nav {
    display: flex;
    gap: 32px;
}

.nav a {
    color: var(--text);
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
}

.nav a:hover {
    color: var(--primary);
}

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

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
        box-shadow: 0 4px 12px var(--shadow);
    }

    .nav.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: block;
    }
}

/* Hero Section */
.hero {
    padding: 80px 0 100px;
    background: linear-gradient(180deg, var(--white) 0%, var(--secondary) 100%);
    text-align: center;
}

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

.hero-badge {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
    letter-spacing: 0.5px;
}

.hero h1 {
    margin-bottom: 20px;
    font-size: 3.5rem;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .hero {
        padding: 60px 0 80px;
    }

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

    .hero p {
        font-size: 1.1rem;
    }
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

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

.btn-primary:hover {
    background: var(--accent);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-hover);
}

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

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

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Stats Grid */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

@media (max-width: 768px) {
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .stat-value {
        font-size: 2rem;
    }
}

/* Sections */
.section {
    padding: 80px 0;
}

.section-alt {
    background: var(--white);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Articles Grid */
.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

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

/* Card */
.card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px var(--shadow-hover);
}

.card-image {
    height: 180px;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-light) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
}

.card-content {
    padding: 24px;
}

.card-tag {
    display: inline-block;
    background: var(--secondary);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.card h3 {
    margin-bottom: 12px;
    font-size: 1.25rem;
}

.card p {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.card-link {
    font-weight: 600;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.card-link:hover {
    color: var(--accent);
}

.card-link::after {
    content: '\2192';
}

/* About Hero */
.about-hero {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--secondary) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
}

.about-content h1 {
    margin-bottom: 24px;
}

.about-content p {
    color: var(--text-light);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.about-image {
    font-size: 8rem;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .about-image {
        font-size: 5rem;
        order: -1;
    }
}

/* Content Sections */
.container-narrow h2 {
    margin-bottom: 20px;
    margin-top: 48px;
}

.container-narrow h2:first-child {
    margin-top: 0;
}

.container-narrow h3 {
    margin-top: 32px;
    margin-bottom: 12px;
}

.container-narrow p {
    margin-bottom: 16px;
    color: var(--text-light);
}

.container-narrow ul {
    margin: 16px 0;
    padding-left: 24px;
}

.container-narrow li {
    margin-bottom: 12px;
    color: var(--text-light);
}

.container-narrow li strong {
    color: var(--text);
}

blockquote {
    background: var(--white);
    border-left: 4px solid var(--primary);
    padding: 24px 32px;
    margin: 32px 0;
    font-style: italic;
    color: var(--text);
    font-size: 1.1rem;
    border-radius: 0 8px 8px 0;
}

/* Timeline */
.timeline {
    margin: 32px 0;
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-light);
}

.timeline-item {
    position: relative;
    padding-bottom: 24px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 4px;
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
}

.timeline-year {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 4px;
}

.timeline-content {
    color: var(--text-light);
}

/* CTA Box */
.cta-box {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: var(--white);
    padding: 48px;
    border-radius: 16px;
    text-align: center;
}

.cta-box h3 {
    color: var(--white);
    margin-bottom: 16px;
}

.cta-box p {
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 24px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* Story Cards (for profiles) */
.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 32px;
    margin: 32px 0;
}

.story-card {
    background: var(--white);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 2px 8px var(--shadow);
}

.story-card h4 {
    color: var(--primary);
    margin-bottom: 8px;
}

.story-card .subtitle {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.story-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Cost Comparison Table */
.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin: 32px 0;
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px var(--shadow);
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

.comparison-table th {
    background: var(--secondary);
    font-weight: 600;
    color: var(--text);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table .total-row {
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
}

.comparison-table .total-row td {
    border-bottom: none;
}

.comparison-table .savings {
    color: #27ae60;
    font-weight: 600;
}

/* Blog Post Article */
.article-hero {
    padding: 60px 0 40px;
    background: linear-gradient(180deg, var(--white) 0%, var(--secondary) 100%);
    text-align: center;
}

.article-hero .container-narrow {
    max-width: 800px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.article-hero h1 {
    margin-bottom: 16px;
}

.article-hero .lead {
    font-size: 1.2rem;
    color: var(--text-light);
}

.article-content {
    padding: 48px 0 80px;
}

.article-content h2 {
    margin-top: 48px;
    margin-bottom: 20px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.article-content h2:first-child {
    border-top: none;
    padding-top: 0;
    margin-top: 0;
}

/* Highlight Box */
.highlight-box {
    background: var(--secondary);
    border-radius: 12px;
    padding: 24px 32px;
    margin: 24px 0;
}

.highlight-box h4 {
    color: var(--primary);
    margin-bottom: 12px;
}

.highlight-box p {
    margin-bottom: 8px;
}

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

/* Fun Fact */
.fun-fact {
    background: linear-gradient(135deg, var(--secondary) 0%, #fff 100%);
    border-left: 4px solid var(--accent-gold);
    padding: 20px 24px;
    margin: 24px 0;
    border-radius: 0 8px 8px 0;
}

.fun-fact strong {
    color: var(--accent-gold);
}

/* Footer */
.footer {
    background: var(--text);
    color: var(--white);
    padding: 60px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer h4 {
    color: var(--white);
    margin-bottom: 16px;
    font-size: 1.1rem;
}

.footer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* Source Citation */
.source {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 8px;
}

.source a {
    color: var(--text-muted);
    text-decoration: underline;
}

/* Back Link */
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.back-link:hover {
    color: var(--primary);
}

.back-link::before {
    content: '\2190';
}

/* Blog Index Grid */
.blog-hero {
    padding: 60px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--secondary) 100%);
    text-align: center;
}

.blog-hero h1 {
    margin-bottom: 12px;
}

.blog-hero p {
    color: var(--text-light);
    font-size: 1.1rem;
}
