.card {
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s;
    overflow: hidden;
    position: relative;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
    cursor: pointer;
}

.card-body {
    padding: 1.5rem;
}

.progress-bar-container {
    display: flex;
    align-items: center;
    height: 30px;
    margin-top: 10px;
}

.progress-bar-container .prod-btn {
    height: 100%;
    border: none;
    color: white;
    font-weight: bold;
    cursor: pointer;
    border-radius: 5px;
    white-space: nowrap;
    padding: 0 10px;
}

.progress-wrapper {
    position: relative;
    height: 100%;
    background-color: #e0e0e0;
    border-radius: 5px;
    overflow: hidden;
    flex-grow: 1;
}

.progress-bar {
    height: 100%;
    transition: width 0.3s ease-in-out;
}

.progress-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: black;
    font-weight: bold;
}

.button-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.like-btn, .dislike-btn {
    width: 75px; /* Fixed width to ensure both buttons are the same size */
}

.details-btn {
    margin-left: auto; /* Pushes the button to the right */
}

.modal-content {
    border-radius: 10px;
}

.modal-header {
    border-bottom: none;
}

.modal-footer {
    border-top: none;
}

.form-group label {
    font-weight: bold;
}

.production-active {
    border-color: #28a745;
    box-shadow: 0 0 10px #28a745;
}

.bought {
    border-color: #ffc107;
    box-shadow: 0 0 10px #ffc107;
}

/* Specific styles for the details modal */
.details-modal-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 20px;
}

.details-modal-body p {
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.details-modal-body strong {
    color: #333;
}

/* Navigation must have a higher z-index than the modal backdrop (1050) */
.navbar {
    z-index: 1060 !important; 
    position: sticky;
    top: 0;
}

/* Ensure the backdrop doesn't cover the header */
.modal-backdrop {
    z-index: 1040 !important;
}

/* Footer Container */
.main-footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 40px 0 20px 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin-top: 50px;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 250px;
    margin-bottom: 20px;
}

.footer-section h3, .footer-section h4 {
    color: #f39c12; /* Artistic gold color */
    margin-bottom: 15px;
}

.footer-section p {
    font-size: 14px;
    line-height: 1.6;
    color: #bbb;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-section ul li a:hover {
    color: #f39c12;
}

/* Bottom Bar */
.footer-bottom {
    text-align: center;
    border-top: 1px solid #333;
    margin-top: 30px;
    padding-top: 20px;
    font-size: 13px;
    color: #777;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }
    .footer-section {
        margin-bottom: 30px;
    }
}