/* Estilos Personalizados para Bootstrap */
:root {
    --bs-primary: #6b46c1;
    --bs-primary-rgb: 107, 70, 193;
    --bs-secondary: #9f7aea;
    --bs-secondary-rgb: 159, 122, 234;
    --bs-dark: #2d3748;
    --bs-dark-rgb: 45, 55, 72;
    --bs-light: #f7fafc;
    --bs-light-rgb: 247, 250, 252;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 70px; /* Para compensar o header fixo */
}

body {
    font-family: 'Montserrat', sans-serif;
    color: #4a5568;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Merriweather', serif;
}

/* Sobrescrever cores do Bootstrap */
.btn-primary {
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: #5a3da8;
    border-color: #5a3da8;
}

.text-primary {
    color: var(--bs-primary) !important;
}

.bg-primary {
    background-color: var(--bs-primary) !important;
}

/* Estilo para títulos com linha decorativa */
.text-center h2.position-relative::after {
    content: '';
    position: absolute;
    width: 50px;
}

/* Estilos para a análise quiromântica */
.analise-content {
    font-size: 1rem;
    line-height: 1.8;
    text-align: justify;
    white-space: pre-line;
}

.card-header.bg-primary {
    background-color: var(--bs-primary) !important;
    border-color: var(--bs-primary);
}

.card {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Ícones de status */
.fa-check-circle {
    color: #28a745;
}

.fa-clock {
    color: #ffc107;
}

.fa-exclamation-circle {
    color: #dc3545;
    height: 3px;
    background-color: var(--bs-primary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

/* Navbar personalizada */
.navbar-brand {
    font-family: 'Merriweather', serif;
    font-weight: 700;
    color: var(--bs-primary);
    display: flex;
    align-items: center;
}

.navbar-brand img {
    border-radius: 5px;
    object-fit: contain;
}

.navbar-light .navbar-nav .nav-link {
    color: #4a5568;
    font-weight: 500;
    position: relative;
}

.navbar-light .navbar-nav .nav-link:hover {
    color: var(--bs-primary);
}

.navbar-light .navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--bs-primary);
    bottom: -3px;
    left: 0;
    transition: width 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover::after {
    width: 100%;
}

/* Banner */
.banner {
    height: 100vh;
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/banner.png') no-repeat center center/cover;
    margin-top: 56px; /* Altura da navbar */
    padding-top: 0;
}

/* Estilos para o formulário de upload */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

/* Ícones circulares */
.rounded-circle.bg-primary.bg-opacity-10 {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Cor dos ícones dentro dos círculos roxos */
.rounded-circle.bg-primary.bg-opacity-10 i.fas {
    color: white !important;
}

/* Preview da imagem */
#image-preview {
    max-width: 100%;
    max-height: 300px;
    margin-top: 10px;
    border-radius: 5px;
    display: none;
}

/* Estilos adicionais para ícones */
.icon-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* Cor dos ícones nos icon-box */
.icon-box i.fas {
    color: white !important;
    background-color: var(--bs-primary);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Estilos para cards */
.card {
    border-radius: 10px;
    overflow: hidden;
}

/* Estilos para ícones em cards */
.card-icon {
    width: 70px;
    height: 70px;
    background-color: rgba(107, 70, 193, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.card-icon i {
    font-size: 1.8rem;
    color: var(--bs-primary);
}

/* Estilos para depoimentos */
.card .fa-star {
    margin-right: 3px;
}

/* Estilos para responsividade */
@media (max-width: 768px) {
    .banner {
        height: 80vh;
    }
}

@media (max-width: 576px) {
    .banner {
        height: 70vh;
    }
}

/* Estilos para redes sociais no footer */
.bg-dark .text-white a {
    transition: opacity 0.3s ease;
}

.bg-dark .text-white a:hover {
    opacity: 0.8;
}

/* Estilos para formulários */
.form-control:focus, .form-select:focus {
    border-color: var(--bs-primary);
    box-shadow: 0 0 0 0.25rem rgba(107, 70, 193, 0.25);
}

/* Estilos para o footer */
footer {
    background-color: var(--bs-dark);
}

footer a:hover {
    color: var(--bs-secondary) !important;
}

/* Responsividade adicional */
@media (max-width: 992px) {
    .banner {
        background-position: center;
    }
}