/*
Theme Name: GinecologPlus Medical
Theme URI: https://ginecolog-plus.ru
Author: Medical Web Solutions
Author URI: https://ginecolog-plus.ru
Description: Кастомная тема для гинекологической клиники "Гинеколог Плюс". Поддерживает настройки цветов, контактов, интеграцию с YClients. Адаптивный дизайн, оптимизирован для медицинских сайтов.
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ginecologplus
Domain Path: /languages
Tags: medical, clinic, gynecology, responsive, custom-colors, custom-header, custom-logo

GitHub Theme URI: https://github.com/ginecologplus/ginecologplus-theme
Primary Branch: main
Release Asset: true
*/

/*
 * Theme Name: GinecologPlus Medical
 * 
 * This theme is designed specifically for medical clinics, with features:
 * - Customizable color scheme (3 colors via Customizer)
 * - Contact information management
 * - YClients integration
 * - Doctor profiles with appointment links
 * - Service pages with hierarchical structure
 * - Mobile-first responsive design
 * - Schema.org markup for medical organizations
 * - SEO optimized with Yoast/AISEO support
 * - Accessibility compliant (WCAG 2.1 AA)
 */

/* CSS Variables are generated dynamically via PHP - see inc/customizer.php */

/* ==========================================================================
   Base Styles
   ========================================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    margin-top: 0;
    margin-bottom: 1rem;
    font-weight: 600;
    line-height: 1.3;
    color: var(--gplus-primary, #0066cc);
}

h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-top: 0;
    margin-bottom: 1rem;
}

a {
    color: var(--gplus-primary, #0066cc);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--gplus-accent, #e91e63);
    text-decoration: underline;
}

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

/* Lists */
ul, ol {
    margin-top: 0;
    margin-bottom: 1rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
}

/* Forms */
input,
textarea,
select {
    font-family: inherit;
    font-size: 1rem;
    padding: 0.75rem 1rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    width: 100%;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--gplus-primary, #0066cc);
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.1);
}

button,
.btn,
.wp-block-button__link {
    display: inline-block;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: var(--gplus-primary, #0066cc);
    color: #fff;
}

button:hover,
.btn:hover,
.wp-block-button__link:hover {
    background-color: var(--gplus-accent, #e91e63);
    color: #fff;
    text-decoration: none;
}

/* Screen reader only */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Skip link */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--gplus-primary, #0066cc);
    color: #fff;
    padding: 8px 16px;
    z-index: 100000;
    transition: top 0.3s;
}

.skip-link:focus {
    top: 0;
}
