/* Custom Styles for Kingz & Kweenz */

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

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

::-webkit-scrollbar-track {
    background: #F5F0E8;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #92400E;
}

/* Navigation Active State */
.nav-link.active {
    color: #B45309;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(180, 83, 9, 0.3);
}

/* Mobile Menu Animations */
.mobile-menu-link {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

.mobile-menu.active .mobile-menu-link {
    opacity: 1;
    transform: translateY(0);
}

.mobile-menu.active .mobile-menu-link:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu.active .mobile-menu-link:nth-child(2) { transition-delay: 0.2s; }
.mobile-menu.active .mobile-menu-link:nth-child(3) { transition-delay: 0.3s; }
.mobile-menu.active .mobile-menu-link:nth-child(4) { transition-delay: 0.4s; }

/* Mobile Menu Button Animation */
.mobile-menu-btn.active .mobile-menu-line-1 {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active .mobile-menu-line-2 {
    opacity: 0;
}

.mobile-menu-btn.active .mobile-menu-line-3 {
    transform: rotate(-45deg) translate(5px, -5px);
    width: 24px;
}

/* Scroll Reveal Animations */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

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

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(30px);
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Image Hover Effects */
.group:hover .group-hover\:scale-105 {
    transform: scale(1.05);
}

/* Button Focus States */
button:focus,
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsive Typography */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(2rem, 8vw, 3.5rem);
    }
}

/* Print Styles */
@media print {
    nav,
    #contact-form,
    .scroll-reveal {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* High Contrast Mode Support */
@media (forced-colors: active) {
    .bg-terracotta-600 {
        background-color: ButtonText;
    }
    
    .text-sand-50 {
        color: ButtonText;
    }
}
