/* Estilos personalizados para a página de vendas do High Tower */

/* Hero Section */
.hero-bg {
    background-image: linear-gradient(rgba(30, 58, 138, 0.9), rgba(51, 65, 85, 0.9)), url(\'./static/high-tower-hero-night.jpg\');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.hero-video-background {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: 1;
    transform: translateX(-50%) translateY(-50%) scale(1.2); /* Zoom in slightly to avoid black bars if speed changes aspect */
    background-size: cover;
    background-position: center;
    filter: brightness(0.7); /* Darken the video to make text more readable */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.4); /* Darker overlay for better text contrast */
    z-index: 2;
}

@media (max-width: 768px) {
    .hero-bg {
        background-position: 70% center;
    }
    .hero-video-background {
        transform: translateX(-50%) translateY(-50%) scale(1.5); /* Further zoom for mobile */
    }
    .hero-section h1 {
        font-size: 2.5rem; /* Smaller font size for mobile */
        line-height: 1.2;
    }
    .hero-section p {
        font-size: 1rem; /* Smaller font size for mobile */
        line-height: 1.5;
    }
    .hero-section .grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr)); /* Adjust grid for mobile */
    }
}

/* Animações */
.animate-pulse {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: .5; }
}

.animate-bounce-slow {
    animation: bounce-slow 2s infinite;
}

@keyframes bounce-slow {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Parallax */
.parallax-bg {
    background-image: linear-gradient(rgba(30, 58, 138, 0.8), rgba(51, 65, 85, 0.8)), url('./JA_HT_FACHADA_NOTURNA_ANG_01_EF.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

/* Galeria de Imagens */
#image-gallery {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

#gallery-main-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: opacity 0.5s ease-in-out;
}

#gallery-dots {
    position: absolute;
    bottom: 1rem;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
}

.gallery-dot {
    width: 0.75rem;
    height: 0.75rem;
    border-radius: 9999px;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.gallery-dot.active {
    background-color: white;
}

/* Botão de WhatsApp */
.whatsapp-button {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: #25D366;
    color: white;
    padding: 1rem;
    border-radius: 9999px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    font-size: 1.5rem;
    z-index: 50;
    transition: background-color 0.3s ease;
}

.whatsapp-button:hover {
    background-color: #128C7E;
}




/* Exclusividade Section - Mobile */
@media (max-width: 768px) {
    .exclusivity-section .grid {
        grid-template-columns: 1fr; /* Stack columns on mobile */
    }
    .exclusivity-section .order-1 {
        order: 1;
    }
    .exclusivity-section .order-2 {
        order: 2;
    }
    .exclusivity-section .text-center {
        text-align: center;
    }
    .exclusivity-section h2 {
        font-size: 2rem;
    }
    .exclusivity-section p {
        font-size: 1rem;
    }
    .exclusivity-section .p-6 {
        padding: 1rem;
    }
    .exclusivity-section .p-8 {
        padding: 1.5rem;
    }
}




/* Valorização Section - Mobile */
@media (max-width: 768px) {
    .valorization-section .grid {
        grid-template-columns: 1fr; /* Stack columns on mobile */
    }
    .valorization-section .text-center h2 {
        font-size: 2rem;
    }
    .valorization-section .text-center p {
        font-size: 1rem;
    }
    .valorization-section .p-4 {
        padding: 1rem;
    }
    .valorization-section .p-8 {
        padding: 1.5rem;
    }
}




/* Simulador Section - Mobile */
@media (max-width: 768px) {
    .simulator-section .grid {
        grid-template-columns: 1fr; /* Stack columns on mobile */
    }
    .simulator-section .text-center h2 {
        font-size: 2rem;
    }
    .simulator-section .text-center p {
        font-size: 1rem;
    }
    .simulator-section .p-6 {
        padding: 1rem;
    }
    .simulator-section .p-8 {
        padding: 1.5rem;
    }
}




/* Plantas Humanizadas Section - Mobile */
@media (max-width: 768px) {
    .plants-section h2 {
        font-size: 2rem;
    }
    .plants-section p {
        font-size: 1rem;
    }
    .plants-section .p-8 {
        padding: 1.5rem;
    }
    .plants-section .bg-white {
        padding: 1rem;
    }
}




/* High Tower Section - Mobile */
@media (max-width: 768px) {
    .high-tower-section h2 {
        font-size: 2rem;
    }
    .high-tower-section p {
        font-size: 1rem;
    }
    .high-tower-section .grid {
        grid-template-columns: 1fr; /* Stack columns on mobile */
    }
    .high-tower-section .p-4 {
        padding: 1rem;
    }
}




/* Legado e Confiança Section - Mobile */
@media (max-width: 768px) {
    .legado-confianca-section h2 {
        font-size: 2rem;
    }
    .legado-confianca-section p {
        font-size: 1rem;
    }
    .legado-confianca-section .grid {
        grid-template-columns: 1fr; /* Stack columns on mobile */
    }
    .legado-confianca-section .p-4 {
        padding: 1rem;
    }
}




/* Legado e Confiança Section - Mobile */
@media (max-width: 768px) {
    .legado-confianca-section h2 {
        font-size: 2rem;
    }
    .legado-confianca-section p {
        font-size: 1rem;
    }
    .legado-confianca-section .grid {
        grid-template-columns: 1fr; /* Stack columns on mobile */
    }
    .legado-confianca-section .p-4 {
        padding: 1rem;
    }
}




/* Galeria Section - Mobile */
@media (max-width: 768px) {
    .gallery-section h2 {
        font-size: 2rem;
    }
    .gallery-section p {
        font-size: 1rem;
    }
    #image-gallery {
        height: 250px; /* Adjust height for mobile */
    }
}




/* Contato Section - Mobile */
@media (max-width: 768px) {
    .contato-section h2 {
        font-size: 2rem;
    }
    .contato-section p {
        font-size: 1rem;
    }
    .contato-section form {
        padding: 1rem;
    }
}




/* Contato Section - Mobile */
@media (max-width: 768px) {
    .contato-section h2 {
        font-size: 2rem;
    }
    .contato-section p {
        font-size: 1rem;
    }
    .contato-section form {
        padding: 1rem;
    }
}


