/* Custom styles for Mayra's Hair Salon */

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

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

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

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

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

/* Selection color */
::selection {
    background: #e8603a;
    color: white;
}

/* Hero asymmetric layout */
.hero-asymmetric {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
}

.hero-text-side {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 6rem;
    background: #1a1a1a;
    position: relative;
}

.hero-image-side {
    position: relative;
    overflow: hidden;
}

.hero-image-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Decorative accent */
.hero-accent {
    position: absolute;
    width: 120px;
    height: 120px;
    border: 2px solid #e8603a;
    top: -30px;
    right: -30px;
}

/* Service cards */
.service-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

/* Navigation links */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: #e8603a;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

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

.mobile-menu.active {
    transform: translateX(0);
}

/* Buttons */
.btn-primary {
    background: #e8603a;
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #d44a28;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(232, 96, 58, 0.3);
}

.btn-outline {
    border: 1px solid #1a1a1a;
    color: #1a1a1a;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #1a1a1a;
    color: white;
}

/* Section divider */
.section-divider {
    width: 60px;
    height: 2px;
    background: #e8603a;
}

/* Fade-in animation for scroll reveal */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile responsiveness */
@media (max-width: 1024px) {
    .hero-asymmetric {
        grid-template-columns: 1fr;
    }
    
    .hero-text-side {
        padding: 3rem 2rem;
        min-height: auto;
    }
    
    .hero-image-side {
        min-height: 50vh;
    }
}

@media (max-width: 768px) {
    .hero-text-side {
        padding: 2rem 1.5rem;
    }
    
    .hero-text-side h1 {
        font-size: 2.5rem;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: no-preference) {
    .fade-in {
        opacity: 0;
        transform: translateY(30px);
    }
}

/* Focus styles for accessibility */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #e8603a;
    outline-offset: 2px;
}

/* Image hover effects */
img {
    transition: opacity 0.3s ease;
}

img:hover {
    opacity: 0.9;
}
