/* HomeLogic Inspections - Custom Styles */

:root {
    --primary: #1565C0;
    --secondary: #FF6F00;
    --success: #2E7D32;
    --dark: #212121;
    --light: #F5F5F5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: #212121;
    background: #ffffff;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Ensure Bootstrap backgrounds work */
.bg-light {
    background-color: #F5F5F5 !important;
}

.bg-primary {
    background-color: #1565C0 !important;
}

.text-primary {
    color: #1565C0 !important;
}

.btn-primary {
    background-color: #1565C0;
    border-color: #1565C0;
}

.btn-primary:hover {
    background-color: #0D47A1;
    border-color: #0D47A1;
}

.btn-warning {
    background-color: #FF6F00;
    border-color: #FF6F00;
    color: white;
}

.btn-warning:hover {
    background-color: #E65100;
    border-color: #E65100;
    color: white;
}

/* Smooth transitions */
.btn, .card, .nav-link {
    transition: all 0.3s ease;
}

/* Card hover effects */
.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 3rem rgba(0,0,0,.175) !important;
}

/* Navbar active link */
.nav-link.active {
    color: #1565C0 !important;
    font-weight: 600;
}

/* Smooth scroll offset for fixed navbar */
section {
    scroll-margin-top: 70px;
}

/* Ensure text is readable */
.text-muted {
    color: #6c757d !important;
}

/* Ensure proper spacing */
.py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
}