@import url('https://fonts.googleapis.com/css2?family=Lisu+Bosa:wght@400;700&family=Marmelad&display=swap');

body {
    font-family: 'Marmelad', sans-serif;
    background-color: #121212;
    color: #fff;
    margin: 0;
    padding: 0;
    text-align: center;
}

h1, h2, h3 {
    font-family: 'Lisu Bosa', serif;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #000;
    padding: 10px;
}

#home {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 300px;
    padding: 80px;
    position: relative;
    color: white;
    flex-wrap: wrap;
}

.home-text {
    max-width: 500px;
    text-align: left;
}

.home-card {
    width: 392px;
    height: 393px;
   
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    margin-left: 20px;
}

#home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 600px;
    height: 516px;
    background-image: url('/assets/Vector.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}

#home h1 {
    font-size: 70px;
    margin-bottom: 10px;
}

#home p {
    font-size: 24px;
    color: #707070;
}

.logo img {
    width: 55px;
}

.film-strip {
    background-image: url(/assets/image\ 2.png);
    height: 90px;
    background-size: auto 90px;
    font-variant: JIS04;
    animation: move 2000s infinite;
    }
    @keyframes move {
   from {background-position: 0;}
   to{background-position: -100000px;}
    }


nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    justify-content: center;
    padding: 1px 0;
}

nav ul li {
    display: inline;
}

nav ul li a {
    color: white;
    text-decoration: none;
}

.btn-contato {
    background: #000;
    border-radius: 5px;
    text-decoration: none;
    color: white;
}

.hero {
    padding: 100px 20px;
    background: linear-gradient(to right, #222, #111);
}

#quem-somos {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 34px;
}

#quem-somos h2 {
    font-size: 24px;
}

#quem-somos p {
    color: #707070;
    font-size: 16px;
    max-width: 1000px;
    gap: 10px;
    text-align: justify;
}

.video-container {
    position: relative;
    width: 100%;
    max-width: 1000px;
    padding-bottom: 30%;
    height: 0;
    overflow: hidden;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
    margin-bottom: 10px
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

.servicos {
    padding: 50px 20px;
}

.servicos h2 {
    font-size: 26px;
}

.grid-servicos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 20px;
    cursor: pointer;
}

.grid-servicos a{ 
    text-decoration: none;
}

.card {
    background: #1c1c1c;
    padding: 15px;
    border-radius: 8px;
    transition: 0.3s;
    text-align: center;
    max-height: 230px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
}

.card img {
    max-width: 100px;
    height: auto;
    display: block;
    margin-bottom: 10px;
}

.card h3 {
    font-size: 1rem;
    color: #fff;
    margin: 0;
    padding: 5px 0;
}

.card:hover {
    transform: scale(1.05);
    background: #333;
}

footer {
    background-color: #1a1a1a;
    color: white;
    text-align: center;
    padding: 30px 20px;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

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

.footer-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-buttons button {
    width: 40px;
    height: 40px;
    background-color: #555;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.footer-buttons button:hover {
    background-color: #777;
}

.footer-buttons button img {
    width: 20px;
    height: 20px;
}

.footer-contact {
    justify-content: center;
    gap: 30px;
    margin-bottom: 15px;
}

.footer-separator {
    width: 100%;
    height: 1px;
    background-color: white;
    margin: 20px 0;
}

.footer-rights {
    font-size: 12px;
    opacity: 0.7;
}

@media (max-width: 768px) {
    #home {
        flex-direction: column;
        height: auto;
        padding: 40px 20px;
        text-align: center;
        align-items: center;
        gap: 30px;
    }

    .home-text,
    .home-card {
        max-width: 95%;
        margin: 0 auto;
    }

    .home-card {
        margin-top: 25px;
        height: 450px;
    }

    #home h1 {
        font-size: 32px;
        line-height: 1.3;
    }

    #home p {
        font-size: 16px;
        line-height: 1.6;
    }

    nav ul {
        gap: 20px;
        flex-wrap: wrap;
    }

    .hero {
        padding: 60px 15px;
    }

    .grid-servicos {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .footer-nav,
    .footer-buttons,
    .footer-contact {
        align-items: center;
    }

    .footer-buttons button {
        width: 38px;
        height: 38px;
    }

    .video-container {
        width: 100%;
        padding-bottom: 56.25%; /* 16:9 aspect ratio */
    }
}

@media (max-width: 480px) {
    #home h1 {
        font-size: 24px;
        line-height: 1.2;
    }

    #home p {
        font-size: 14px;
    }

    .home-card {
        height: 450px;
    }

    .footer-nav a {
        font-size: 13px;
    }

    .footer-buttons button {
        width: 32px;
        height: 32px;
    }

    .video-container {
        width: 100%;
        padding-bottom: 60%;
    }

    .grid-servicos {
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
    }
}
