/* index.css — Styles specific to the homepage */
:root { --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); }

body {
    color: var(--color-bark);
    background-color: var(--color-dawn);
    line-height: 1.75;
    overflow-x: hidden;
}

h1 { font-size: clamp(2rem, 6vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 4vw, 3rem); color: var(--color-forest); margin-bottom: 1.5rem; }
h3 { font-size: 1.4rem; color: var(--color-deep-forest); margin-bottom: 0.75rem; }
p { color: var(--color-earth); margin-bottom: 1.25rem; }
a { color: var(--color-forest); }

.container { max-width: 1200px; }
section { padding: 6rem 0; position: relative; }

.logo { font-size: 1.4rem; }
.logo-icon { width: 32px; height: 32px; }

/* Hero with Forest Path */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    background: url('images/hero-bg.png') no-repeat center center;
    background-size: cover;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(13, 26, 13, 0.55) 0%, rgba(26, 46, 26, 0.45) 50%, rgba(45, 74, 45, 0.55) 100%);
    pointer-events: none;
}

.particles { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; pointer-events: none; }
.particle {
    position: absolute; width: 4px; height: 4px;
    background: var(--color-sunbeam); border-radius: 50%; opacity: 0;
    box-shadow: 0 0 10px 2px rgba(232, 196, 154, 0.6);
    animation: float-particle 10s ease-in-out infinite;
}
@keyframes float-particle {
    0%, 100% { opacity: 0; transform: translateY(100vh) scale(0.5); }
    10% { opacity: 0.9; } 90% { opacity: 0.9; }
    100% { opacity: 0; transform: translateY(-20vh) scale(1); }
}

.hero-content { position: relative; z-index: 10; max-width: 700px; width: 100%; animation: fadeUp 1.2s ease-out; padding-top: 5rem; overflow-wrap: break-word; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } to { opacity: 1; transform: translateY(0); } }

.hero-tagline {
    display: inline-flex; align-items: center; gap: 0.5rem;
    font-size: 0.85rem; letter-spacing: 0.15em; text-transform: uppercase;
    color: var(--color-golden-hour); margin-bottom: 1.5rem;
    padding: 0.5rem 1.25rem;
    background: rgba(212, 165, 116, 0.15);
    border: 1px solid rgba(212, 165, 116, 0.3);
    border-radius: 2rem;
    max-width: 100%; flex-wrap: wrap;
}

.hero h1 { color: var(--color-warm-glow); margin-bottom: 1.5rem; text-shadow: 0 2px 30px rgba(0,0,0,0.4); }
.hero h1 em { font-style: italic; color: var(--color-golden-hour); }
.hero-description { font-size: 1.15rem; color: var(--color-morning-light); max-width: 600px; margin-bottom: 2.5rem; line-height: 1.9; text-shadow: 0 1px 8px rgba(0,0,0,0.5); }

.btn { padding: 1rem 2rem; gap: 0.75rem; }
.btn-primary:hover { box-shadow: 0 10px 30px rgba(212, 165, 116, 0.4); }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.forest-transition { display: none; }

.about-practice { background: var(--color-deep-forest); }
.about-practice h2, .about-practice h3, .about-practice h4 { color: var(--color-warm-glow); }
.about-practice p { color: var(--color-mist); }
.about-content { max-width: 800px; margin: 0 auto; text-align: center; }
.about-content h2::before { content: ''; display: block; width: 60px; height: 3px; background: linear-gradient(90deg, var(--color-golden-hour), var(--color-sunbeam)); margin: 0 auto 1.5rem; }

.telehealth-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(212, 165, 116, 0.2); color: var(--color-sunbeam);
    padding: 0.6rem 1.2rem; border-radius: 2rem; font-size: 0.9rem; margin-bottom: 2rem;
    border: 1px solid rgba(212, 165, 116, 0.3);
}

