/* ========================================
   Dr. Suzanne R. Lucot — Custom Styles
   ======================================== */

/* --- Custom Properties --- */
:root {
    --color-midnight-900: #051424;
    --color-midnight-800: #0A2342;
    --color-midnight-700: #0F3460;
    --color-mint-50: #F0FBF9;
    --color-mint-100: #D8F5EF;
    --color-mint-200: #B8EDE0;
    --color-mint-400: #5CC4B8;
    --color-mint-500: #4ECDC4;
    --color-mint-600: #3DB8AD;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: 'Inter', system-ui, sans-serif;
    color: #0A2342;
    background-color: #ffffff;
    overflow-x: hidden;
}

/* --- Header Scroll State --- */
header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 1px 0 rgba(10, 35, 66, 0.06), 0 4px 20px rgba(10, 35, 66, 0.04);
}

header.scrolled .menu-line {
    background-color: #0A2342;
}

/* --- Navigation Links --- */
.nav-link {
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: linear-gradient(90deg, #4ECDC4, #5CC4B8);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* --- Mobile Menu --- */
.mobile-nav-link {
    position: relative;
}

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

#mobileMenu.close {
    opacity: 0;
    pointer-events: none;
}

/* --- Hero Blobs --- */
.hero-blob {
    animation: blobFloat 20s ease-in-out infinite;
}

.blob-1 {
    background: radial-gradient(circle, rgba(78, 205, 196, 0.4) 0%, transparent 70%);
    animation-delay: 0s;
}

.blob-2 {
    background: radial-gradient(circle, rgba(10, 35, 66, 0.15) 0%, transparent 70%);
    animation-delay: -7s;
}

.blob-3 {
    background: radial-gradient(circle, rgba(78, 205, 196, 0.3) 0%, transparent 70%);
    animation-delay: -14s;
}

@keyframes blobFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    25% {
        transform: translate(30px, -30px) scale(1.05);
    }
    50% {
        transform: translate(-20px, 20px) scale(0.95);
    }
    75% {
        transform: translate(15px, 10px) scale(1.02);
    }
}

/* --- Hero Animations --- */
.hero-elem {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-elem:nth-child(1) { transition-delay: 0.1s; }
.hero-elem:nth-child(2) { transition-delay: 0.3s; }
.hero-elem:nth-child(3) { transition-delay: 0.5s; }
.hero-elem:nth-child(4) { transition-delay: 0.7s; }
.hero-elem:nth-child(5) { transition-delay: 0.9s; }

.hero-elem.animate-in {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* --- Scroll Indicator --- */
.scroll-indicator {
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.scroll-indicator:hover {
    opacity: 1;
}

/* --- Reveal on Scroll --- */
.reveal-on-scroll {
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-on-scroll.revealed {
    opacity: 1 !important;
    transform: translate(0, 0) !important;
}

/* --- Service Cards --- */
.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #4ECDC4, #5CC4B8);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* --- Approach Cards --- */
.approach-card {
    position: relative;
}

/* --- Testimonial Cards --- */
.testimonial-card {
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 20px;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 6rem;
    font-weight: 700;
    color: rgba(78, 205, 196, 0.15);
    line-height: 1;
    pointer-events: none;
}

/* --- Form Inputs --- */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.15);
}

/* --- Button Hover Effects --- */
button[type="submit"]:hover {
    transform: translateY(-1px);
}

button[type="submit"]:active {
    transform: translateY(0);
}

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

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

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #4ECDC4, #5CC4B8);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #3DB8AD, #4ECDC4);
}

/* --- Selection --- */
::selection {
    background: rgba(78, 205, 196, 0.3);
    color: #0A2342;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .font-serif {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
