/* Global Styles */
:root {
    --primary-color: #1E6C93;
    --secondary-color: #F26800;
    --accent-color: #8BBF43;
    --dark-color: #333333;
    --light-color: #FFFFFF;
    --gray-color: #F5F5F5;
    --text-color: #444444;
    --font-primary: 'Poppins', sans-serif;
    --font-secondary: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: var(--font-secondary);
    font-weight: 600;
    color: var(--dark-color);
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

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

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--light-color);
    padding: 12px 25px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #e05d00;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(242, 104, 0, 0.3);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--secondary-color);
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 2px solid var(--secondary-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

.btn-link {
    color: var(--primary-color);
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.btn-link:hover {
    color: var(--secondary-color);
}

.btn-link i {
    margin-left: 5px;
    font-size: 0.8rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-cta {
    text-align: center;
    margin-top: 3rem;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header.scrolled {
    background-color: var(--light-color);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo a {
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary-color);
}

.logo img {
    height: 80px;
    margin-right: 10px;
}

.nav-menu ul {
    display: flex;
}

.nav-menu li {
    margin-left: 30px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--dark-color);
    transition: color 0.3s ease;
    position: relative;
}

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

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.mobile-menu {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--dark-color);
}

/* Hero Carousel */
.hero {
    margin-top: 80px;
}

.carousel {
    position: relative;
    overflow: hidden;
    height: 80vh;
    min-height: 500px;
}

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

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

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

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--light-color);
    width: 90%;
    max-width: 800px;
}

.carousel-caption h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: var(--light-color);
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5);
}

.carousel-caption p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.3);
    color: var(--light-color);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-control:hover {
    background-color: rgba(255, 255, 255, 0.5);
}

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

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

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.carousel-indicators span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-indicators span.active {
    background-color: var(--light-color);
    transform: scale(1.2);
}

/* About Section */
.about-section {
    padding: 5rem 0;
    background-color: var(--gray-color);
}

