/* Custom styles for Twins Barber Shop */

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

/* Hero asymmetric image */
.hero-asymmetric {
    min-height: 100vh;
}

@media (max-width: 1023px) {
    .hero-asymmetric {
        min-height: auto;
    }
    .hero-asymmetric > div:first-child {
        padding: 8rem 1.5rem 4rem;
    }
    .hero-asymmetric > div:last-child {
        min-height: 50vh;
    }
}

/* Navbar scroll state */
nav.scrolled {
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 20px rgba(10, 22, 40, 0.08);
}

nav.scrolled .nav-link {
    color: #0a1628;
}

/* Service card gradient overlay on hover */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 0.75rem;
    border: 2px solid transparent;
    transition: border-color 0.3s ease;
    pointer-events: none;
}

.service-card:hover::after {
    border-color: rgba(45, 212, 191, 0.4);
}

/* Gallery hover effect */
.gallery-item {
    overflow: hidden;
    border-radius: 0.75rem;
}

.gallery-item img {
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Form focus states */
input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(45, 212, 191, 0.2);
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .service-card,
    .gallery-item img,
    .cta-btn {
        transition: none;
    }
    .cta-btn::before {
        display: none;
    }
}

/* Selection color */
::selection {
    background: #2dd4bf;
    color: #0a1628;
}
