/* ============================================
   SmockBloom - CSS Stylesheet
   Design Philosophy: Vibrant, Feminine, Elegant
   Color Palette: Rose Pink, Cream, Deep Mauve
   Typography: Playfair Display (headings) + Lora (body)
   ============================================ */

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

:root {
    --primary-pink: #d4697f;
    --light-pink: #f4e4e8;
    --deep-mauve: #6b4c5c;
    --cream: #faf8f6;
    --text-dark: #3d2f35;
    --accent-gold: #c9a876;
    --border-color: #e8d5dc;
    --shadow-light: rgba(107, 76, 92, 0.08);
    --shadow-medium: rgba(107, 76, 92, 0.15);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Lora', serif;
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.8;
    font-size: 16px;
}

/* ============================================
   NAVIGATION
   ============================================ */

.navbar {
    background: linear-gradient(135deg, var(--cream) 0%, rgba(244, 228, 232, 0.8) 100%);
    padding: 1.5rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 12px var(--shadow-light);
    border-bottom: 1px solid var(--border-color);
}

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

.nav-logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.logo-text {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-pink);
    letter-spacing: 1px;
}

.logo-tagline {
    font-size: 0.75rem;
    color: var(--deep-mauve);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: -0.5rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-pink);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-pink);
    margin: 5px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--light-pink) 0%, rgba(212, 105, 127, 0.1) 100%);
    padding: 6rem 2rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212, 105, 127, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(107, 76, 92, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-pink);
    margin-bottom: 1rem;
    letter-spacing: -1px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--deep-mauve);
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: 0.5px;
}

.decorative-element {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-pink) 0%, var(--accent-gold) 100%);
    margin: 2rem auto;
    border-radius: 2px;
}

/* ============================================
   MAIN CONTENT & ARTICLE
   ============================================ */

.main-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.blog-article {
    background: white;
    padding: 3rem;
    border-radius: 8px;
    box-shadow: 0 4px 20px var(--shadow-light);
    border-top: 4px solid var(--primary-pink);
}

.article-header {
    margin-bottom: 2.5rem;
    padding-bottom: 2rem;
    border-bottom: 2px solid var(--light-pink);
}

.article-header h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: var(--primary-pink);
    margin-bottom: 1rem;
    line-height: 1.3;
    font-weight: 700;
}

.article-meta {
    display: flex;
    gap: 1.5rem;
    font-size: 0.9rem;
    color: var(--deep-mauve);
}

.publish-date {
    display: flex;
    align-items: center;
}

.article-body {
    font-size: 1.05rem;
    line-height: 1.9;
    color: var(--text-dark);
}

.article-body p {
    margin-bottom: 1.8rem;
    text-align: justify;
}

.article-body h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    color: var(--primary-pink);
    margin: 2.5rem 0 1.2rem 0;
    font-weight: 700;
    position: relative;
    padding-left: 1rem;
}

.article-body h2::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 24px;
    background: var(--primary-pink);
    border-radius: 2px;
}

.article-link {
    color: var(--primary-pink);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-pink);
    transition: all 0.3s ease;
}

.article-link:hover {
    background-color: var(--light-pink);
    padding: 0 4px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background: linear-gradient(135deg, var(--deep-mauve) 0%, rgba(107, 76, 92, 0.9) 100%);
    color: var(--cream);
    padding: 3rem 2rem 1.5rem;
    margin-top: 4rem;
}

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

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.footer-section h4 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--accent-gold);
}

.footer-section p {
    font-size: 0.95rem;
    line-height: 1.6;
    color: rgba(250, 248, 246, 0.9);
}

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

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

.footer-section a {
    color: rgba(250, 248, 246, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(250, 248, 246, 0.2);
    font-size: 0.9rem;
    color: rgba(250, 248, 246, 0.7);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }

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

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

    .article-header h1 {
        font-size: 1.8rem;
    }

    .article-body h2 {
        font-size: 1.4rem;
    }

    .blog-article {
        padding: 2rem;
    }

    .main-content {
        padding: 2rem 1rem;
    }

    .logo-text {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }

    .hero {
        padding: 3rem 1rem;
        min-height: 40vh;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .article-header h1 {
        font-size: 1.5rem;
    }

    .article-body {
        font-size: 1rem;
    }

    .article-body h2 {
        font-size: 1.2rem;
    }

    .blog-article {
        padding: 1.5rem;
        border-radius: 4px;
    }

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

    .logo-text {
        font-size: 1.3rem;
    }

    .logo-tagline {
        font-size: 0.65rem;
    }
}

/* ============================================
   ACCESSIBILITY & UTILITY
   ============================================ */

a {
    color: var(--primary-pink);
    text-decoration: none;
}

a:focus {
    outline: 2px solid var(--primary-pink);
    outline-offset: 2px;
}

button, [role="button"] {
    cursor: pointer;
}

/* Smooth transitions */
* {
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Print styles */
@media print {
    .navbar,
    .footer {
        display: none;
    }

    .blog-article {
        box-shadow: none;
        border: none;
    }
}
