/* Custom styles for Donald Van de Mark Real Estate */

/* Ensure all text has proper contrast */
body {
    background-color: #040B14;
    color: #F5F0E8;
}

/* Gold gradient utilities */
.text-gold-gradient {
    background: linear-gradient(135deg, #C9A84C 0%, #E0CA70 50%, #B8943F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Gold shimmer */
.gold-shimmer {
    background: linear-gradient(90deg, #C9A84C 0%, #F5E6A3 50%, #C9A84C 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; }
}

/* Gold glow effects */
.gold-glow {
    box-shadow: 0 0 40px rgba(201, 168, 76, 0.15), 0 0 80px rgba(201, 168, 76, 0.05);
}

.gold-glow-strong {
    box-shadow: 0 0 60px rgba(201, 168, 76, 0.25), 0 0 120px rgba(201, 168, 76, 0.1);
}

/* Pattern backgrounds */
.pattern-diamonds {
    background-image: radial-gradient(circle, rgba(201,168,76,0.03) 1px, transparent 1px);
    background-size: 30px 30px;
}

/* Image overlay for cards */
.img-overlay {
    background: linear-gradient(180deg, transparent 40%, rgba(4, 11, 20, 0.9) 100%);
}

/* Property card hover */
.property-card {
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), box-shadow 0.5s ease;
}

.property-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 60px rgba(201, 168, 76, 0.15);
}

.property-card:hover .property-img {
    transform: scale(1.05);
}

.property-img {
    transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Gold button styles */
.btn-gold {
    background: linear-gradient(135deg, #C9A84C 0%, #E0CA70 50%, #B8943F 100%);
    color: #040B14;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.btn-gold::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.btn-gold:hover::before {
    left: 100%;
}

.btn-gold:hover {
    box-shadow: 0 10px 40px rgba(201, 168, 76, 0.4);
    transform: translateY(-2px);
}

.btn-outline-gold {
    border: 1.5px solid #C9A84C;
    color: #C9A84C;
    transition: all 0.4s ease;
}

.btn-outline-gold:hover {
    background: #C9A84C;
    color: #040B14;
    box-shadow: 0 10px 40px rgba(201, 168, 76, 0.3);
}

/* Navigation link underline animation */
.nav-link {
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: #C9A84C;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #C9A84C;
}

.nav-link:hover::after {
    width: 100%;
}

/* Form input focus styles */
.form-input {
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-input:focus {
    border-color: #C9A84C;
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.1);
}

/* Testimonial cards */
.testimonial-card {
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.8), rgba(15, 32, 53, 0.6));
    border: 1px solid rgba(201, 168, 76, 0.15);
    transition: border-color 0.3s ease;
}

.testimonial-card:hover {
    border-color: rgba(201, 168, 76, 0.4);
}

/* Gold line decorations */
.gold-line-left {
    height: 2px;
    width: 80px;
    background: linear-gradient(90deg, #C9A84C, transparent);
}

/* Scroll reveal (progressive enhancement) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(40px);
        transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }
    
    .reveal.visible {
        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; }
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Hamburger animation */
.hamburger-line {
    transition: all 0.3s ease;
}

.hamburger.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active .hamburger-line:nth-child(2) {
    opacity: 0;
}

.hamburger.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Success message animation */
.success-msg {
    animation: fadeInUp 0.5s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.float-subtle {
    animation: float 6s ease-in-out infinite;
}

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

::-webkit-scrollbar-track {
    background: #0A1628;
}

::-webkit-scrollbar-thumb {
    background: #C9A84C;
    border-radius: 4px;
}

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

/* Ensure all interactive elements are keyboard accessible */
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #C9A84C;
    outline-offset: 2px;
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .btn-gold,
    .btn-outline-gold {
        border: 1px solid #000;
        color: #000;
    }
}
