body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #333;
    overflow-x: hidden;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    width: 100%;
}


img,
section,
div {
    max-width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px !important;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 40px;
}

.logo h1 {
    font-size: 24px;
    color: #333;
    margin: 0;
}

header nav a {
    text-decoration: none;
    color: #ff6600;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

header nav a:hover {
    background-color: #fff0e6;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
}

/* Hero Section */
#hero {
    background-image: url('../images/festa-barretos-hero.jpg');
    background-size: cover;
    background-position: center;
    height: 130vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 20px;
}

.badge {
    background-color: #ff6600;
    color: #fff;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 20px;
    display: inline-block;
}

#hero h1 {
    font-size: 60px !important;
    font-weight: 800 !important;
    margin: 20px 0 !important;
    line-height: 1.2 !important;
}

#hero .highlight {
    color: #ffcc00;
    display: block;
}

#hero p {
    font-size: 22px;
    margin-bottom: 40px;
}

.hero-buttons .btn {
    display: inline-block;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    margin: 0 10px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn.primary {
    display: inline-block;
    background-color: #ff6600;
    color: #fff;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    padding: 10px 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn.primary:hover {
    background-color: #e65c00;
    color: #fff;
}

.btn.primary:active {
    background-color: #e65c00 !important;
    color: #fff !important;
    border: 0px !important;
}

.btn.secondary {
    display: inline-block;
    background-color: transparent;
    color: #fff;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    padding: 10px 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid #fff;
}

.btn.secondary:hover {
    background-color: #fff;
    color: #ff6600;
}

.btn.secondary:active {
    background-color: #fff !important;
    border: 2px solid #fff !important;
    color: #ff6600 !important;
}

.btn-header {
    display: inline-block;
    background-color: transparent;
    color: #ff6600;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    padding: 5px 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
    border: 2px solid #ff6600;
}

.btn-header:hover {
    background-color: #ff6600;
    color: #fff;
}

.btn-header:active {
    background-color: #ff6600 !important;
    color: #fff !important;
}

.btn-white {
    display: inline-block;
    background-color: #fff;
    color: #ff6600;
    text-decoration: none;
    border-radius: 40px;
    font-weight: 600;
    padding: 10px 20px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.btn-white:hover {
    background-color: #fff;
    color: #e65c00;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
}

.btn-white:active {
    background-color: #fff !important;
    color: #e65c00 !important;
    border: 0px !important;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1) !important;
}

/* General Section Styling */
section {
    padding: 80px 0;
    text-align: center;
}

section h2 {
    font-size: 40px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

section .subtitle {
    font-size: 20px;
    color: #666;
    margin-bottom: 60px;
}

/* Periods Section */
#periods {
    background-color: #f9f9f9;
}

.period-cards {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.period-cards .card {
    background-color: #fff;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    width: 450px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.period-cards .card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-header {
    background-color: #ff6600;
    color: #fff;
    padding: 20px;
    text-align: left;
    border: 0px;
}

.card-header h3 {
    font-size: 28px;
    margin: 0;
}

.card-header p {
    margin: 5px 0 0;
    font-size: 16px;
    color: #ffcc00;
}

.card-content {
    padding: 30px;
    text-align: left;
}

.card-content .date {
    font-size: 20px;
    font-weight: bold;
    color: #ff6600;
    margin-bottom: 20px;
}

.card-content .details p {
    margin: 10px 0;
    font-size: 16px;
    color: #555;
}

.card-content .btn {
    display: block;
    width: calc(100% - 20px);
    margin-top: 30px;
    text-align: center;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: gray;
    font-size: 18px;
    transition: background-color 0.3s;
}

.social-links a:hover {
    background-color: gray;
    color: #fff;
}

.contato-infos {
    min-height: 100%;
}

/* Faz os dois cards da esquerda dividirem igualmente a altura */
.col-md-6 .card.flex-fill {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.contato-form {
    flex: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
    color: #fff;
}

.form-control,
.form-control:focus,
.form-control:hover {
    width: 100%;
    padding: 12px;
    color: #fff;
    background-color: rgba(255, 255, 255, 0.1);
    border: 0px solid #ffffff;
    border-radius: 40px;
    font-family: inherit;
    font-size: 16px;
    box-shadow: none;
    /* remove o brilho azul */
    outline: none;
    /* remove o contorno do navegador */
}

select.form-select {
    color: #fff;
    /* fundo do select */
    border: 0px solid #fff;
    /* seta branca com truque */
    appearance: none;
    /* remove seta nativa */
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml;charset=US-ASCII,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath fill='white' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 12px 8px;
    padding-right: 2rem;
    /* espaço pra não colidir com a seta */
}

.form-control::placeholder {
    color: #fff;
    opacity: 0.7;
}

textarea.form-control {
    height: 150px;
    border-radius: 20px !important;
    resize: vertical;
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
textarea:-webkit-autofill,
textarea:-webkit-autofill:hover,
textarea:-webkit-autofill:focus,
select:-webkit-autofill {
    box-shadow: rgba(255, 255, 255, 0.1) !important;
    /* cor de fundo */
    -webkit-text-fill-color: #fff !important;
    /* cor do texto */
    border: 0px solid #fff;
    /* borda */
    transition: background-color 9999s ease-in-out 0s;
    /* truque pra manter o fundo */
}

select option {
    background-color: rgba(255, 255, 255, 0.1);
    /* fundo */
    color: grey;
    /* texto */
    padding: 10px;
    /* espaçamento interno */
    font-size: 16px;
    /* tamanho da fonte */
}

/* About Festa Section */
#about-festa {
    background-image: linear-gradient(to right, #ff6600, #ff9900);
    color: #fff;
}

#about-festa .content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
}

#about-festa .text-content {
    flex: 1;
}

#about-festa h2 {
    color: #fff;
    font-size: 40px;
    margin-bottom: 20px;
}

#about-festa p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: #ffe0b3;
}

