/* Estilos gerais */
body {
    font-family: Arial, 'Great Vibes';
    margin: 0;
    padding: 0;
    background-image: url('img/fundo.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #5a3e36;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #4e342e;
    color: #fff;
    padding: 12px 0;
    position: relative;
    width: 100%;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 24px;
    font-family: 'Great Vibes', cursive;
    position: relative;
    margin-top: -15px;
    z-index: 10;
}

nav ul li {
    display: inline-block;
    margin: 0 20px;
    position: relative;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    padding: 8px 12px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
    position: relative;
    z-index: 10;
}

nav ul li a:hover {
    background-color: #d7a37a;
    color: #4e342e;
}

nav ul li a::before,
nav ul li a::after {
    content: '♪';
    position: absolute;
    font-size: 20px;
    color: #d7a37a;
    opacity: 0;
    transform: scale(0) rotate(0deg);
    transition: opacity 0.3s, transform 0.3s;
}

nav ul li a::before {
    top: -10px;
    left: -15px;
}

nav ul li a::after {
    bottom: -10px;
    right: -15px;
}

nav ul li a:hover::before {
    opacity: 1;
    transform: scale(1.5) rotate(-30deg);
}

nav ul li a:hover::after {
    opacity: 1;
    transform: scale(1.5) rotate(30deg);
}

.background-notes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.background-notes span {
    position: absolute;
    display: inline-block;
    font-size: 24px;
    color: rgba(215, 163, 122, 0.5);
    animation: float 10s linear infinite;
    transform: translateY(100vh) rotate(0deg);
}

/* Configuração das notas musicais de fundo */
.background-notes span:nth-child(1) {
    left: 10%;
    animation-duration: 12s;
    animation-delay: 0s;
}

.background-notes span:nth-child(2) {
    left: 20%;
    animation-duration: 18s;
    animation-delay: 2s;
}

.background-notes span:nth-child(3) {
    left: 30%;
    animation-duration: 15s;
    animation-delay: 4s;
}

.background-notes span:nth-child(4) {
    left: 40%;
    animation-duration: 10s;
    animation-delay: 6s;
}

.background-notes span:nth-child(5) {
    left: 50%;
    animation-duration: 14s;
    animation-delay: 8s;
}

.background-notes span:nth-child(6) {
    left: 60%;
    animation-duration: 20s;
    animation-delay: 10s;
}

.background-notes span:nth-child(7) {
    left: 70%;
    animation-duration: 16s;
    animation-delay: 12s;
}

.background-notes span:nth-child(8) {
    left: 80%;
    animation-duration: 22s;
    animation-delay: 14s;
}

.background-notes span:nth-child(9) {
    left: 90%;
    animation-duration: 18s;
    animation-delay: 16s;
}

h1,
h2 {
    color: #4e342e;
    text-align: center;
    font-family: Great Vibes;
    font-size: 40px;
}

/* Botão */
button {
    background-color: #d7a37a;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px; /* Adiciona bordas arredondadas */
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 16px; /* Ajusta o tamanho da fonte */
    text-align: center; /* Garante que o texto do botão esteja centralizado */
}

button:hover {
    background-color: #4e342e;
}

select{
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #d7a37a;
    border-radius: 5px;
    font-size: 18px;
}


/* Ícone do WhatsApp */
.whatsapp-icon {
    width: 50px;
    height: 50px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
}

footer {
    background-color: #4e342e;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    width: 100%;
    font-size: 14px;
    z-index: 10;
    position: relative;
}

/* Seção Contato */
section#contato {
    padding: 20px;
    margin: 20px auto;
    max-width: 1000px;
    flex: 1;
    z-index: 10;
    position: relative;
    display: flex;
    flex-direction: row;
    justify-content: space-between; /* Distribui o espaço entre os itens */
    gap: 20px; /* Espaço entre as colunas */
}

/* Contêiner de Contato */
.contact-content {
    display: flex;
    flex-direction: column; /* Alinha os itens verticalmente */
    gap: 20px; /* Espaço entre as colunas */
    width: 100%;
}

/* Formulário de Contato */
.contact-form{
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1; /* Permite que o formulário ocupe o mesmo espaço que a informação de contato */
    background-color: rgba(255, 255, 255, 0.6); /* Adiciona um fundo branco para destacar o formulário */
    padding: 20px;
    border-radius: 5px; /* Adiciona bordas arredondadas ao formulário */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Adiciona uma sombra leve */
    min-width: 300px; /* Define uma largura mínima para garantir a visibilidade */
}

