/* Custom styles for Shipwash Enterprises */

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

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #10B981, #047857);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(to bottom, #34D399, #059669);
}

/* Reveal animation - applied via JS, but default state is visible */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* Navbar styles */
#navbar {
    background: transparent;
    transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

#navbar.scrolled {
    background: rgba(10, 15, 13, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(16, 185, 129, 0.1);
}

/* Gradient text animation */
@keyframes shimmer {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.text-shimmer {
    background: linear-gradient(
        90deg,
        #34D399 0%,
        #FFF8E7 50%,
        #34D399 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmer 3s linear infinite;
}

/* Pulse animation for hero dots */
@keyframes pulse-glow {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
}

.animate-pulse {
    animation: pulse-glow 2s ease-in-out infinite;
}

/* Hover effects for cards */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Mobile menu animation */
#mobile-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

#mobile-menu.open {
    max-height: 400px;
}

/* Property card hover */
.group:hover .group-hover\:scale-105 {
    transition: transform 0.5s ease;
}

/* Button hover effects */
button:hover,
a:hover {
    transition: all 0.3s ease;
}

/* Gold accent line */
.bg-gradient-to-r.from-transparent.via-cream-500.to-transparent {
    background: linear-gradient(
        90deg,
        transparent 0%,
        #D4AF37 50%,
        transparent 100%
    );
}

/* Floating card shadow */
.shadow-xl {
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

/* Custom selection color */
::selection {
    background: rgba(16, 185, 129, 0.3);
    color: #FFFBF0;
}
