/* ============================================================
   Naziya Charaniya NP-c — Primary Care Practice
   Classic & Elegant | Deep Navy + Warm Gold
   ============================================================ */

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

:root {
    --navy-950: #050e1c;
    --navy-900: #0a1f3f;
    --navy-800: #0f2d5a;
    --navy-700: #153d78;
    --navy-600: #1b4d96;
    --gold-500: #c9a84c;
    --gold-400: #d4b76a;
    --gold-300: #e0c988;
    --gold-200: #ecd9a8;
    --gold-100: #f5ecd0;
    --cream-50: #faf8f4;
    --cream-100: #f5f0e8;
    --cream-200: #ebe4d6;
    --warm-50: #fefcf9;
    --warm-100: #f9f4ec;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #6b6b6b;
    --white: #ffffff;
    --font-serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --shadow-sm: 0 1px 3px rgba(10,31,63,0.08);
    --shadow-md: 0 4px 16px rgba(10,31,63,0.10);
    --shadow-lg: 0 8px 32px rgba(10,31,63,0.12);
    --shadow-xl: 0 16px 48px rgba(10,31,63,0.14);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --transition: 0.3s ease;
}

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

body {
    font-family: var(--font-sans);
    color: var(--text-primary);
    background: var(--warm-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

.skip-link {
    position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
    background: var(--navy-900); color: var(--white); padding: 0.75rem 1.5rem;
    border-radius: 0 0 var(--radius-md) var(--radius-md); z-index: 9999;
    font-size: 0.875rem; font-weight: 500;
}
.skip-link:focus { top: 0; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- SCROLL REVEAL (progressive enhancement) ---------- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.7s ease, transform 0.7s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

/* ---------- HEADER ---------- */
.site-header {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(254,252,249,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(10,31,63,0.08);
    transition: box-shadow var(--transition);
}
.site-header.scrolled {
    box-shadow: var(--shadow-md);
}
.header-inner {
    display: flex; align-items: center; justify-content: space-between;
    height: 76px;
}
.logo {
    display: flex; align-items: center; gap: 0.75rem;
    color: var(--navy-900); font-family: var(--font-serif);
}
.logo-mark { color: var(--gold-500); flex-shrink: 0; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-name {
    font-size: 1.125rem; font-weight: 600; letter-spacing: 0.01em;
}
.logo-title {
    font-size: 0.7rem; font-family: var(--font-sans); font-weight: 500;
    letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold-500);
}
.logo-light { color: var(--white); }
.logo-light .logo-title { color: var(--gold-300); }

/* ---------- NAV ---------- */
.nav-menu {
    display: flex; align-items: center; gap: 0.25rem;
}
.nav-menu a {
    padding: 0.5rem 1rem; font-size: 0.875rem; font-weight: 500;
    color: var(--text-secondary); border-radius: var(--radius-sm);
    transition: color var(--transition), background var(--transition);
}
.nav-menu a:hover { color: var(--navy-900); background: rgba(10,31,63,0.05); }
.nav-cta {
    background: var(--navy-900) !important; color: var(--white) !important;
    border-radius: var(--radius-md) !important; margin-left: 0.5rem;
    padding: 0.6rem 1.25rem !important;
    transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--navy-800) !important; transform: translateY(-1px); }

.nav-toggle {
    display: none; background: none; border: none; padding: 0.5rem;
    color: var(--navy-900);
}
.hamburger {
    display: block; width: 22px; height: 2px; background: currentColor;
    position: relative; transition: background 0.2s;
}
.hamburger::before, .hamburger::after {
    content: ''; position: absolute; left: 0; width: 100%; height: 2px;
    background: currentColor; transition: transform 0.3s;
}
.hamburger::before { top: -6px; }
.hamburger::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { transform: rotate(45deg); top: 0; }
.nav-toggle[aria-expanded="true"] .hamburger::after { transform: rotate(-45deg); top: 0; }

/* ---------- HERO ---------- */
.hero {
    position: relative; min-height: 100vh; display: flex; align-items: center;
    overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
}
.hero-bg img {
    width: 100%; height: 100%; object-fit: cover;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(
        135deg,
        rgba(5,14,28,0.88) 0%,
        rgba(10,31,63,0.82) 50%,
        rgba(15,45,90,0.75) 100%
    );
}
.hero-content {
    position: relative; z-index: 1; padding-top: 76px; padding-bottom: 4rem;
    width: 100%;
}
.hero-inner {
    max-width: 720px; text-align: center; margin: 0 auto;
}
.hero-greeting {
    font-family: var(--font-sans); font-size: 0.8rem; font-weight: 500;
    letter-spacing: 0.25em; text-transform: uppercase; color: var(--gold-400);
    margin-bottom: 1.25rem;
}
.hero-headline {
    font-family: var(--font-serif); font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: 600; line-height: 1.1; color: var(--white);
    margin-bottom: 0.5rem;
}
.hero-sub {
    font-family: var(--font-serif); font-size: clamp(1.25rem, 2.5vw, 1.75rem);
    font-weight: 400; font-style: italic; color: var(--gold-200);
    margin-bottom: 2rem;
}
.hero-divider {
    width: 60px; height: 2px; background: var(--gold-500);
    margin: 0 auto 2rem; border: none;
}
.hero-description {
    font-size: 1.05rem; line-height: 1.8; color: rgba(255,255,255,0.82);
    margin-bottom: 2.5rem; max-width: 580px; margin-left: auto; margin-right: auto;
}
.hero-actions {
    display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
    margin-bottom: 3rem;
}
.hero-contact-strip {
    display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap;
    font-size: 0.875rem; color: rgba(255,255,255,0.7);
}
.hero-phone, .hero-address {
    display: flex; align-items: center; gap: 0.5rem;
}
.hero-phone a { color: rgba(255,255,255,0.85); transition: color var(--transition); }
.hero-phone a:hover { color: var(--gold-300); }
.hero-scroll {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
    color: rgba(255,255,255,0.5); font-size: 0.7rem; letter-spacing: 0.15em;
    text-transform: uppercase; animation: float 2.5s ease-in-out infinite;
}
@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ---------- BUTTONS ---------- */
.btn {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.875rem 1.75rem; font-size: 0.9rem; font-weight: 500;
    border-radius: var(--radius-md); border: 2px solid transparent;
    transition: all var(--transition); white-space: nowrap;
}
.btn-primary {
    background: var(--gold-500); color: var(--navy-950);
    border-color: var(--gold-500);
}
.btn-primary:hover {
    background: var(--gold-400); border-color: var(--gold-400);
    transform: translateY(-2px); box-shadow: var(--shadow-lg);
}
.btn-ghost {
    background: transparent; color: var(--white);
    border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover {
    border-color: var(--white); background: rgba(255,255,255,0.08);
    transform: translateY(-2px);
}
.btn-light {
    background: var(--white); color: var(--navy-900);
    border-color: var(--white);
}
.btn-light:hover {
    background: var(--cream-100); transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}
.btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ---------- SECTION COMMON ---------- */
.section-eyebrow {
    font-family: var(--font-sans); font-size: 0.75rem; font-weight: 600;
    letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold-500);
    margin-bottom: 1rem;
}
.section-eyebrow-light { color: var(--gold-300); }
.section-title {
    font-family: var(--font-serif); font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600; line-height: 1.15; color: var(--navy-900);
    margin-bottom: 1.25rem;
}
.section-title-light { color: var(--white); }
.section-intro {
    font-size: 1.05rem; line-height: 1.8; color: var(--text-secondary);
    max-width: 600px; margin-bottom: 3rem;
}
.section-intro-light { color: rgba(255,255,255,0.75); }

/* ---------- ABOUT ---------- */
.about { padding: 7rem 0; background: var(--warm-50); }
.about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.about-image-wrap { position: relative; }
.about-image-frame {
    border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.about-image-frame img { width: 100%; height: 470px; object-fit: cover; }
.about-accent {
    position: absolute; bottom: -20px; right: -20px; width: 120px; height: 120px;
    background: var(--gold-500); border-radius: var(--radius-lg); z-index: -1;
}
.about-content .lead {
    font-family: var(--font-serif); font-size: 1.35rem; font-style: italic;
    color: var(--navy-800); line-height: 1.6; margin-bottom: 1.5rem;
}
.about-content p {
    font-size: 0.95rem; line-height: 1.8; color: var(--text-secondary);
    margin-bottom: 1rem;
}
.about-values { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.value-item {
    display: flex; gap: 1rem; align-items: flex-start;
}
.value-icon {
    flex-shrink: 0; width: 40px; height: 40px;
    background: rgba(201,168,76,0.1); border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold-500);
}
.value-item strong {
    display: block; font-size: 0.95rem; color: var(--navy-900); margin-bottom: 0.2rem;
}
.value-item span {
    font-size: 0.85rem; color: var(--text-muted); line-height: 1.5;
}

/* ---------- SERVICES ---------- */
.services {
    position: relative; padding: 7rem 0; overflow: hidden;
}
.services-bg {
    position: absolute; inset: 0; z-index: 0;
}
.services-bg img { width: 100%; height: 100%; object-fit: cover; }
.services-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(5,14,28,0.92), rgba(10,31,63,0.88));
}
.services-content { position: relative; z-index: 1; }
.services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem;
    margin-bottom: 3rem;
}
.service-card {
    background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg); padding: 2rem;
    transition: all var(--transition);
}
.service-card:hover {
    background: rgba(255,255,255,0.1); border-color: rgba(201,168,76,0.4);
    transform: translateY(-4px); box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}
