/*
Theme Name: BRP Theme
Author: Your Name
Description: A custom theme for the Biz Referrals Portal.
Version: 1.0.0
*/

/* --- Basic Reset & Body --- */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    line-height: 1.6;
    color: #333;
    margin: 0;
    padding: 0;
    background-color: #f9fafb;
}
.brp-main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* --- Header --- */
.brp-header {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    padding: 10px 20px;
}
.brp-header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.brp-logo .custom-logo-link img {
    max-height: 60px;
    width: auto;
}

/* --- Navigation --- */
.brp-nav .brp-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 25px;
}
.brp-nav .brp-menu a {
    text-decoration: none;
    color: #374151;
    font-weight: 600;
    padding: 10px 0;
    position: relative;
}
.brp-nav .brp-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #4f46e5;
    transition: width 0.3s ease;
}
.brp-nav .brp-menu a:hover::after {
    width: 100%;
}
.brp-nav .current-menu-item a {
    color: #4f46e5;
}

/* --- Header Actions (Buttons) --- */
.brp-header-actions {
    display: flex;
    gap: 10px;
}
.brp-button {
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 600;
    border: 1px solid #4f46e5;
    background-color: #4f46e5;
    color: #fff;
    transition: all 0.2s ease;
}
.brp-button:hover {
    background-color: #4338ca;
}
.brp-button-secondary {
    background-color: transparent;
    color: #4f46e5;
}
.brp-button-secondary:hover {
    background-color: #eef2ff;
    color: #4338ca;
}

/* --- Mobile Navigation Toggle --- */
.brp-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.brp-mobile-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* --- Footer --- */
.brp-footer {
    background-color: #111827;
    color: #d1d5db;
    padding: 40px 20px;
    margin-top: 40px;
}
.brp-footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}
.brp-footer-col h4 {
    color: #fff;
    margin-top: 0;
}
.brp-footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.brp-footer-col ul li {
    margin-bottom: 10px;
}
.brp-footer-col a {
    color: #9ca3af;
    text-decoration: none;
}
.brp-footer-col a:hover {
    color: #fff;
}
.brp-social-links {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}
.brp-footer-bottom {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #374151;
    font-size: 14px;
    color: #9ca3af;
}

/* --- Responsive Styles --- */
@media (max-width: 768px) {
    .brp-nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: #fff;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        padding: 20px;
    }
    .brp-nav-open {
        display: block;
    }
    .brp-nav .brp-menu {
        flex-direction: column;
        gap: 15px;
    }
    .brp-mobile-toggle {
        display: block;
    }
    .brp-header-actions {
        display: none; /* Hide header buttons on mobile, can be shown in nav if needed */
    }
}
