
.navbar-brand img {
    position: relative;
    top: -2px;
}

.hero-section {
    position: relative;
    background: url('../images/swissChamp-nairomedias-199.jpg') no-repeat center center;
    background-size: cover;
    height: 100vh;
    color: white;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-section .container {
    position: relative;
    z-index: 1;
}

.hero-section h1 {
    font-size: 4.5rem;
    font-weight: 900;
}

.hero-section .lead {
    font-size: 1.75rem;
}

.countdown > div {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin: 0 10px;
    min-width: 120px;
}

.countdown-number {
    font-size: 3rem;
    font-weight: 700;
}

.countdown-label {
    font-size: 1rem;
    text-transform: uppercase;
}

.sponsor-logo {
    max-height: 120px;
    margin: 20px;
    transition: transform 0.2s;
}

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

.map-responsive {
    overflow: hidden;
    padding-bottom: 56.25%;
    position: relative;
    height: 0;
}

.map-responsive iframe {
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    position: absolute;
}

.sponsors-hero {
    position: absolute;
    bottom: 20px;
    width: 100%;
    /* Removed background and padding */
}

.sponsors-hero .sponsor-logo {
    max-height: 60px;
    margin: 0 15px;
}

.gallery-item {
    cursor: pointer;
}

.modal-content {
    background: transparent;
    border: none;
}

.modal-body {
    padding: 0;
}

#logistics .card-img-top {
    height: 200px;
    object-fit: cover;
}

.carousel-image-container {
    width: calc(100% / 3 - 10px);
    margin: 5px;
    aspect-ratio: 1/1;
}

.carousel-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#gallery .img-fluid {
    transition: transform 0.3s, box-shadow 0.3s;
}

#gallery .img-fluid:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

@media (max-width: 992px) {
    .carousel-image-container {
        width: calc(100% / 2 - 10px);
   }
    .carousel-image-container:nth-child(3) {
        display: none;
    }
}

@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }

    .hero-section .lead {
        font-size: 1.25rem;
    }

    .countdown > div {
        padding: 10px;
        min-width: 90px;
    }

    .countdown-number {
        font-size: 2rem;
    }

    #location h3 {
        margin-top: 1rem; /* Add vertical space on small screens */
    }

    #register .btn {
        margin-bottom: 1rem;
    }

    .carousel-image-container {
        width: 100%;
    }
    .carousel-image-container:nth-child(2),
    .carousel-image-container:nth-child(3) {
        display: none;
    }
}
