/* Custom Styles for Bradford Groves Homeowners */

:root {
    --color-bg-dark: #0f1215;
    --color-bg-card: #1a1f24;
    --color-gold: #c9a227;
    --color-cream: #f5f0e6;
    --color-terracotta: #c75b39;
    --color-sand: #e8d5c4;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--color-bg-dark);
    color: var(--color-cream);
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

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

::-webkit-scrollbar-track {
    background: var(--color-bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--color-gold);
    border-radius: 5px;
}

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

/* Selection Color */
::selection {
    background: var(--color-gold);
    color: var(--color-bg-dark);
}

/* Input Focus Styles */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.3);
}

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

/* Image Loading Placeholder */
img {
    background: linear-gradient(90deg, #1a1f24 25%, #2a2f34 50%, #1a1f24 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

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

img[src] {
    animation: none;
    background: none;
}

/* Mobile Menu Transitions */
#mobile-menu {
    transition: all 0.3s ease;
}

/* Luxury Text Gradient */
.text-gradient-gold {
    background: linear-gradient(135deg, #c9a227 0%, #f0d060 50%, #c9a227 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover Card Glow */
.group:hover .group-hover\\:bg-\\[#c9a227\\] {
    box-shadow: 0 0 30px rgba(201, 162, 39, 0.3);
}

/* Smooth Border Transitions */
.border-white\\/5 {
    transition: border-color 0.3s ease;
}

/* Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}
