/* Custom styles for Gina M Hair Studio */

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

/* Ensure no layout shift on images */
img {
    max-width: 100%;
    height: auto;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #040d1a;
}
::-webkit-scrollbar-thumb {
    background: #15305a;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #d4a017;
}

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

/* Prevent flash of unstyled content */
.no-js .reveal {
    opacity: 1;
    transform: none;
}

/* Mobile menu animation */
.mobile-menu {
    transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
}

/* Mobile menu link hover */
.mobile-link {
    position: relative;
}
.mobile-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #d4a017;
    transition: width 0.3s ease;
}
.mobile-link:hover::after {
    width: 100%;
}

/* Navbar scroll state */
.navbar-scrolled {
    background: rgba(4, 13, 26, 0.95) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* Service card image placeholder */
.service-card {
    background: linear-gradient(135deg, #0a1628 0%, #0f2240 100%);
}

/* Geometric shape animations */
@keyframes float {
    0%, 100% { transform: translateY(0) rotate(12deg); }
    50% { transform: translateY(-10px) rotate(12deg); }
}
@keyframes float-slow {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(0deg); }
}

.geometric-shape:nth-child(1) {
    animation: float 6s ease-in-out infinite;
}
.geometric-shape:nth-child(2) {
    animation: float-slow 8s ease-in-out infinite;
}

/* Focus visible for accessibility */
:focus-visible {
    outline: 2px solid #d4a017;
    outline-offset: 2px;
}

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