/* Custom styles for Cosmetic and Reconstructive Surgery website */

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

/* Scroll reveal animations - progressive enhancement */
.scroll-reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

@media (prefers-reduced-motion: no-preference) {
    .scroll-reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .scroll-reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Navbar scroll effect */
#navbar.scrolled {
    box-shadow: 0 1px 20px rgba(123, 45, 59, 0.08);
}

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

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

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

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

/* Selection color */
::selection {
    background: #f9c5cc;
    color: #6c1a2e;
}

/* Form focus styles */
input:focus,
select:focus,
textarea:focus {
    outline: none;
}

/* Mobile menu transition */
#mobile-menu {
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

/* Image hover zoom */
img {
    transition: transform 0.3s ease;
}

/* Button ripple effect */
button, a {
    -webkit-tap-highlight-color: transparent;
}

/* Ensure hero content is always visible */
#hero h1,
#hero p,
#hero .inline-flex,
#hero .flex {
    opacity: 1 !important;
    transform: none !important;
}

/* Print styles */
@media print {
    #navbar, #mobile-menu, .scroll-reveal {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
