/* Custom styles for Game Ventures */

/* Define Hotwheels Purple color */
:root {
    --hotwheels-purple: #9900cc;
    --hotwheels-purple-light: #b347d1;
    --hotwheels-purple-dark: #660099;
}

/* Shimmering background for hero section */
.shimmer-bg {
    position: relative;
    background: linear-gradient(45deg, #000000, var(--hotwheels-purple-dark));
    background-size: 200% 200%;
    overflow: hidden;
}

.shimmer-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 0%,
        rgba(153, 0, 204, 0.1) 30%,
        rgba(153, 0, 204, 0.2) 40%,
        rgba(153, 0, 204, 0.1) 50%,
        transparent 100%
    );
    transform: rotate(30deg);
    animation: shimmer 8s linear infinite;
    z-index: 1;
}

@keyframes shimmer {
    0% {
        transform: translateY(-100%) rotate(30deg);
    }
    100% {
        transform: translateY(100%) rotate(30deg);
    }
}

/* Logo carousel */
.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-carousel {
    display: flex;
    animation: scroll 60s linear infinite;
    width: 100%;
    position: relative;
}

.logo-slide {
    display: flex;
    align-items: center;
    justify-content: space-evenly;
    min-width: 100%;
    flex-shrink: 0;
    padding: 1rem 0;
    width: 100%;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-100%);
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom purple focus styles */
input:focus, textarea:focus {
    border-color: var(--hotwheels-purple);
    box-shadow: 0 0 0 3px rgba(140, 82, 255, 0.3);
}

/* Hover effects for team members */
#personnel .bg-gray-900 {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#personnel .bg-gray-900:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* Logo image styles */
.logo-slide img {
    transition: transform 0.3s ease;
    max-width: 100%;
    object-fit: contain;
}

.logo-slide img:hover {
    transform: scale(1.1);
}

/* Logo Soup Styles */
.logo-grid {
    display: grid;
    gap: 2rem;
}

.logo-item {
    transition: all 0.3s ease;
    border: 1px solid rgba(153, 0, 204, 0.2);
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(153, 0, 204, 0.2);
    border-color: var(--hotwheels-purple);
}

.logo-item img {
    max-height: 4rem;
    max-width: 100%;
    transition: all 0.3s ease;
}

.logo-item:hover img {
    filter: brightness(1.2);
}

/* Awards Section Styles */
.awards-grid {
    display: grid;
    gap: 2rem;
}

.award-item {
    transition: all 0.3s ease;
    height: 100%;
}

.award-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(153, 0, 204, 0.2);
    border-color: var(--hotwheels-purple);
}

.award-laurel-container {
    width: 100%;
    height: 120px;
    margin-bottom: 1rem;
}

.laurel-left, .laurel-right {
    height: 100%;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.award-item:hover .laurel-left,
.award-item:hover .laurel-right {
    opacity: 1;
}

.award-logo {
    z-index: 10;
    padding: 0 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.award-logo img {
    max-height: 3.5rem;
    max-width: 100%;
    transition: all 0.3s ease;
    filter: brightness(0.9);
}

.award-item:hover .award-logo img {
    filter: brightness(1.2);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-carousel {
        animation: scroll 45s linear infinite;
    }
    
    .carousel-container {
        max-width: 100%;
    }
    
    .logo-slide {
        padding: 0 10px;
    }
    
    .logo-slide img {
        height: 32px;
        margin: 0 8px;
    }
    
    .logo-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .logo-item {
        height: 5rem;
    }
    
    .logo-item img {
        max-height: 3rem;
    }
    
    .awards-grid {
        grid-template-columns: repeat(1, 1fr);
        gap: 1.5rem;
    }
    
    .award-laurel-container {
        height: 100px;
    }
    
    .award-logo img {
        max-height: 2.5rem;
    }
    
    #hero h1 {
        font-size: 2.5rem;
    }
    
    #hero p {
        font-size: 1.2rem;
    }
}