/* ===== Custom Styles for Beauty Source LLC ===== */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #131318;
}
::-webkit-scrollbar-thumb {
    background: #F97316;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #ea6c0a;
}

/* ===== Navbar ===== */
#navbar.scrolled {
    background: rgba(19, 19, 24, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ===== Hero ===== */
#hero {
    position: relative;
}

/* ===== Product Cards ===== */
.product-card {
    position: relative;
    overflow: hidden;
}

.product-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    pointer-events: none;
    transition: border-color 0.5s ease;
}

.product-card:hover::after {
    border-color: rgba(249, 115, 22, 0.4);
}

/* ===== Service Cards ===== */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #F97316, #fb923c);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* ===== Testimonial Cards ===== */
.testimonial-card {
    transition: transform 0.5s ease, box-shadow 0.5s ease, border-color 0.5s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
}

/* ===== Scroll Reveal Animations ===== */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .scroll-reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .product-card img,
    .testimonial-card {
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
}

/* ===== Mobile Menu ===== */
#mobileMenu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Button Hover Effects ===== */
button, a {
    transition: all 0.3s ease;
}

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

/* ===== Responsive Adjustments ===== */
@media (max-width: 768px) {
    .font-serif {
        font-size: 2.25rem;
    }
}
