/* Custom styles for Tifanny Properties */

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

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

::-webkit-scrollbar-track {
    background: #1A1A1A;
}

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

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

/* Hero parallax effect */
.hero-section {
    background-attachment: fixed;
}

/* Gradient text effect */
.gradient-text {
    background: linear-gradient(135deg, #FF6B4A 0%, #FF8A70 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Card hover effects */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(255, 107, 74, 0.2);
}

/* Button pulse animation */
@keyframes pulse-coral {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 107, 74, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 107, 74, 0);
    }
}

.btn-pulse {
    animation: pulse-coral 2s infinite;
}

/* Fade in animation for sections */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

/* Staggered animation delays */
.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

.delay-400 {
    animation-delay: 0.4s;
}

.delay-500 {
    animation-delay: 0.5s;
}

/* Mobile menu animation */
.mobile-menu-open .menu-line-1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-open .menu-line-2 {
    opacity: 0;
}

.mobile-menu-open .menu-line-3 {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Reduced motion preference */
@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;
    }
}

/* Print styles */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}
