/* ===== Afro Hairstyling Sandnes – Custom CSS ===== */

/* Gold gradient text */
.text-gradient-gold {
    background: linear-gradient(to right, #b6940c, #e5c332, #b6940c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    to { background-position: 200% center; }
}

/* Luxury border */
.luxury-border {
    border: 1px solid rgba(182, 148, 12, 0.2);
}

/* Hide scrollbar (for horizontal filter sections) */
.hide-scrollbar::-webkit-scrollbar { display: none; }
.hide-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

/* Custom scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1a170c; }
::-webkit-scrollbar-thumb { background: #444; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #b6940c; }

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

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Lightbox */
.lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0,0,0,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.lightbox-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.lightbox-overlay img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
}

/* Mobile menu */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}
.mobile-menu.open {
    transform: translateX(0);
}

/* 
   ========================================
   Centralized Responsive Navigation Logic 
   ========================================
   Controls the breakpoint for switching between desktop and mobile nav.
   Current Breakpoint: 950px
*/

/* Desktop Nav Elements */
@media (max-width: 950px) {
    .desktop-nav {
        display: none !important;
    }
}
@media (min-width: 951px) {
    .desktop-nav {
        display: flex !important;
    }
}

/* Mobile Menu Toggle Button */
@media (max-width: 950px) {
    .mobile-nav-toggle {
        display: block !important;
    }
}
@media (min-width: 951px) {
    .mobile-nav-toggle {
        display: none !important;
    }
}
