/* Additional custom styles for Odelle_Nails website */

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

/* Custom animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Animation classes */
.animate-fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Stagger animation delays */
.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }
.stagger-6 { animation-delay: 0.6s; }

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

/* Focus styles for accessibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #22c55e;
    outline-offset: 2px;
}

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

/* High contrast mode support */
@media (prefers-contrast: high) {
    .gold-border {
        border-color: #c9a84c;
    }
}

/* Landscape orientation on mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .mobile-menu {
        transform: translateX(100%);
    }
}

/* Tablet adjustments */
@media (max-width: 768px) {
    .float-1,
    .float-2,
    .float-3 {
        display: none;
    }
}

/* Large screens */
@media (min-width: 1920px) {
    .max-w-7xl {
        max-width: 80rem;
    }
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #166534, #15803d);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #15803d, #16a34a);
}

/* Selection color */
::selection {
    background: rgba(201, 168, 76, 0.3);
    color: #faf8f3;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(22, 101, 52, 0.2);
}

/* Button active states */
button:active,
a:active {
    transform: scale(0.98);
}

/* Loading state for buttons */
button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Tooltip styles */
[data-tooltip] {
    position: relative;
}

[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.5rem 1rem;
    background: #1a2b22;
    color: #faf8f3;
    font-size: 0.75rem;
    border-radius: 0.25rem;
    white-space: nowrap;
    z-index: 50;
    border: 1px solid rgba(201, 168, 76, 0.3);
}

/* Glow effects */
.glow-emerald {
    box-shadow: 0 0 20px rgba(22, 101, 52, 0.3);
}

.glow-gold {
    box-shadow: 0 0 20px rgba(201, 168, 76, 0.3);
}

/* Gradient backgrounds */
.gradient-emerald {
    background: linear-gradient(135deg, #14532d 0%, #166534 50%, #15803d 100%);
}

.gradient-gold {
    background: linear-gradient(135deg, #c9a84c 0%, #e2c97e 50%, #c9a84c 100%);
}

/* Glass morphism effect */
.glass {
    background: rgba(26, 43, 34, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Text gradient */
.text-gradient {
    background: linear-gradient(135deg, #c9a84c 0%, #e2c97e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
