/** ADD YOUR AWESOME CODES HERE **/

/* Filter Styles */
.filter-container {
    text-align: center;
    margin: 40px 0;
}

.filter-btn {
    background: transparent;
    border: 1px solid #444;
    color: #aaa;
    padding: 10px 25px;
    margin: 5px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.filter-btn:hover, .filter-btn.active {
    background: #ffbd39;
    color: #000;
    border-color: #ffbd39;
}

/* Card Styles */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.project-card {
    background: #1e1e1e;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-card:hover .card-img-wrapper img {
    transform: scale(1.1);
}

.card-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.card-category {
    color: #ffbd39;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 700;
    color: #fff;
}

.card-desc {
    color: #bbb;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.details-btn {
    background: transparent;
    color: #fff;
    border: 1px solid #fff;
    padding: 8px 20px;
    border-radius: 5px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
}

.details-btn:hover {
    background: #fff;
    color: #000;
}

.github-link {
    color: #aaa;
    font-size: 1.5rem;
    transition: color 0.3s;
}

.github-link:hover {
    color: #ffbd39;
}

/* Modal Styles */
.modal-content {
    background-color: #1e1e1e;
    color: #fff;
    border: 1px solid #333;
}

.modal-header {
    border-bottom: 1px solid #333;
}

.modal-title {
    color: #ffbd39;
}

.close {
    color: #fff;
    text-shadow: none;
    opacity: 1;
    background: transparent;
    border: 0;
    font-size: 1.5rem;
}

.close:hover {
    color: #ffbd39;
}

.modal-body img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

.modal-footer {
    border-top: 1px solid #333;
}

/* Minimal Scrollbar Styles (Hidden by default, visible on hover/scroll) */
.minimal-scrollbar::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background-color: transparent;
}

.minimal-scrollbar::-webkit-scrollbar-thumb {
    background-color: transparent;
    border-radius: 4px;
    transition: background-color 0.38s ease-in-out;
}

.minimal-scrollbar:hover::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.15);
}

.minimal-scrollbar::-webkit-scrollbar-thumb:hover {
    background-color: rgba(255, 189, 57, 0.6);
}

/* Firefox support */
.minimal-scrollbar {
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
    transition: scrollbar-color 0.38s ease-in-out;
}

.minimal-scrollbar:hover {
    scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}