/* Base Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #ffffff;
    color: #212529;
}

.hero-section {
    background: linear-gradient(135deg, #0d6efd 0%, #084298 100%);
    border-radius: 0 0 1rem 1rem;
}

.card {
    transition: transform 0.3s, box-shadow 0.3s;
    border: none;
    border-radius: 0.5rem;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-img-top {
    height: 500px;
    object-fit: contain;
    background-color: #ffffff;
}

.btn-primary {
    background-color: #800000;
    border-color: #800000;
}

.btn-primary:hover {
    background-color: #800000;
    border-color: #800000;
}

/* Shop Page Specific Styles */
.products-grid {
    min-height: 400px;
    transition: all 0.5s ease;
}

.product-card {
    opacity: 1;
    transition: all 0.5s ease;
    transform: translateY(0);
}

.product-card.hidden {
    opacity: 0;
    transform: translateY(20px);
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border: none;
}

.product-card-inner {
    transition: all 0.3s ease;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

.product-card-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.product-image {
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff;
    border-bottom: 1px solid rgba(0,0,0,0.1);
}

.product-image img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-overlay {
    background: rgba(0,0,0,0.7);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

/* Filter Button Styles */
.btn-group {
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.filter-btn {
    border-radius: 20px !important;
    padding: 0.375rem 1.25rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: 1px solid #0d6efd;
    color: #0d6efd;
    background-color: transparent;
}

.filter-btn.active {
    background-color: #0d6efd !important;
    border-color: #0d6efd !important;
    color: white !important;
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}

.filter-btn:not(.active):hover {
    background-color: #e9ecef;
    color: #0d6efd;
}

/* Badge colors */
.badge.bg-home {
    background-color: #dc3545 !important;
}

.badge.bg-away {
    background-color: #212529 !important;
}

.badge.bg-third {
    background-color: #ffc107 !important;
    color: #212529;
}

.quick-view {
    transition: all 0.3s ease;
}

.quick-view:hover {
    transform: scale(1.05);
}

.no-products-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
}

footer {
    border-top: 1px solid rgba(0,0,0,0.1);
    font-size: 0.9rem;
    line-height: 1.6;
}

.text-maroon {
    color: #800000 !important;
}

.btn-maroon {
    background-color: #800000;
    color: white;
    border: none;
    transition: all 0.3s ease;
}

.btn-maroon:hover {
    background-color: #600000;
    color: white;
}

.hover-maroon:hover {
    color: #800000 !important;
    padding-left: 5px;
}

.footer-links h3,
.footer-contact h3,
.footer-newsletter h3 {
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.footer-links h3:after,
.footer-contact h3:after,
.footer-newsletter h3:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: #FFD700;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #f5f5f5;
    transition: all 0.3s ease;
    color: #800000 !important;
}

.social-icons a:hover {
    background-color: #800000;
    color: white !important;
    transform: translateY(-3px);
}

.footer-bottom {
    font-size: 0.8rem;
}


.team-hero {
    background: linear-gradient(135deg, #800000 0%, #600000 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.team-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(90deg, #FFD700 25%, transparent 25%, transparent 50%, #FFD700 50%, #FFD700 75%, transparent 75%);
    background-size: 40px 100%;
}

.team-logo {
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.3));
}

/* Team Page Styles */
.team-page-hero {
    background: linear-gradient(135deg, #800000 0%, #600000 100%);
    position: relative;
    overflow: hidden;
}

.team-page-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background: linear-gradient(90deg, #FFD700 25%, transparent 25%, transparent 50%, #FFD700 50%, #FFD700 75%, transparent 75%);
    background-size: 40px 100%;
}

.player-card, .staff-card {
    transition: all 0.3s ease;
    border-radius: 0.5rem;
    overflow: hidden;
}

.player-card:hover, .staff-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.player-card .card-img-top, .staff-card .card-img-top {
    height: 250px;
    object-fit: cover;
}

/* Media Cards */
.media-section .card {
    transition: all 0.3s ease;
}

.media-section .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.media-section .card-img-top {
    height: 200px;
    object-fit: cover;
}



/* Add to Cart Button */
.add-to-cart-btn {
    position: relative;
    overflow: hidden;
}

.add-to-cart-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 0;
    border-radius: 100%;
    transform: scale(1, 1) translate(-50%, -50%);
    transform-origin: 50% 50%;
}

.add-to-cart-btn:focus:not(:active)::after {
    animation: ripple 1s ease-out;
}

@keyframes ripple {
    0% {
        transform: scale(0, 0);
        opacity: 0.5;
    }
    100% {
        transform: scale(20, 20);
        opacity: 0;
    }
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
}

.stat-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.text-yellow {
    color: #FFD700 !important;
}

.btn-outline-maroon {
    color: #800000;
    border-color: #800000;
}

.btn-outline-maroon:hover {
    color: white;
    background-color: #800000;
}

.media-section {
    padding: 2rem 0;
}

.video-thumbnail-container {
    overflow: hidden;
    padding-top: 56.25%; /* 16:9 Aspect Ratio */
    position: relative;
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.video-card:hover .video-thumbnail {
    transform: scale(1.05);
}

.play-icon {
    opacity: 0.8;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.video-card:hover .play-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

/* Card Body Styles */
.video-card .card-body {
    padding: 1.25rem;
}

.video-card .card-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.video-card .card-text {
    font-size: 0.85rem;
    color: #6c757d;
}
.carousel {
    position: relative;
}

.carousel-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
}

/* Team Photos Carousel */
#teamPhotosCarousel .carousel-item {
    transition: transform 0.6s ease;
}

#teamPhotosCarousel .carousel-item .row {
    display: flex;
    flex-wrap: nowrap;
}

