/* 
* Condomínio Bougainvillee II Parati - Estilos Personalizados
* Desenvolvido por Manus AI
*/

/* ===== Variáveis Globais ===== */
:root {
    --primary: #0d6efd;
    --secondary: #6c757d;
    --accent: #fd7e14;
    --light: #f8f9fa;
    --dark: #212529;
    --success: #198754;
    --danger: #dc3545;
    --white: #ffffff;
    --shadow: 0 .5rem 1rem rgba(0, 0, 0, .15);
    --transition: all 0.3s ease;
}

/* ===== Estilos Gerais ===== */
body {
    font-family: 'Open Sans', sans-serif;
    color: var(--dark);
    overflow-x: hidden;
    padding-top: 76px;
}

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

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #0a58ca;
}

.btn {
    font-weight: 600;
    padding: 0.5rem 1.5rem;
    border-radius: 0.25rem;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary);
    border-color: var(--primary);
}

.btn-primary:hover {
    background-color: #0a58ca;
    border-color: #0a58ca;
}

.section-title {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
    position: relative;
    font-weight: 700;
}

.section-divider {
    width: 80px;
    height: 3px;
    background-color: var(--primary);
    margin: 0 auto 1.5rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--secondary);
    max-width: 800px;
    margin: 0 auto;
}

/* ===== Header e Navegação ===== */
.header {
    background-color: var(--white);
}

.navbar {
    padding: 0.75rem 0;
    transition: var(--transition);
}

.navbar-brand {
    padding: 0;
}

.logo {
    height: 50px;
    width: auto;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    padding: 0.5rem 1rem !important;
    color: var(--dark) !important;
    position: relative;
}

.nav-link:after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--transition);
}

.nav-link:hover:after,
.nav-link.active:after {
    width: 70%;
}

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

/* ===== Hero Banner ===== */
.hero-banner {
    position: relative;
    overflow: hidden;
}

.carousel-container {
    position: relative;
}

.hero-carousel .carousel-item {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-carousel .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    width: 80%;
    max-width: 800px;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 2rem;
    border-radius: 5px;
}

.carousel-caption h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.carousel-caption p {
    font-size: 1.25rem;
    color: var(--white);
}

/* ===== Features Section ===== */
.feature-card {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 5px;
    box-shadow: var(--shadow);
    height: 100%;
    transition: var(--transition);
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--secondary);
    margin-bottom: 0;
}

/* ===== Events Section ===== */
.event-card {
    display: flex;
    background-color: var(--white);
    border-radius: 5px;
    box-shadow: var(--shadow);
    overflow: hidden;
    height: 100%;
}

.event-date {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--primary);
    color: var(--white);
    padding: 1rem;
    min-width: 80px;
}

.event-date .day {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 1rem;
    text-transform: uppercase;
}

.event-details {
    padding: 1.5rem;
    flex-grow: 1;
}

.event-details h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.event-location, .event-time {
    color: var(--secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.event-location i, .event-time i {
    margin-right: 0.5rem;
}

/* ===== Gallery Section ===== */
.gallery-carousel {
    margin: 0 -10px;
}

.gallery-item {
    padding: 10px;
}

.gallery-item img {
    border-radius: 5px;
    height: 250px;
    width: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item img:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow);
}

/* ===== Location Section ===== */
.map-container {
    border-radius: 5px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

/* ===== CTA Section ===== */
.cta-section {
    background-color: var(--primary);
}

/* ===== Footer ===== */
.footer {
    background-color: var(--dark);
}

.footer-logo {
    height: 60px;
    width: auto;
}

.contact-info {
    list-style: none;
    padding-left: 0;
}

.contact-info li {
    margin-bottom: 0.75rem;
}

.contact-info li i {
    margin-right: 0.75rem;
    color: var(--primary);
}

.quick-links {
    list-style: none;
    padding-left: 0;
}

.quick-links li {
    margin-bottom: 0.5rem;
}

.quick-links a {
    color: var(--light);
    transition: var(--transition);
}

.quick-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-divider {
    height: 1px;
    background-color: rgba(255, 255, 255, 0.1);
    margin: 1rem 0;
}

.social-links {
    display: flex;
    justify-content: flex-end;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    margin-left: 0.75rem;
    transition: var(--transition);
}

.social-link:hover {
    background-color: var(--primary);
    color: var(--white);
}

/* ===== Back to Top Button ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 40px;
    height: 40px;
    background-color: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
}

.back-to-top.active {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background-color: #0a58ca;
    color: var(--white);
}

/* ===== Responsividade ===== */
@media (max-width: 991.98px) {
    .hero-carousel .carousel-item {
        height: 500px;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
}

@media (max-width: 767.98px) {
    .hero-carousel .carousel-item {
        height: 400px;
    }
    
    .carousel-caption {
        width: 90%;
        padding: 1.5rem;
    }
    
    .carousel-caption h1 {
        font-size: 1.75rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .feature-card, .event-card {
        margin-bottom: 1.5rem;
    }
    
    .social-links {
        justify-content: center;
        margin-top: 1rem;
    }
}

@media (max-width: 575.98px) {
    .hero-carousel .carousel-item {
        height: 350px;
    }
    
    .carousel-caption {
        padding: 1rem;
    }
    
    .carousel-caption h1 {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .back-to-top {
        bottom: 15px;
        right: 15px;
    }
}
