/* ===========================
          CSS VARIABLES
=========================== */
:root {
    /* Text Colors */
    --text-primary: #000000;

    /* Background Colors */
    --background-main: #ffffff;
    --background-soft: #f5f5f5;

    /* Accent Colors */
    --accent-yellow: #f6c800;
    --accent-yellow-hover: #e0b400;
}

/* ===========================
          NAVBAR
=========================== */
.custom-navbar {
    padding-top: 1rem;
    padding-bottom: 1rem;
    background-color: var(--background-soft);
}

.navbar-brand img {
    height: 100px;
}

.brand-text {
    margin-left: 60px;
}

.team-title {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1.1;
    color: var(--text-primary);
}

.team-subtitle {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.1;
    margin-top: -2px;
    color: var(--text-primary);
}

.navbar-nav .nav-link,
.navbar .nav-link {
    color: var(--text-primary) !important;
    padding-top: 1rem;
    padding-bottom: 1rem;
    font-size: 1.2rem;
    font-weight: 500;
}

.navbar-nav .nav-item + .nav-item {
    margin-left: 1.5rem;
}

.join-btn {
    background-color: var(--accent-yellow);
    color: var(--text-primary) !important;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 1.05rem;
    display: inline-block;
    line-height: 1.2;
}

.join-btn:hover {
    background-color: var(--accent-yellow-hover);
    color: var(--text-primary) !important;
}

/* ===========================
          CAROUSEL
=========================== */
.carousel-item {
    height: 750px;
    background-color: #777;
}

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

.carousel-caption {
    background: rgba(246, 200, 0, 0.6);
    color: black;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    backdrop-filter: blur(2px);
}

/* ===========================
         INFO SECTION
=========================== */
#info_section .features-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 2px solid #f6c800;
    border-radius: 12px;
    margin: 10px;
    transition: transform 0.3s, box-shadow 0.3s;
    background-color: #fff;
}

#info_section .features-number {
    font-size: 2.5rem;
    font-weight: bold;
    margin-top: 10px;
}

#info_section .features-name {
    font-size: 1rem;
    font-weight: 500;
    margin-top: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

#info_section i {
    color: #f6c800; /* accent color */
}

/* ===========================
         TEAMS SECTION
=========================== */
.teams-intro {
    max-width: 800px;
    margin: auto;
    padding: 40px 15px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
    margin-bottom: 0;
}

.team-card {
    background: white;
    border: 3px solid var(--accent-yellow);
    border-radius: 16px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.team-card-header {
    margin-bottom: 30px;
}

.team-card-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.team-card-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: #666;
    margin-bottom: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-card-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.team-card-logo img {
    max-width: 100%;
    height: auto;
    max-height: 280px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ===========================
            MAPS
=========================== */

@media (max-width: 576px) {
    #schedule_section {
        padding: 1rem;
    }

    #schedule_section h1 {
        font-size: 1.5rem;
    }

    .schedule-col {
        font-size: 0.85rem;
        padding: 0.4rem 0.2rem;
    }

    .map-section h2 {
        font-size: 1.25rem;
    }
}
.map-section {
    background-color: rgba(255, 255, 255, 0.3);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}
.map-header {
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.map-header:hover {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
}
.map-toggle {
    transition: transform 0.3s ease;
}
.map-toggle.rotated {
    transform: rotate(180deg);
}
.map-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}
.map-content.show {
    max-height: 350px;
    margin-top: 1rem;
}

/* ===========================
         SEARCH BOX
=========================== */
#search_box {
    justify-content: center;
    align-items: center;
    height: 50px;
    font-size: 1.1rem;
    padding: 12px 16px;
    flex: 1;
}

#search-filter-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* ===========================
          FOOTER
=========================== */
.footer-container {
    background: #f8f9fa;
    border-top: 1px solid #ddd;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 16px;
    padding-right: 25px;
    padding-left: 25px;
    padding-bottom: 25px;
    padding-top: 10px;
    width: 100%;
}

.footer-logo {
    height: 60px;
}

.footer-team-title {
    font-size: 1.3rem;
    font-weight: 600;
}

.footer-team-subtitle {
    font-size: 1rem;
    color: #555;
}

.footer-team-link {
    background-color: var(--accent-yellow);
    color: var(--text-primary);
    text-decoration: none;
    padding: 3px 5px;
    border-radius: 10px;
    margin-top: 6px;
    display: inline-block;
}

.footer-team-link:hover {
    background-color: var(--accent-yellow-hover);
    color: var(--text-primary);
}

.footer-divider {
    justify-self: center;
    width: 2px;
    height: 60px;
    background-color: #ccc;
}

.footer-left {
    justify-self: end;
    display:flex;
    align-items:center;
    gap:12px;
    padding-right: 20px;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap:12px;
    padding-left: 20px;
}

.footer-icons {
    margin-top: 8px;
    display: flex;
    gap: 12px;
}

/* Social Media Icons */
.icon-mask {
    width: 32px;
    height: 32px;
    display: inline-block;
    background-color: var(--accent-yellow);
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
    -webkit-mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    mask-size: contain;
}

.social-link:hover .icon-mask {
    background-color: var(--accent-yellow-hover);
}

.list-group-item-new {
    background-color: #ffee8c
}
