/* Custom styles for Zheger Cuesta Real Estate */

/* Base */
html {
    scroll-padding-top: 80px;
}

/* Smooth focus visible */
*:focus-visible {
    outline: 2px solid #FF6646;
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: #FFB8A8;
    color: #1E1E26;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Print */
@media print {
    nav, #contact-form, .btn-coral, .btn-charcoal {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* Tablet adjustments */
@media (min-width: 768px) and (max-width: 1023px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-grid > div:first-child {
        order: 2;
        padding: 4rem 2rem;
    }
    
    .hero-grid > div:last-child {
        order: 1;
        min-height: 50vh;
    }
}

/* Large screens */
@media (min-width: 1280px) {
    .hero-grid {
        gap: 0;
    }
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(255, 250, 248, 0.95) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(30, 30, 38, 0.06);
}

/* Image aspect ratios */
.img-zoom {
    position: relative;
}

.img-zoom img {
    display: block;
    width: 100%;
    height: 100%;
}

/* Custom gradient text */
.gradient-text {
    background: linear-gradient(135deg, #FF6646, #E8502E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Floating animation */
@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* Pulse dot */
@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.animate-pulse {
    animation: pulse-dot 2s ease-in-out infinite;
}
