/* Custom styles for Vero Tuksa Inmobiliaria */

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

/* Header animations */
header {
    transition: transform 0.3s ease;
}

header.scroll-down {
    transform: translate3d(0, -100%, 0);
}

header.scroll-up {
    transform: none;
}

/* Custom transitions */
.transition-all {
    transition-property: all;
    transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
    transition-duration: 300ms;
}

/* Property card hover effects */
.property-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Service card hover effects */
.service-card:hover {
    transform: translateY(-0.5rem);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Custom button styles */
.btn-primary {
    background-color: #1e3a8a;
    color: white;
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background-color: #1e40af;
}

.btn-secondary {
    background-color: white;
    color: #1e3a8a;
    font-weight: 700;
    padding: 0.5rem 1.5rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background-color: #dbeafe;
}

/* Form input styles */
.form-input {
    width: 100%;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    border: 1px solid #cbd5e1;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: #1e3a8a;
}

/* Custom spacing utilities */
.section-padding {
    padding: 4rem 0;
}

/* Mobile menu animations */
#mobile-menu {
    transition: max-height 0.3s ease-out;
    max-height: 0;
    overflow: hidden;
}

#mobile-menu.show {
    max-height: 300px;
}

/* Custom container padding for mobile */
@media (max-width: 640px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* Hero section overlay gradient */
.hero-overlay {
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.7));
}

/* Custom shadows */
.shadow-custom {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Testimonial card styles */
.testimonial-card {
    background-color: white;
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Star rating colors */
.star-rating {
    color: #FCD34D;
}

/* Contact form container */
.contact-form-container {
    background-color: white;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* Footer link hover effects */
.footer-link {
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: #1e3a8a;
}

/* Social media icons */
.social-icon {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #1e3a8a;
    transform: scale(1.1);
}

/* WhatsApp floating button */
.whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 100;
    background-color: #34c759;
    color: white;
    padding: 1rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #2ecc71;
    transform: scale(1.1);
}

/* Custom animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease-out;
}

/* Promoción especial section */
.promocion-section {
    background: linear-gradient(to right, #1e3a8a, #1e40af);
    color: white;
    padding: 4rem 0;
}

.promocion-carousel {
    position: relative;
    overflow: hidden;
    border-radius: 0.5rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

.promocion-details {
    background-color: white;
    color: #1f2937;
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.promocion-price {
    font-size: 1.875rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.promocion-features {
    margin-bottom: 1.5rem;
}

.promocion-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.promocion-features li::before {
    content: "✓";
    color: #059669;
    font-weight: 700;
}

.creditos-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.creditos-list li {
    background-color: #dbeafe;
    color: #1e3a8a;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    font-weight: 500;
    text-align: center;
}

/* Carousel controls */
.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255, 255, 255, 0.8);
    color: #1e3a8a;
    padding: 0.5rem;
    border-radius: 9999px;
    transition: all 0.3s ease;
    z-index: 10;
}

.carousel-control:hover {
    background-color: white;
}

.carousel-prev {
    left: 0.5rem;
}

.carousel-next {
    right: 0.5rem;
}

/* Swiper customization */
.swiper-container {
    width: 100%;
    height: 100%;
}

.swiper-slide img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 0.5rem;
}
