/*
Theme Name: Provider Side Hustle Theme
Theme URI: https://providersidehustle.com
Author: MAX
Description: Custom WordPress theme for Provider Side Hustle.
Version: 1.0.0
Text Domain: provider-side-hustle
*/

:root {
    /* Brand Colors */
    --psh-primary: #0f172a;
    /* Dark Navy */
    --psh-secondary: #0ea5e9;
    /* Sky Blue */
    --psh-accent: #eab308;
    /* Gold/Yellow */
    --psh-light: #f8fafc;
    --psh-warning: #ffc107;
    /* Warning Color */
    --psh-green: #198754;
    /* Green for Check */

    --bs-body-color: #334155;
    --bs-body-bg: #ffffff;

    --font-main: 'Poppins', sans-serif;

    --container-width: 1200px;
}

/* Reset & Global */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bs-body-bg);
    color: var(--bs-body-color);
    line-height: 1.6;
    font-size: 16px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

img {
    max-width: 100%;
    height: auto;
}

/* Helpers */
.text-center {
    text-align: center;
}

.d-block {
    display: block;
}

.mb-1 {
    margin-bottom: 0.25rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mt-3 {
    margin-top: 1rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* 1. Top Bar */
.top-bar {
    background-color: #000;
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
    border-bottom: 1px solid #333;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar-left {
    display: flex;
    gap: 20px;
    align-items: center;
}

.info-item i {
    color: var(--psh-accent);
    margin-right: 8px;
}

/* Right Side Link - Warning Color, No Button Style */
.top-bar-link {
    color: var(--psh-warning) !important;
    font-weight: 700;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.top-bar-link i {
    color: inherit;
    /* Icon matches text */
}


/* 2. Logo Banner */
.logo-banner {
    background-color: white;
    padding: 50px 0;
    border-bottom: 1px solid #f1f5f9;
}

.logo-container {
    width: 65%;
    margin: 0 auto;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo-img {
    max-width: 100%;
    max-height: 250px;
}


/* 3. Helper Navigation (Sticky) */
.sticky-menu {
    background-color: white;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.menu-content {
    display: flex;
    justify-content: center;
    padding: 15px 0;
}

.menu-list {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 2vw;
    /* Flexible gap */
    flex-wrap: nowrap;
    /* Single line preferred */
}

/* Menu Typography */
.menu-link {
    color: #475569;
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    letter-spacing: 0.05em;
    padding: 0.75rem 1rem;
    position: relative;
    white-space: nowrap;
    transition: all 0.3s ease;
}

/* Hover: Skyblue bottom border only */
.menu-link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: #0ea5e9;
    /* Skyblue */
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.menu-link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.menu-link:hover {
    color: #0ea5e9;
}

/* WordPress Specific Menu Fixes */
.menu-list li {
    list-style: none;
    margin: 0;
}

.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 2vw;
    flex-wrap: nowrap;
}

.nav-menu li a {
    /* Re-applying menu-link styles to WP menu items */
    color: #475569;
    font-weight: 700;
    text-transform: uppercase;
    font-size: clamp(1rem, 1.5vw, 1.4rem);
    letter-spacing: 0.05em;
    padding: 0.75rem 1rem;
    position: relative;
    white-space: nowrap;
    transition: all 0.3s ease;
    display: inline-block;
}

.nav-menu li a:after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: #0ea5e9;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

.nav-menu li a:hover:after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.nav-menu li a:hover {
    color: #0ea5e9;
}

/* 4. Hero Section */
.hero-section {
    text-align: center;
    padding: 50px 0;
    background-color: white;
    overflow: hidden;
}

.brand-title {
    color: #0ea5e9;
    font-weight: 700;
    white-space: nowrap;
    /* Increase size but keep fit. */
    font-size: clamp(1.8rem, 3.5vw, 4rem);
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin-bottom: 20px;
    text-transform: uppercase;
    width: 100%;
}

/* Slogan Style */
.slogan-link {
    font-size: calc(1.3rem + 0.5vw);
    font-weight: 700;
    color: #475569;
    text-decoration: underline;
    text-decoration-thickness: 4px;
    text-decoration-color: rgba(234, 179, 8, 0.3);
    text-underline-offset: 6px;
    transition: all 0.3s ease;
    display: inline-block;
    margin-bottom: 30px;
}

.slogan-link:hover {
    color: #0ea5e9;
    /* Hover color */
    text-decoration-color: #0ea5e9;
    /* Optional: make underline same color on hover */
}

/* Statement Text */
.hero-text {
    font-size: 1.5rem;
    font-weight: 500;
    color: #475569;
    line-height: 1.6;
    max-width: 950px;
    margin: 0 auto 2.5rem auto;
}

/* Hero CTA Button */
.btn-hero {
    background-color: #2563eb;
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    padding: 1.2rem 3.5rem;
    border-radius: 50px;
    border: 2px solid white;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.2s;
    position: relative;
    z-index: 2;
}

.animated-btn-wrapper {
    position: relative;
    display: inline-block;
    margin-top: 2rem;
}

/* Cursor Animation */
.cursor-anim {
    position: absolute;
    bottom: -30px;
    right: -20px;
    font-size: 2.5rem;
    color: #334155;
    /* Dark gray */
    z-index: 10;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    transform: rotate(-25deg);
    animation: clickHint 1.5s infinite ease-in-out;
    pointer-events: none;
    /* Don't intercept clicks */
}

@keyframes clickHint {

    0%,
    100% {
        transform: translate(0, 0) rotate(-25deg);
    }

    50% {
        transform: translate(-10px, -10px) rotate(-25deg) scale(0.9);
        /* Move in and 'press' */
    }
}

.btn-hero:hover {
    transform: translateY(-3px);
}

.btn-hero i {
    font-weight: 400 !important;
    /* "Button CTA 1 ... font-weight: 400" */
}


/* 5. Community Needs Section */
.section-padding {
    padding: 50px 0;
}

.section-heading-2 {
    text-align: center;
    color: #0ea5e9;
    font-weight: 800;
    text-transform: uppercase;
    font-size: calc(1.3rem + 1vw);
    letter-spacing: -0.025em;
    margin-bottom: 40px;
    line-height: 1.1;
}

/* Cards (Reused in both sections) */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.benefit-card {
    background-color: white;
    border-radius: 0.75rem;
    padding: 2rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    border-top: 4px solid transparent;
    text-align: center;
    height: 100%;

    /* Animation/Transition */
    transition: transform 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
}

.benefit-card p {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--psh-primary);
    margin: 0;
}

.benefit-card h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.benefit-card .icon-wrapper {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

/* Border Colors */
.card-community {
    border-top-color: var(--psh-secondary);
}

.card-opps {
    border-top-color: var(--psh-accent);
}

.card-tax {
    border-top-color: var(--psh-primary);
}

.card-community .icon-wrapper {
    color: var(--psh-secondary);
}

.card-opps .icon-wrapper {
    color: var(--psh-accent);
}

.card-tax .icon-wrapper {
    color: var(--psh-primary);
}


/* 6. Mastermind Section */
.mastermind-section {
    background: #fff;
    text-align: center;
}

/* CTA 2 Button (Mastermind) */
.btn-mastermind {
    background-color: #2563eb;
    color: white;
    font-size: 1.6rem;
    /* Bigger */
    font-weight: 700;
    padding: 1.5rem 3.5rem;
    /* Bigger padding */
    border-radius: 10px;
    /* Rectangle with slight radius */
    border: 2px solid white;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
    transition: transform 0.1s;
    display: inline-flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.btn-mastermind:hover {
    transform: scale(1.02);
}

.mastermind-subtext {
    font-size: 1.35rem;
    font-weight: 500;
    color: #475569;
    margin-bottom: 3rem;
}


/* 7. Access / Business CTA Section */
.access-section {
    text-align: center;
}

/* Centered Button CTA 3 */
.btn-access {
    background: linear-gradient(135deg, var(--psh-primary) 0%, #1e293b 100%);
    color: white;
    padding: 1.5rem 3rem;
    border-radius: 0.75rem;
    font-size: 1.4rem;
    font-weight: 700;
    text-transform: uppercase;
    border: 2px solid var(--psh-accent);
    box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.2);
    display: inline-block;
    transition: all 0.3s ease;

    /* Ensure center */
    margin: 0 auto 1.5rem auto;
}

.btn-access:hover {
    transform: translateY(-2px);
    color: var(--psh-accent);
}

.access-subtext {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    color: #64748b;
    /* Gray */
    font-weight: 600;
    /* Semibold */
    font-size: 1.1rem;
}

.check-icon {
    color: white;
    background-color: var(--psh-green);
    /* Green bg */
    border-radius: 50%;
    padding: 4px;
    /* Best fit padding */
    font-size: 0.8rem;
    display: flex;
    /* alignment */
}


/* 8. Contact Section */
.contact-section {
    padding-top: 3rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.contact-label {
    color: #94a3b8;
    /* Light gray */
    text-transform: uppercase;
    font-weight: 700;
    font-size: 1.2rem;
    margin-bottom: 0.25rem;
    /* Small space */
}

.contact-email {
    color: rgba(51, 65, 85, 0.9);
    /* Dark gray with opacity */
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    display: block;
}

.contact-address {
    color: #cbd5e1;
    /* Deep light gray */
    font-size: 1.2rem;
    font-weight: 500;
}

.social-icons {
    margin-top: 1.5rem;
}

.social-icons i {
    font-size: 2.5rem;
    /* Bigger */
    font-weight: 400;
    /* As requested */
    margin: 0 10px;
    transition: transform 0.3s;
}

/* Brand Colors */
.social-icons .fa-facebook,
.social-icons .fa-square-facebook {
    color: #1877F2 !important;
    /* Facebook Blue */
}

.social-icons .fa-instagram {
    color: #E4405F !important;
    /* Instagram Pink/Red - flat color usually used for icons */
}

.social-icons i:hover {
    color: var(--psh-primary);
}


/* 9. Footer */
.site-footer {
    text-align: center;
    padding: 30px 0;
    color: #334155;
    font-size: 1rem;
}

.footer-link {
    font-weight: 600;
    color: var(--psh-primary);
}


/* Mobile Toggle Button (Hidden on Desktop) */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--psh-primary);
    cursor: pointer;
    padding: 10px;
}

.menu-wrapper {
    display: flex;
    justify-content: center;
    position: relative;
    padding: 15px 0;
}

.menu-content {
    width: 100%;
    display: flex;
    justify-content: center;
}

/* Responsive */
@media (max-width: 900px) {
    .menu-wrapper {
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
        /* Show hamburger */
    }

    .menu-content {
        display: none;
        /* Hide menu by default */
        flex-direction: column;
        width: 100%;
        margin-top: 15px;
    }

    .menu-content.active {
        display: flex;
        /* Show when toggled */
    }

    .menu-list,
    .nav-menu {
        flex-direction: column;
        gap: 10px;
        width: 100%;
        text-align: center;
    }

    .menu-link {
        display: block;
        padding: 1rem;
        border-bottom: 1px solid #f1f5f9;
        /* Increase touch target */
        white-space: normal;
        /* allow wrap on very small screens */
    }

    .logo-container {
        width: 90%;
    }

    .brand-title {
        font-size: clamp(1.8rem, 5vw, 2.5rem);
        white-space: normal;
        /* Allow wrap on mobile */
    }
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }

    .top-bar-content {
        flex-direction: column;
        gap: 10px;
    }
}