@charset "UTF-8";
@import url('style-menu.css');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;600;700&display=swap');

/* Colors variáveis */
:root{
    --color-selo: #0D592E;
}

/* Areas Principais:  */
*{
    padding: 0;
    border: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

main {
    width: 100%;
    padding-top: 150px;
    margin: 0 auto;
}

/* Titulo da tela  */
main #title{
    position: relative;
    text-align: center;
    top: 25px;
}


/* Section do Carrossel:  */
.carousel-section {
    position: relative;
    height: 80vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.carousel-track {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 80%;
    margin: 0 auto;
    width: 100%;
    overflow: hidden;
    position: relative;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 50%;
    height: 100%;
    width: 1550px; 
    max-width: none;
    background-size: cover;
    background-position: center;
    color: white;
    opacity: 0;
    pointer-events: none;
    transition: transform 0.5s ease, opacity 0.5s ease;
    transform-origin: center center;
    z-index: 1;
}

/* Posicionamento dos slides */
.carousel-item.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateX(-50%) scale(1);
    z-index: 3;
}

.carousel-item.prev {
    opacity: 0.7;
    pointer-events: auto;
    transform: translateX(calc(-50% - 1000px)) scale(0.8);
    z-index: 2;
    width: 500px;
}

.carousel-item.next {
    opacity: 0.7;
    pointer-events: auto;
    transform: translateX(calc(-50% + 1000px)) scale(0.8);
    z-index: 2;
    width: 500px;
}

.carousel-item.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) scale(0.5);
    z-index: 0;
    width: 0;
}

/* Setas */
.nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 30px;
    cursor: pointer;
    padding: 10px;
    z-index: 4;
}
.nav.prev {
    left: calc(5% + 20px);
}
.nav.next {
    right: calc(5% + 20px);
}

/* overlay escuro e conteúdo:  */
.carousel-item .overlay {
    position: absolute;
    inset: 0; 
    background-color: rgba(0, 0, 0, 0.6); 
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 0.5s ease;
    color: white;
    pointer-events: none; 
}

.carousel-item .overlay-content {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    pointer-events: auto; 
}

.carousel-item .text-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-right: 20px;
}

.carousel-item .text-left h2 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: 700;
}

.carousel-item .text-left h3 {
    font-size: 1.2rem;
    font-weight: 500;
    margin: 0;
    opacity: 0.8;
}

.carousel-item .text-left p a{
    margin: 8px 0; 
    display: flex;
    align-items: center;
    gap: 12px; 
    font-size: 1rem;
    opacity: 0.9;
    text-decoration: none;
}

.text-left p i.bi-geo-alt {
    margin-right: 6px; 
    vertical-align: middle; 
}

/* Estiliza o link do endereço */
.text-left p a {
    color: #ffffff; /* azul padrão do Bootstrap, você pode trocar */
    text-decoration: none; /* remove underline */
    font-weight: 500; /* deixa um pouco mais chamativo */
}

.text-left p a:hover {
    text-decoration: underline; /* só mostra underline ao passar o mouse */
    color: #ffffff; /* muda a cor ao passar o mouse */
}

