/* Custom Styles for Sharon Smith Real Estate */

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

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

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

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse-ring {
    0% { transform: scale(0.8); opacity: 0.5; }
    50% { transform: scale(1.2); opacity: 0.2; }
    100% { transform: scale(0.8); opacity: 0.5; }
}

.geo-shape {
    position: absolute;
    opacity: 0.1;
}

.geo-circle-1 {
    width: 400px;
    height: 400px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    top: -100px;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.geo-circle-2 {
    width: 200px;
    height: 200px;
    background: rgba(255, 182, 204, 0.2);
    border-radius: 50%;
    bottom: 10%;
    left: 5%;
    animation: float-reverse 6s ease-in-out infinite;
}

.geo-square-1 {
    width: 150px;
    height: 150px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    top: 20%;
    left: -50px;
    animation: spin-slow 20s linear infinite;
}

.geo-triangle-1 {
    width: 0;
    height: 0;
    border-left: 75px solid transparent;
    border-right: 75px solid transparent;
    border-bottom: 130px solid rgba(255, 255, 255, 0.1);
    top: 60%;
    right: 10%;
    animation: float 7s ease-in-out infinite;
}

.geo-ring-1 {
    width: 300px;
    height: 300px;
    border: 4px solid rgba(255, 182, 204, 0.15);
    border-radius: 50%;
    bottom: -50px;
    right: 20%;
    animation: pulse-ring 4s ease-in-out infinite;
}

/* Scroll Indicator */
.scroll-indicator {
    animation: float 2s ease-in-out infinite;
}

/* Navbar Scroll Effect */
#navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

#navbar.scrolled .font-display {
    color: #6f162e !important;
}

#navbar.scrolled .text-burgundy-600 {
    color: #a11735 !important;
}

/* Service Cards */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: linear-gradient(to bottom, #d94065, #ff82a3);
    transition: height 0.3s ease;
}

.service-card:hover::before {
    height: 100%;
}

/* Neighborhood Cards */
.neighborhood-card {
    transition: transform 0.3s ease;
}

.neighborhood-card:hover {
    transform: translateY(-5px);
}

/* Testimonial Cards */
.testimonial-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
}

/* Scroll Reveal Animations (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
    .reveal-delay-5 { transition-delay: 0.5s; }
    .reveal-delay-6 { transition-delay: 0.6s; }
}

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

/* Focus Styles */
input:focus, select:focus, textarea:focus {
    box-shadow: 0 0 0 3px rgba(217, 64, 101, 0.1);
}

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

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

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

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

/* Mobile Menu Animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-menu.open {
    max-height: 400px;
}

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

/* Loading State for Form */
button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Print Styles */
@media print {
    nav, .scroll-indicator, #mobile-menu-btn {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .bg-gradient-to-br {
        background: #f5f5f5 !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }
}
