/* Project Detail Page Styling */

/* Button Group Styling */
.btn-group .btn {
    border-radius: 0;
}

.btn-group .btn:first-child {
    border-top-left-radius: 0.25rem;
    border-bottom-left-radius: 0.25rem;
}

.btn-group .btn:last-child {
    border-top-right-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

/* Card Hover Effects */
.card {
    transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
    border: none;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08) !important;
}

.card-header {
    border-bottom: none;
    font-weight: 600;
}

/* Natural Agroforest Color Palette */
.bg-primary {
    background-color: #f1f8e9 !important; /* Soft forest green */
    color: #33691e !important;
}

.bg-success {
    background-color: #e8f5e8 !important; /* Soft leaf green */
    color: #2e7d32 !important;
}

.bg-info {
    background-color: #e0f2f1 !important; /* Soft sage green */
    color: #00695c !important;
}

.bg-warning {
    background-color: #fff3e0 !important; /* Soft earth brown */
    color: #e65100 !important;
}

.bg-secondary {
    background-color: #efebe9 !important; /* Soft clay brown */
    color: #4e342e !important;
}

.bg-dark {
    background-color: #f5f5f5 !important; /* Soft stone gray */
    color: #424242 !important;
}

/* List Group Item Hover */
.list-group-item-action:hover {
    background-color: #f9f9f9;
    transform: translateX(2px);
    transition: all 0.2s ease-in-out;
}

/* Map Styling */
#map {
    height: 400px;
    width: 100%;
    border-radius: 0.375rem;
    border: 1px solid #d7ccc8;
}

/* Badge Styling */
.badge {
    font-size: 0.75em;
    padding: 0.5em 0.75em;
    margin: 0.1em;
    font-weight: 500;
}

/* Badge styles for pH levels */
.badge-ph {
    color: #000000;
    border: none;
    font-size: 0.8em;
    padding: 0.4em 0.6em;
    margin-right: 0.3em;
    margin-bottom: 0.3em;
    display: inline-block;
    border-radius: 4px;
}

/* Grond badge classes - Natural earth colors */
.badge-grond-zand { background-color: #fff8e1; color: #f57f17; border: 1px solid #ffb74d; }
.badge-grond-leem { background-color: #efebe9; color: #4e342e; border: 1px solid #8d6e63; }
.badge-grond-klei { background-color: #fafafa; color: #424242; border: 1px solid #9e9e9e; }

/* pH badge classes - Natural soil colors */
.badge-ph-zuur { background-color: #ffebee; color: #c62828; border: 1px solid #ef5350; }
.badge-ph-neutraal { background-color: #e8f5e8; color: #2e7d32; border: 1px solid #66bb6a; }
.badge-ph-basisch { background-color: #e3f2fd; color: #1565c0; border: 1px solid #42a5f5; }

/* Badge styles for vochtigheid */
.badge-vocht {
    color: #000000;
    border: none;
    font-size: 0.8em;
    padding: 0.4em 0.6em;
    margin-right: 0.3em;
    margin-bottom: 0.3em;
    display: inline-block;
    border-radius: 4px;
}

/* Vochtigheid badge classes - Natural water colors */
.badge-vocht-Doorlatend { background-color: #fff3e0; color: #e65100; border: 1px solid #ffb74d; }
.badge-vocht-Vochtig { background-color: #e0f2f1; color: #00695c; border: 1px solid #4db6ac; }
.badge-vocht-Nat { background-color: #e3f2fd; color: #1565c0; border: 1px solid #64b5f6; }

/* Breadcrumb Styling */
.breadcrumb {
    background-color: #f9f9f9;
    border-radius: 0.375rem;
    padding: 0.75rem 1rem;
    border: 1px solid #d7ccc8;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: ">";
    color: #8d6e63;
}

/* Project Header */
.project-header {
    background: linear-gradient(135deg, #f1f8e9 0%, #e8f5e8 100%);
    color: #33691e;
    padding: 2rem 0;
    margin-bottom: 2rem;
    border-radius: 0.5rem;
}

/* Quick Actions Card */
.quick-actions .btn {
    transition: all 0.2s ease-in-out;
}

.quick-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Statistics Card */
.statistics-card .col-6 {
    position: relative;
}

.statistics-card .col-6:first-child::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 60%;
    width: 1px;
    background-color: #d7ccc8;
}

/* Recipe and Plan Cards */
.recipe-card, .plan-card {
    transition: all 0.3s ease-in-out;
}

.recipe-card:hover, .plan-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

/* Empty State Styling */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
}

.empty-state i {
    font-size: 4rem;
    color: #d7ccc8;
    margin-bottom: 1rem;
}

.empty-state p {
    color: #6d4c41;
    font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container-fluid {
        padding: 0 1rem;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .btn-group {
        flex-direction: column;
    }
    
    .btn-group .btn {
        border-radius: 0.25rem !important;
        margin-bottom: 0.25rem;
    }
    
    .statistics-card .col-6:first-child::after {
        display: none;
    }
    
    .statistics-card .col-6 {
        margin-bottom: 1rem;
    }
}

@media (max-width: 576px) {
    .d-flex.justify-content-between {
        flex-direction: column;
        gap: 1rem;
    }
    
    .btn-group {
        width: 100%;
    }
    
    #map {
        height: 300px;
    }
}

/* Dark Mode Support - Now handled by dark-mode.css via JavaScript */

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Custom Scrollbar */
.card-body::-webkit-scrollbar {
    width: 6px;
}

.card-body::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 3px;
}

.card-body::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.card-body::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Natural Button Colors */
.btn-outline-primary {
    color: #33691e;
    border-color: #c5e1a5;
}

.btn-outline-primary:hover {
    background-color: #f1f8e9;
    border-color: #33691e;
    color: #33691e;
}

.btn-outline-success {
    color: #218838;
    border-color: #218838;
    border-width: 2px;
    border-radius: 0.375rem;
    background-color: #fff;
    transition: all 0.2s;
}

.btn-outline-success:hover, .btn-outline-success:focus {
    background-color: #e8f5e8;
    color: #166c2b;
    border-color: #166c2b;
    box-shadow: 0 2px 8px rgba(33,136,56,0.08);
}

.btn-outline-secondary {
    color: #4e342e;
    border-color: #d7ccc8;
}

.btn-outline-secondary:hover {
    background-color: #efebe9;
    border-color: #4e342e;
    color: #4e342e;
}

.btn-outline-danger {
    color: #c62828;
    border-color: #ffcdd2;
}

.btn-outline-danger:hover {
    background-color: #ffebee;
    border-color: #c62828;
    color: #c62828;
}

/* Natural Text Colors */
.text-primary {
    color: #33691e !important;
}

.text-success {
    color: #2e7d32 !important;
}

.text-muted {
    color: #6d4c41 !important;
} 