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

/* FUNDO DO SITE */
body {
    font-family: Arial, sans-serif;
    color: white;
    background: transparent;
    position: relative;
}

.fundo-fixo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: linear-gradient(
        rgba(0, 0, 0, 0.1),
        rgba(0, 0, 0, 0.1)
    ), url("Foto de fundo.jpeg");
    background-size: cover;
    background-position: center 14%;
    background-repeat: no-repeat;
    z-index: -1;
}

/* MENU */

nav {
    height: 45px;
    background-color: #111;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 8%;
    border-bottom: 1px solid #a88b55;

    position: relative;
    z-index: 1000;

}

.logo {
    font-size: 14px;
    font-weight: bold;
    color: #d8b878;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: white;
    text-decoration: none;
    font-size: 16px;
}

nav a:hover {
    color: #d8b878;
}

/* MENU SUSPENSO GALERIA */

.dropdown {
    position: relative;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #111;
    min-width: 120px;
    padding: 10px 0;
    list-style: none;
    z-index: 2000;
}

.submenu li {
    padding: 8px 15px;
}

.submenu a {
    font-size: 14px;
    white-space: nowrap;
}

/* ABRIR AO PASSAR O RATO NO COMPUTADOR */

.dropdown:hover .submenu {
    display: block;
}


/* CABEÇALHO PRINCIPAL */

header {
    min-height: 85vh;
    background: #5e5d5d05;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 30px;
}

h1 {
    font-size: 50px;
    letter-spacing: 3px;
}
/* comando onde atribui a cor as letras menu */
h2 {
    font-size: 26px;
    font-weight: normal;
    color: #282827;
    text-shadow: 0 0 8px rgba(186, 18, 211, 0.2);
    margin-top: 25px;
}

p {
    margin-top: 25px;
    font-size: 32px;
}

/* SECÇÕES */

section {
    padding: 30px 10%;
    text-align: center;
    min-height: 80px;
    background-color: transparent;
}

section h2 {
    font-size: 28px;
    margin-top: 0;
    margin-bottom: 8px;
    background-color: transparent;
}

section p {
    margin-top: 0;
    line-height: 1.1;
    
}

/* AJUSTES PARA COMPUTADOR */

@media (min-width: 601px) {

    section p {
        font-size: 15px;
        transform: translateY(-15px);
    }

    header h2 {
        font-size: 32px;
        transform: translateY(190px);
    }

    .nome-sara {
        transform: translateY(235px);
    }

    header p {
        font-size: 15px;
        transform: translateY(165px);
    }

    /* Espaçamento das secções */

    #sobre {
        min-height: 90px;
        padding-top: 70px;
        padding-bottom: 15px;
    }

    #musica,
    #contactos {
        height: 80px;
        min-height: 80px;
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

/* AJUSTES PARA TELEMÓVEIS */

@media (max-width: 600px) {

    body {
        background-position: center 10%;
    }

    nav {
        height: auto;
        flex-direction: column;
        padding: 8px 10px;
        gap: 10px;
    }

    nav ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    nav a {
        font-size: 14px;
    }

    header {
        min-height: 80vh;
        padding: 20px;
         transform: translateY(-30px);
    }

    .nome-sara {
        width: 80%;
        transform: translateY(-20px);
    }

    header h2 {

        transform: translateY(-18px);

        
    }
header p {
    transform: translateY(-44px);
}

    #sobre {
        padding-top: 0px;
    }

    section {
        padding: 60px 20px;
    }
#sobre h2 {
    transform: translateY(-36px);
}
    section h2 {
        font-size: 24px;
    }
    #sobre p {
    transform: translateY(-46px);
}
   /* sobe a frase a minha musica.*/
#musica h2 {
    transform: translateY(-48px);
}
  /* sobe a frase concertos actuaçoes ..*/
#musica p {
    transform: translateY(-40px);
}
    p {
        font-size: 16px;
    }
}

/* GALERIA DE FOTOGRAFIAS */

.galeria-fotos {
    display: block;
    column-count: 2;
    column-gap: 20px;
    width: 90%;
    max-width: 900px;
    margin: 30px auto;
}

.galeria-fotos img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    margin-bottom: 20px;
    break-inside: avoid;
    border-radius: 8px;
    border: 1px solid #d8b878;
    cursor: pointer;
    transition: transform 0.4s ease-in;
}

/* AMPLIAR FOTOGRAFIAS NO COMPUTADOR */

@media (min-width: 601px) {
    .galeria-fotos img:hover {
        transform: scale(2);
    }
}
/* comando seguinte esconde a galeria quando abre o site */
#galeria {
    display: block;
}

/* LINK PARA VOLTAR À PÁGINA INICIAL */

.pagina-galeria > p:last-child {
    margin-top: 60px;
    font-size: 22px;
}

/* EFEITO NAS FOTOGRAFIAS */


/* JANELA DE FOTOGRAFIA AMPLIADA */

#janela-foto {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#foto-ampliada {
    max-width: 90%;
    max-height: 85%;
    object-fit: contain;
}

#janela-foto span {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 45px;
    cursor: pointer;
}

/* TAMANHO DOS ÍCONES DAS REDES SOCIAIS */

.redes-sociais svg {
    width: 30px;
    height: 30px;
}

/* VÍDEOS R2 */

#videos {
    text-align: center;
}

.video-r2 {
    display: inline-block;
    width: 25%;
    max-width: 560px;
    margin: 15px 1%;
    vertical-align: top;
    position: relative;
    transition: transform 0.3s ease;
}

.video-r2 video {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: contain;
}



/* ESPAÇAMENTO NO COMPUTADOR */

@media (min-width: 601px) {
    #videos {
        padding-top: 60px;
    }

    .video-r2 {
        margin-top: 40px;
    }
    .video-r2:hover {
        transform: scale(1.5);
        z-index: 10;
    }

}
/* OCULTAR TEMPORARIAMENTE AS FRASES DA SECÇÃO FOTOS */

#fotos h2,
#fotos p {
    display: none;
}

/* OCULTAR TEMPORARIAMENTE A SECÇÃO MÚSICA */

#musica h2,
#musica p {
    display: none;
}

/* OCULTAR TEMPORARIAMENTE O TÍTULO SOBRE MIM */

#sobre h2 {
    display: none;
}

/* AJUSTAR VÍDEOS NOS TELEMÓVEIS */

