/* ========================================
   Sheila Kelly MFT — Custom Styles
   Plum + Amber | Clean Minimalist
   ======================================== */

/* Base styles */
html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    overflow-x: hidden;
}

/* Selection color */
::selection {
    background-color: #fbcfe8;
    color: #500724;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: #fdf4f8;
}

::-webkit-scrollbar-thumb {
    background: #f9a8d4;
    border-radius: 3px;
}

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

/* ========================================
   Navbar
   ======================================== */
#navbar {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

#navbar.scrolled {
    border-bottom-color: #fbcfe8;
    box-shadow: 0 1px 20px rgba(157, 23, 77, 0.05);
}

/* ========================================
   Mobile Menu
   ======================================== */
#mobile-menu.active {
    opacity: 1;
    pointer-events: all;
}

#mobile-menu.active .mobile-link {
    animation: fadeUp 0.4s ease forwards;
    opacity: 1;
}

#mobile-menu .mobile-link:nth-child(1) { animation-delay: 0.05s; }
#mobile-menu .mobile-link:nth-child(2) { animation-delay: 0.1s; }
#mobile-menu .mobile-link:nth-child(3) { animation-delay: 0.15s; }
#mobile-menu .mobile-link:nth-child(4) { animation-delay: 0.2s; }
#mobile-menu .mobile-link:nth-child(5) { animation-delay: 0.25s; }

/* Menu toggle animation */
#menu-toggle.active .menu-line:nth-child(1) {
    transform: rotate(45deg) translate(3px, 3px);
}

#menu-toggle.active .menu-line:nth-child(2) {
    opacity: 0;
    transform: translateX(10px);
}

#menu-toggle.active .menu-line:nth-child(3) {
    width: 24px;
    transform: rotate(-45deg) translate(3px, -3px);
}

/* ========================================
   Hero Scroll Indicator
   ======================================== */
@keyframes scroll {
    0% { transform: translateY(-100%); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100%); opacity: 0; }
}

.scroll-line {
    animation: scroll 1.5s ease-in-out infinite;
}

/* ========================================
   Reveal Animations
   ======================================== */
.reveal-left,
.reveal-right,
.reveal-up {
    opacity: 1;
    transform: none;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .reveal-left {
        transform: translateX(-30px);
        opacity: 0;
    }
    
    .reveal-right {
        transform: translateX(30px);
        opacity: 0;
    }
    
    .reveal-up {
        transform: translateY(30px);
        opacity: 0;
    }
    
    .reveal-left.visible,
    .reveal-right.visible,
    .reveal-up.visible {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
}

/* ========================================
   Service Items
   ======================================== */
.service-item {
    transition: padding-left 0.3s ease;
}

.service-item:hover {
    padding-left: 8px;
}

/* ========================================
   Form Focus States
   ======================================== */
input:focus,
textarea:focus {
    border-bottom-color: #be185d !important;
}

input:focus + .focus-indicator,
textarea:focus + .focus-indicator {
    width: 100%;
}

/* ========================================
   Image Hover
   ======================================== */
aspect-ratio\:3\/4 img,
aspect-square img {
    transition: transform 0.6s ease;
}

aspect-ratio\:3\/4:hover img,
aspect-square:hover img {
    transform: scale(1.02);
}

/* ========================================
   Utility
   ======================================== */
.no-scroll {
    overflow: hidden;
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
    nav, #contact-form, .scroll-indicator {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