/* Informações de Contato */
.contact-info {
    display: flex;
    flex-direction: column; /* Alinha os itens verticalmente */
    gap: 10px; /* Espaço entre os itens */
    flex: 1; /* Permite que as informações de contato ocupem o mesmo espaço que o formulário */
    max-width: 400px; /* Define uma largura máxima para as informações de contato */
    text-align: center; /* Alinha o texto ao centro */
    background-color: #fff; /* Adiciona um fundo branco para destacar as informações */
    padding: 20px;
    border-radius: 5px; /* Adiciona bordas arredondadas */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Adiciona uma sombra leve */
}

/* Ajustes adicionais para texto e links */
.contact-info h3 {
    margin-top: 0;
    color: #4e342e;
}

.contact-info p {
    margin: 15px 0;
    font-size: 18px;
}

.contact-info a {
    color: #d7a37a;
    text-decoration: none;
}

.contact-info a:hover {
    text-decoration: underline;
}

form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

label {
    font-size: 18px;
    color: #4e342e;
    text-align: left;
}

input, textarea{
    padding: 10px;
    border: 1px solid #d7a37a;
    border-radius: 5px;
    font-size: 16px;
}

textarea {
    resize: vertical;
}

.contact-info {
    max-width: 600px;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.6); /* Fundo branco para destacar as informações */
    padding: 20px;
    border-radius: 5px; /* Bordas arredondadas */
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); /* Sombra leve */
    text-align: left; /* Alinha o texto à esquerda */
}

.contact-info h1 {
    text-align: center; /* Centraliza o título */
    color: #4e342e;
    margin-bottom: 20px;
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.contact-item i {
    font-size: 24px; /* Tamanho dos ícones */
    color: #d7a37a; /* Cor dos ícones */
    margin-right: 15px; /* Espaçamento entre o ícone e o texto */
}

.contact-text {
    font-size: 18px;
}

.contact-text a {
    color: #d7a37a;
    text-decoration: none;
}

.contact-text a:hover {
    text-decoration: underline;
}

.repertorio-info {
    text-align: center;
    margin: 20px auto;
    padding: 20px;
    background-color: #f7f7f7;
    border-radius: 10px;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 90%;
}

.repertorio-info h1 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 20px;
}

.repertorio-item img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 10px;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

/* Responsividade para tablets (768px - 1024px) */
@media (max-width: 1024px) {
    .home-content {
        flex-direction: column;
        text-align: center;
    }

    .home-content .logo {
        margin-right: 0;
        margin-bottom: 20px;
        height: 200px;
    }

    nav ul {
        font-size: 24px;
    }

    .welcome-text {
        padding: 15px;
    }

    .map-iframe {
        max-width: 90%;
        height: auto;
    }

        .repertorio-info h1 {
        font-size: 2em;
    }

    .repertorio-item img {
        max-width: 80%;
    }
    
}

/* Responsividade para smartphones (até 767px) */
@media (max-width: 767px) {
    .home-content {
        flex-direction: column;
        text-align: center;
    }

    .home-content .logo {
        height: 150px;
    }

    .welcome-text {
        padding: 10px;
        font-size: 16px;
    }

    h1, h2 {
        font-size: 30px;
    }

    .whatsapp-icon {
        width: 40px;
        height: 40px;
    }

    footer {
        font-size: 12px;
    }

    /* Estilos para o menu sanduíche */
    .menu-toggle {
        display: block;
        font-size: 30px;
        cursor: pointer;
        color: #fff;
        padding: 10px;
        margin-right: 20px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        background-color: #4e342e;
        position: absolute;
        top: 60px;
        left: 0;
        z-index: 999;
    }

    .nav-menu li {
        margin: 0;
        padding: 15px 0;
        border-bottom: 1px solid #d7a37a;
    }

    .nav-menu li a {
        padding: 10px 0;
        display: block;
    }

    .nav-menu.show {
        display: flex;
    }

    .map-iframe {
        max-width: 100%;
        height: auto;
    }

    /* Quando o menu é mostrado, o conteúdo rola para baixo */
    section#contato {
        flex-direction: column; /* Alinha as colunas verticalmente em telas menores */
        text-align: center;
        width: 90%; /* Diminui a largura da seção de contato */
        margin: 0 auto; /* Centraliza a seção de contato */
    }
    .repertorio-info h1 {
        font-size: 1.5em;
    }

    .repertorio-item img {
        max-width: 100%;
    }
    
}