/* 
* Landing Page Casas Valparaíso
* Estilos personalizados
*/

:root {
    --primary-color: #f59e33;
    --primary-dark: #cb760e;
    --primary-light: #C8E6C9;
    --secondary-color: #263238;
    --accent-color: #FF5722;
    --text-light: #FFFFFF;
    --text-dark: #212121;
    --text-muted: #757575;
    --border-color: #EEEEEE;
    --shadow-color: rgba(0, 0, 0, 0.1);
}

/* Estilos Gerais */
body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
}

html, body {
    overflow-x: hidden !important;
}
.swiper-slide img {
    max-width: 100%;
    height: auto;
}


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

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    border-radius: 50px;
    padding: 0.8rem 2rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.pulse-btn {
    animation: pulse 2s infinite;
}
.pulse-btn-primary {
    animation: pulse-orange 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(76, 175, 80, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

@keyframes pulse-orange {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(245, 158, 51, 0.7);
    }
    70% {
        transform: scale(1.05);
        box-shadow: 0 0 0 15px rgba(76, 175, 80, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(76, 175, 80, 0);
    }
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.7);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 2px 0;
}

.header.scrolled {
    padding: 2px 0;
}

.navbar-brand img.logo {
    height: 25px;
    transition: all 0.3s ease;
}

.header.scrolled .navbar-brand img.logo {
    height: 20px;
}
.navbar-nav .nav-link {
    color: var(--text-dark);
    font-weight: 500;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover, .navbar-nav .nav-link:focus {
    color: var(--primary-color);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 70vh;
    display: flex;
    align-items: center;
    color: var(--text-light);
    padding: 100px 0;
    background-image: url("../img/prodfam.jpg") !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Mobile fallback sem parallax */
@media (max-width: 767.98px) {
    .parallax-window {
        background-image: url("../img/prodfam.jpg") !important;
        background-size: cover;
        background-position: center;
        height: 70vh;
    }
}


.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.video-container {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    padding-top: 177.78%; /* 9:16 Aspect Ratio for vertical video */
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--text-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-placeholder i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.video-placeholder:hover {
    background-color: rgba(0, 0, 0, 0.4);
}

/* Benefits Section */
.benefits-section {
    background-color: #f9f9f9;
    padding-top: 20px;
    padding-bottom: 5px;
}

.benefit-card {
    background-color: var(--text-light);
    border-radius: 10px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 5px 15px var(--shadow-color);
    height: 100%;
    transition: all 0.3s ease;
}

.benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow-color);
}

.benefit-card.highlight {
    background-color: var(--primary-color);
    color: var(--text-light);
}

.icon-container {
    width: 80px;
    height: 80px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 20px;
}

.benefit-card.highlight .icon-container {
    background-color: var(--text-light);
}

.icon-container i {
    font-size: 2rem;
    color: var(--primary-color);
}

.benefit-card.highlight .icon-container i {
    color: var(--primary-color);
}

.benefit-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.benefit-card p {
    color: var(--text-muted);
    margin-bottom: 0;
}

.benefit-card.highlight p {
    color: rgba(255, 255, 255, 0.9);
}

/* Gallery Section */
.gallery-section {
    padding-top: 20px;
    background-color: var(--text-light);
}
.playground-section {
    padding-top: 20px;
    background-color: var(--text-light);
}


.gallery-swiper {
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
}

.gallery-img {
    position: relative;
    overflow: hidden;
    padding-top: 75%; /* 4:3 Aspect Ratio */
}

.gallery-img img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.swiper-button-next, .swiper-button-prev {
    color: var(--primary-color);
}

.swiper-pagination-bullet-active {
    background-color: var(--primary-color);
}

.house-details {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.detail-item i {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-right: 15px;
    width: 40px;
    text-align: center;
}

.detail-item h4 {
    font-size: 1.2rem;
    margin-bottom: 0;
}

/* Counter Section */
.counter-section {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding-top: 20px;
    position: relative;
}

.counter-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../img/pattern.png');
    opacity: 0.1;
}

.counter-item {
    text-align: center;
    padding: 20px;
}

.counter-mais {
    display: inline;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.counter-number {
    display: inline;
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 10px;
    line-height: 1;
}

.counter-item h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.counter-item p {
    color: rgba(255, 255, 255, 0.7);
}

/* Testimonials Section */
.testimonials-section {
    padding-top: 20px;
    background-color: #f9f9f9;
}

.testimonial-card {
    background-color: var(--text-light);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px var(--shadow-color);
    display: flex;
    align-items: center;
    height: 100%;
}

.testimonial-img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    flex-shrink: 0;
    border: 5px solid var(--primary-light);
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-content {
    flex-grow: 1;
}

.testimonial-content p {
    font-style: italic;
    margin-bottom: 15px;
    position: relative;
    padding-left: 20px;
}

.testimonial-content p::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary-light);
    position: absolute;
    top: -20px;
    left: -10px;
    opacity: 0.5;
}

.testimonial-content h4 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.testimonial-content span {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.trust-badge {
    background-color: var(--text-light);
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px var(--shadow-color);
    display: inline-block;
}

.trust-badge i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.trust-badge h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.trust-badge p {
    color: var(--text-muted);
    margin-bottom: 0;
}

/* CTA Section */
.cta-section {
    position: relative;
    padding: 100px 0;
    color: var(--text-light);
    background-color: var(--primary-dark);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.cta-section .container {
    position: relative;
    z-index: 2;
}

.cta-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.cta-section p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Contact Section */
.contact-section {
    padding-top:20px;
    background-color: var(--text-light);
}

.contact-form {
    background-color: #f9f9f9;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px var(--shadow-color);
}

.form-control, .form-select {
    height: 50px;
    border-radius: 5px;
    border: 1px solid var(--border-color);
    padding: 10px 15px;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(76, 175, 80, 0.25);
}

textarea.form-control {
    height: 120px;
    resize: none;
}

/* Footer */
.footer-section {
    background-color: var(--secondary-color);
    color: var(--text-light);
    padding: 60px 0 30px;
}

.footer-logo {
    height: 60px;
}

.footer-section h4 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-section h4::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
    bottom: 0;
    left: 0;
}

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

.contact-info li {
    margin-bottom: 15px;
    display: flex;
    align-items: flex-start;
}

.contact-info li i {
    color: var(--primary-color);
    margin-right: 10px;
    margin-top: 5px;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

/* Floating Button */
.floating-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: 40px;
    padding: 25px 25px;
    display: flex;
    align-items: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: all 0.3s ease;
    text-decoration: none;
}

.floating-btn i {
}

.floating-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    color: var(--text-light);
}

/* Responsive Styles */
@media (max-width: 991.98px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .counter-number {
        font-size: 2.5rem;
    }
    
    .testimonial-card {
        flex-direction: column;
        text-align: center;
    }
    
    .testimonial-img {
        margin-right: 0;
        margin-bottom: 20px;
    }
    
    .testimonial-content p {
        padding-left: 0;
    }
    
    .testimonial-content p::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        padding-top: 56px !important;
        padding-bottom: 0px !important;
        height: 50vh;
    }
    .container-hero {
        position: relative;
        padding: 0;
        height: calc(50vh - 56px);
    }
    .container-hero-bottom {
        position: absolute;
        width: 100%;
        padding: 0;
        bottom: 10px;
        margin: 0 auto;
    }
    hero-1 {
        text-align: center;
        font-size: 2rem !important;
        margin-bottom: 50% !important;
    }

    hero-2 {
        text-align: justify;
    }

    .video-container {
        margin-top: 30px;
    }
    
    .benefit-card {
        margin-bottom: 20px;
    }
    
    .house-details {
        margin-top: 30px;
    }
    
    .floating-btn span {
        display: none;
    }
    
    .floating-btn {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        padding: 0;
        justify-content: center;
    }
    
    .floating-btn i {
        margin-right: 0;
        font-size: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding-top: 56px !important;
        padding-bottom: 0px !important;
        height: 50vh !important;
    }
    .container-hero {
        position: relative;
        padding: 0;
        height: calc(60vh - 56px);
    }
    .container-hero-bottom {
        position: absolute;
        width: 100%;
        bottom: 0px;
        margin: 0 auto;
        padding: 0px;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
    hero-2 {
        text-align: justify;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-form {
        padding: 20px;
    }
}

.modal-dialog-slide-up {
    position: fixed;
    bottom: 0;
    margin: 0 !important;
    transform: translateY(100%);
    transition: transform 0.2s linear;
    width: 100%;
    height: 80vh;
}

.modal.fade.show .modal-dialog-slide-up {
    transform: translateY(0);
}

.modal-content {
    border-top-left-radius: 50px;
    border-top-right-radius: 50px;
}

.modal-header .btn-close {
    z-index: 2;
    background: #ccc;
    padding: 0.75rem;
    border-radius: 50%;
    margin: 0 !important;
}

.modal-header {
    position: relative;
    justify-content: center;
}



