/* ================================================================
    TEMPLATE-LEVEL VARIABLES 
    Change these colors to brand the site for different businesses.
    ================================================================
*/
:root {
    /* Carpenter/Plumber: #0d6efd | Hairdresser: #e83e8c | Cleaner: #198754 */
    --brand-primary: #0d6efd;
    --brand-dark: #212529;
    --brand-light: #f8f9fa;
    --transition-speed: 0.3s;
}

/* GLOBAL RESET & BASE STYLES */
body {
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    overflow-x: hidden;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, .navbar-brand {
    font-weight: 700;
}

/* NAVBAR CUSTOMIZATION */
.navbar {
    padding: 1rem 0;
    transition: all var(--transition-speed);
}

.navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -1px;
}

.nav-link {
    font-weight: 500;
    margin-left: 15px;
    position: relative;
}

    .nav-link:after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        bottom: 0;
        left: 0;
        background-color: var(--brand-primary);
        transition: width var(--transition-speed);
    }

    .nav-link:hover:after {
        width: 100%;
    }

/* BUTTONS */
.btn-primary {
    background-color: var(--brand-primary);
    border-color: var(--brand-primary);
    padding: 12px 30px;
    font-weight: 600;
    border-radius: 8px;
    transition: transform 0.2s, background-color 0.2s;
}

    .btn-primary:hover {
        background-color: #0056b3; /* Slightly darker */
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

.btn-outline-dark {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
}

/* HERO SECTION */
.hero-section {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f1f4f8 100%);
}

/* CARDS & HOVER EFFECTS */
.card {
    border: none;
    border-radius: 15px;
    transition: all var(--transition-speed) ease;
}

.transition-hover:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important;
}

/* ICON STYLING */
.bi {
    color: var(--brand-primary);
}

/* GALLERY PLACEHOLDERS */
.ratio-16x9 {
    background-color: #dee2e6;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color var(--transition-speed);
}

    .ratio-16x9:hover {
        border-color: var(--brand-primary);
    }

/* FOOTER */
footer {
    background-color: var(--brand-dark);
}

    footer h5 {
        color: #fff;
        font-size: 1.1rem;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    footer .text-secondary {
        color: #adb5bd !important;
    }

/* FORM STYLING */
.form-control {
    padding: 12px;
    border-radius: 8px;
    border: 1px solid #ced4da;
}

    .form-control:focus {
        border-color: var(--brand-primary);
        box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    }

/* ACCORDION (FAQ) */
.accordion-button:not(.collapsed) {
    background-color: rgba(13, 110, 253, 0.05);
    color: var(--brand-primary);
}

/* UTILITIES */
.text-primary {
    color: var(--brand-primary) !important;
}

.bg-primary {
    background-color: var(--brand-primary) !important;
}

/* RESPONSIVE ADJUSTMENTS */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
        text-align: center;
    }

    .navbar-nav {
        background: #fff;
        padding: 20px;
        border-radius: 10px;
        margin-top: 10px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    }
}