#teamPhotosCarousel .carousel-item .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
    padding: 0 15px;
}

/* Fans Carousel */
#fansCarousel .carousel-item .row {
    display: flex;
    flex-wrap: nowrap;
}

#fansCarousel .carousel-item .col-6 {
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 15px;
}

#fansCarousel .carousel-item .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
    padding: 0 15px;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 5%;
    opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: rgba(128, 0, 0, 0.7);
    background-size: 60%;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
    background-color: #800000;
    transform: scale(1.1);
}

/* Carousel Indicators */
.carousel-indicators {
    position: static;
    margin: 20px 0 0;
    justify-content: center;
}

.carousel-indicators [data-bs-target] {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(128, 0, 0, 0.3);
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.carousel-indicators .active {
    background-color: #800000;
    transform: scale(1.2);
}


/* Responsive adjustments */
@media (max-width: 992px) {
    .product-card {
        flex: 0 0 50%;
        max-width: 50%;
    }

    #teamPhotosCarousel .carousel-item .col-md-4,
    #fansCarousel .carousel-item .col-md-3 {
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    #fansCarousel .carousel-item .col-6 {
        flex: 0 0 50%;
        max-width: 50%;
    }
}

@media (max-width: 768px) {
    .product-image {
        height: 200px;
    }
    
    .filter-btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.875rem;
    }
    
    .btn-group {
        gap: 0.25rem;
    }

    .product-image img {
        height: 180px;
    }
    
    .card-img-top {
        height: 200px;
    }
    
    .hero-section {
        padding: 2rem 0;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }

        .footer-brand,
    .footer-links,
    .footer-contact,
    .footer-newsletter {
        text-align: center;
        margin-bottom: 2rem;
    }

    .footer-links h3:after,
    .footer-contact h3:after,
    .footer-newsletter h3:after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact ul li,
    .footer-links ul li {
        justify-content: center;
    }

    .payment-methods {
        justify-content: center;
    }


     .team-hero {
        padding: 3rem 0;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .team-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .media-section .row > div {
        margin-bottom: 1rem;
    }
    
    .card-img-top {
        height: 250px;
    }

     #teamPhotosCarousel .carousel-item .col-md-4,
    #fansCarousel .carousel-item .col-md-3 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    #fansCarousel .carousel-item .col-6 {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 10%;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 576px) {
    .product-card {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .product-image {
        height: 180px;
    }
    
    .filter-btn {
        width: 100%;
        margin-bottom: 5px;
    }

     .footer-newsletter .input-group {
        flex-direction: column;
    }

    .footer-newsletter .btn {
        width: 100%;
        margin-top: 10px;
    }

    .footer-bottom .list-inline {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .footer-bottom .list-inline-item {
        margin: 0 5px 5px 0;
    }

    .footer-bottom .list-inline-item span {
        display: none;
    }


    .team-hero {
        padding: 2rem 0;
    }
    
    .display-4 {
        font-size: 2rem;
    }
    
    .team-logo {
        height: 100px;
    }
    
    .card-img-top {
        height: 200px;
    }

    .team-shop .card-footer form {
        flex-direction: column;
    }
    
    .team-shop .card-footer select,
    .team-shop .card-footer input {
        width: 100% !important;
        margin-bottom: 0.5rem;
        margin-right: 0 !important;
    }

       .carousel-control-prev,
    .carousel-control-next {
        width: 15%;
    }
    
    .carousel-control-prev-icon,
    .carousel-control-next-icon {
        width: 25px;
        height: 25px;
    }
    
    .carousel-indicators [data-bs-target] {
        width: 10px;
        height: 10px;
    }
}

/* Carousel navigation */
.carousel-nav {
    margin-top: 1rem;
}

.carousel-nav .btn {
    margin: 0 0.5rem;
}
.carousel .card {
    height: 100%;
    display: flex;
    flex-direction: column;
}

.carousel .card-img-top {
    height: 200px;
    object-fit: cover;
    width: 100%;
}

.carousel .card-body {
    flex: 1 1 auto;
    padding: 1rem;
}

.carousel .card-title {
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.carousel .card-text {
    font-size: 0.85rem;
    color: #6c757d;
}