/* ============================================
   Florence Podiatry Associates — Custom Styles
   ============================================ */

/* Base Reset & Typography */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    overflow-x: hidden;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0d1e28;
}
::-webkit-scrollbar-thumb {
    background: #2e5a6e;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #4ade80;
}

/* Selection */
::selection {
    background: #4ade80;
    color: #0d1e28;
}

/* ============================================
   Navigation
   ============================================ */

.nav-text-white {
    color: rgba(255, 255, 255, 0.9);
}

.nav-link {
    color: rgba(255, 255, 255, 0.8);
}

.nav-bg-white {
    background: white;
}

.nav-border-white\/30 {
    border-color: rgba(255, 255, 255, 0.3);
}

/* Scrolled state */
.nav-scrolled {
    background: rgba(6, 15, 22, 0.95) !important;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

.nav-scrolled .nav-text-white {
    color: rgba(255, 255, 255, 0.95);
}

.nav-scrolled .nav-border-white\/30 {
    border-color: rgba(255, 255, 255, 0.2);
}

/* Mobile menu link */
.mobile-nav-link {
    transition: color 0.3s ease;
}

/* ============================================
   Reveal Animations (Progressive Enhancement)
   ============================================ */

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

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

    /* Default state is visible for accessibility */
    .reveal {
        opacity: 1;
    }
}

/* ============================================
   Form Styles
   ============================================ */

input:focus,
select:focus,
textarea:focus {
    outline: none;
}

input::placeholder,
textarea::placeholder {
    color: #a8bec8;
}

/* ============================================
   Card Hover Effects
   ============================================ */

.group:hover .group-hover\:text-mint-400 {
    color: #4ade80;
}

/* ============================================
   Button Ripple Effect
   ============================================ */

button, a {
    -webkit-tap-highlight-color: transparent;
}

/* ============================================
   Mobile Menu Transitions
   ============================================ */

#mobile-menu {
    transition: opacity 0.4s ease, pointer-events 0.4s ease;
}

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

/* ============================================
   Print Styles
   ============================================ */

@media print {
    nav, #contact-form, iframe {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
