/* Custom styles for Down South Beauty Supply */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0f172a;
}
::-webkit-scrollbar-thumb {
    background: #14b8a6;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2dd4bf;
}

/* Geometric shape animations */
.geo-shape {
    position: absolute;
    opacity: 0.15;
    pointer-events: none;
}

.shape-circle-1 {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    border: 2px solid rgba(45, 212, 191, 0.3);
    top: 10%;
    right: -100px;
    animation: float 8s ease-in-out infinite;
}

.shape-circle-2 {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(20, 184, 166, 0.2), transparent);
    bottom: 20%;
    left: 5%;
    animation: float 6s ease-in-out infinite reverse;
}

.shape-triangle {
    width: 0;
    height: 0;
    border-left: 80px solid transparent;
    border-right: 80px solid transparent;
    border-bottom: 140px solid rgba(20, 184, 166, 0.15);
    top: 30%;
    left: 10%;
    animation: rotate 12s linear infinite;
}

.shape-diamond {
    width: 100px;
    height: 100px;
    background: rgba(45, 212, 191, 0.1);
    transform: rotate(45deg);
    bottom: 25%;
    right: 15%;
    animation: float 7s ease-in-out infinite;
}

.shape-ring {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px solid rgba(45, 212, 191, 0.2);
    top: 60%;
    right: 5%;
    animation: pulse 4s ease-in-out infinite;
}

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

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { transform: rotate(45deg) scale(1); opacity: 0.15; }
    50% { transform: rotate(45deg) scale(1.1); opacity: 0.25; }
}

/* Reveal animations (progressive enhancement - only active with JS) */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.8s ease, transform 0.8s ease;
    }
    
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Default state - always visible for accessibility */
.reveal {
    opacity: 1;
    transform: none;
}

/* Navbar scroll state */
.nav-scrolled {
    background: rgba(8, 14, 26, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1px solid rgba(20, 184, 166, 0.1) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Mobile menu animation */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button hover effects */
a[href="tel:+17862789620"] {
    text-decoration: none;
}

/* Map grayscale to color on hover */
iframe {
    transition: filter 0.5s ease;
}

/* Ensure all text has proper contrast */
.text-slate-400 {
    color: #94a3b8;
}

.text-slate-500 {
    color: #64748b;
}

/* Selection color */
::selection {
    background: rgba(20, 184, 166, 0.3);
    color: white;
}
