/* Typography & General Styles */
body {
    font-family: 'Nunito', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    color: #2b2b2b;
    background-color: #fcfcfc;
}

/* White Navbar with Dark Text */
.navbar-custom {
    background-color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    padding: 10px 0;
    border-bottom: 3px solid #ffca28;
}
.navbar-custom .navbar-brand img {
    max-height: 50px;
    width: auto;
}
.navbar-custom .nav-link {
    color: #212529 !important;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.95rem;
    margin: 0 5px;
    border-radius: 20px;
    transition: all 0.2s ease;
}
.navbar-custom .nav-link:hover {
    color: #d90429 !important;
    background-color: #fff8e1;
}

/* Primary Yellow Buttons */
.btn-yellow, .btn-primary {
    background-color: #ffca28 !important;
    border-color: #ffca28 !important;
    color: #1a1a1a !important;
    font-weight: 800 !important;
    border-radius: 30px !important;
    padding: 8px 20px;
    box-shadow: 0 4px 10px rgba(255, 202, 40, 0.35);
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.btn-yellow:hover, .btn-primary:hover {
    background-color: #ffb300 !important;
    border-color: #ffb300 !important;
    color: #000000 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(255, 202, 40, 0.45);
}

/* Fixed Full-Size Hero Carousel Setup */
#heroCarousel {
    margin-top: 70px;
    width: 100%;
}
#heroCarousel .carousel-item {
    height: 600px;
    min-height: 600px;
    position: relative;
    background-color: #000000;
    overflow: hidden;
}
#heroCarousel .carousel-item img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
}
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.65) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-caption-content {
    color: #ffffff;
    text-align: center;
    padding: 0 20px;
}
.hero-caption-content h1 {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    text-shadow: 0 3px 10px rgba(0,0,0,0.5);
}
.hero-caption-content p {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffca28;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
}

@media (max-width: 768px) {
    #heroCarousel .carousel-item {
        height: 400px;
        min-height: 400px;
    }
    .hero-caption-content h1 {
        font-size: 2.2rem !important;
    }
    .hero-caption-content p {
        font-size: 1.2rem !important;
    }
}

/* Events Section */
#events {
    position: relative;
    z-index: 10;
    margin-top: -50px;
    padding-bottom: 60px;
}
.events-card-wrapper {
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(0,0,0,0.12);
    padding: 35px;
    border: 1px solid #f0f0f0;
}
.nav-pills .nav-link {
    border-radius: 25px;
    color: #555;
    font-weight: 800;
    padding: 10px 25px;
}
.nav-pills .nav-link.active {
    background-color: #ffca28;
    color: #000;
}
.event-item {
    border: 2px solid #f4f4f4;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 15px;
    background: #fff;
    transition: transform 0.2s ease, border-color 0.2s ease;
}
.event-item:hover {
    transform: translateY(-3px);
    border-color: #ffca28;
}

/* Regions Explorer Bar */
.regions-filter-box {
    background: #ffffff;
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
    border: 1px solid #eaeaea;
}
.region-badge-btn {
    font-weight: 800;
    padding: 10px 20px;
    border-radius: 25px;
    margin: 5px;
    font-size: 0.95rem;
    transition: transform 0.2s ease;
}
.region-badge-btn:hover {
    transform: translateY(-2px);
}

/* Dance Cards Grid */
.dance-card {
    border: none;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0,0,0,0.06);
    transition: transform 0.25s ease;
    background-color: #f8f9fa;
}
.dance-card:hover {
    transform: translateY(-5px);
}
.dance-card img {
    height: 180px;
    object-fit: cover;
}

/* Team Avatar Styling */
.team-avatar {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    transition: transform 0.25s ease;
    background-color: #e9ecef;
}
.team-avatar:hover {
    transform: scale(1.05);
}

/* Sponsors Section */
.sponsor-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 25px 20px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    border: 1px solid #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.sponsor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.sponsor-card img {
    max-height: 80px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(20%);
    transition: filter 0.25s ease;
}
.sponsor-card:hover img {
    filter: grayscale(0%);
}

/* Language Flag Toggle Button */
.lang-flag-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    overflow: hidden;
    margin-left: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.18);
    border: 2px solid #ffffff;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    flex-shrink: 0;
}
.lang-flag-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.lang-flag-btn img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #fff;
    padding: 35px 0;
    border-top: 4px solid #ffca28;
}
.social-btn-insta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 55px;
    height: 55px;
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
    color: #fff !important;
    border-radius: 50%;
    font-size: 1.8rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: transform 0.2s ease;
}
.social-btn-insta:hover {
    transform: scale(1.1);
    text-decoration: none;
}