/* css/estilo.css */

:root {
    --primary-color: #28a745;
    --secondary-color: #1a3b1a;
    --text-color: #333;
    --light-bg: #f8f9fa;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-color);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    padding: 4rem 0;
    margin-bottom: 2rem;
}

/* Cards de propriedade */
.property-card {
    transition: transform 0.3s, box-shadow 0.3s;
    overflow: hidden;
    border-radius: 15px !important;
}

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

.property-card img {
    transition: transform 0.5s;
}

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

/* Badge disponível */
.badge-disponivel {
    background: linear-gradient(135deg, var(--primary-color), #20c997);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
}

/* Cards de informação */
.info-card {
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.3s;
    height: 100%;
    overflow: hidden;
}

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

.card-header-custom {
    background: linear-gradient(135deg, var(--light-bg) 0%, #e9ecef 100%);
    border-bottom: 3px solid var(--primary-color);
    padding: 1rem;
    font-weight: 600;
}

/* Ícones estatísticos */
.stat-item {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-bottom: 1px solid #eee;
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    color: var(--primary-color);
}

/* Galeria de imagens */
.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
    transition: transform 0.3s;
}

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

/* Card de contato */
.contact-card {
    background: linear-gradient(135deg, var(--secondary-color) 0%, var(--primary-color) 100%);
    color: white;
    border-radius: 15px;
    padding: 2rem;
}

.contact-card i {
    font-size: 1.5rem;
    margin-right: 1rem;
}

.contact-card a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
}

.contact-card a:hover {
    color: #d4edda;
}

/* Abas de navegação */
.nav-tabs .nav-link {
    color: var(--secondary-color);
    font-weight: 500;
    border: none;
    padding: 1rem 1.5rem;
}

.nav-tabs .nav-link.active {
    color: var(--primary-color);
    border-bottom: 3px solid var(--primary-color);
    background: transparent;
}

/* Lista de características */
.feature-list {
    list-style: none;
    padding: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    border-bottom: 1px dashed #eee;
}

.feature-list li:before {
    content: "🌱";
    margin-right: 10px;
}

/* Destaque de investimento */
.investment-highlight {
    background: linear-gradient(135deg, #fff3cd, #fff9e6);
    border-left: 5px solid #ffc107;
    padding: 1.5rem;
    border-radius: 10px;
}

/* Mapa */
#map {
    height: 400px;
    border-radius: 15px;
    margin-top: 1rem;
}

/* Barras de progresso personalizadas */
.progress-custom {
    height: 10px;
    border-radius: 5px;
}

/* Botão flutuante WhatsApp */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.floating-whatsapp a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border-radius: 50%;
    font-size: 2rem;
    box-shadow: 0 5px 20px rgba(37, 211, 102, 0.3);
    transition: transform 0.3s;
}

.floating-whatsapp a:hover {
    transform: scale(1.1);
}

/* Timeline */
.timeline-item {
    position: relative;
    padding-left: 30px;
    margin-bottom: 30px;
}

.timeline-item:before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: var(--primary-color);
}

.timeline-item:after {
    content: '';
    position: absolute;
    left: 7px;
    top: 15px;
    width: 2px;
    height: calc(100% - 15px);
    background: var(--primary-color);
    opacity: 0.3;
}

.timeline-item:last-child:after {
    display: none;
}

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

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

/* Responsividade */
@media (max-width: 768px) {
    .hero-section {
        padding: 2rem 0;
    }
    
    .hero-section h1 {
        font-size: 2rem;
    }
    
    .property-price {
        font-size: 2rem;
    }
    
    .floating-whatsapp {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-whatsapp a {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* Utilitários */
.text-success-custom {
    color: var(--primary-color);
}

.bg-success-custom {
    background-color: var(--primary-color);
}

.border-success-custom {
    border-color: var(--primary-color) !important;
}

/* Loading spinner */
.spinner-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

/* Scroll suave */
html {
    scroll-behavior: smooth;
}

/* Personalização do scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}