/* Wellness With Dr. Nicole - Custom Stylesheet */

/* --- 1. GLOBAL SETTINGS & SAGE GREEN COLOR PALETTE --- */
:root {
    --color-dark: #3F3B3B;             /* Charcoal from Logo */
    --color-background: #fff;         /* Main Background */
    --color-accent-light: #F0F5F1;     /* Light Sage Accent BG */
    --color-accent-primary: #799470;   /* Primary Sage Green for Buttons */
    --color-accent-secondary: #637a5b; /* Darker Sage for Hover */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background-color: var(--color-background);
    color: var(--color-dark);
    line-height: 1.7;
    font-size: 17px;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.container.narrow {
    max-width: 800px;
}

h1, h2, h3 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    margin-top: 0;
    color: var(--color-dark);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; text-align: center; margin-bottom: 2rem;}
h3 { font-size: 1.5rem; }
p { margin-bottom: 1rem; }
a { color: var(--color-accent-primary); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--color-accent-secondary); }

/* --- 2. JAVASCRIPT ANIMATIONS --- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- 3. HEADER & NAVIGATION --- */
.main-header {
    background: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}
.main-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-dark);
}
.logo:hover { text-decoration: none; color: var(--color-accent-primary); }
.main-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 25px;
}

/* --- 4. BUTTONS --- */
.button {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}
.button:hover { text-decoration: none; }
.button-primary {
    background-color: var(--color-accent-primary);
    color: #fff;
    border-color: var(--color-accent-primary);
}
.button-primary:hover {
    background-color: var(--color-accent-secondary);
    border-color: var(--color-accent-secondary);
    transform: translateY(-2px);
}
.button-secondary {
    background-color: transparent;
    color: var(--color-accent-primary);
    border-color: var(--color-accent-primary);
}
.button-secondary:hover {
    background-color: var(--color-accent-primary);
    color: #fff;
}

/* --- 5. PAGE SECTIONS --- */
section { padding: 80px 0; }
.hero-section {
    background-color: var(--color-accent-light);
    text-align: center;
    padding: 100px 0;
}
.hero-section .subtitle, .section-subtitle {
    font-size: 1.2rem;
    max-width: 650px;
    margin: 1rem auto 2rem auto;
    text-align: center;
}
.content-section { background-color: var(--color-background); }
.content-section-accent { background-color: var(--color-accent-light); }
.content-section-dark { background-color: var(--color-dark); color: #f0f0f0; }
.content-section-dark h2, .content-section-dark a { color: #fff; }
.content-section-dark a:hover { color: var(--color-accent-light); }


/* --- 6. GRIDS & LAYOUTS --- */
.three-column-grid, .two-column-grid {
    display: grid;
    gap: 30px;
}
.three-column-grid { grid-template-columns: repeat(3, 1fr); }
.two-column-grid { grid-template-columns: repeat(2, 1fr); }
.two-column-grid-varied { display: grid; gap: 40px; grid-template-columns: 2fr 1fr; align-items: start; }

/* --- 7. COMPONENT STYLES --- */

/* About Me Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    align-items: center;
}
.about-photo img {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.about-text p {
    font-size: 1.1rem;
    text-align: left;
}
#about h2 { margin-bottom: 2rem; }

/* Feature Boxes */
.feature-box {
    text-align: center;
    padding: 20px;
}

/* Onboarding Fee Notice */
.onboarding-fee {
    text-align: center;
    background: var(--color-accent-light);
    padding: 20px;
    border-radius: 8px;
    margin: 0 auto 40px auto;
    max-width: 800px;
}

/* Membership Plan Cards */
.plan-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    background: #fff;
}
.plan-card.featured {
    border: 2px solid var(--color-accent-primary);
    transform: scale(1.02);
}
.plan-card .price { font-size: 2.5rem; font-weight: 700; color: var(--color-dark); }
.plan-card .price span { font-size: 1rem; font-weight: 400; color: #777; }
.plan-card .description { font-style: italic; }
.plan-card ul { list-style: '✓'; padding-left: 20px; flex-grow: 1; }
.plan-card ul li { padding-left: 10px; margin-bottom: 10px; }
.plan-card .payment-buttons { margin-top: auto; display: grid; gap: 10px; }
.plan-card .save-note { font-size: 0.85rem; text-align: center; margin-top: 10px; }

/* How to Join Steps */
.steps { list-style: none; padding: 0; counter-reset: steps-counter; }
.steps li { counter-increment: steps-counter; position: relative; padding-left: 50px; margin-bottom: 2rem; }
.steps li::before {
    content: counter(steps-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 35px;
    height: 35px;
    background: var(--color-accent-primary);
    border-radius: 50%;
    color: #fff;
    display: grid;
    place-content: center;
    font-weight: 700;
}
.steps li p { margin-top: 0.5rem; color: #ccc; }

/* FAQ Accordion */
details { border-bottom: 1px solid #eee; padding: 1rem 0; }
summary { cursor: pointer; font-weight: 700; list-style: none; position: relative; padding-right: 25px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: '+'; position: absolute; right: 5px; font-size: 1.5rem; color: var(--color-accent-primary); }
details[open] summary::after { content: '−'; }
details p { margin-top: 1rem; }

/* Supplements Section */
.supplements-column { text-align: center; }
.fullscript-button { max-width: 250px; width: 100%; height: auto; margin-top: 1rem; transition: transform 0.3s ease; }
.fullscript-button:hover { transform: scale(1.05); }

/* --- 8. FOOTER --- */
.main-footer {
    background: var(--color-dark);
    color: #ccc;
    text-align: center;
    padding: 40px 20px;
}
.footer-logo {
    max-width: 120px;
    height: auto;
    margin-bottom: 1rem;
    /* The grayscale filter has been removed so the logo shows its natural colors */
}
.main-footer .footer-contact { font-size: 1.1rem; }
.main-footer a { color: #fff; }
.footer-license {
    font-size: 0.9rem;
    color: #aaa;
    margin-top: 0.5rem;
}
.footer-legal {
    max-width: 600px;
    margin: 2rem auto;
    text-align: left;
    font-size: 0.9rem;
}
.privacy-policy {
    border: 1px solid #555;
    border-radius: 8px;
    padding: 10px 15px;
    margin-bottom: 1.5rem;
}
.privacy-policy summary { color: #fff; }
.privacy-policy p { font-size: 0.85rem; line-height: 1.6; }
.main-footer .disclaimer { font-size: 0.8rem; line-height: 1.6; }
.main-footer .copyright { font-size: 0.9rem; margin-top: 2rem; color: #888; }

/* --- 9. RESPONSIVE DESIGN --- */
@media (max-width: 900px) {
    .three-column-grid, .two-column-grid, .two-column-grid-varied {
        grid-template-columns: 1fr;
    }
    .main-header .button { display: none; }
    h1 { font-size: 2.8rem; }
    h2 { font-size: 2rem; }
    .about-grid { grid-template-columns: 1fr; text-align: center; }
    .about-photo { margin: 0 auto 2rem auto; }
    .about-text p { text-align: center; }
}
@media (max-width: 600px) {
    .main-nav { display: none; }
    .main-header .container { justify-content: center; }
    h1 { font-size: 2.2rem; }
    section { padding: 60px 0; }
}
