/*
Theme Name: Mediguate Health
Theme URI: https://mediguate.com
Author: Tu Nombre
Author URI: https://mediguate.com
Description: Tema custom para marketplace de salud - MediGuate
Version: 1.0
Requires at least: 6.0
Tested up to: 6.4
Requires PHP: 7.4
Text Domain: mediguate
*/

/* ===== PALETA DE COLORES MÉDICOS ===== */
:root {
    --primary-blue: #0066CC;
    --secondary-cyan: #00A8E8;
    --text-dark: #2D3748;
    --bg-light: #F8FAFC;
    --accent-green: #10B981;
    --border-gray: #E2E8F0;
    --white: #FFFFFF;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
}

/* ===== RESET Y BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    background: var(--bg-light);
    line-height: 1.6;
}

/* ===== HEADER MÉDICO ===== */
.header-medical {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* ===== BOTONES ===== */
.btn-primary {
    background: var(--primary-blue);
    color: var(--white);
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s;
}

.btn-primary:hover {
    background: #0052A3;
}

.btn-secondary {
    background: var(--secondary-cyan);
    color: var(--white);
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
}

/* ===== HERO SECTION ===== */
.hero-section {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-cyan) 100%);
    color: var(--white);
    padding: 6rem 2rem;
    text-align: center;
}

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* ===== BUSCADOR PRINCIPAL ===== */
.search-widget {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.search-form {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

.search-input {
    padding: 12px 16px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 1rem;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-blue);
}

/* ===== CARDS DE DOCTORES ===== */
.doctors-grid {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.doctor-card {
    background: var(--white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
}

.doctor-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.doctor-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.doctor-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.doctor-specialty {
    color: var(--secondary-cyan);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.doctor-location {
    color: #718096;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* ===== PERFIL DOCTOR ===== */
.doctor-profile {
    max-width: 1000px;
    margin: 2rem auto;
    padding: 0 2rem;
}

.profile-header {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
}

.profile-avatar-large {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    background: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    font-weight: bold;
}

/* ===== FORMULARIO DE RESERVA ===== */
.booking-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-gray);
    border-radius: 8px;
    font-size: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .search-form {
        grid-template-columns: 1fr;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .profile-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* ===== FOOTER ===== */
.footer-medical {
    background: var(--text-dark);
    color: var(--white);
    text-align: center;
    padding: 2rem;
    margin-top: 4rem;
}

.footer-medical a {
    color: var(--secondary-cyan);
    text-decoration: none;
}
