/* Variáveis CSS */
:root {
    --primary-color: #d185c2;
    --secondary-color: #38A169;
    --neutral-color: #F7FAFC;
    --text-color: #2D3748;
    --accent-color: #ED8936;
    --white: #ffffff;
    --light-gray: #E2E8F0;
}

/* Tipografia */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
}

.display-4 {
    font-size: 3.5rem;
    font-weight: 700;
}

.display-5 {
    font-size: 2.5rem;
    font-weight: 700;
}

/* Cores personalizadas do Bootstrap */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
}

/* Navbar */
.navbar {
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.nav-link {
    font-weight: 500;
    margin: 0 0.5rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

/* Menu hambúrguer responsivo */
@media (max-width: 820px) {
    .navbar-collapse {
        background-color: var(--white);
        padding: 1rem;
        border-radius: 0.5rem;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        margin-top: 1rem;
    }
    
    .nav-link {
        padding: 0.75rem 0;
        border-bottom: 1px solid var(--light-gray);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
}

/* Hero Section */
.hero-section {
    margin-top: 76px;
}

.carousel-item {
    height: 70vh;
    min-height: 500px;
}

.carousel-item img {
    object-fit: cover;
    height: 100%;
    /*filter: brightness(0.7);*/
}

.carousel-caption {
    background: rgba(44, 82, 130, 0.8);
    padding: 2rem;
    border-radius: 1rem;
    backdrop-filter: blur(10px);
}

.carousel-caption h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Seções */
section {
    scroll-margin-top: 100px;
}

.py-5 {
    padding: 4rem 0;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-radius: 1rem;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.card:hover .card-img-top {
    transform: scale(1.05);
}

/* Seção Sobre */
#sobre img {
    border-radius: 1rem;
    transition: transform 0.3s ease;
}

#sobre img:hover {
    transform: scale(1.02);
}

/* Depoimentos */
#depoimentos .card {
    background: linear-gradient(135deg, var(--white) 0%, var(--neutral-color) 100%);
}

.fa-quote-left {
    opacity: 0.3;
}

/* Formulário */
.form-control {
    border-radius: 0.5rem;
    border: 2px solid var(--light-gray);
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(44, 82, 130, 0.25);
}

/* Footer */
footer {
    background: linear-gradient(135deg, var(--text-color) 0%, var(--primary-color) 100%);
}

.social-links a {
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color) !important;
}

/* Botão Voltar ao Topo */
#backToTop {
    width: 50px;
    height: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(44, 82, 130, 0.3);
}

#backToTop:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(44, 82, 130, 0.4);
}

/* Animações */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Responsividade adicional */
@media (max-width: 768px) {
    .display-4 {
        font-size: 2.5rem;
    }
    
    .display-5 {
        font-size: 2rem;
    }
    
    .carousel-item {
        height: 50vh;
        min-height: 400px;
    }
    
    .carousel-caption {
        padding: 1rem;
    }
    
    .carousel-caption h1 {
        font-size: 1.8rem;
    }
    
    .py-5 {
        padding: 3rem 0;
    }
}

@media (max-width: 576px) {
    .carousel-caption {
        display: block !important;
        padding: 0.5rem;
    }
    
    .carousel-caption h1 {
        font-size: 1.5rem;
    }
    
    .carousel-caption .lead {
        font-size: 1rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Melhorias de acessibilidade */
.btn:focus,
.form-control:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

/* Efeitos de hover para melhor UX */
.navbar-brand:hover {
    color: var(--secondary-color) !important;
}

.card-title {
    transition: color 0.3s ease;
}

.card:hover .card-title {
    color: var(--secondary-color) !important;
}

