/* ===================================
   COMPONENT STYLES
   =================================== */

/* ===================================
   NAVBAR COMPONENT
   =================================== */
.navbar {
    padding: 1rem 0;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 400;
    padding-left: 1rem;
}

@media (max-width: 768px) {
    .navbar-brand {
        font-size: 1.25rem;
        padding-left: 0.5rem;
    }
}

/* ===================================
   FOOTER COMPONENT
   =================================== */
.card-footer {
    padding: 1rem 2rem !important;
    text-align: right !important;
}

/* ===================================
   GALLERY COMPONENT
   =================================== */
.gallery-section {
    padding: 4rem 0;
    min-height: 100vh;
}

.medal-card {
    background: #343a40;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.medal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    background: #495057;
}

.medal-image-container {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1;
}

.medal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.medal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.medal-card:hover .medal-overlay {
    opacity: 1;
}

.medal-card:hover .medal-image {
    transform: scale(1.1);
}

.medal-overlay-content {
    text-align: center;
    color: white;
}

.medal-overlay-content i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.medal-info {
    padding: 1.5rem;
}

.medal-title {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.medal-type {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
    background-color: #47abe5;
    color: #343a40;
}

/* ===================================
   FILTER COMPONENT
   =================================== */
.filter-buttons {
    margin-bottom: 0;
}

.filter-btn {
    margin: 0.25rem;
    border-radius: 25px;
    transition: all 0.3s ease;
    border-color: #47abe5;
    color: #47abe5;
}

.filter-btn:hover {
    transform: translateY(-2px);
    background-color: #47abe5;
    border-color: #47abe5;
    color: #343a40;
}

.filter-btn.active {
    background-color: #47abe5;
    border-color: #47abe5;
    color: #343a40;
}

/* ===================================
   MODAL COMPONENT
   =================================== */
.modal-content {
    background: #343a40;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-title {
    color: #fff;
}

.modal-body {
    color: #47abe5;
}

.btn-close {
    filter: invert(1);
}

/* ===================================
   ANIMATIONS
   =================================== */
.gallery-item {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

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

/* Stagger animation delay */
.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }
.gallery-item:nth-child(7) { animation-delay: 0.7s; }
.gallery-item:nth-child(8) { animation-delay: 0.8s; }
.gallery-item:nth-child(9) { animation-delay: 0.9s; }
.gallery-item:nth-child(10) { animation-delay: 1.0s; }
.gallery-item:nth-child(11) { animation-delay: 1.1s; }
.gallery-item:nth-child(12) { animation-delay: 1.2s; }

/* ===================================
   RESPONSIVE DESIGN
   =================================== */
@media (max-width: 768px) {
    .gallery-section {
        padding: 2rem 0;
    }
    
    .medal-card {
        margin-bottom: 1.5rem;
    }
    
    .filter-buttons .btn {
        margin: 0.1rem;
        font-size: 0.8rem;
    }
}

 