/* Caixa do banner à direita */
.carousel-item .banner-right {
    /* width: 500px;                  largura fixa do container */
    height: 500px;                 /* altura fixa */
    background-color: #222;
    border-radius: 10px;
    overflow: hidden;              /* evita vazamentos da imagem */
    flex-shrink: 0;
    display: flex;
    align-items: center;           /* centraliza verticalmente */
    justify-content: center;       /* centraliza horizontalmente */
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.carousel-item .banner-right img {
    max-width: 100%;               /* não ultrapassa a largura */
    max-height: 100%;              /* não ultrapassa a altura */
    height: auto;                  /* mantém proporção */
    width: auto;                   /* mantém proporção */
    object-fit: contain;           /* sem cortes */
    transition: transform 0.5s ease;
}

.carousel-item.active .overlay {
    opacity: 1;
}
.banner-right:hover img {
    transform: scale(1.08);
  }


/* Section Informações do Evento:  */
.container__informacao{
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.container__informacao h2{
    margin-left: 80px;
}

.div__info {
    width: 80%;
    max-height: 350px;
    margin-left: 80px;
    /* background-color: white; */
    color: black;
    font-size: 1rem;
    line-height: 1.5;
    overflow-y: auto;
    box-sizing: border-box;
}

.div__info p{
    white-space: pre-line;
}


/* Section dos Cards do Evento:  */
.container__cards{
    padding: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

.h1_atracao{
    width: 91.5%;
}

.area__cards {
  width: 91.5%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

/* Cards  */
.card {
    max-width: 100%;
    width: 350px;
    height: 600px;
    background: #fffdfa;
    overflow: hidden;
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
    border: 1.5px solid transparent;
    border-radius: 10px;
    background-origin: border-box;
    background-clip: padding-box, border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;

    box-shadow:
    0 10px 20px rgba(13,89,46, 0.15),
    0 4px 8px rgba(0, 0, 0, 0.07);

    background-image:
    linear-gradient(white, white);
}
.card:hover {
  box-shadow:
    0 15px 30px rgba(13,89,46, 0.3),
    0 8px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-15px);

  background-image:
    linear-gradient(white, white);
}

.card__image {
  position: relative;
  overflow: hidden;
  height: 500px;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
}
.card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.card:hover .card__image img {
  transform: scale(1.08);
}

/* Selo: Atração */
.selo {
  position: absolute;
  top: 15px;
  left: -45px;
  width: 140px;
  background: var(--color-selo);
  color: white;
  font-weight: 700;
  text-align: center;
  transform: rotate(-45deg);
  padding: 6px 0;
  box-shadow: 0 4px 8px rgba(0,0,0,0.15);
  user-select: none;
  letter-spacing: 1px;
  font-size: 0.85rem;
  z-index: 4;
}

.card__content {
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    padding: 24px 28px 32px 28px;
    position: relative;
    text-align: left;
}

.card__content h2 {
    margin: 0 0 8px;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.2;
    text-align: center; 
    padding-left: 10px; 
    padding-right: 10px;
    color: #0D592E;
}

.card__content h4 {
    margin: 0 0 14px;
    font-weight: 600;
    font-size: 1rem;
    font-style: italic;
    letter-spacing: 0.03em;
    max-height: 100px;
    overflow-y: auto;
    padding-left: 10px;  
    padding-right: 8px; 
    scrollbar-width: thin;
    scrollbar-color: rgba(13,89,46,0.7) rgba(0,0,0,0.1);
    text-align: left; 
}

/* Scrollbar para Webkit browsers */
.card__content h4::-webkit-scrollbar {
    width: 6px;
}
.card__content h4::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.1);
    border-radius: 3px;
}
.card__content h4::-webkit-scrollbar-thumb {
    background-color: rgba(13,89,46,0.7);
    border-radius: 3px;
}

.data {
  display: flex;
  align-items: center;
  font-size: 1rem;
  font-weight: 600;
  gap: 5px ;
  margin-top: 12px;
  font-family: 'Open Sans', sans-serif;
}

.data svg {
  flex-shrink: 0;
  fill: #FF3877;
}

/* Responsividades:  */
/* Celulares pequenos (smartphones compactos) */
@media (max-width: 575.98px){
    /* Areas Principais:  */
    main {
        padding-top: 75px;
    }
    main #title {
        font-size: 20px;
        top: 45px;
    }

    /* Carrossel:  */
    .carousel-item{
        width: 350px;
    }
    .carousel-item .overlay-content{
        flex-direction: column;
    }
    .carousel-item .text-left {
        margin-left: 40px;
    }
    .carousel-item .banner-right {
        display: none;
    }
    .carousel-item.prev {
        transform: translateX(calc(-50% - 385px)) scale(0.8);
    }
    .carousel-item.next {
        transform: translateX(calc(-50% + 385px)) scale(0.8);
    }
    .nav.prev {
        left: calc(5% + 0px);
    }
    .nav.next {
        right: calc(5% + 0px);
    }
    .carousel-item .text-left h2 {
        font-size: 1.5rem;
    }

    .carousel-item .text-left h3 {
        font-size: 0.8rem;
    }

    .carousel-item .text-left p {
        font-size: 0.6rem;
    }

    /* Informações:  */
    .container__informacao{
        align-items: center;
        justify-content: center;text-align: left;
    }
    .container__informacao h2{
        margin-left: 0px;
    }
    .div__info{
        width: 83%;
        margin-left: 0;
    }

    /* Cards:  */
    .container__cards{
        padding: 20px;
        flex-direction: column;
    }
    .h1_atracao{
        width: 80%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .area__cards{
        width: 80%;
    }
}

/* Celulares médios e grandes (smartphones modernos) */
@media (min-width: 576px) and (max-width: 767.98px){
    /* Areas Principais:  */
    main {
        padding-top: 75px;
    }
    main #title {
        font-size: 20px;
        top: 45px;
    }

    /* Carrossel:  */
    .carousel-item{
        width: 450px;
    }
    .carousel-item .overlay-content{
        flex-direction: column;
    }
    .carousel-item .text-left {
        margin-left: 40px;
    }
    .carousel-item .banner-right {
        display: none;
    }
    .carousel-item.prev {
        transform: translateX(calc(-50% - 450px)) scale(0.8);
    }
    .carousel-item.next {
        transform: translateX(calc(-50% + 450px)) scale(0.8);
    }
    .nav.prev {
        left: calc(5% + 45px);
    }
    .nav.next {
        right: calc(5% + 45px);
    }
    .carousel-item .text-left h2 {
        font-size: 1.8rem;
    }
    .carousel-item .text-left h3 {
        font-size: 0.9rem;
    }
    .carousel-item .text-left p {
        font-size: 0.7rem;
    }

    /* Informações:  */
    .container__informacao{
        align-items: center;
        justify-content: center;text-align: left;
    }
    .container__informacao h2{
        margin-left: 0px;
    }
    .div__info{
        width: 83%;
        margin-left: 0;
    }

    /* Cards:  */
    .container__cards{
        padding: 20px;
        flex-direction: column;
    }
    .h1_atracao{
        width: 80%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .area__cards{
        width: 80%;
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Tablets e celulares em paisagem */
@media (min-width: 768px) and (max-width: 991.98px){
    /* Areas Principais:  */
    main {
        padding-top: 75px;
    }
    main #title {
        font-size: 20px;
        top: 45px;
    }

    /* Carrossel:  */
    .carousel-item{
        width: 650px;
    }
    .carousel-item .overlay-content{
        flex-direction: column;
    }
    .carousel-item .text-left {
        margin-left: 40px;
    }
    .carousel-item .banner-right {
        display: none;
    }
    .carousel-item.prev {
        transform: translateX(calc(-50% - 550px)) scale(0.8);
    }
    .carousel-item.next {
        transform: translateX(calc(-50% + 550px)) scale(0.8);
    }
    .nav.prev {
        left: calc(5% + 50px);
    }
    .nav.next {
        right: calc(5% + 50px);
    }
    .carousel-item .text-left h2 {
        font-size: 2rem;
    }
    .carousel-item .text-left h3 {
        font-size: 1rem;
    }
    .carousel-item .text-left p {
        font-size: 0.8rem;
    }

    /* Informações:  */
    .container__informacao{
        align-items: center;
        justify-content: center;text-align: left;
    }
    .container__informacao h2{
        margin-left: 0px;
    }
    .div__info{
        width: 83%;
        margin-left: 0;
    }

    /* Cards:  */
    .container__cards{
        padding: 20px;
        flex-direction: column;
    }
    .h1_atracao{
        width: 80%;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .area__cards{
        width: 80%;
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Notebooks e desktops padrão */
@media (min-width: 992px) and (max-width: 1199.98px){
    /* Areas Principais:  */
    main {
        padding-top: 85px;
    }
    main #title {
        font-size: 25px;
        top: 50px;
    }

    /* Carrossel:  */
    .carousel-item{
        width: 850px;
    }
    .carousel-item .overlay-content{
        flex-direction: column;
    }
    .carousel-item .text-left {
        margin-left: 40px;
    }
    .carousel-item .banner-right {
        display: none;
    }
    .carousel-item.prev {
        transform: translateX(calc(-50% - 650px)) scale(0.8);
    }
    .carousel-item.next {
        transform: translateX(calc(-50% + 650px)) scale(0.8);
    }
    .nav.prev {
        left: calc(5% + 40px);
    }
    .nav.next {
        right: calc(5% + 40px);
    }
    .carousel-item .text-left h2 {
        font-size: 2.2rem;
    }
    .carousel-item .text-left h3 {
        font-size: 1.2rem;
    }
    .carousel-item .text-left p {
        font-size: 1rem;
    }

    /* Cards:  */
    .container__cards{
        padding: 20px;
        flex-direction: column;
    }
    .h1_atracao{
        width: 86%;
    }
    .area__cards{
        width: 86%;
        grid-template-columns: repeat(3, 1fr);
    }
}


/* Desktops grandes e telas Full HD */
@media (min-width: 1200px) and (max-width: 1399.98px){
    /* Areas Principais:  */
    main {
        padding-top: 85px;
    }
    main #title {
        font-size: 25px;
        top: 50px;
    }

    /* Carrossel:  */
    .carousel-item{
        width: 1100px;
    }
    .carousel-item .text-left {
        margin-left: 40px;
    }
    .carousel-item .banner-right {
       width: 400px;
       height: 300px;
    }
    .carousel-item.prev {
        transform: translateX(calc(-50% - 770px)) scale(0.8);
    }
    .carousel-item.next {
        transform: translateX(calc(-50% + 770px)) scale(0.8);
    }
    .nav.prev {
        left: calc(5% + 10px);
    }
    .nav.next {
        right: calc(5% + 10px);
    }
    .carousel-item .text-left h2 {
        font-size: 2.2rem;
    }
    .carousel-item .text-left h3 {
        font-size: 1.2rem;
    }
    .carousel-item .text-left p {
        font-size: 1rem;
    }

    /* Cards:  */
    .container__cards{
        padding: 20px;
        flex-direction: column;
    }
    .h1_atracao{
        width: 86%;
    }
    .area__cards{
        width: 86%;
        grid-template-columns: repeat(3, 1fr);
    }
}


/* Pequenos Ajustes:  */
@media (min-width: 1400px) and (max-width: 1700px) {
    .carousel-item{
        width: 1320px;
    }
    .carousel-item .banner-right {
       width: 400px;
       height: 300px;
    }
    .carousel-item.prev {
        transform: translateX(calc(-50% - 880px)) scale(0.8);
    }
    .carousel-item.next {
        transform: translateX(calc(-50% + 880px)) scale(0.8);
    }
    .nav.prev {
        left: calc(5% + 0px);
    }
    .nav.next {
        right: calc(5% + 0px);
    }
        .carousel-item .text-left {
        margin-left: 45px;
    }
}

/* Matheus Manja */
