/* Houston Luxury Apartments — Custom Styles */

/* Smooth scroll padding for fixed nav */
section {
    scroll-margin-top: 80px;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1A1D23;
}
::-webkit-scrollbar-thumb {
    background: #3D4250;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #FF6B4A;
}

/* Selection */
::selection {
    background: #FF8566;
    color: #fff;
}

/* Focus styles */
*:focus-visible {
    outline: 2px solid #FF8566;
    outline-offset: 2px;
}

/* Subtle pattern overlay for sections */
.section-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(255,107,74,0.05) 1px, transparent 0);
    background-size: 24px 24px;
}

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #FF6B4A, #FF8566);
    -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-anim {
    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-dot {
    animation: pulse-dot 2s ease-in-out infinite;
}

/* Image placeholder fallback */
img {
    max-width: 100%;
    height: auto;
}

/* Prevent layout shift */
img, video, canvas, svg {
    max-width: 100%;
}

/* Mobile menu transitions */
@media (max-width: 767px) {
    .mobile-menu {
        box-shadow: -10px 0 40px rgba(0,0,0,0.3);
    }
}

/* Reduce motion preference */
@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;
    }
    .reveal {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Print styles */
@media print {
    nav, .mobile-menu, #mobile-overlay {
        display: none !important;
    }
    body {
        color: #000;
        background: #fff;
    }
    .hero-overlay {
        background: rgba(26,29,35,0.7) !important;
    }
}
