/* Custom styles for MVP Realty — George Messeha */

/* Base reset & smooth scrolling handled in HTML */

/* Geometric shape keyframes */
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes floatReverse {
    0%, 100% { transform: translateY(0px) rotate(45deg); }
    50% { transform: translateY(20px) rotate(40deg); }
}

.geo-circle.animate-float { animation: float 8s ease-in-out infinite; }
.geo-circle.animate-float-reverse { animation: floatReverse 10s ease-in-out infinite; }

/* Custom selection color */
::selection {
    background: rgba(255, 85, 51, 0.3);
    color: #fff;
}

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

/* Smooth transitions for all interactive elements */
a, button {
    -webkit-tap-highlight-color: transparent;
}

/* Print styles */
@media print {
    nav, .geo-circle, .geo-triangle, .geo-rect, #mobileMenu { display: none; }
    body { background: white; color: #1a1a28; }
    .bg-charcoal-950, .bg-charcoal-900 { background: white !important; }
    .text-white { color: #1a1a28 !important; }
    .text-charcoal-300, .text-charcoal-400 { color: #5c5c74 !important; }
}

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

/* High contrast mode support */
@media (forced-colors: active) {
    .service-card, .bg-charcoal-900\/60 {
        border: 1px solid ButtonText;
    }
}

/* Extra small screens */
@media (max-width: 360px) {
    .font-display { font-size: 0.9em; }
    nav div[class*="flex"] { gap: 0.5rem; }
}

/* Landscape phone optimization */
@media (max-height: 500px) and (orientation: landscape) {
    #hero { min-height: 90vh; }
    #hero h1 { font-size: 2rem; }
}
