/* ============================================
   Dr. Varsha Bhatnagar, PLLC — Stylesheet
   Warm, professional, trustworthy design
   ============================================ */

:root {
    /* Color Palette — Warm sage green + neutrals */
    --color-primary: #5B7B6F;
    --color-primary-light: #7A9B8E;
    --color-primary-dark: #3D5A4F;
    --color-accent: #C4A882;
    --color-accent-light: #D9C4A8;
    --color-bg: #FAFAF7;
    --color-bg-alt: #F2EDE6;
    --color-text: #2C3E36;
    --color-text-light: #5A6B63;
    --color-text-muted: #8A9690;
    --color-white: #FFFFFF;
    --color-border: #E0D8CE;

    /* Typography */
    --font-heading: 'Lora', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    --space-2xl: 6rem;

    /* Border radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.1);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

img {
    max-width: 100%;
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-primary-dark);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(250, 250, 247, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid var(--color-border);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    letter-spacing: -0.01em;
}

.nav-brand:hover {
    color: var(--color-primary);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: var(--space-lg);
    align-items: center;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-light);
    letter-spacing: 0.02em;
    transition: color 0.3s ease;
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.nav-cta {
    background: var(--color-primary);
    color: var(--color-white) !important;
    padding: 0.5rem 1.25rem;
    border-radius: var(--radius-sm);
    transition: background 0.3s ease, color 0.3s ease !important;
}

.nav-cta:hover {
    background: var(--color-primary-dark);
    color: var(--color-white) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    background: none;
    border: none;
    gap: 5px;
    padding: 4px;
}

.nav-toggle span {
    width: 24px;
    height: 2px;
    background: var(--color-text);
    transition: all 0.3s ease;
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
    padding: calc(72px + var(--space-2xl)) 0 var(--space-2xl);
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-bg-alt) 100%);
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
    align-items: center;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    line-height: 1.2;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-light);
    margin-bottom: var(--space-sm);
    font-weight: 400;
}

.hero-tagline {
    font-family: var(--font-heading);
    font-style: italic;
    color: var(--color-text-muted);
    margin-bottom: var(--space-lg);
    font-size: 1rem;
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-shape {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-primary-light) 0%, var(--color-accent-light) 100%);
    opacity: 0.4;
    position: relative;
}

.hero-shape::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    border-radius: 50%;
    border: 2px solid var(--color-primary-light);
    opacity: 0.5;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-block;
    padding: 0.85rem 2rem;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    color: var(--color-white);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* ============================================
   Sections
   ============================================ */
.section {
    padding: var(--space-2xl) 0;
}

.section-alt {
    background-color: var(--color-bg-alt);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 600;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.01em;
}

.section-divider {
    width: 50px;
    height: 3px;
    background: var(--color-accent);
    margin: 0 auto;
    border-radius: 2px;
}

.section-subtitle {
    color: var(--color-text-muted);
    margin-top: var(--space-sm);
    font-size: 1.05rem;
}

/* ============================================
   About Section
   ============================================ */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-xl);
    align-items: start;
}

.placeholder-image {
    width: 100%;
    aspect-ratio: 3/4;
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-border) 100%);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed var(--color-border);
}

.placeholder-image span {
    color: var(--color-text-muted);
    font-size: 0.9rem;
    font-style: italic;
}

.about-text p {
    margin-bottom: var(--space-md);
    font-size: 1.05rem;
    line-height: 1.8;
}

.placeholder-text {
    color: var(--color-text-muted);
    font-style: italic;
    background: var(--color-bg-alt);
    padding: var(--space-md);
    border-radius: var(--radius-md);
    border-left: 3px solid var(--color-accent);
}

/* ============================================
   Services Section
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.service-card {
    background: var(--color-white);
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.service-icon {
    width: 48px;
    height: 48px;
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-xs);
}

.service-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    font-style: italic;
}

/* ============================================
   Credentials Section
   ============================================ */
.credentials-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.credential-group h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: var(--color-primary-dark);
    margin-bottom: var(--space-sm);
    padding-bottom: var(--space-xs);
    border-bottom: 2px solid var(--color-accent);
}

.credential-list {
    list-style: none;
}

.credential-list li {
    padding: var(--space-xs) 0;
    color: var(--color-text-muted);
    font-style: italic;
    font-size: 0.95rem;
    border-bottom: 1px solid var(--color-border);
}

.credential-list li:last-child {
    border-bottom: none;
}

/* ============================================
   Approach Section
   ============================================ */
.approach-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.approach-quote {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-style: italic;
    color: var(--color-primary-dark);
    line-height: 1.6;
    margin-bottom: var(--space-lg);
    padding: var(--space-lg);
    background: var(--color-white);
    border-radius: var(--radius-lg);
    border-left: 4px solid var(--color-accent);
    text-align: left;
}

/* ============================================
   Contact Section
   ============================================ */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--color-border);
}

.contact-item:last-of-type {
    border-bottom: none;
}

.contact-item svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    color: var(--color-primary);
    margin-top: 2px;
}

.contact-item h4 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--color-primary-dark);
    margin-bottom: 2px;
}

.contact-item p {
    color: var(--color-text-muted);
    font-style: italic;
    font-size: 0.95rem;
}

.contact-note {
    margin-top: var(--space-lg);
    padding: var(--space-md);
    background: var(--color-bg-alt);
    border-radius: var(--radius-md);
    text-align: center;
}

.contact-note p {
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--color-primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: var(--space-lg) 0;
    text-align: center;
    font-size: 0.85rem;
}

.footer-note {
    margin-top: var(--space-xs);
    font-size: 0.8rem;
    opacity: 0.7;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(250, 250, 247, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: var(--space-lg);
        gap: var(--space-md);
        border-bottom: 1px solid var(--color-border);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        pointer-events: none;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .hero-visual {
        display: none;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .about-image {
        max-width: 300px;
        margin: 0 auto;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .credentials-content {
        grid-template-columns: 1fr;
    }

    .section {
        padding: var(--space-xl) 0;
    }

    .hero {
        min-height: auto;
        padding: calc(72px + var(--space-xl)) 0 var(--space-xl);
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .nav-brand {
        font-size: 0.95rem;
    }

    .section-header h2 {
        font-size: 1.6rem;
    }
}
