/* ============================================
   Dr. Danny Roussel — Clinical Psychology
   Premium Dark Luxury + Forest Green Theme
   ============================================ */

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

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

body {
    overflow-x: hidden;
}

::selection {
    background-color: rgba(76, 175, 80, 0.3);
    color: #fbfaf6;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #061a08;
}
::-webkit-scrollbar-thumb {
    background: #1b5e20;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #2e7d32;
}

/* ============================================
   Navbar
   ============================================ */
#navbar {
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

#navbar.scrolled {
    background: rgba(2, 12, 4, 0.92);
    border-bottom: 1px solid rgba(27, 94, 32, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

/* ============================================
   Hero Section
   ============================================ */
#hero {
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 70% 40%, rgba(27, 94, 32, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0), transparent);
    transition: background 0.5s ease;
}

.service-card:hover::before {
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.5), transparent);
}

/* ============================================
   FAQ
   ============================================ */
.faq-item {
    transition: border-color 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(27, 94, 32, 0.4);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-content.open {
    max-height: 300px;
}

/* ============================================
   Form Inputs
   ============================================ */
input:focus,
select:focus,
textarea:focus {
    box-shadow: 0 0 0 1px rgba(76, 175, 80, 0.3);
}

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

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

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .reveal {
        opacity: 1;
        transform: none;
        transition: none;
    }
    html {
        scroll-behavior: auto;
    }
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ============================================
   Mobile Menu
   ============================================ */
#mobile-menu {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.mobile-link {
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(27, 94, 32, 0.15);
}

.mobile-link:last-child {
    border-bottom: none;
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 768px) {
    .font-serif {
        line-height: 1.2;
    }
}
