/* Reset and Base Styles */
* {
    font-family: 'Inter', sans-serif;
}

body {
    background-color: #f8f7f4;
    background-image: radial-gradient(circle, #e0e0e0 1px, transparent 1px);
    background-size: 20px 20px;
}

/* Gradient Background */
.gradient-bg {
    background: linear-gradient(135deg, #6b1b1b 0%, #4a0e0e 100%);
}

/* Card Hover Effects */
.card-hover {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(107, 27, 27, 0.2);
    z-index: 10;
}

/* Download Button */
.download-btn {
    background-color: #6b1b1b;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background-color: #8b2323;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 27, 27, 0.3);
}

/* Navigation Links */
.nav-link {
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #6b1b1b;
}

/* Select Dropdown Custom Arrow */
select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='%236b1b1b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3E%3C/svg%3E");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
    appearance: none;
}

/* Pagination */
.pagination-btn {
    transition: all 0.2s ease;
}

.pagination-btn:hover:not(.active) {
    background-color: #f3f4f6;
}

.pagination-btn.active {
    background-color: #6b1b1b;
    color: white;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto;
    padding: 30px;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}