.service-icon {
    width: 52px; height: 52px; margin-bottom: 1.25rem;
    color: var(--gold-400);
}
.service-card h3 {
    font-family: var(--font-serif); font-size: 1.25rem; font-weight: 600;
    color: var(--white); margin-bottom: 0.75rem;
}
.service-card p {
    font-size: 0.875rem; line-height: 1.7; color: rgba(255,255,255,0.65);
}
.services-cta {
    text-align: center; padding-top: 1rem;
}
.services-cta p {
    font-size: 0.9rem; color: rgba(255,255,255,0.6); margin-bottom: 1rem;
}
.btn-light:hover { background: var(--gold-100) !important; }

/* ---------- PATIENT INFO ---------- */
.patient-info { padding: 7rem 0; background: var(--cream-100); }
.patient-info .section-intro { margin-left: auto; margin-right: auto; }
.info-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem;
}
.info-card {
    background: var(--white); border-radius: var(--radius-lg); padding: 2rem;
    border: 1px solid rgba(10,31,63,0.06); box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.info-card:hover {
    box-shadow: var(--shadow-lg); transform: translateY(-2px);
    border-color: rgba(201,168,76,0.3);
}
.info-card-header {
    display: flex; align-items: center; gap: 0.875rem; margin-bottom: 1rem;
}
.info-card-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: rgba(10,31,63,0.05); border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--navy-900);
}
.info-card h3 {
    font-family: var(--font-serif); font-size: 1.15rem; font-weight: 600;
    color: var(--navy-900);
}
.info-card p {
    font-size: 0.9rem; line-height: 1.7; color: var(--text-secondary);
}

