/* Palheta */
:root {
    --color_1: #FABC3F;
    --color_2: #E85C0D;
    --color_3: #C7253E;
    --color_4: #821131;
    --color_black: #000000;
    --color_white: #ffffff;
}

body {
    background-color: var(--color_white);
    color: var(--color_black);
}

#navbar {
    min-height: 18vh;
    background-color: var(--color_4);
    color: var(--color_white);
    /* padding-top: 2rem;
    padding-bottom: 2rem; */
    position: relative;
}

.nav-link {
    color: var(--color_white);
    text-transform: uppercase;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

.nav-link:hover {
    color: var(--color_1);
    border-bottom: 1px solid var(--color_1);
    transition: 0.9s;
}

/* .logo-navbar {
    height: 100px;
    width: 170px;
    object-fit: cover;
    display: block;
    max-width: 100%;
} */

.logo {
    width: 160px;
    height: 90px;
}

.logo-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    height: auto;
}

.btn-cadastrar {
    background-color: var(--color_1);
    color: var(--color_black);
    font-weight: 600;
    border-radius: 999px;
    padding: 6px 18px;
    text-transform: uppercase;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.btn-cadastrar:hover {
    background-color: var(--color_2);
    color: var(--color_white);
}

.offcanvas,
.modal-content {
    background-color: var(--color_white);
    color: var(--color_black);
}

.btn-close {
    background-color: var(--color_4);
}

.form-control {
    background-color: var(--color_white);
    border: 1px solid var(--color_3);
    color: var(--color_black);
}

.form-control:focus {
    border-color: var(--color_3);
    box-shadow: 0 0 0 0.25rem var(--color_4);
}

.btn-primary {
    background-color: var(--color_3);
    border: none;
}

.btn-primary:hover {
    background-color: var(--color_4);
}

.btn-secondary {
    background-color: var(--color_2);
    border: none;
}

.btn-secondary:hover {
    background-color: var(--color_1);
    color: var(--color_black);
}

.offcanvas-body {
    background-color: white;
    padding: 1rem 2rem;
}

.testimonial {
    background: #fff;
    border-radius: 12px;
    padding: 20px 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: box-shadow 0.3s ease;
    position: relative;
}

.testimonial:hover {
    box-shadow: 0 12px 20px rgba(0, 0, 0, 0.18);
}

.testimonial::before {
    content: "“";
    font-family: Georgia, serif;
    font-size: 4rem;
    color: var(--color_2);
    position: absolute;
    top: 10px;
    left: 15px;
    opacity: 0.1;
    pointer-events: none;
}

.testimonial img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--color_1);
}

.testimonial-content {
    flex: 1;
}

.testimonial-name {
    font-weight: 700;
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    color: var(--color_4);
}

.testimonial-text {
    font-style: italic;
    color: var(--color_black);
    line-height: 1.5;
    font-size: 1rem;
}

/* SECTIONS */

#section_box_02{
    background-color: var(--color_black);
}

.hero-section {
    position: relative;
    height: 80vh;
    background-image: url('../assets/img/2a4a92603d2e43f4a944337a8935781e.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
    color: var(--color_white);
    padding: 0 20px;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    z-index: 1;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: -1;
}

.hero-section h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.7);
    position: relative;
    z-index: 2;
}

.hero-section p {
    font-size: 1.25rem;
    max-width: 600px;
    margin-bottom: 30px;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.6);
    position: relative;
    z-index: 2;
}

.explore-link a {
    font-weight: 600;
    color: var(--color_1);
    font-size: 1.1rem;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: border-color 0.3s ease;
    position: relative;
    z-index: 2;
}

.explore-link a:hover {
    border-color: var(--color_1);
    color: var(--color_2);
}

.eventos-section {
    background-color: var(--color_white);
    padding: 60px 20px;
    margin-bottom: 0;
    min-height: auto;
}



.eventos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.evento-card {
    background: var(--color_white);
    border-radius: 16px;
    box-shadow: 0 6px 15px rgba(232, 92, 13, 0.3);
    /* sombra laranja */
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.evento-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px var(--color_2);
}

