/* Custom Styles for Dana Villadsen Real Estate Website */

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Space Grotesk', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
}

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

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

.hero-shape {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s ease-out;
}

.hero-shape.visible {
    opacity: 1;
    transform: scale(1);
}

/* Reveal Animations */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.6s ease-out;
}

.reveal.hidden {
    opacity: 0;
    transform: translateY(30px);
}

/* Mobile Menu Animations */
.menu-line-1 {
    transform-origin: left center;
}

.menu-line-2 {
    transform-origin: left center;
}

.menu-line-3 {
    transform-origin: left center;
}

.nav-open .menu-line-1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-open .menu-line-2 {
    opacity: 0;
}

.nav-open .menu-line-3 {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 6px;
}

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

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

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

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

/* Focus Styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
}

/* Print Styles */
@media print {
    .hero-shape,
    .animate-float,
    #mobile-menu {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}

/* 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;
    }
}

/* High Contrast Mode */
@media (forced-colors: active) {
    .bg-plum-700,
    .bg-plum-950 {
        background-color: ButtonText;
    }
    
    .text-plum-700,
    .text-plum-950 {
        color: ButtonText;
    }
}

/* Tablet and Desktop */
@media (min-width: 768px) {
    .mobile-link {
        font-size: 1.5rem;
    }
}

/* Large Screens */
@media (min-width: 1280px) {
    .hero-shape.shape-circle-1 {
        width: 48rem;
        height: 48rem;
    }
}

/* Utility Classes */
.text-shadow {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
