/* ================================
   BLOG STYLES - MODERN DESIGN
   ================================ */

/* Import shared variables and base styles */
:root {
    --primary: #2B5B6E;
    --secondary: #5FA8BA;
    --accent: #E8845C;
    --success: #25D366;
    --text-dark: #1A1A1A;
    --text-medium: #4A5568;
    --text-light: #718096;
    --bg-cream: #FFF8F3;
    --bg-blue: #EBF5F7;
    --bg-peach: #FFF0EB;
    --white: #FFFFFF;
    --shadow-sm: 0 2px 8px rgba(43, 91, 110, 0.08);
    --shadow-md: 0 4px 16px rgba(43, 91, 110, 0.12);
    --shadow-lg: 0 8px 32px rgba(43, 91, 110, 0.16);
    --font-serif: 'Playfair Display', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    line-height: 1.2;
    font-weight: 700;
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--white) 0%, var(--bg-blue) 100%);
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid rgba(95, 168, 186, 0.1);
}

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

.logo {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-decoration: none;
}

.by-dr {
    font-weight: 400;
    font-style: italic;
}

.nav-desktop {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-desktop a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

.header-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--success), #20BA5A);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: var(--white);
    border-top: 1px solid rgba(95, 168, 186, 0.1);
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile a {
    color: var(--text-medium);
    text-decoration: none;
    font-weight: 500;
    padding: 0.75rem;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-mobile a:hover {
    background: var(--bg-blue);
    color: var(--primary);
}


/* Section Container */
.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section-label {
    color: var(--accent);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1.5px;
    margin-bottom: 0.75rem;
}

/* CTA Button */
.cta-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, var(--success), #20BA5A);
    color: var(--white);
    padding: 1.25rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.3);
}

.cta-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
}

/* Blog Hero */
.blog-hero {
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--white) 50%, var(--bg-blue) 100%);
    padding: 5rem 1.5rem 4rem;
    text-align: center;
    border-bottom: 3px solid rgba(232, 132, 92, 0.2);
}

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

.blog-hero h1 {
    font-size: 2.5rem;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

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

/* Blog Articles Section */
.blog-articles {
    padding: 5rem 0;
    background: var(--white);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 2.5rem;
    margin-top: 2rem;
}

.article-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    border: 2px solid transparent;
}

.article-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(95, 168, 186, 0.3);
}

.article-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.article-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.article-card:hover .article-image img {
    transform: scale(1.05);
}

.article-content {
    padding: 1.75rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.article-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.article-date,
.article-category {
    font-size: 0.85rem;
    font-family: var(--font-sans);
    color: var(--text-light);
}

.article-category {
    background: rgba(107, 155, 142, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    color: var(--primary);
}

.article-content h2 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.article-content h2 a {
    color: var(--text-dark);
    text-decoration: none;
    transition: var(--transition);
}

.article-content h2 a:hover {
    color: var(--primary);
}

.article-content p {
    color: var(--text-medium);
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

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

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

.coming-soon {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Blog CTA Section */
.blog-cta-section {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--white);
    padding: 5rem 1.5rem;
}

.blog-cta-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.blog-cta-content h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.blog-cta-content p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-col h3 {
    color: var(--white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 1rem;
}

.footer-col p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 1rem;
}

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

.footer-col li {
    margin-bottom: 0.75rem;
}

.footer-col a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--white);
}

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

.social-links a {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--secondary);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
}

.disclaimer p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 0.75rem;
}

.disclaimer strong {
    color: var(--white);
}

/* WhatsApp Float */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 64px;
    height: 64px;
    background: var(--success);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    z-index: 999;
    transition: var(--transition);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 8px 32px rgba(37, 211, 102, 0.6);
    }
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Single Article Page Styles */
.article-header {
    padding: 4rem 0 2rem;
    background: var(--bg-cream);
}

.article-header .section-container {
    max-width: 900px;
}

.article-header h1 {
    font-size: 2.5rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: center;
}

.article-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    font-family: var(--font-sans);
    color: var(--text-medium);
    font-size: 0.95rem;
}

.article-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-body {
    padding: 3rem 0;
    background: var(--white);
}

.article-body .section-container {
    max-width: 800px;
}

.article-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    color: var(--primary);
    font-size: 2rem;
}

