/* Custom styles for Aldodoesyourhair */

/* Smooth scroll offset for fixed nav */
section[id] {
    scroll-margin-top: 80px;
}

/* Subtle gold accent line animation */
.gold-line {
    transition: width 0.6s ease;
}

.gold-line:hover {
    width: 100px;
}

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

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

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

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

/* Selection color */
::selection {
    background: #c99838;
    color: #0f1a2e;
}

/* Focus styles */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid #c99838;
    outline-offset: 2px;
}

/* Mobile menu transitions */
#mobileMenu {
    transition: opacity 0.5s ease, pointer-events 0.5s ease;
}

#mobileMenu.open {
    opacity: 1;
    pointer-events: all;
}

/* Subtle hover lift for cards */
.group:hover svg {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Image hover container */
.aspect-square {
    position: relative;
    overflow: hidden;
}

/* Decorative line animation on scroll */
@keyframes growLine {
    from { width: 0; }
    to { width: 60px; }
}

.reveal.visible .gold-line {
    animation: growLine 0.8s ease forwards;
}

/* Navbar background transition */
#navbar.scrolled {
    box-shadow: 0 1px 0 rgba(26, 39, 68, 0.08);
}

/* Mobile menu button animation */
#menuBtn.active #bar1 {
    transform: rotate(45deg) translate(4px, 4px);
}

#menuBtn.active #bar2 {
    opacity: 0;
}

#menuBtn.active #bar3 {
    transform: rotate(-45deg) translate(4px, -4px);
    width: 24px;
}

/* Form input underline animation */
input:focus,
textarea:focus {
    border-bottom-color: #c99838 !important;
}

/* Subtle pattern overlay for hero */
.hero-pattern {
    background-image: radial-gradient(circle at 1px 1px, rgba(26, 39, 68, 0.05) 1px, transparent 0);
    background-size: 40px 40px;
}
