/*
Theme Name: Balo Theme
Author: Your Name
Version: 1.0
Description: Fully merged and optimized Elementor-ready WordPress theme CSS
*/

/* ---- GLOBAL LAYOUT ---- */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fb;
    color: #333;
}

a {
    text-decoration: none;
}

.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.site-main {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    box-sizing: border-box;
}

/* ---- CONTAINER ---- */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* ---- HEADER ---- */
.site-header {
    background-color: #111827;
    color: #fff;
    padding: 10px 20px;
    border-bottom: 2px solid #1f2937;
    position: sticky;
    top: 0;
    z-index: 999;
}

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

/* Logo section */
.site-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-img {
    height: 35px;
    width: auto;
}

.logo-text {
    font-size: 1.25rem;
    font-weight: 600;
    color: #fff;
}

/* Navigation */
.primary-nav .nav-menu {
    list-style: none;
    display: flex;
    gap: 25px;
    margin: 0;
    padding: 0;
}

.primary-nav .nav-menu li {
    display: inline-block;
}

.primary-nav .nav-menu li a {
    color: #e5e7eb;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.2s ease;
}

.primary-nav .nav-menu li a:hover {
    color: #60a5fa;
}

/* ---- HERO & FEATURES ---- */
.hero {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 60px 0;
    gap: 40px;
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.125rem;
    margin-bottom: 30px;
    line-height: 1.5;
}

.hero-btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: #4f46e5;
    color: #fff;
    border-radius: 6px;
    transition: all 0.2s ease;
    font-weight: 600;
}

.hero-btn:hover {
    background-color: #3b82f6;
}

.feature-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.feature-card {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    flex: 1;
    min-width: 250px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

.icon-circle {
    font-size: 2rem;
    margin-bottom: 15px;
}

/* ---- CARDS ---- */
.profile-card,
.mentorship-card,
.trade-card {
    background-color: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.profile-card:hover,
.mentorship-card:hover,
.trade-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0,0,0,0.15);
}

/* ---- BUTTONS ---- */
.button,
a.button {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4f46e5;
    color: #fff;
    border-radius: 6px;
    transition: all 0.2s ease;
    text-align: center;
}

.button:hover,
a.button:hover {
    background-color: #3b82f6;
}

/* ---- FOOTER ---- */
.site-footer {
    background-color: #111827;
    color: #e5e7eb;
    text-align: center;
    padding: 25px 10px;
    border-top: 2px solid #1f2937;
}

.site-footer a {
    color: #3b82f6;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* ---- ELEMENTOR COMPATIBILITY ---- */
.elementor-section {
    width: 100%;
    margin: 0 auto;
    max-width: 1200px;
    box-sizing: border-box;
}

.elementor-widget {
    box-sizing: border-box;
}

/* ---- FADE-ON-SCROLL (home.js) ---- */
.fade-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
    .header-inner {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .primary-nav .nav-menu {
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .site-header {
        padding: 15px 20px;
    }

    .header-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .primary-nav .nav-menu {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 10px;
    }

    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .site-main {
        padding: 20px 15px;
    }

    .logo-img {
        height: 30px;
    }

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

/* ---- Sticky Footer Fix ---- */
html, body {
    height: 100%;
    margin: 0;
}

.site-wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

.site-footer {
    margin-top: auto;
}
