/* ==========================================
   BONGOSOUL LIGHT THEME
   Colors: White BG, Ocean Blue (#1E90FF), Teal (#14B8A6)
   Mobile-First Responsive Design
   ========================================== */

/* CSS Reset & Variables */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Light Theme Colors */
    --bg-primary: #ffffff;
    --bg-secondary: #f8f9fa;
    --bg-tertiary: #e9ecef;

    /* Accent Colors */
    --gold: #000000;
    --red: #2c2c2c;
    --white: #ffffff;
    --gray-light: #dee2e6;
    --gray-dark: #adb5bd;

    /* Text Colors */
    --text-primary: #212529;
    --text-secondary: #495057;
    --text-muted: #6c757d;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(0, 0, 0, 0.15);

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Base Styles */
body {
    background-color: #ffffff;
    background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
    color: var(--text-primary);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.7;
    min-height: 100vh;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: #2c2c2c;
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 1rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-primary);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 700;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

h5 {
    font-size: 1.125rem;
    font-weight: 600;
}

h6 {
    font-size: 1rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

/* Navbar */
.navbar {
    background: var(--white);
    border-bottom: 1px solid #e3e8ef;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.navbar-brand .logo {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    display: flex;
    align-items: center;
}

.logo-image {
    height: 75px;
    width: 75px;
    object-fit: contain;
    transition: var(--transition-fast);
}

.logo-image:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.3));
}

.logo-text {
    color: var(--white);
}

.logo-accent {
    color: var(--gold);
}

.navbar-menu {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.navbar-menu a {
    color: var(--text-primary);
    font-weight: 600;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition-fast);
    font-size: 0.95rem;
    letter-spacing: 0.01em;
}

.navbar-menu a:hover {
    color: var(--gold);
    border-bottom-color: var(--gold);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

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

.navbar-search form {
    display: flex;
    gap: 0.5rem;
}

.search-input {
    padding: 0.5rem 1rem;
    border: 2px solid var(--gold);
    border-radius: 25px;
    background: var(--white);
    color: var(--text-primary);
    font-size: 0.9rem;
    min-width: 200px;
}

.search-input:focus {
    outline: none;
    box-shadow: var(--shadow-glow);
}

.search-btn {
    padding: 0.5rem 1rem;
    background: var(--gold);
    border: none;
    border-radius: 25px;
    color: var(--white);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-fast);
}

.search-btn:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-glow);
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 300px);
    padding: 2rem 0;
    background-color: transparent;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0a1628 0%, #1a2332 100%);
    color: #b8c5d6;
    padding: 4rem 0 1.5rem;
    margin-top: 4rem;
    border-top: 3px solid var(--gold);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 700;
    font-size: 1.25rem;
}

.footer-section h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1rem;
}

.footer-section p {
    color: #b8c5d6;
    margin-bottom: 1rem;
    font-size: 0.9rem;
    line-height: 1.7;
}

/* About Section */
.footer-contact {
    margin-top: 1.5rem;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
}

.footer-contact strong {
    color: #ffffff;
    display: block;
    margin-top: 1rem;
    margin-bottom: 0.25rem;
}

/* Popular Posts */
.footer-post-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-post-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-post-item:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.footer-post-image {
    width: 70px;
    height: 70px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.footer-post-placeholder {
    font-size: 2rem;
}

.footer-post-content {
    flex: 1;
}

.footer-post-title {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition-fast);
}

.footer-post-title:hover {
    color: var(--gold);
}

.footer-post-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.75rem;
    color: #7a8a9e;
}

/* Quick Links */
.footer-link-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.footer-link-list li a {
    color: #b8c5d6;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    display: block;
    padding: 0.25rem 0;
}

.footer-link-list li a:hover {
    color: #ffffff;
    padding-left: 8px;
}

.footer-tags {
    margin-top: 2rem;
}

.footer-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.footer-tag {
    padding: 0.4rem 1rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    color: #b8c5d6;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.footer-tag:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: #ffffff;
}

/* Newsletter */
.newsletter-subtitle {
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.newsletter-description {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.newsletter-input {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.05);
    color: #ffffff;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.newsletter-input::placeholder {
    color: #7a8a9e;
}

.newsletter-input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
}

.newsletter-btn {
    padding: 0.75rem 1.5rem;
    background: var(--gold);
    border: none;
    border-radius: 6px;
    color: #ffffff;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.newsletter-btn:hover {
    background: var(--red);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.footer-social {
    margin-top: 2rem;
}

.footer-social-links {
    display: flex;
    gap: 0.75rem;
    margin-top: 0.75rem;
}

.footer-social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #b8c5d6;
    font-size: 1.2rem;
    transition: var(--transition-fast);
    text-decoration: none;
}

.footer-social-icon i {
    font-size: 1.1rem;
    color: inherit;
}

.footer-social-icon:hover {
    background: var(--gold);
    border-color: var(--gold);
    color: var(--ink);
    transform: translateY(-3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.5rem;
    text-align: center;
    color: #7a8a9e;
    font-size: 0.85rem;
}

/* Theme Toggle Button */
.theme-toggle {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold);
    border: 2px solid var(--gray-light);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    transition: var(--transition-normal);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-glow);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .navbar .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .mobile-toggle {
        display: flex;
        position: absolute;
        top: 1rem;
        right: 1rem;
    }

    .logo-image {
        height: 60px;
        width: 60px;
    }

    .navbar-menu {
        display: none;
        width: 100%;
        flex-direction: column;
        gap: 0;
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-menu li {
        border-bottom: 1px solid var(--gray-dark);
    }

    .navbar-menu a {
        display: block;
        padding: 1rem 0;
    }

    .navbar-search {
        width: 100%;
        margin-top: 1rem;
    }

    .search-input {
        width: 100%;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

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

    .footer-post-item {
        flex-direction: row;
    }

    .footer-post-image {
        width: 60px;
        height: 60px;
    }
}

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

    .footer-grid {
        gap: 2rem;
    }

    .footer-section h3 {
        font-size: 1.1rem;
    }

    .newsletter-form {
        gap: 0.5rem;
    }

    .footer-tag-list {
        gap: 0.4rem;
    }

    .footer-tag {
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
    }
}
