/* Importar fontes */
@import url('https://fonts.googleapis.com/css2?family=Cascadia+Mono:ital,wght@0,200..700;1,200..700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

.h1 {
    font-family: "Cascadia Mono", sans-serif;
}

header {
    background: #000;
    color: #fff;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 30px;
}

nav ul {
    list-style: none;
    display: flex;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
}

main {
    padding: 0;
    text-align: center;
}

.video-container {
    position: relative;
    width: 100vw;
    height: 50vh;
    overflow: hidden;
}

.video-desktop,
.video-mobile {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: -1;
}

/* Vídeo Mobile invisível por padrão */
.video-mobile {
    display: none;
}

.about {
    margin: 40px auto;
    max-width: 800px;
    padding: 20px;
}

.about h1 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.about p {
    font-size: 1.2rem;
    margin: 10px auto;
}

.contact {
    margin: 40px auto;
    padding: 20px;
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.contact p {
    font-size: 1.2rem;
}

footer {
    background: #000;
    color: #fff;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

/* ===== RESPONSIVIDADE ===== */

@media (max-width: 768px) {
    .video-desktop {
        display: none; /* Esconde o vídeo desktop */
    }

    .video-mobile {
        display: block; /* Mostra o vídeo mobile */
    }

    .video-container {
        height: 90vh;
    }

    .about h1 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .video-container {
        height: 85vh;
    }

    .about h1 {
        font-size: 1.8rem;
    }
}



.galeria {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.galeria img {
    width: 100%;
    max-width: 300px;
    height: auto;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.galeria img:hover {
    transform: scale(1.05);
}



/* Splash screen */
#splash {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    animation: fadeOut 1s ease 2s forwards;
}

.splash-logo {
    width: 150px;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.5s;
}

/* Animações */
@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}