:root {
    --primary-color: #60fc60;
    --secondary-color: #1d048d;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f8f9fa;
}



.navbar {
    background: linear-gradient(90deg, #60fc60, #189);
    transition: transform 0.3s ease;
    padding: 15px 0;
    background-size: cover;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
    background-repeat: no-repeat;
}

.navbar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 36%;
    height: 100%;

    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0) 22%, #44d374 100%),
        /* gradiente suave */
        url(../assets/img/marajo.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: cover;

    pointer-events: none;
    z-index: 1;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 2;
}

/* .navbar a {
    color: var(--light-color);
    font-weight: 500;
} */

.navbar a:hover {
    color: var(--secondary-color);
}

.navbar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    padding: 5px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}


.navbar-brand i {
    margin-right: 10px;
}

.navbar-brand img {
    width: 4.5rem;
    height: 4.5rem;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 8px;
    border-radius: 50%;
    object-fit: contain;
    border: 2px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.nav-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
}

.nav-links li {
    margin-left: 20px;
}

.nav-links a {
    color: #fff;
    font-weight: 600;
    font-family: "Google Sans Code", monospace;
    padding: 5px 0;
    font-size: 17px;
    text-shadow: rgba(0, 0, 0, 0.8) 1px 1px 2px;
}

.submenu {
    display: none;
    position: absolute;
    background: linear-gradient(30deg, #60fc60, #189);
    transition: transform 0.3s ease;
    padding: 30px 21px 30px 0;
    margin: 0;
    list-style: none;
    border-radius: 8px;
}

.submenu li {
    margin: 10px 0;
}

.submenu li a {
    padding: 10px 30px;
    /* color: white; */
    width: 200px;
}

.nav-links li:hover .submenu {
    display: block;
}

.titulo {
    pointer-events: none;
    cursor: default;
    font-weight: bold;
    color: yellow;
}

.nav-links a:hover {
    color: #ffc107;
}

.nav-links .active a {
    color: #ffc107;
    font-weight: bold;
}

/* .nav-links .active a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary-color);
} */

.menu-toggle {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    display: none;
    border-radius: 0;
    outline: none;
    box-shadow: none;
}

.menu-toggle:focus,
.menu-toggle:active {
    outline: none;
    box-shadow: none;
    border: none;
}

/* .container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
} */

.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-item {
    min-width: 100%;
    position: relative;
}

.carousel-image {
    width: 100%;
    height: 450px;
    display: block;
    object-fit: cover;
}

.carousel-caption {
    position: static;
background: linear-gradient(rgb(10 14 10 / 88%), rgba(16, 75, 36, 0.685));
    color: rgb(255, 255, 255);
    width: 100%;
    padding: 20px;
    text-align: center;
    border-radius: 5px;
    margin-top: 5px;
    height: 200px;
    ;
}

.btnn {
    display: inline-block;
    position: absolute;
    padding: 8px 16px;
    background-color: #ffc107;
    color: #000;
    font-weight: 500;
    text-decoration: none;
    border-radius: 5px;
    bottom: 20px;
    right: 20px;
}

.btnn:hover {
    background-color: #1d048d;
    color:#fff;
    text-decoration: none;
}

.carousel-indicators {
    position: absolute;
    bottom: 20px;
    left: 36%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 1;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background-color: rgba(252, 250, 250, 0.5);
    cursor: pointer;
    padding: 0;
}

.indicator.active {
    background-color: #fff;
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 24px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
}

.carousel-control.next {
    right: 20px;
}

.carousel-control.prev {
    left: 20px;
}

.carousel-caption p {
    color: white !important;
    text-shadow: 1px 1px 2px #000;
}

.feature-box {
    padding: 30px 20px;
    margin: 15px 0;
    background-color: white;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    height: 290px;
    position: relative;
}

.feature-box a {
    display: block;
    justify-content: center;
    align-items: center;
    left: 50%;
    transform: translateX(-50%);
    bottom: 40px;
    position: absolute;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-box i {
    font-size: 2.5em;
    color: #8a2be2;
    margin-bottom: 15px;
}

.news-card {
    margin-bottom: 30px;
    border: none;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.news-card:hover {
    transform: translateY(-5px);
}

.news-card img {
    width: 100%;
    object-fit: cover;
}

.news-card .card-body {
    padding: 15px;
}

.news-card .card-title {
    color: #8a2be2;
    font-weight: 600;
}

.footer {
    background-color: var(--dark-color);
    color: white;
    padding: 40px 20px;
    margin-top: 40px;
    text-align: center;
}

.container-footer {
    max-width: 1200px;
    margin: 0 auto;
}

.row-footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.footer a {
    color: white;
}

.footer a:hover {
    color: #ffd700;
    text-decoration: none;
}

hr {
    border-color: rgba(255, 255, 255, 0.1);
    margin: 20px 0;
}

.social-icons a {
    color: white;
    font-size: 1.5em;
    margin: 0 10px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: #ffd700;
}

.text-center {
    text-align: center;
    margin-top: 20px;
}

.jumbotron {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../Logo/futebol_F.jpg');
    background-size: cover;
    color: white;
    text-align: center;
    padding: 100px 0;
    margin-bottom: 0;
    border-radius: 0 !important;
}

.section-title {
    color: #8a2be2;
    position: relative;
    margin-bottom: 30px;
    padding-bottom: 10px;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: #ffd700;
}

.player-spotlight {
    background-color: white;
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.player-spotlight img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 15px;
}

.back-to-top {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #0d0d52;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

@media (max-width: 768px) {
    .carousel-image {
        width: 100%;
        height: 280px;
        display: block;
        object-fit: cover;
    }

    .carousel-caption {
        position: static;
        width: 100%;
        padding: 20px;
        text-align: center;
        border-radius: 5px;
        margin-top: 5px;
        height: 170px;
        ;
    }

    .btnn {
        padding: 4px 8px;
        font-size: 14px;
    }

    .carousel-indicators {
        position: absolute;
        bottom: 20px;
        left: 36%;
        transform: translateX(-50%);
        display: flex;
        gap: 5%;
        z-index: 1;
    }

    .indicator {
        width: 9px;
        height: 9px;

    }

    .carousel-caption {
        bottom: 20%;
    }

    .carousel-caption h3 {
        font-size: 18px;
    }

    .carousel-caption p {
        font-size: 14px;
    }
}

@media (max-width: 992px) {
    .row-footer {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }

    #links-menu {
        position: fixed;
        top: 112px;
        /* Ajuste conforme a altura da sua navbar */
        left: -100%;
        width: 80%;
        height: calc(100vh - 70px);
        background: linear-gradient(-90deg, #60fc60, #189);
        /* background-color: #ffffff; */
        transition: left 0.3s ease;
        z-index: 999;
        overflow-y: auto;
    }

    #links-menu.active {
        left: 0;
    }

    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
    }

    .nav-links li {
        margin: 15px 0;
        width: 100%;
    }

    .submenu {
        position: static;
        display: none;
        width: 100%;
        padding: 0;
        background-color: transparent;
        box-shadow: none;
    }

    .submenu li {
        margin: 5px 0;
    }

    .submenu li a {
        padding: 8px 15px;
        width: auto;
    }

    .nav-links .titulo .submenu {
        display: none;
        /* Remove o hover effect em mobile */
    }

    .nav-links li.menu-open .submenu {
        display: block;
    }

    .menu-toggle {
        display: block;
    }

    .navbar-header {
        width: 100%;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    a .navbar-brand {
        background-color: #b1ffad;
        padding: 8px;
        border-radius: 40px;
    }

    .feature-box {
        margin: 15px auto;
        max-width: 19rem;
        height: 16rem;
    }

    .feature-box i {
        font-size: 2rem;
    }

    .feature-box h3 {
        font-size: 1.2rem;
        margin-top: 10px;
    }

    .jumbotron {

        height: 180px;
        padding: 50px 0;
    }

    .jumbotron h1 {
        font-size: 25px;
    }
}