/* Custom styles inspired by Gurtz Group */
:root {
    --primary-color: #d4a574; /* Warm gold/amber */
    --secondary-color: #8b7355; /* Darker warm brown */
    --text-dark: #2c2c2c;
    --text-light: #666666;
    --bg-light: #f8f7f5;
    --border-color: #e0ddd7;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
}

/* Navbar */
.navbar {
    background-color: white !important;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.navbar-brand {
    color: var(--primary-color) !important;
    font-weight: 600;
}

.navbar-brand:hover {
    color: var(--secondary-color) !important;
}

.nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Custom badge colors */
.bg-purple {
    background-color: #6f42c1;
    color: white;
}

/* Buttons */
.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    font-weight: 500;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Cards */
.card {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.card-header {
    background-color: white;
    border-bottom: 2px solid var(--primary-color);
    font-weight: 600;
}

/* Project stage badges */
.badge-stage-research {
    background-color: #6c757d;
    color: white;
}

.badge-stage-initial-outreach {
    background-color: #17a2b8;
    color: white;
}

.badge-stage-meetings {
    background-color: #007bff;
    color: white;
}

.badge-stage-analysis-underwriting {
    background-color: #6f42c1;
    color: white;
}

.badge-stage-loi-negotiation {
    background-color: #fd7e14;
    color: white;
}

.badge-stage-due-diligence {
    background-color: #e83e8c;
    color: white;
}

.badge-stage-final-negotiations {
    background-color: #dc3545;
    color: white;
}

.badge-stage-closing {
    background-color: #28a745;
    color: white;
}

/* Subproject phase badges */
.badge-stage-pre-loi {
    background-color: #6c757d;
    color: white;
}

.badge-stage-post-loi {
    background-color: #17a2b8;
    color: white;
}

.badge-stage-post-closing {
    background-color: #28a745;
    color: white;
}

.badge-stage-other {
    background-color: #ffc107;
    color: #212529;
}

/* Task priority badges */
.badge-priority-critical {
    background-color: #dc3545;
}

.badge-priority-high {
    background-color: #fd7e14;
}

.badge-priority-medium {
    background-color: #ffc107;
}

.badge-priority-low {
    background-color: #6c757d;
}

/* Task status badges */
.badge-status-complete {
    background-color: #28a745;
}

.badge-status-started {
    background-color: #17a2b8;
}

.badge-status-not-started {
    background-color: #6c757d;
}

.badge-status-abandoned {
    background-color: #dc3545;
}

/* Forms */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(212, 165, 116, 0.25);
}

.form-label {
    font-weight: 500;
    color: var(--text-dark);
}

/* Tables */
.table th {
    background-color: var(--bg-light);
    font-weight: 600;
    border-bottom: 2px solid var(--primary-color);
}

.table-hover tbody tr:hover {
    background-color: rgba(212, 165, 116, 0.1);
}

/* Links */
a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* Landing page */
.landing-hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 100px 0;
    text-align: center;
}

.landing-hero h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.landing-hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

/* Task blocked indicator */
.task-blocked {
    position: relative;
}

.task-blocked::before {
    content: "🚫";
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
}

/* Checklist */
.checklist-item {
    display: flex;
    align-items: center;
    padding: 0.25rem 0;
}

.checklist-item input[type="checkbox"] {
    margin-right: 0.5rem;
}

.checklist-item.completed label {
    text-decoration: line-through;
    color: var(--text-light);
}

/* Comments */
.comment {
    border-left: 3px solid var(--primary-color);
    padding-left: 1rem;
    margin-bottom: 1rem;
}

.comment-author {
    font-weight: 600;
    color: var(--text-dark);
}

.comment-date {
    font-size: 0.875rem;
    color: var(--text-light);
}

.comment-body {
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .landing-hero h1 {
        font-size: 2rem;
    }

    .landing-hero p {
        font-size: 1rem;
    }
}