/* ==========================================
   BLOG ARTICLE PAGE - PREMIUM UI
   Nature-Inspired Theme
   ========================================== */

/* === VARIABLES === */
:root {
    --emerald-green: #059669;
    --leaf-green: #10B981;
    --forest-green: #047857;
    --mint-light: #F0FDF4;
    
    --solar-orange: #F97316;
    --sunlight-yellow: #F59E0B;
    
    --electric-blue: #0066FF;
    --sky-blue: #38BDF8;
    
    --charcoal: #1F2937;
    --slate: #475569;
    --white: #FFFFFF;
    --light-gray: #F8FAFC;
    
    --gradient-nature: linear-gradient(135deg, #059669 0%, #10B981 100%);
    --gradient-solar: linear-gradient(135deg, #F97316 0%, #F59E0B 100%);
    
    --shadow-sm: 0 2px 8px rgba(5, 150, 105, 0.08);
    --shadow-md: 0 8px 24px rgba(5, 150, 105, 0.12);
    --shadow-lg: 0 16px 48px rgba(5, 150, 105, 0.15);
    --shadow-xl: 0 24px 64px rgba(5, 150, 105, 0.2);
}

/* === RESET === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--charcoal);
    line-height: 1.6;
    background: var(--white);
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    box-shadow: 0 2px 20px rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 18px 0;
    transition: all 0.3s ease;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--charcoal);
    text-decoration: none;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo img {
    height: 45px;
}

.highlight {
    background: var(--gradient-nature);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.nav-menu a {
    color: var(--charcoal);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-menu a:not(.btn-nav):hover {
    color: var(--emerald-green);
}

.btn-nav {
    background: var(--gradient-nature) !important;
    color: white !important;
    padding: 12px 28px;
    border-radius: 50px;
    box-shadow: var(--shadow-sm);
}

.btn-nav:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

/* === BLOG ARTICLE === */
.blog-article {
    padding-top: 120px;
    padding-bottom: 80px;
    background: var(--white);
}

.article-header {
    max-width: 900px;
    margin: 0 auto 50px;
    animation: fadeIn 0.8s ease-out;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--emerald-green);
    font-weight: 600;
    text-decoration: none;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.back-link:hover {
    gap: 15px;
    color: var(--forest-green);
}

.article-category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(5, 150, 105, 0.1);
    color: var(--emerald-green);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.article-title {
    font-size: 3.5rem;
    font-weight: 900;
    line-height: 1.2;
    color: var(--charcoal);
    margin-bottom: 25px;
}

.article-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--slate);
    font-weight: 600;
}

.meta-item i {
    color: var(--emerald-green);
}

.article-image {
    max-width: 1000px;
    margin: 0 auto 60px;
    border-radius: 25px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    animation: scaleIn 0.8s ease-out 0.2s backwards;
}

.article-image img {
    width: 100%;
    height: auto;
}

.article-body {
    max-width: 800px;
    margin: 0 auto 60px;
    animation: slideUp 0.8s ease-out 0.4s backwards;
}

.article-body h2 {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 40px 0 20px;
    color: var(--charcoal);
}

.article-body h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin: 30px 0 15px;
    color: var(--charcoal);
}

.article-body p {
    font-size: 1.15rem;
    line-height: 1.9;
    color: var(--slate);
    margin-bottom: 20px;
}

.article-body ul, .article-body ol {
    margin: 20px 0 20px 30px;
}

.article-body li {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--slate);
    margin-bottom: 12px;
}

.article-body strong {
    color: var(--charcoal);
    font-weight: 700;
}

.article-body blockquote {
    border-left: 5px solid var(--emerald-green);
    background: var(--mint-light);
    padding: 25px 30px;
    margin: 30px 0;
    border-radius: 10px;
    font-style: italic;
    font-size: 1.2rem;
}

.highlight-box {
    background: var(--gradient-nature);
    color: white;
    padding: 30px;
    border-radius: 20px;
    margin: 30px 0;
}

.highlight-box h3 {
    color: white;
    margin-top: 0;
}

/* === SHARE SECTION === */
.article-share {
    max-width: 800px;
    margin: 60px auto;
    padding: 40px;
    background: var(--light-gray);
    border-radius: 20px;
}

.article-share h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--charcoal);
}

.share-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.share-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.share-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.share-btn.facebook { background: #1877F2; }
.share-btn.twitter { background: #1DA1F2; }
.share-btn.linkedin { background: #0A66C2; }
.share-btn.whatsapp { background: #25D366; }

/* === RELATED ARTICLES === */
.related-articles {
    max-width: 900px;
    margin: 80px auto;
}

.related-articles h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 40px;
    color: var(--charcoal);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.related-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s ease;
    text-decoration: none;
}

.related-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.related-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.related-content {
    padding: 25px;
}

.related-tag {
    display: inline-block;
    background: rgba(5, 150, 105, 0.1);
    color: var(--emerald-green);
    padding: 6px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.related-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--charcoal);
    line-height: 1.4;
}

/* === CTA SECTION === */
.article-cta {
    max-width: 800px;
    margin: 80px auto;
    text-align: center;
    padding: 60px 40px;
    background: var(--gradient-nature);
    border-radius: 25px;
    color: white;
}

.article-cta h2 {
    font-size: 2.5rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.article-cta p {
    font-size: 1.2rem;
    margin-bottom: 35px;
    opacity: 0.95;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-cta {
    padding: 16px 40px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cta.primary {
    background: white;
    color: var(--emerald-green);
}

.btn-cta.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
}

/* === FOOTER === */
.footer {
    background: #1a1a1a;
    color: #aaa;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 15px;
}

.footer-col p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.socials {
    display: flex;
    gap: 12px;
}

.socials a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.socials a:hover {
    background: var(--emerald-green);
    transform: translateY(-3px);
}

.footer-col h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #aaa;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--leaf-green);
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--emerald-green);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

/* === WHATSAPP === */
.whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: var(--shadow-xl);
    z-index: 999;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp:hover {
    transform: scale(1.15);
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .article-title {
        font-size: 2.2rem;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 15px;
    }
    
    .related-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 80%;
        background: white;
        flex-direction: column;
        justify-content: center;
        box-shadow: -5px 0 20px rgba(0,0,0,0.2);
        transition: right 0.3s;
        z-index: 999;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-toggle {
        display: block;
        z-index: 1001;
    }
}
