/* Custom Styles for Mirna Alvarenga Real Estate Website */

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

/* Animation Keyframes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Animation Classes */
.animate-fade-in {
    animation: fadeIn 0.6s ease-out forwards;
}

.animate-slide-up {
    opacity: 0;
    animation: slideUp 0.6s ease-out forwards;
}

/* Intersection Observer Animation Classes */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

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

::-webkit-scrollbar-thumb {
    background: #ff6b6b;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f05252;
}

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(20, 20, 23, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Form Focus Styles */
input:focus,
textarea:focus,
select:focus {
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.2);
}

/* Button Hover Effects */
button,
a {
    transition: all 0.3s ease;
}

/* Image Hover Zoom */
img {
    transition: transform 0.5s ease;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #ff7a6b, #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card Hover Shadow */
.hover-card {
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

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

/* Responsive Typography */
@media (max-width: 640px) {
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Print Styles */
@media print {
    #navbar,
    #contact-form,
    button {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
