/* 
 * Dr. Shahab Z Siddiqui - Medical Website
 * Style: Bold Editorial | Palette: Plum + Amber
 */

:root {
    /* Color Palette */
    --plum-900: #2D1B2E;
    --plum-800: #3D2442;
    --plum-700: #4D2D54;
    --plum-600: #5D3666;
    --plum-500: #6D3F78;
    --plum-100: #F5F0F7;
    --plum-50: #FAF7FC;
    
    --amber-600: #D97706;
    --amber-500: #F59E0B;
    --amber-400: #FCD34D;
    --amber-100: #FEF3C7;
    
    --neutral-900: #111827;
    --neutral-800: #1F2937;
    --neutral-700: #374151;
    --neutral-600: #4B5563;
    --neutral-500: #6B7280;
    --neutral-200: #E5E7EB;
    --neutral-100: #F3F4F6;
    --neutral-50: #F9FAFB;
    --white: #FFFFFF;
    
    /* Typography */
    --font-serif: 'Cinzel', serif;
    --font-sans: 'Lato', sans-serif;
    
    /* Spacing */
    --section-padding: 6rem;
    --container-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--neutral-800);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul {
    list-style: none;
}

/* Utilities */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

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

.section-label {
    font-family: var(--font-sans);
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--amber-600);
    margin-bottom: 1rem;
    display: block;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.2;
    color: var(--plum-900);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--neutral-600);
}

.lead {
    font-size: 1.25rem;
    color: var(--neutral-700);
    margin-bottom: 2rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    font-family: var(--font-sans);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: var(--amber-500);
    border-color: var(--amber-500);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(217, 119, 6, 0.3);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background-color: var(--white);
    color: var(--plum-900);
}

.btn-full {
    width: 100%;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--neutral-200);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--plum-700);
}

.logo-text {
    font-family: var(--font-serif);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--plum-900);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--neutral-700);
}

.nav-links a:hover {
    color: var(--plum-700);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background-color: var(--plum-900);
    margin: 5px 0;
    transition: all 0.3s ease;
}

.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--plum-900);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.active {
    transform: translateX(0);
}

.close-menu-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: none;
    border: none;
    font-size: 2.5rem;
    color: var(--white);
    cursor: pointer;
}

.mobile-menu ul {
    text-align: center;
}

.mobile-menu li {
    margin: 1.5rem 0;
}

.mobile-link {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--white);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--plum-900) 0%, var(--plum-700) 50%, var(--amber-600) 100%);
    overflow: hidden;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(45, 27, 46, 0.4);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-text .eyebrow {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--amber-400);
    margin-bottom: 1rem;
}

.hero-text h1 {
    color: var(--white);
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1.5rem;
}

.hero-sub {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
}

.hero-image img {
    border-radius: 8px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.floating-card {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background-color: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.card-icon {
    font-size: 2rem;
    color: var(--amber-600);
}

.floating-card strong {
    display: block;
    color: var(--plum-900);
    font-size: 1rem;
}

.floating-card span {
    font-size: 0.875rem;
    color: var(--neutral-600);
}

/* About Section */
.about {
    background-color: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: 8px;
    width: 100%;
    height: 500px;
    object-fit: cover;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.15);
}

.image-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100%;
    height: 100%;
    border: 3px solid var(--amber-500);
    border-radius: 8px;
    z-index: -1;
}

.about-content .section-label {
    color: var(--plum-700);
}

.about-content h2 {
    color: var(--plum-900);
}

.feature-list {
    margin-top: 2rem;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: var(--neutral-700);
}

.check-icon {
    width: 24px;
    height: 24px;
    background-color: var(--amber-100);
    color: var(--amber-600);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
}

/* Services Section */
.services {
    background-color: var(--plum-50);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 4rem;
}

.section-header h2 {
    color: var(--plum-900);
}

.section-header p {
    font-size: 1.125rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border-top: 4px solid var(--amber-500);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.service-icon {
    width: 64px;
    height: 64px;
    background-color: var(--amber-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--amber-600);
    margin-bottom: 1.5rem;
}

.service-card h3 {
    color: var(--plum-800);
}

.service-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Patient Info Section */
.patient-info {
    background-color: var(--white);
}

.info-split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.steps {
    margin-top: 2rem;
}

.step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step-number {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--amber-400);
    line-height: 1;
}

.step h4 {
    font-family: var(--font-serif);
    color: var(--plum-800);
    margin-bottom: 0.5rem;
}

.info-card {
    background-color: var(--plum-900);
    color: var(--white);
    padding: 3rem;
    border-radius: 8px;
}

.info-card h3 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.info-card p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1.5rem;
}

.insurance-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.insurance-list li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.95rem;
    padding-left: 1.5rem;
    position: relative;
}

.insurance-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--amber-400);
}

.info-note {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 6px;
    border-left: 4px solid var(--amber-500);
}

.info-note p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 0;
}

/* Contact Section */
.contact {
    background-color: var(--neutral-50);
}

.contact-wrapper {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-header {
    text-align: center;
    margin-bottom: 4rem;
}

.contact-header h2 {
    color: var(--plum-900);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.contact-form {
    background-color: var(--white);
    padding: 2.5rem;
    border-radius: 8px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neutral-700);
    margin-bottom: 0.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid var(--neutral-200);
    border-radius: 6px;
    font-family: var(--font-sans);
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--amber-500);
}

.form-note {
    font-size: 0.8rem;
    color: var(--neutral-500);
    margin-top: 1rem;
    text-align: center;
}

.form-success {
    text-align: center;
    padding: 3rem;
}

.form-success h3 {
    color: var(--plum-700);
    margin-bottom: 1rem;
}

.form-success p {
    color: var(--neutral-600);
}

.hidden {
    display: none;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.detail-item {
    display: flex;
    gap: 1rem;
}

.detail-icon {
    font-size: 1.5rem;
    width: 48px;
    height: 48px;
    background-color: var(--amber-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-item strong {
    display: block;
    color: var(--plum-900);
    margin-bottom: 0.25rem;
}

.detail-item p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

.detail-item a {
    color: var(--amber-600);
    font-weight: 600;
}

.detail-item a:hover {
    text-decoration: underline;
}

.map-container {
    border-radius: 8px;
    overflow: hidden;
    margin-top: 1rem;
}

/* Footer */
.footer {
    background-color: var(--plum-900);
    color: var(--white);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 2rem;
}

.footer-brand h3 {
    color: var(--white);
    margin-bottom: 1rem;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.7);
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 2rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--amber-400);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.875rem;
    margin-bottom: 0;
}

.disclaimer {
    font-size: 0.75rem;
    max-width: 500px;
    text-align: right;
}

/* Animations */
.reveal-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image {
        order: -1;
    }
    
    .hero-image img {
        height: 300px;
    }
    
    .about-grid,
    .info-split,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image-wrapper {
        order: -1;
    }
    
    .image-accent {
        display: none;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .disclaimer {
        text-align: center;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 4rem;
    }
    
    .hero {
        padding-top: 60px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        text-align: center;
    }
    
    .floating-card {
        position: relative;
        bottom: auto;
        left: auto;
        margin-top: 1rem;
    }
    
    .insurance-list {
        grid-template-columns: 1fr;
    }
}
