/* Custom styles for Better Beauty Salon & Boutique */

/* Smooth focus states */
*:focus-visible {
    outline: 2px solid #2dd4a0;
    outline-offset: 2px;
}

/* Selection color */
::selection {
    background: rgba(45, 212, 160, 0.3);
    color: #0f2140;
}

/* Ensure navbar text is visible on both states */
.navbar:not(.scrolled) .nav-link,
.navbar:not(.scrolled) #nav-logo-text {
    color: #ffffff;
}

.navbar.scrolled .nav-link,
.navbar.scrolled #nav-logo-text {
    color: #0f2140;
}

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

/* Mobile menu overlay */
.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Button hover animations */
.btn-primary, .btn-outline {
    position: relative;
    overflow: hidden;
}

.btn-primary::after, .btn-outline::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.btn-primary:hover::after, .btn-outline:hover::after {
    opacity: 1;
}

/* Service card image hover */
.service-card-img {
    position: relative;
}

.service-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(15, 33, 64, 0.05) 100%);
    pointer-events: none;
}

/* Gallery image hover */
.gallery-item {
    overflow: hidden;
    border-radius: 12px;
}

.gallery-item img {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Section label animation */
.section-label {
    position: relative;
    display: inline-block;
}

.section-label::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #2dd4a0, transparent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .hero-split {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .hero-content {
        min-height: auto;
        padding: 7rem 5% 4rem;
    }

    .hero-image-side {
        height: 50vh;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .hero-image-side {
        height: 40vh;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-content p {
        font-size: 1rem;
    }

    .service-card-img {
        height: 180px;
    }
}

/* Print styles */
@media print {
    .navbar, .mobile-menu, .cta-section {
        display: none;
    }

    body {
        color: #000;
        background: #fff;
    }

    .hero-split {
        min-height: auto;
    }

    .hero-content {
        background: #f5f5f5;
    }
}