.evento-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-bottom: 3px solid var(--color_2);
}

.evento-info {
    padding: 1rem 1.5rem 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.evento-titulo {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color_4);
    margin-bottom: 0.5rem;
}

.evento-data {
    font-size: 0.9rem;
    color: var(--color_3);
    margin-bottom: 1rem;
    font-weight: 600;
}

.descricao {
    flex-grow: 1;
    font-size: 1rem;
    color: #000000;
}

/* carrossel */

.box-mes-section {
    background-color: var(--color_white);
    padding: 60px 20px;
}


.box-mes-section h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--color_4);
    margin-bottom: 30px;
}

.carousel {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}


.carousel-inner img {
    object-fit: cover;
    max-height: 500px;
}

.carousel-caption {
    background: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
}

.carousel-caption h5 {
    color: var(--color_1);
    font-size: 1.5rem;
    font-weight: 700;
}

.carousel-caption p {
    color: var(--color_white);
    font-size: 1rem;
}


.carousel-indicators button {
    background-color: var(--color_3);
    width: 12px;
    height: 12px;
    border-radius: 50%;
    opacity: 0.6;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: var(--color_2);
}


.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(1);
}

/* acervo */

.acervo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.acervo-item {
    background-color: var(--color_white);
    border-radius: 16px;
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 12px var(--color_2);
    transition: transform 0.3s ease;
}

.acervo-item:hover {
    transform: translateY(-5px);
}

.acervo-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.acervo-item h5 {
    color: var(--color_4);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
}

.acervo-item p {
    font-size: 0.95rem;
    color: #000000a9;
}

/* clube */
.club-section {
    background-color: var(--color_white);
    padding-top: 60px;
    padding-bottom: 60px;
}

.club-section h1 {
    color: var(--color_4);
    font-weight: 700;
}

.club-section p {
    color: #000000a9;
    max-width: 700px;
    margin: 0 auto;
}

/* .card {
    border: none;
    box-shadow: 0 4px 10px var(--color_2);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-title {
    color: var(--color_3);
    font-weight: 600;
}

.card-text {
    color: #000000a9;
} */

/* Accordion*/
.club-rules h2 {
    color: var(--color_4);
    font-weight: 700;
}

.accordion-button {
    font-weight: 600;
    color: var(--color_3);
}

.accordion-button:not(.collapsed) {
    background-color: var(--color_1);
    color: #000;
}

.accordion-body {
    color: #000000a9;
    font-size: 1rem;
}

/* artigos card */
/* .card-img-top {
    height: 500px;
    object-fit: cover;
    width: 100%;
} */

/* quem somos */

main.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

main.container h1,
main.container h2 {
    color: var(--color_4);
    font-weight: 700;
}

main.container h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

main.container h2 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

main.container p.lead {
    font-size: 1.25rem;
    text-align: center;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    color: #000000;
}

main.container section.bg-light {
    background-color: var(--color_white);
    padding: 2rem 2rem 3rem 2rem;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.849);
    color: var(--color_4);
}

main.container section.bg-light ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 0;
}

main.container section.bg-light ul li {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
}

/* grid */
.books {
    height: 100vh;
    background-color: var(--color_black);

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    padding: 30px;

    /*Repete o 1fr em 4 vezes*/
    /* gap: 10px; */
}

.book {
    /* width: 75%; */
    display: flex;
    justify-content: center;
    align-items: center;

    color: var(--color_white);
    font-size: 2rem;
    font-weight: 500;

    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    object-fit: cover;
}

.book img{
    width: 75%;
    border-radius: 3%;
}

/* footer */

.footer {
    background-color: var(--color_4);
    color: var(--color_white);
    padding: 40px 20px;
}

.footer h5 {
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color_1);
}

.footer p {
    margin: 4px 0;
    font-size: 0.95rem;
}

.footer a {
    text-decoration: none;
    color: var(--color_1);
    font-weight: 500;
}

.footer a:hover {
    color: var(--color_2);
    text-decoration: underline;
}