/* Custom Styles for Dreams Realized Realty */

:root {
    --midnight-900: #0a0e27;
    --midnight-800: #0d1233;
    --midnight-700: #111842;
    --gold-400: #fbbf24;
    --gold-500: #f59e0b;
    --gold-600: #d97706;
    --mint-400: #34d399;
    --mint-500: #10b981;
}

* {
    scroll-behavior: smooth;
}

body {
    background-color: var(--midnight-900);
    color: #f3f4f6;
}

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

::-webkit-scrollbar-track {
    background: var(--midnight-800);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--gold-500), var(--gold-600));
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-400);
}

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

@keyframes float-delayed {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
}

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

.card-float-delayed {
    animation: float-delayed 5s ease-in-out infinite;
    animation-delay: 1s;
}

/* Service Card Hover Effect */
.service-card {
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(251, 191, 36, 0.1);
}

/* Testimonial Card Hover */
.testimonial-card {
    transition: all 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

/* Navbar Scroll Effect */
.nav-scrolled {
    background-color: rgba(10, 14, 39, 0.98) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Button Glow Effect */
.btn-glow:hover {
    box-shadow: 0 0 30px rgba(251, 191, 36, 0.4);
}

/* Input Focus Animation */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(251, 191, 36, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .card-float,
    .card-float-delayed {
        animation: none;
        transform: none;
    }
    
    h1 {
        font-size: 2.5rem !important;
    }
    
    h2 {
        font-size: 2rem !important;
    }
}

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