/* Custom Theme Colors */
:root {
    --primary-color: #0b5e34; /* Deep Forest Green */
    --secondary-color: #f7b731; /* Sunshine Yellow */
    --accent-color: #20bf6b; /* Vibrant Green */
    --dark-color: #2d3436;
    --light-color: #f1f2f6;
    --white: #ffffff;
    --transition: all 0.3s ease-in-out;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--dark-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
    padding: 15px 0;
    transition: var(--transition);
}

.navbar-brand {
    font-weight: 800;
    color: var(--primary-color) !important;
    display: flex;
    align-items: center;
    gap: 10px;
}

.navbar-brand i {
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 600;
    color: var(--dark-color) !important;
    margin: 0 10px;
    transition: var(--transition);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background: var(--primary-color);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Floating Buttons */
.floating-wa {
    position: fixed;
    bottom: 20px;
    left: 20px;
    z-index: 1000;
    background-color: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 30px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    transition: var(--transition);
    text-decoration: none;
}

.floating-wa:hover {
    transform: scale(1.1);
    color: white;
}

.floating-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    background-color: var(--primary-color);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.2);
    transition: var(--transition);
    cursor: pointer;
    border: none;
}

.floating-top:hover {
    transform: translateY(-5px);
    background-color: var(--accent-color);
}

/* Footer */
footer {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0 20px;
}

footer a {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    transition: var(--transition);
}

footer a:hover {
    color: var(--secondary-color);
}

/* Cards */
.card {
    border: none;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: var(--transition);
    overflow: hidden;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    transform: translateY(-2px);
}

/* Article Styles */
article {
    font-size: 1.1rem;
    color: #444;
}

article h1, article h2, article h3 {
    color: var(--primary-color);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

article img {
    border-radius: 15px;
    margin-bottom: 20px;
    width: 100%;
    height: auto;
}

.img-caption {
    font-size: 0.9rem;
    color: #666;
    text-align: center;
    font-style: italic;
    margin-top: -15px;
    margin-bottom: 20px;
}

.toc-box {
    background: #f8f9fa;
    border-left: 4px solid var(--primary-color);
    padding: 20px;
    margin-bottom: 30px;
    border-radius: 5px;
}

.toc-title {
    font-weight: 700;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

blockquote {
    border-left: 5px solid var(--secondary-color);
    padding: 20px;
    background: #fff9e6;
    font-style: italic;
    margin: 30px 0;
    border-radius: 0 10px 10px 0;
}

.share-buttons a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    color: white;
    transition: var(--transition);
}

.share-wa { background: #25d366; }
.share-fb { background: #1877f2; }
.share-tw { background: #1da1f2; }

.author-bio {
    background: var(--light-color);
    padding: 30px;
    border-radius: 15px;
    margin-top: 50px;
    display: flex;
    gap: 20px;
    align-items: center;
}

.author-img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
}

/* Mobile Fixes */
@media (max-width: 768px) {
    .floating-wa {
        width: 50px;
        height: 50px;
        font-size: 25px;
    }
    .floating-top {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    body {
        overflow-x: hidden;
        width: 100%;
        position: relative;
    }
    .navbar-collapse {
        background: white;
        padding: 20px;
        margin-top: 10px;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
}
