/* styles.css */

/* Ajustes Gerais */
body {
    scroll-behavior: smooth;
}

/* Sticky Header */
#header {
    transition: all 0.3s ease;
}

#header.shrink {
    padding: 10px 0;
    background-color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
#header nav a {
    color: #333;
    text-decoration: none;
    margin-right: 20px;
    font-weight: 500;
    transition: color 0.3s ease;
}

#header nav a:last-child {
    margin-right: 0;
}

#header nav a:hover {
    color: #007bff;
}

/* Hero Section */
#hero {
    position: relative;
}

#hero img {
    max-height: 80vh;
}

.navbar-brand {
    font-weight: bold;
    font-size: 1.5rem;
}

.navbar-nav .nav-link {
    color: #333;
    margin-right: 20px;
    transition: color 0.3s;
}

.navbar-nav .nav-link:hover {
    color: #007bff;
}

.navbar-toggler {
    border: none;
}

.navbar-toggler:focus {
    outline: none;
    box-shadow: none;
}

/* Remover margem do último item */
.navbar-nav .nav-item:last-child .nav-link {
    margin-right: 0;
}

.carousel-control-next{
    background-color: hsla(0, 0%, 0%, 0.198);
    display: inline;
    width: 50px;
    height: 50px;

}
.carousel-control-prev{
    background-color: rgba(0, 0, 0, 0.196); 
    display: inline;
    width: 50px;
    height: 50px;
}

/* Gallery */
.galeria-item {
    cursor: pointer;
}

/* Timer */
#timer {
    font-size: 2rem;
    font-weight: bold;
}

/* Estilos para campos inválidos */
.is-invalid {
    border-color: #dc3545; /* Vermelho */
}

.is-invalid:focus {
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

.is-valid {
    border-color: #28a745; /* Verde */
}

.is-valid:focus {
    box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}


/* Lead Form Section */
#lead-form {
    background-image: url('../imagens/background.jpg'); /* Ajuste o caminho para a sua imagem */
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    height: 100vh;
    position: relative;
}

#lead-form::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5); /* Sobreposição escura opcional */
}

#lead-form .container {
    position: relative;
    z-index: 1;
}

#lead-form h1 {
    color: white;
}

#lead-form .form-label {
    color: white;
}

#lead-form #formCadastro {
    background-color: rgba(255, 255, 255, 0.8);
    padding: 40px;
    border-radius: 8px;
}

#depoimentos img {
    max-width: 100px;
    margin-bottom: 15px;
}



/* Responsividade */
@media (max-width: 768px) {
    #header nav a {
        display: block;
        margin-bottom: 10px;
    }
    #header nav {
        display: flex;
        flex-direction: row;
        align-items: center;
    }
}
