/* Custom styles for Slate Style Bar */

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

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

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

::-webkit-scrollbar-thumb {
    background: #3d3d3d;
    border-radius: 4px;
}

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

/* Selection color */
::selection {
    background: rgba(212, 168, 83, 0.3);
    color: #fff;
}

/* Gold gradient text utility */
.text-gradient-gold {
    background: linear-gradient(135deg, #d4a853 0%, #c9a227 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Coral gradient text utility */
.text-gradient-coral {
    background: linear-gradient(135deg, #ff7f7f 0%, #e85555 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Subtle animation for decorative elements */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

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

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

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

/* Pulse animation for CTA buttons */
@keyframes pulse-glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(212, 168, 83, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(212, 168, 83, 0.6);
    }
}

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

/* Image hover zoom effect */
.img-zoom {
    transition: transform 0.7s ease;
}

.img-zoom:hover {
    transform: scale(1.1);
}

/* Card hover effect */
.card-hover {
    transition: all 0.4s ease;
}

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

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

/* Gradient border effect */
.gradient-border {
    position: relative;
    background: #1a1a1a;
    border-radius: 1rem;
}

.gradient-border::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 1rem;
    padding: 1px;
    background: linear-gradient(135deg, #d4a853, #ff6b6b, #d4a853);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

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

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

/* Reduce motion for accessibility */
@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 visible for accessibility */
*:focus-visible {
    outline: 2px solid #d4a853;
    outline-offset: 2px;
}

/* Form focus states */
input:focus,
select:focus,
textarea:focus {
    border-color: #d4a853 !important;
    box-shadow: 0 0 0 1px #d4a853 !important;
}

/* Button hover lift effect */
button:hover,
a:hover {
    transform: translateY(-2px);
}

button:active,
a:active {
    transform: translateY(0);
}

/* Smooth image loading */
img {
    transition: opacity 0.3s ease;
}

img[loading="lazy"] {
    opacity: 0;
}

img.loaded {
    opacity: 1;
}
