@import url("https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css");

/* Importando as fontes */
body {
    font-family: 'Source Sans Pro', sans-serif;
    background-color: var(--background-color);
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: white;
}

/* Definindo as variáveis de cor */
:root {
    --background-color: #21097a;
    --primary-color: #DB55FF;
    --secondary-color: #fbff0c;
}

/* Hero com imagem de fundo e efeito de rasgado nas laterais */
.hero {
    /* background-image: url('../imgs/backgroundneon.webp'); Substitua pela imagem real */
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
    height: 100vh;
    color: #fff;
    text-align: center;
    position: relative;
    clip-path: polygon(0 0, 100% 0, 85% 100%, 15% 100%); /* Efeito de rasgo */
    z-index: 0;
}

.hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6); /* Overlay escuro */
}

.hero .hero-front{
    background-image: url("../imgs/dayse.webp");
    background-size: contain;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 10;
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-front > div{
    position: relative;
    text-align: center;
    padding: 10%;
}

.hero h1 {
    font-family: 'Titan One', sans-serif;
    position: relative;
    z-index: 3;
}

.hero p, .hero a {
    position: relative;
    z-index: 3;
}

.logo {
    max-width: 450px; /* Ajuste conforme necessário */
    z-index: 10; /* Aumentado o z-index do logo */
}

.display-1 {
    color: var(--secondary-color);
    font-size: 4rem;
    text-shadow: #000 2px 2px 5px;
}

.form-section {
    background-color: var(--background-color);
    padding: 50px 0;
    clip-path: polygon(15% 0, 85% 0, 100% 100%, 0 100%); /* Efeito de rasgo invertido */
}

.form-control {
    margin-bottom: 15px;
}

.btn-custom {
    background-color: var(--primary-color);
    border: none;
    color: #fff;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-custom:hover {
    background-color: var(--secondary-color);
    transform: scale(1.02);
    color: var(--background-color);
}

footer {
    background-color: #000;
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

/* Animações CSS */
@keyframes slide-down {
    0% {
        transform: translateY(-50px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fade-in {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@keyframes scale-in {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.animate-slide-down {
    animation: slide-down 1s ease-out;
}

.animate-fade-in {
    animation: fade-in 1.5s ease-out;
}

.animate-scale {
    animation: scale-in 1.5s ease-out;
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0;
        background-attachment: scroll;
        clip-path: none; /* Remove efeito de rasgo em telas pequenas */
    }

    /* Remove o background na versão mobile */
    .hero .hero-front {
        background-image: none;
    }

    /* Adiciona uma imagem acima do conteúdo para simular o background */
    .hero .hero-front::before {
        content: "";
        background-image: url("../imgs/dayse.webp");
        background-size: cover;
        background-position: center; /* Centraliza no mobile */
        background-repeat: no-repeat;
        position: absolute;
        top: 0;
        left: 0; /* Ajuste a posição horizontal */
        transform: translateX(-30%); /* Centraliza a imagem */
        width: 100%;
        scale: 1.5;
        height: 30vh; /* Ajuste a altura conforme necessário */
        z-index: -1;
    }

    /* Ajusta o conteúdo abaixo da imagem */
    .hero-front > div {
        padding: 0px;
        padding-top: 30vh; /* Adiciona um espaçamento para o conteúdo ficar abaixo da imagem */
    }

    .display-1 {
        color: var(--secondary-color);
        font-size: 2.5rem;
    }

    .form-section {
        clip-path: none; /* Remove efeito de rasgo em telas pequenas */
    }
}