.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; margin-top: 3rem; }
.value-item { text-align: center; padding: 1.5rem; }
.value-icon { width: 60px; height: 60px; background: rgba(212, 165, 116, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-size: 1.5rem; }
.value-item h4 { font-family: var(--font-display); font-size: 1.2rem; color: var(--color-sunbeam); margin-bottom: 0.5rem; }
.value-item p { font-size: 0.95rem; margin-bottom: 0; color: var(--color-mist); }

.guides { background: var(--color-forest); padding: 7rem 0; }
.section-header { text-align: center; max-width: 700px; margin: 0 auto 4rem; }
.section-header h2 { color: var(--color-warm-glow); }
.section-header h2::before { content: ''; display: block; width: 60px; height: 3px; background: linear-gradient(90deg, var(--color-golden-hour), var(--color-sunbeam)); margin: 0 auto 1.5rem; }
.section-header p { font-size: 1.1rem; color: var(--color-mist); }

.guides-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; }
.guide-card { background: rgba(74, 103, 65, 0.3); border: 1px solid rgba(122, 158, 122, 0.3); border-radius: 1.5rem; overflow: hidden; transition: var(--transition-smooth); box-shadow: 0 10px 40px rgba(45, 74, 45, 0.08); position: relative; display: flex; flex-direction: column; }
.guide-card:hover { transform: translateY(-10px); box-shadow: 0 25px 60px rgba(45, 74, 45, 0.15); }
.guide-image { height: 280px; background: linear-gradient(145deg, var(--color-moss), var(--color-forest)); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.guide-image img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.guide-image span { color: var(--color-mist); font-family: var(--font-display); font-style: italic; }
.guide-content { padding: 2rem; flex: 1; display: flex; flex-direction: column; }
.guide-name { font-family: var(--font-display); font-size: 1.4rem; color: var(--color-mist); font-weight: 600; margin-bottom: 0.25rem; }
.guide-name a { color: inherit; }
.guide-name a:hover { color: var(--color-golden-hour); }
.guide-credentials { font-size: 0.8rem; color: var(--color-sage); margin-bottom: 1rem; }
.guide-bio { font-size: 0.9rem; color: var(--color-mist); margin-bottom: 1.25rem; line-height: 1.7; }
.guide-specialties { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.5rem; margin-top: auto; }
.specialty-tag { padding: 0.35rem 0.75rem; background: var(--color-morning-light); border-radius: 2rem; font-size: 0.75rem; color: var(--color-forest); border: 1px solid var(--color-mist); }
.specialty-tag.featured { background: var(--color-forest); color: var(--color-white); border-color: var(--color-forest); }
.guide-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: 0.95rem; font-weight: 500; color: var(--color-sunbeam); }
.guide-link:hover { color: var(--color-forest); }
.guide-badge { position: absolute; top: 1rem; right: 1rem; padding: 0.4rem 0.8rem; background: var(--color-golden-hour); color: var(--color-deep-forest); font-size: 0.7rem; font-weight: 500; text-transform: uppercase; border-radius: 2rem; }

.journey-preview { background: linear-gradient(180deg, var(--color-forest) 0%, var(--color-deep-forest) 100%); color: var(--color-white); }
.journey-preview h2 { color: var(--color-warm-glow); text-align: center; }
.journey-preview .section-header p { color: var(--color-mist); }
.journey-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; margin-top: 3rem; }
.journey-step { text-align: center; padding: 1.5rem; }
.step-number { width: 60px; height: 60px; background: var(--color-golden-hour); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; font-family: var(--font-display); font-size: 1.5rem; color: var(--color-deep-forest); box-shadow: 0 0 30px rgba(212, 165, 116, 0.3); }
.journey-step h4 { font-family: var(--font-display); font-size: 1.2rem; color: var(--color-sunbeam); margin-bottom: 0.5rem; }
.journey-step p { color: var(--color-mist); font-size: 0.9rem; margin-bottom: 0; }

