/* Custom Styles for 4 Sale - McCompound Market */

/* Font Families */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Lato:wght@300;400;700&display=swap');

.font-cinzel {
    font-family: 'Cinzel', serif;
}

.font-sans {
    font-family: 'Lato', sans-serif;
}

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

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

@keyframes fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in-up-delayed {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-float {
    animation: float 4s ease-in-out infinite;
}

.animate-float-delayed {
    animation: float-delayed 4s ease-in-out infinite;
    animation-delay: 2s;
}

.animate-fade-in {
    animation: fade-in 1s ease-out forwards;
}

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

.animate-fade-in-up-delay {
    animation: fade-in-up-delayed 1s ease-out 0.3s forwards;
    opacity: 0;
}

.animate-fade-in-up-delayed {
    animation: fade-in-up-delayed 1s ease-out 0.6s forwards;
    opacity: 0;
}

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

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

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

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

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

/* Focus Styles */
input:focus,
textarea:focus,
button:focus {
    outline: none;
}

/* Link Hover Effects */
a:hover {
    transition: all 0.3s ease;
}

/* Image Loading */
img {
    opacity: 0;
    transition: opacity 0.5s ease;
}

img.loaded {
    opacity: 1;
}

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

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

/* Navbar Scroll Effect */
.navbar-scrolled {
    background: rgba(10, 15, 13, 0.95);
    backdrop-filter: blur(10px);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

/* Gold Accent Text */
.text-gold {
    color: #d4af37;
}

/* Emerald Gradient */
.bg-emerald-gradient {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
}

/* Card Hover Effects */
.group:hover .group-hover\:scale-110 {
    transform: scale(1.1);
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-cinzel {
        font-size: 1.5rem;
    }
}

/* Print Styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .bg-\[\#0a0f0d\],
    .bg-\[\#0d1411\],
    .bg-\[\#050807\] {
        background: white !important;
    }
}