/* ---------- CTA SECTION ---------- */
.cta-section {
    position: relative; padding: 7rem 0; overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; z-index: 0; }
.cta-bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(5,14,28,0.90), rgba(10,31,63,0.85));
}
.cta-content { position: relative; z-index: 1; text-align: center; }
.cta-content .section-intro { margin-left: auto; margin-right: auto; }
.cta-text {
    font-size: 1.05rem; line-height: 1.8; color: rgba(255,255,255,0.78);
    max-width: 620px; margin: 0 auto 2.5rem;
}
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ---------- CONTACT ---------- */
.contact { padding: 7rem 0; background: var(--warm-50); }
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: start;
}
.contact-details { margin-top: 2.5rem; display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item {
    display: flex; gap: 1rem; align-items: flex-start;
}
.contact-item-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: var(--navy-900); border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    color: var(--gold-400);
}
.contact-item strong {
    display: block; font-size: 0.8rem; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.2rem;
}
.contact-item a, .contact-item span {
    font-size: 0.95rem; color: var(--text-primary); line-height: 1.6;
}
.contact-item a:hover { color: var(--gold-500); }

.contact-form-wrap {
    background: var(--white); border-radius: var(--radius-xl); padding: 2.5rem;
    box-shadow: var(--shadow-lg); border: 1px solid rgba(10,31,63,0.06);
}
.contact-form { display: flex; flex-direction: column; gap: 1.25rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group label {
    font-size: 0.8rem; font-weight: 500; letter-spacing: 0.05em;
    text-transform: uppercase; color: var(--text-muted);
}
.form-group input, .form-group select, .form-group textarea {
    padding: 0.75rem 1rem; border: 1.5px solid var(--cream-200);
    border-radius: var(--radius-md); font-family: var(--font-sans);
    font-size: 0.9rem; color: var(--text-primary);
    background: var(--warm-50); transition: border-color var(--transition), box-shadow var(--transition);
    width: 100%;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none; border-color: var(--gold-500);
    box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.form-group input::placeholder, .form-group textarea::placeholder {
    color: var(--text-muted);
}
.form-group textarea { resize: vertical; min-height: 100px; }

.form-success {
    text-align: center; padding: 2rem;
}
.form-success .success-icon {
    color: var(--gold-500); margin-bottom: 1rem;
}
.form-success h3 {
    font-family: var(--font-serif); font-size: 1.75rem; font-weight: 600;
    color: var(--navy-900); margin-bottom: 0.75rem;
}
.form-success p {
    font-size: 0.9rem; color: var(--text-secondary); line-height: 1.7;
}
.contact-form.hidden { display: none; }

/* ---------- FOOTER ---------- */
.site-footer {
    background: var(--navy-950); color: rgba(255,255,255,0.7); padding: 4rem 0 0;
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem;
    padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand p {
    font-size: 0.875rem; line-height: 1.7; margin-top: 1rem;
    color: rgba(255,255,255,0.55);
}
.footer-links h4, .footer-contact h4 {
    font-family: var(--font-serif); font-size: 1.05rem; font-weight: 600;
    color: var(--white); margin-bottom: 1.25rem;
}
.footer-links ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links a {
    font-size: 0.85rem; color: rgba(255,255,255,0.55);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--gold-400); }
.footer-contact p {
    font-size: 0.875rem; line-height: 1.7; margin-bottom: 0.5rem;
}
.footer-contact a { color: var(--gold-400); transition: color var(--transition); }
.footer-contact a:hover { color: var(--gold-300); }
.footer-bottom {
    padding: 1.5rem 0; display: flex; justify-content: space-between;
    align-items: center; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.footer-disclaimer { font-size: 0.75rem !important; max-width: 500px; }

/* ---------- BACK TO TOP ---------- */
.back-to-top {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 90;
    opacity: 0; pointer-events: none; transition: opacity var(--transition);
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top-btn {
    width: 44px; height: 44px; border-radius: 50%;
    background: var(--navy-900); color: var(--gold-400);
    border: 1px solid rgba(201,168,76,0.3);
    display: flex; align-items: center; justify-content: center;
    transition: all var(--transition); box-shadow: var(--shadow-md);
}
.back-to-top-btn:hover {
    background: var(--navy-800); transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1024px) {
    .about-grid, .contact-grid { gap: 3rem; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .nav-toggle { display: block; }
    .nav-menu {
        position: fixed; top: 76px; left: 0; right: 0; bottom: 0;
        background: rgba(254,252,249,0.98);
        backdrop-filter: blur(12px);
        flex-direction: column; justify-content: flex-start;
        padding: 2rem 1.5rem; gap: 0.25rem;
        transform: translateX(100%); transition: transform 0.35s ease;
    }
    .nav-menu.open { transform: translateX(0); }
    .nav-menu a {
        font-size: 1.1rem; padding: 0.875rem 1rem; width: 100%;
        border-bottom: 1px solid rgba(10,31,63,0.06);
    }
    .nav-cta {
        margin-left: 0 !important; margin-top: 1rem; text-align: center;
        justify-content: center; border-radius: var(--radius-md) !important;
    }
    .about-grid { grid-template-columns: 1fr; }
    .about-image-wrap { max-width: 400px; margin: 0 auto; }
    .about-image-frame img { height: 380px; }
    .services-grid { grid-template-columns: 1fr; }
    .info-grid { grid-template-columns: 1fr; }
    .contact-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .hero-actions { flex-direction: column; align-items: center; }
    .cta-actions { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .container { padding: 0 1.25rem; }
    .hero-inner { padding: 0 0.5rem; }
    .contact-form-wrap { padding: 1.5rem; }
}
