/* ============================================
   Craft Blondes and Color — Custom Styles
   ============================================ */

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

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #fdf6f5;
}
::-webkit-scrollbar-thumb {
    background: #c4a69e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #7B2D3B;
}

/* Selection color */
::selection {
    background: #f9c4cc;
    color: #5e1f2b;
}

/* ============================================
   Navigation
   ============================================ */
.nav-text {
    color: #5e1f2b;
}
.nav-text-sub {
    color: #c23252;
}

/* Transparent nav state (on hero) */
.nav-scrolled .nav-text {
    color: #5e1f2b;
}
.nav-scrolled .nav-text-sub {
    color: #c23252;
}

/* ============================================
   Reveal Animations
   ============================================ */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), 
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal[data-reveal-delay="1"] {
    transition-delay: 0.1s;
}
.reveal[data-reveal-delay="2"] {
    transition-delay: 0.2s;
}
.reveal[data-reveal-delay="3"] {
    transition-delay: 0.3s;
}
.reveal[data-reveal-delay="4"] {
    transition-delay: 0.4s;
}
.reveal[data-reveal-delay="5"] {
    transition-delay: 0.5s;
}

/* ============================================
   Mobile Menu
   ============================================ */
.mobile-menu-open {
    overflow: hidden;
}

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

#mobile-menu.menu-closed {
    opacity: 0;
    pointer-events: none;
}

/* Menu button animations */
.menu-line {
    transition: all 0.4s cubic-bezier(0.68, -0.6, 0.32, 1.6);
}

#menu-btn.active .menu-line:nth-child(1) {
    transform: translateY(6px) rotate(45deg);
}
#menu-btn.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}
#menu-btn.active .menu-line:nth-child(3) {
    transform: translateY(-6px) rotate(-45deg);
    width: 1.5rem;
}

/* ============================================
   Gallery Hover Effects
   ============================================ */
.gallery-item {
    position: relative;
    overflow: hidden;
}

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

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

/* ============================================
   Card Hover Effects
   ============================================ */
.service-card {
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

/* ============================================
   Button Hover Effects
   ============================================ */
.btn-elegant {
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn-elegant::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s ease;
}

.btn-elegant:hover::before {
    left: 100%;
}

/* ============================================
   Form Styles
   ============================================ */
input:focus,
textarea:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(123, 45, 59, 0.1);
}

/* ============================================
   Testimonial Card
   ============================================ */
.testimonial-card {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* ============================================
   Decorative Elements
   ============================================ */
.gradient-blur {
    filter: blur(60px);
    opacity: 0.4;
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    nav, #back-to-top, .animate-bounce {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    .bg-gradient-to-br {
        background: #f5f5f5 !important;
    }
}
