/* Custom styles for Perfect Solutions Real Estate */

/* Base styles already handled by Tailwind + inline styles in index.html */
/* This file contains additional custom components and refinements */

/* Smooth scroll offset for fixed navbar */
section[id] {
    scroll-margin-top: 80px;
}

/* Gold text shimmer for hero headline */
.text-gold-shimmer {
    background: linear-gradient(90deg, #d4a843 0%, #f0d68a 50%, #d4a843 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 4s linear infinite;
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Fade-in animation for hero (always visible, no JS dependency) */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-content {
    animation: fadeInUp 1s ease forwards;
}

/* Property card hover glow */
.property-card:hover {
    box-shadow: 0 20px 60px rgba(212, 168, 67, 0.12);
}

/* Testimonial card hover */
.testimonial-card:hover {
    border-color: rgba(212, 168, 67, 0.4);
    background: linear-gradient(145deg, rgba(45, 90, 45, 0.4), rgba(15, 27, 9, 0.6));
}

/* Gold button gradient animation */
.btn-gold {
    background: linear-gradient(135deg, #b8892e 0%, #d4a843 50%, #f0d68a 100%);
}

.btn-gold:hover {
    background: linear-gradient(135deg, #9a6d22 0%, #b8892e 50%, #d4a843 100%);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .property-card {
        transition: none;
    }
    .property-card:hover {
        transform: none;
    }
    .text-gold-shimmer {
        animation: none;
    }
    .hero-content {
        animation: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* Print styles */
@media print {
    nav, .mobile-menu, #contact-form {
        display: none;
    }
    body {
        background: white;
        color: black;
    }
}