.article-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
    font-size: 1.5rem;
}

.article-body p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

.article-body li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.article-body strong {
    color: var(--primary);
    font-weight: 600;
}

.article-body blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-medium);
    font-size: 1.2rem;
}

.key-takeaway {
    background: linear-gradient(135deg, rgba(95, 168, 186, 0.1), rgba(95, 168, 186, 0.05));
    padding: 2rem;
    border-radius: 12px;
    margin: 2.5rem 0;
    border-left: 4px solid var(--primary);
}

.key-takeaway h3 {
    color: var(--primary);
    margin-top: 0;
    font-size: 1.5rem;
}

.article-cta {
    background: var(--bg-blue);
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 3rem;
    box-shadow: var(--shadow-sm);
}

.article-cta h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.75rem;
}

.article-cta p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    color: var(--primary);
    font-weight: 600;
    font-family: var(--font-sans);
    text-decoration: none;
    transition: var(--transition);
}

.back-to-blog:hover {
    gap: 0.75rem;
    color: var(--secondary);
}

/* Responsive for articles */
@media (max-width: 768px) {
    .article-header {
        padding: 3rem 0 1.5rem;
    }
    
    .article-header h1 {
        font-size: 1.75rem;
    }
    
    .article-info {
        gap: 1rem;
        font-size: 0.85rem;
    }
    
    .article-body {
        padding: 2rem 0;
    }
    
    .article-body h2 {
        font-size: 1.5rem;
    }
    
    .article-body h3 {
        font-size: 1.25rem;
    }
    
    .article-body p,
    .article-body li {
        font-size: 1rem;
    }
}

/* Responsive */
@media (max-width: 968px) {
    .nav-desktop {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 1rem 1.5rem;
    }
    
    .logo {
        font-size: 1.25rem;
    }
    
    .header-cta {
        padding: 0.6rem 1.25rem;
        font-size: 0.85rem;
    }
    
    .blog-hero {
        padding: 3rem 1rem 2rem;
    }
    
    .blog-hero h1 {
        font-size: 2rem;
    }
    
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-cta-section {
        padding: 3rem 1rem;
    }
    
    .blog-cta-content h2 {
        font-size: 2rem;
    }
    
    .whatsapp-float {
        width: 56px;
        height: 56px;
        bottom: 20px;
        right: 20px;
    }
}

/* Single Article Page Styles */
.article-header {
    padding: 4rem 0 2rem;
    background: var(--background-alt);
}

.article-header h1 {
    max-width: 800px;
    margin: 0 auto 1.5rem;
}

.article-info {
    display: flex;
    gap: 2rem;
    justify-content: center;
    flex-wrap: wrap;
    font-family: var(--font-sans);
    color: var(--text-medium);
}

.article-info span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.article-body {
    padding: 3rem 0;
}

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

.article-body h2 {
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    color: var(--primary-dark);
}

.article-body h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--primary);
}

.article-body p {
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

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

.article-body li {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0.75rem;
    color: var(--text-dark);
}

.article-body strong {
    color: var(--primary-dark);
}

.article-body blockquote {
    border-left: 4px solid var(--primary);
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: var(--text-medium);
    font-size: 1.2rem;
}

.key-takeaway {
    background: linear-gradient(135deg, rgba(107, 155, 142, 0.1), rgba(107, 155, 142, 0.05));
    padding: 2rem;
    border-radius: var(--border-radius);
    margin: 2.5rem 0;
    border-left: 4px solid var(--primary);
}

.key-takeaway h3 {
    color: var(--primary-dark);
    margin-top: 0;
}

.article-cta {
    background: var(--background-alt);
    padding: 3rem;
    border-radius: var(--border-radius);
    text-align: center;
    margin-top: 3rem;
}

.article-cta h3 {
    margin-bottom: 1rem;
}

.article-cta p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.back-to-blog {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 2rem;
    color: var(--primary);
    font-weight: 600;
    font-family: var(--font-sans);
}

.back-to-blog:hover {
    gap: 0.75rem;
}

/* Responsive */
@media (max-width: 768px) {
    .articles-grid {
        grid-template-columns: 1fr;
    }
    
    .blog-header {
        padding: 3rem 0 2rem;
    }
    
    .article-body {
        padding: 2rem 0;
    }
}