/*
Theme Name: GSBN Theme
Theme URI: https://gsbn.net
Author: Your Name
Author URI: https://gsbn.net
Description: A custom WordPress theme for the Global Small Business Network, based on a Bootstrap 5 design.
Version: 1.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: bootstrap, business, one-page, custom-header, custom-menu, featured-images
Text Domain: gsbn-theme
*/

/* Using Inter font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8f9fa;
}

/* Custom Colors */
:root {
    --gsbn-primary: #0056b3; /* A strong, professional blue */
    --gsbn-secondary: #007bff; /* A lighter, vibrant blue */
    --gsbn-dark: #343a40;
    --gsbn-light: #f8f9fa;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    font-weight: 700;
    color: var(--gsbn-primary) !important;
}

.nav-link {
    font-weight: 600;
}

/* WordPress active menu item */
.navbar-nav .nav-item .nav-link.active,
.navbar-nav .nav-item.current-menu-item .nav-link {
    color: var(--gsbn-primary) !important;
}

/* Custom Join Now button in nav */
.navbar-nav .menu-item-join-now a {
    background-color: var(--gsbn-primary);
    color: white !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    border-radius: 0.25rem;
    transition: background-color 0.3s ease;
}
.navbar-nav .menu-item-join-now a:hover {
    background-color: #00418a;
}
/* Adjust margin for the button on larger screens */
@media (min-width: 992px) {
    .navbar-nav .menu-item-join-now {
        margin-left: 1rem;
    }
}


/* Hero Section */
.hero-section {
    background: linear-gradient(to right, rgba(0, 86, 179, 0.8), rgba(0, 123, 255, 0.7)), 
                url('img/hero-bg.png') no-repeat center center; /* WP path will be set in functions.php or inline */
    background-size: cover;
    color: white;
    padding: 10rem 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 700;
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.btn-primary {
    background-color: var(--gsbn-primary);
    border-color: var(--gsbn-primary);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #00418a;
    border-color: #00418a;
}

.btn-secondary {
    background-color: var(--gsbn-light);
    border-color: var(--gsbn-light);
    color: var(--gsbn-dark);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-secondary:hover {
    background-color: #e2e6ea;
    color: var(--gsbn-dark);
}

/* Section Styling */
.section {
    padding: 6rem 0;
}

.section-title {
    font-weight: 700;
    color: var(--gsbn-primary);
    margin-bottom: 3rem;
    text-align: center;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--gsbn-secondary);
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

/* Feature Icon */
.feature-icon {
    font-size: 3rem;
    color: var(--gsbn-primary);
}

.card {
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%; /* Ensure cards are same height */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.card-title {
    color: var(--gsbn-primary);
    font-weight: 700;
}

/* Footer */
.footer {
    background-color: var(--gsbn-dark);
    color: rgba(255, 255, 255, 0.8);
    padding-top: 4rem;
    padding-bottom: 2rem;
}

.footer h5 {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer .social-icons a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    margin-right: 1.25rem;
    transition: color 0.3s ease;
}

.footer .social-icons a:hover {
    color: white;
}

.footer .list-unstyled li {
    margin-bottom: 0.75rem;
}

.footer .list-unstyled a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer .list-unstyled a:hover {
    color: white;
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
    margin-top: 2rem;
}
