/*
Theme Name: FindMyDoc UI Match
Theme URI: https://findmydoc.in/
Author: Gemini
Description: A pixel-perfect recreation of the Hostinger AI generated UI for findmydoc.in.
Version: 2.0
Requires at least: 5.0
Tested up to: 6.4
Requires PHP: 7.0
Text Domain: findmydoc
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --primary-teal: #167a70;
    --primary-teal-hover: #12635a;
    --bg-light: #f5f8f7;
    --bg-white: #ffffff;
    --text-main: #1f2937;
    --text-muted: #6b7280;
    --border-color: #e5e7eb;
    --card-bg: #f8faf9;
}

* { box-sizing: border-box; }
body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-main);
    background-color: var(--bg-white);
    line-height: 1.5;
}

/* Typography */
h1, h2, h3, h4 { margin: 0; font-weight: 600; letter-spacing: -0.03em; }
a { text-decoration: none; color: inherit; }

/* Buttons */
.btn-primary {
    background-color: var(--primary-teal);
    color: white;
    padding: 12px 24px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: none;
    cursor: pointer;
    transition: background 0.2s;
}
.btn-primary:hover { background-color: var(--primary-teal-hover); }
.btn-outline {
    border: 1px solid var(--text-main);
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: var(--bg-white);
}
.logo-container a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 20px;
    color: var(--text-main);
}
.logo-icon {
    background-color: var(--primary-teal);
    color: white;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-size: 18px;
}
.logo-text span { color: #d97706; } /* .in color */
nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
    margin: 0;
    padding: 0;
}
nav a { font-size: 14px; font-weight: 500; }
.header-actions { display: flex; align-items: center; }

/* Hero Section */
.hero-wrap { padding: 0 40px 40px 40px; }
.hero {
    background-color: var(--bg-light);
    border-radius: 24px;
    padding: 80px 60px;
    position: relative;
    overflow: hidden;
}
.hero-tag {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}
.hero-tag .dot {
    width: 6px; height: 6px;
    background-color: #f59e0b;
    border-radius: 50%;
}
.hero h1 {
    font-size: 64px;
    line-height: 1.1;
    margin-bottom: 16px;
    max-width: 600px;
}
.hero h1 .text-teal { color: var(--primary-teal); }
.hero > p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 500px;
}
.search-container {
    background: white;
    border-radius: 8px;
    display: flex;
    align-items: center;
    padding: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.02);
    max-width: 800px;
}
.search-input-group {
    display: flex;
    align-items: center;
    padding: 0 16px;
    flex: 1;
    gap: 12px;
}
.search-input-group input {
    border: none;
    outline: none;
    font-size: 14px;
    width: 100%;
    padding: 12px 0;
}
.divider { width: 1px; height: 24px; background: var(--border-color); }
.popular-searches {
    margin-top: 24px;
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
}
.tag {
    background: white;
    padding: 6px 12px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}
.hero-bottom-text {
    display: flex;
    justify-content: space-between;
    margin-top: 60px;
    font-size: 12px;
    color: var(--text-muted);
}

/* Sections Global */
.section { padding: 80px 40px; max-width: 1200px; margin: 0 auto; }
.section-head {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--primary-teal);
    margin-bottom: 16px;
}
.section-header-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 24px;
}
.section-header-flex h2 { font-size: 32px; }
.link-arrow {
    font-size: 14px;
    color: var(--primary-teal);
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* Specialties Grid */
.specialty-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 16px;
}
.specialty-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 24px 16px;
    text-align: center;
    transition: transform 0.2s;
    cursor: pointer;
    position: relative;
}
.specialty-card:hover { transform: translateY(-4px); }
.specialty-card svg { width: 32px; height: 32px; stroke: var(--primary-teal); margin-bottom: 12px; }
.specialty-card .title { font-size: 12px; font-weight: 500; }
.specialty-card .arrow-icon { position: absolute; top: 12px; right: 12px; opacity: 0.3; width: 12px; height: 12px; }

/* CTA Section */
.cta-section {
    background: var(--bg-light);
    border-radius: 24px;
    display: flex;
    overflow: hidden;
    margin: 40px;
}
.cta-content { padding: 60px; flex: 1; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.cta-content h2 { font-size: 40px; line-height: 1.1; margin-bottom: 16px; }
.cta-content p { color: var(--text-muted); margin-bottom: 24px; font-size: 14px; }
.cta-image { flex: 1; background: url('https://images.unsplash.com/photo-1559839734-2b71ea197ec2?auto=format&fit=crop&q=80') center/cover; }

/* Login Page Specific */
.login-container {
    max-width: 400px;
    margin: 100px auto;
    text-align: left;
}
.login-container .section-head { margin-bottom: 8px; }
.login-container h1 { font-size: 48px; line-height: 1.1; margin-bottom: 32px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.form-group input {
    width: 100%; padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 14px;
    outline: none;
}
.login-btn { width: 100%; justify-content: center; padding: 14px; font-size: 16px; margin-top: 10px; }
.login-links { text-align: center; margin-top: 24px; font-size: 14px; color: var(--text-muted); }
.login-links a { color: var(--text-main); font-weight: 500; }

/* Directory / Search specific */
.empty-state-card {
    background: var(--card-bg);
    border-radius: 12px;
    padding: 32px;
    display: flex;
    align-items: center;
    gap: 24px;
    border: 1px dashed var(--border-color);
    margin-top: 24px;
}
.empty-state-card svg { width: 40px; height: 40px; stroke: var(--primary-teal); }
.empty-state-text h3 { font-size: 16px; margin-bottom: 4px; }
.empty-state-text p { font-size: 14px; color: var(--text-muted); margin: 0; }

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 60px 40px 20px 40px;
}
.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 60px;
}
.footer-logo p { font-size: 12px; color: var(--text-muted); margin: 8px 0; }
.footer-logo .verified { font-size: 12px; color: var(--primary-teal); display: flex; align-items: center; gap: 4px; }
.newsletter { max-width: 400px; }
.newsletter h4 { font-size: 16px; margin-bottom: 4px; }
.newsletter p { font-size: 12px; color: var(--text-muted); margin-bottom: 16px; }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input { flex: 1; padding: 12px 16px; border: 1px solid var(--border-color); border-radius: 6px; outline: none; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    font-size: 11px;
    color: var(--text-muted);
}
.footer-links a { margin-left: 16px; }
