/* Awards Section Styles */
.awards-section {
    padding: 8rem 0;
    background: var(--color-dark);
    overflow: hidden;
    position: relative;
}

.awards-carousel {
    position: relative;
    padding: 2rem 0;
    perspective: 1000px;
    margin-top: 4rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.awards-nav {
    width: 48px;
    height: 48px;
    border: none;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    z-index: 2;
}

.awards-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.awards-nav svg {
    width: 24px;
    height: 24px;
}

.awards-track {
    display: flex;
    gap: 3rem;
    transform-style: preserve-3d;
    overflow-x: auto;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
    padding: 2rem 10%;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    width: 100%;
    margin: 0 auto;
    cursor: grab;
    transition: all 0.3s ease;
}

.awards-track:active {
    cursor: grabbing;
}

/* Make sure we have enough space for continuous scrolling */
.awards-track::after {
    content: '';
    padding-right: 100px; /* Add some padding at the end */
}

.awards-track::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}

.award-item {
    flex: 0 0 280px;
    text-align: center;
    transform-style: preserve-3d;
    transition: all 0.5s ease;
    scroll-snap-align: center;
    position: relative;
    perspective: 1000px;
    margin: 0 1rem;
}

.award-image {
    position: relative;
    width: 100%;
    height: 400px;
    margin-bottom: 1.5rem;
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 1rem;
}

.award-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 8px;
    transform: translateZ(20px);
}

.award-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.8));
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 8px;
}

.award-title {
    font-family: var(--font-secondary);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--color-accent);
    margin-top: 1rem;
    transform: translateZ(30px);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.award-item:hover .award-image {
    transform: translateY(-10px) rotateX(10deg);
}

.award-item:hover .award-overlay {
    opacity: 1;
}

/* Award Lightbox */
.award-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.award-lightbox.active {
    opacity: 1;
    visibility: visible;
}

.award-lightbox img {
    max-width: 90%;
    max-height: 90vh;
    object-fit: contain;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.award-lightbox.active img {
    transform: scale(1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .awards-track {
        padding: 1rem 5%;
    }

    .award-item {
        flex: 0 0 250px;
    }

    .award-image {
        height: 300px;
    }

    .award-title {
        font-size: 1rem;
    }
}
