/* ============================================
   Strp N Stone Physical Therapy — Custom Styles
   ============================================ */

/* Base */
html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', Georgia, serif;
}

/* Navigation */
.nav-scrolled {
    background: rgba(253, 248, 240, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 1px 0 rgba(5, 150, 105, 0.08);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background 0.3s ease;
}

.nav-scrolled .nav-link {
    color: rgba(5, 150, 105, 0.7);
}

/* Hero */
.hero {
    padding-top: 100px;
    background: linear-gradient(135deg, #FDF8F0 0%, #FAF0E0 50%, #F5E6CC 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.04) 0%, transparent 70%);
    pointer-events: none;
}

/* Floating Cards */
.floating-card {
    z-index: 10;
}

.card-float-1 {
    animation: float-slow 6s ease-in-out infinite;
}

.card-float-2 {
    animation: float-medium 5s ease-in-out infinite;
    animation-delay: -1.5s;
}

.card-float-3 {
    animation: float-slow 7s ease-in-out infinite;
    animation-delay: -3s;
}

@keyframes float-slow {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes float-medium {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-8px); }
}

/* Cards */
.card-main {
    box-shadow: 0 25px 50px -12px rgba(2, 44, 34, 0.15);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    background: #059669;
    color: #ffffff;
    font-weight: 600;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 2px solid #059669;
}

.btn-primary:hover {
    background: #047857;
    border-color: #047857;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(5, 150, 105, 0.35);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #059669;
    font-weight: 600;
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    text-decoration: none;
    transition: all 0.25s ease;
    border: 2px solid rgba(5, 150, 105, 0.3);
}

.btn-secondary:hover {
    border-color: #059669;
    background: rgba(5, 150, 105, 0.06);
    transform: translateY(-2px);
}

/* Service Cards */
.service-card {
    opacity: 1;
}

.service-card:hover .w-14 {
    transform: scale(1.05);
}

/* Process Steps */
.process-step {
    opacity: 1;
}

/* Input Fields */
.input-field {
    border: 1.5px solid rgba(5, 150, 105, 0.15);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    color: #022C22;
    background: #ffffff;
    transition: all 0.2s ease;
    font-family: 'Inter', system-ui, sans-serif;
    width: 100%;
    box-sizing: border-box;
}

.input-field:focus {
    outline: none;
    border-color: #059669;
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
}

.input-field::placeholder {
    color: rgba(5, 150, 105, 0.35);
}

.input-field:hover {
    border-color: rgba(5, 150, 105, 0.35);
}

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

.mobile-menu.hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

.mobile-menu:not(.hidden) {
    max-height: 400px;
    opacity: 1;
}

.mobile-menu-link {
    display: block;
    text-decoration: none;
}

.mobile-menu-link:hover {
    color: #059669;
}

/* Scroll Reveal */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Accessibility: Reduced motion */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    .floating-card {
        animation: none;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .btn-primary, .btn-secondary {
        transition: none;
    }
}

/* Responsive */
@media (max-width: 640px) {
    .hero {
        padding-top: 88px;
    }
    
    .floating-card {
        display: none;
    }
    
    .card-main img {
        height: 200px;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .floating-card {
        display: none;
    }
}