#about-festa ul {
    list-style: none;
    padding: 0;
}

#about-festa ul li {
    font-size: 18px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

#about-festa ul li span {
    font-size: 24px;
}

#about-festa .image-content {
    flex: 1;
    text-align: center;
}

#about-festa .image-content img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

/* Structure Section */
#structure {
    background-color: #fff;
}

.structure-cards {
    display: flex;
    justify-content: center;
}

.structure-cards .card {
    background-color: #f9f9f9;
    border: 0px;
    border-radius: 20px;
    padding: 30px;
    width: 250px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.structure-cards .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.structure-cards .card img {
    height: 60px;
    object-fit: contain;
    margin-bottom: 20px;
}

.structure-cards .card h3 {
    font-size: 22px;
    font-weight: 700;
    color: #ff6600;
    margin-bottom: 10px;
}

.structure-cards .card p {
    font-size: 15px;
    color: #666;
}

/* Location Section */
#location {
    background-color: #f0f0f0;
}

#location .content-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
    text-align: left;
}

#location .location-details {
    flex: 1;
    background-color: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

#location .location-details h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-item span {
    font-size: 18px;
    color: #555;
}

.detail-item strong {
    font-size: 18px;
    color: #ff6600;
}

#location .image-content {
    flex: 1;
    text-align: center;
}

#location .image-content img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Contact Section */
#contact {
    background-image: linear-gradient(to right, #ff6600, #ff9900);
    color: #fff;
}

#contact h2 {
    color: #fff;
}

#contact .subtitle {
    color: #ffe0b3;
}

.contact-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.contact-info .card {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 30px;
    width: 550px;
    text-align: left;
}

.card {
    border-radius: 20px !important;
}

img {
    border-radius: 20px !important;
}

.location-details {
    border: 0px;
}

.contact-info .card h3 {
    font-size: 24px !important;
    margin: 25px 0px !important;
    font-weight: 700 !important;
    color: #fff !important;
}

.contact-info .card p {
    font-size: 17px;
    margin-bottom: 15px;
    font-weight: 500;
    color: #ffe0b3;
}

.contact-info .card p span {
    font-size: 20px;
    margin-right: 10px;
}

.contato-info {
    flex: 1;
}

.contato-info p {
    margin-bottom: 15px;
}

.contato-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contato-info-item i {
    font-size: 20px;
    color: #fff;
    margin-right: 15px;
}

.link-animado {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
}

.link-animado::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background-color: #fff;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.link-animado:hover {
    color: #fff;
}

.link-animado:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.website-link {
    text-align: center;
    margin-top: 20px;
    font-size: 14px !important;
    color: #ffcc00 !important;
}

.contato-infos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.contato-infos .card {
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    text-align: left;
}

.contato-infos .card h3 {
    font-size: 24px !important;
    margin: 25px 0px !important;
    font-weight: 700 !important;
    color: #fff !important;
}

.contato-infos .card p {
    font-size: 17px;
    margin-bottom: 15px;
    font-weight: 500;
    color: #ffe0b3;
}

.contato-infos .card p span {
    font-size: 20px;
    margin-right: 10px;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgb(77, 76, 76);
    font-size: 14px;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 40px;
}

.footer-logo h3 {
    font-size: 24px;
    margin: 0;
    color: #ff6600;
}

footer p {
    font-size: 15px;
    color: #ccc;
    margin-bottom: 10px;
}

.swal2-popup {
    border-radius: 20px !important;
}

@media (min-width: 768px) and (max-width: 991px) {

    span.badge {
        font-size: 15px;
        margin: 0px;
    }

    #hero {
        margin-top: 50px;
        height: auto;
    }

    #hero h1 {
        font-size: 60px !important;
        padding: 0px 40px !important;
    }

    #hero p {
        font-size: 20px;
    }

    .hero-buttons .btn {
        display: block;
        margin: 10px 100px;
    }

    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px 20px;
    }

    .period-cards .card,
    .structure-cards .card,
    .contact-info .card {
        width: 100%;
        max-width: 550px;
    }

    #about-festa .content-wrapper,
    #location .content-wrapper {
        flex-direction: column;
    }

    #about-festa .text-content {
        text-align: center;
    }

    #location .location-details {
        text-align: left;
    }

    #structure .structure-cards {
        align-items: center;
    }

    #about-festa ul {
        text-align: left;
        margin: 0 auto;
        max-width: 300px;
    }

    .coluna-esquerda {
        padding: 0px !important;
    }

    .coluna-direita {
        padding: 0px !important;
    }

    .contato {
        padding: 0px !important;
    }


}

@media (max-width: 576px) {

    span.badge {
        font-size: 15px;
        margin: 0px;
    }

    #hero {
        margin-top: 50px;
        height: auto;
    }

    #hero h1 {
        font-size: 45px !important;
    }

    #hero p {
        font-size: 15px;
    }

    .hero-buttons .btn {
        display: block;
        margin: 10px auto;
    }

    .period-cards .card,
    .structure-cards .card,
    .contact-info .card {
        width: 100%;
        max-width: 400px;
    }

    #about-festa .content-wrapper,
    #location .content-wrapper {
        flex-direction: column;
    }

    #about-festa .text-content {
        text-align: center;
    }

    #location .location-details {
        text-align: left;
    }

    #structure .structure-cards {
        align-items: center;
    }

    #about-festa ul {
        text-align: left;
        margin: 0 auto;
        max-width: 300px;
    }

    .coluna-esquerda {
        padding: 0px !important;
    }

    .coluna-direita {
        padding: 0px !important;
    }

    .contato {
        padding: 0px !important;
    }
}