.services-overview { background: var(--color-deep-forest); }
.services-overview .section-header h2 { color: var(--color-warm-glow); }
.services-overview .section-header p { color: var(--color-mist); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin-top: 3rem; }
.service-item { background: rgba(74, 103, 65, 0.3); padding: 2rem; border-radius: 1rem; border: 1px solid rgba(122, 158, 122, 0.3); transition: var(--transition-smooth); }
.service-item:hover { border-color: var(--color-golden-hour); transform: translateY(-3px); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); }
.service-item h4 { font-family: var(--font-display); font-size: 1.2rem; color: var(--color-sunbeam); margin-bottom: 0.5rem; }
.service-item p { font-size: 0.9rem; margin-bottom: 0; color: var(--color-mist); }

.contact { background: var(--color-forest); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start; }
.contact-info h2 { color: var(--color-warm-glow); }
.contact-info p { color: var(--color-mist); }
.contact-info h2::before { content: ''; display: block; width: 50px; height: 3px; background: linear-gradient(90deg, var(--color-golden-hour), var(--color-sunbeam)); margin-bottom: 1.5rem; }
.contact-details { margin-top: 2rem; }
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-icon { width: 45px; height: 45px; background: rgba(212, 165, 116, 0.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 1.1rem; }
.contact-item-text h4 { font-family: var(--font-body); font-weight: 500; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.08em; color: var(--color-sunbeam); margin-bottom: 0.25rem; }
.contact-item-text p { margin-bottom: 0; color: var(--color-mist); }
.contact-item-text a { color: var(--color-mist); }
.contact-form { background: rgba(74, 103, 65, 0.3); border: 1px solid rgba(122, 158, 122, 0.3); padding: 2.5rem; border-radius: 1.5rem; box-shadow: 0 20px 60px rgba(45, 74, 45, 0.08); }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.9rem; color: var(--color-mist); margin-bottom: 0.5rem; }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 0.9rem 1rem; font-family: var(--font-body); font-size: 1rem; border: 1px solid var(--color-mist); border-radius: 0.5rem; background: var(--color-dawn); color: var(--color-bark); transition: var(--transition-smooth); }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--color-sage); box-shadow: 0 0 0 3px rgba(122, 158, 122, 0.2); }
.form-group textarea { min-height: 100px; resize: vertical; }
.contact-form .btn { width: 100%; justify-content: center; background: var(--color-forest); color: var(--color-white); }
.contact-form .btn:hover { background: var(--color-deep-forest); }

footer { background: var(--color-deep-forest); color: var(--color-mist); padding: 4rem 0 2rem; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand .logo { color: var(--color-mist); margin-bottom: 1rem; display: block; flex-shrink: 0; }
.footer-brand .logo img { height: 120px; margin: 0; }
.footer-brand p { color: var(--color-sage); font-size: 0.95rem; }
.footer-links h4 { font-family: var(--font-body); font-weight: 500; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--color-sunbeam); margin-bottom: 1.25rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.75rem; }
.footer-links a { color: var(--color-sage); font-size: 0.95rem; }
.footer-bottom { padding-top: 2rem; border-top: 1px solid rgba(122, 158, 122, 0.2); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.footer-bottom p { font-size: 0.85rem; color: var(--color-sage); margin-bottom: 0; }
.crisis-line { background: rgba(212, 165, 116, 0.15); padding: 0.5rem 1rem; border-radius: 2rem; font-size: 0.85rem; color: var(--color-sunbeam); }

@media (max-width: 1024px) {
    .guides-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
    .journey-steps { grid-template-columns: repeat(2, 1fr); }
    .footer-content { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
    section { padding: 4rem 0; }
    .hero-buttons { flex-direction: column; align-items: flex-start; }
    .values-grid { grid-template-columns: 1fr; }
    .guides-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; }
    .journey-steps { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .footer-brand .logo { height: auto; }
    .footer-brand .logo img { height: 80px; margin: 0 auto; }
}