.about-section .container {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-content {
    flex: 1;
}

.about-content h2 {
    margin-bottom: 1.5rem;
    text-align: left;
}

.about-content h2::after {
    left: 0;
    transform: none;
}

.about-content p {
    margin-bottom: 1.5rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 20px;
    background-color: var(--light-color);
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.stat-item i {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.stat-item h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.stat-item p {
    font-size: 0.9rem;
    margin: 0;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.about-image:hover img {
    transform: scale(1.05);
}

/* Attractions Section */
.attractions-section {
    padding: 5rem 0;
}

.attractions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 2rem;
}

.attraction-card {
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.attraction-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.attraction-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    margin-bottom: 10px;
    color: var(--primary-color);
}

.card-content p {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

/* Events Section */
.events-section {
    padding: 5rem 0;
    background-color: var(--gray-color);
}

.events-timeline {
    margin-top: 3rem;
}

.event-item {
    display: flex;
    margin-bottom: 30px;
    background-color: var(--light-color);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.event-date {
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 20px;
    text-align: center;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.event-date span {
    font-size: 1rem;
    text-transform: uppercase;
}

.event-date strong {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-content {
    padding: 20px;
    flex: 1;
}

.event-content h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.event-content p {
    margin-bottom: 15px;
}

/* Gastronomy Section */
.gastronomy-section {
    padding: 5rem 0;
}

.gastronomy-content {
    display: flex;
    gap: 50px;
    margin-top: 2rem;
}

.gastronomy-text {
    flex: 1;
}

.gastronomy-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.gastronomy-text p {
    margin-bottom: 1.5rem;
}

.signature-dishes {
    margin-top: 2rem;
}

.signature-dishes h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.signature-dishes ul {
    margin-left: 20px;
}

.signature-dishes li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 20px;
}

.signature-dishes li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: var(--accent-color);
}

.gastronomy-slider {
    height: 22em;
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    position: relative;
}

.food-slider {
    height: 350px;
    position: relative;
}

.food-slider img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.food-slider img.active {
    opacity: 1;
}

.food-slider-nav {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.food-slider-nav span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.food-slider-nav span.active {
    background-color: var(--light-color);
    transform: scale(1.2);
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background-color: var(--primary-color);
    color: var(--light-color);
    text-align: center;
}

.cta-section h2 {
    color: var(--light-color);
    margin-bottom: 1rem;
}

.cta-section p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.cta-buttons .btn {
    background-color: var(--secondary-color);
}

.cta-buttons .btn-secondary {
    color: var(--light-color);
    border-color: var(--light-color);
}

.cta-buttons .btn-secondary:hover {
    background-color: var(--light-color);
    color: var(--primary-color);
}

.cta-buttons i {
    margin-right: 8px;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background-color: var(--gray-color);
}

.contact-section .container {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h2 {
    margin-bottom: 1.5rem;
    text-align: left;
}

.contact-info h2::after {
    left: 0;
    transform: none;
}

.contact-info p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.contact-details {
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 20px;
}

.contact-item i {
    font-size: 1.2rem;
    color: var(--secondary-color);
    margin-right: 15px;
    margin-top: 3px;
}

.social-media {
    display: flex;
    gap: 15px;
    margin-top: 2rem;
}

.social-media a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--light-color);
    transition: all 0.3s ease;
}

.social-media a:hover {
    background-color: var(--secondary-color);
    transform: translateY(-3px);
}

.contact-form {
    flex: 1;
    background-color: var(--light-color);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: var(--font-primary);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(30, 108, 147, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Map Section */
.map-section {
    height: 400px;
}

.map-section iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
.footer {
    background-color: var(--dark-color);
    color: var(--light-color);
    padding: 4rem 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 3rem;
}

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-logo p {
    opacity: 0.8;
    font-size: 0.9rem;
}

.footer-links h3 {
    color: var(--light-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links a {
    opacity: 0.8;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    opacity: 1;
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-newsletter h3 {
    color: var(--light-color);
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-newsletter p {
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.footer-newsletter form {
    display: flex;
}

.footer-newsletter input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 30px 0 0 30px;
    font-family: var(--font-primary);
}

.footer-newsletter button {
    background-color: var(--secondary-color);
    color: var(--light-color);
    border: none;
    padding: 0 20px;
    border-radius: 0 30px 30px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.footer-newsletter button:hover {
    background-color: #e05d00;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    opacity: 0.7;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-credits a {
    color: var(--secondary-color);
    transition: all 0.3s ease;
}

.footer-credits a:hover {
    text-decoration: underline;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .about-section .container,
    .gastronomy-content,
    .contact-section .container {
        flex-direction: column;
    }

    .about-image,
    .gastronomy-slider {
        margin-top: 30px;
    }

    .section-title {
        font-size: 2rem;
    }

    .carousel-caption h1 {
        font-size: 2.5rem;
    }

    .carousel-caption p {
        font-size: 1.2rem;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: var(--light-color);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        transition: all 0.5s ease;
        z-index: 999;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu ul {
        flex-direction: column;
        align-items: center;
    }

    .nav-menu li {
        margin: 15px 0;
    }

    .mobile-menu {
        display: block;
    }

    .carousel {
        height: 70vh;
    }

    .carousel-caption h1 {
        font-size: 2rem;
    }

    .carousel-caption p {
        font-size: 1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-buttons .btn,
    .cta-buttons .btn-secondary {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 576px) {
    .header .container {
        height: 70px;
    }

    .logo img {
        height: 70px;
    }

    .carousel {
        height: 60vh;
        min-height: 400px;
    }

    .carousel-caption h1 {
        font-size: 1.8rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
}
/* Perguntas do quiz com itálico, por exemplo */
.quiz-question {
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-style: italic;
  margin: 1em 0 0.5em;
}

/* Define a animação de “flutuar” */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px); /* sobe 5px no meio da animação */
  }
}

#quizBtn {
  /* tipografia (pode manter ou remover, pois a imagem vai cobrir o texto) */
  font-family: 'Roboto', sans-serif;
  font-weight: 500;
  font-size: 1.5rem;
  color: transparent;        /* esconde o texto caso ainda exista */
  
  /* posição e tamanho */
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 80px;
  height: 80px;
  padding: 0;                /* zera espaçamentos internos */
  
  /* estilo de botão circular */
  border: none;
  border-radius: 50%;
  overflow: hidden;          /* “corta” a imagem fora do círculo */
  background-color: #007bff; /* cor de fundo se a imagem falhar */
  
  /* layout interno */
  display: flex;
  align-items: center;
  justify-content: center;
  
  /* interação */
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  z-index: 1000;
  transition: transform 0.2s;

  /* remove a transição de transform se quiser que a animação seja uniforme */
  transition: none;

  /* adiciona a animação de float */
  animation: float 3s ease-in-out infinite;
}

#quizBtn img {
  width: 100%;               /* preenche todo o círculo */
  height: 100%;
  object-fit: cover;         /* escala e recorta para cobrir sem distorcer */
  display: block;            /* remove espaços inline indesejados */
  pointer-events: none;      /* cliques passam pelo <img> direto no botão */
}

#quizBtn:hover {
  transform: scale(1.1);
  animation-play-state: paused;
  transform: scale(1.05);
}

.swal2-popup {
  width: auto !important;
  max-width: 90% !important;
  font-family: 'Roboto', sans-serif;
}

/* deixa os botões do SweetAlert2 verticais e 100% de largura */
.swal2-html-container button[data-val] {
  display: block;
  width: 100%;
  margin: 0.5em 0;
  padding: 0.75em;
  font-size: 1rem;
  border: none;
  border-radius: 0.25em;
  background-color: #007bff;
  color: #fff;
  cursor: pointer;
  transition: background-color 0.2s;
}
.swal2-html-container button[data-val]:hover {
  background-color: #0056b3;
}

@media (max-width: 360px) {
  #quizBtn {
    width: 75px;
    height: 75px;
    bottom: 12px;
    right: 12px;
    font-size: 1.2rem;
  }
}

/* um pouco maior em tablets portrait */
@media (min-width: 361px) and (max-width: 767px) {
  #quizBtn {
    width: 75px;
    height: 75px;
    bottom: 16px;
    right: 16px;
    font-size: 1.3rem;
  }
}

/*Aba de emergencia*/
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    width: 100%;
    max-width: 800px;
    margin-top: 20px;
  }
  .botao-emergencia {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    border: 2px solid transparent;
  }
  .botao-emergencia:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  }

  .icone {
    font-size: 40px;
    margin-bottom: 10px;
  }

  .bombeiros { border-color: #e74c3c; color: #e74c3c; }
  .hospital { border-color: #3498db; color: #3498db; }
  .upa { border-color: #f1c40f; color: #f1c40f; }
  .policia { border-color: #2ecc71; color: #2ecc71; }
  .samu { border-color: #9b59b6; color: #9b59b6; }
  .defesa-civil { border-color: #e67e22; color: #e67e22; }
  .cvv { border-color: #34495e; color: #34495e; }