﻿/* assets/css/style.css */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    font-family: 'Arial', sans-serif; 
    line-height: 1.6; 
    color: #2c3e50;
    background-color: #ffffff;
}

:root {
    --primary-blue: #1e3a8a;
    --secondary-blue: #3b82f6;
    --light-blue: #dbeafe;
    --white: #ffffff;
    --text-dark: #1e293b;
    --text-light: #64748b;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Хедер */
header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    padding: 1rem 0;
    border-bottom: 3px solid var(--primary-blue);
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 80px;
    width: auto;
}

.logo-text {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-blue);
}

.contact-info {
    text-align: right;
}

.phone {
    color: var(--primary-blue);
    font-size: 1.2rem;
    font-weight: bold;
    text-decoration: none;
    display: block;
    margin-bottom: 5px;
}

.address {
    color: var(--text-dark);
    font-size: 0.9rem;
}

/* Навигация */
nav {
    background: var(--primary-blue);
    padding: 0;
}

.nav-links {
    display: flex;
    justify-content: center;
    list-style: none;
    flex-wrap: wrap;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    padding: 1rem 1.5rem;
    display: block;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-links a:hover,
.nav-links a.current {
    background: rgba(255,255,255,0.1);
    border-bottom-color: var(--secondary-blue);
}

/* Хлебные крошки */
.breadcrumb {
    background: var(--light-blue);
    padding: 1rem 0;
    margin-bottom: 0;
}

.breadcrumb a {
    color: var(--primary-blue);
    text-decoration: none;
}

.breadcrumb span {
    color: var(--text-dark);
}

/* Герой секция */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-blue) 100%);
    color: var(--white);
    padding: 4rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

.oms-links {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.oms-links a {
    background: var(--white);
    color: var(--primary-blue);
    padding: 0.8rem 1.5rem;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
}

.oms-links a:hover {
    background: var(--light-blue);
    transform: translateY(-2px);
}

/* Основной контент */
.main-content {
    padding: 3rem 0;
    min-height: 50vh;
}

.section-title {
    text-align: center;
    color: var(--primary-blue);
    margin-bottom: 2rem;
    font-size: 2rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--secondary-blue);
    margin: 10px auto;
}

/* Услуги */
.services-list {
    max-width: 800px;
    margin: 0 auto;
}

.service-item {
    background: var(--light-blue);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--secondary-blue);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateX(5px);
}

/* Прайс лист */
.price-table {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
}

.price-item {
    display: flex;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.price-item:last-child {
    border-bottom: none;
}

.price-item:nth-child(even) {
    background: var(--light-blue);
}

.price-name {
    font-weight: 500;
}

.price-value {
    color: var(--primary-blue);
    font-weight: bold;
}

/* ЭКО по ОМС */
.oms-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.oms-content .oms-links {
    margin: 2rem 0;
}

.oms-content .oms-links a {
    background: var(--primary-blue);
    color: white;
}

.oms-content .oms-links a:hover {
    background: var(--secondary-blue);
}

/* Фотогалерея */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-item {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: translateY(-5px);
}

.gallery-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--light-blue), var(--secondary-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-weight: bold;
    font-size: 1.1rem;
}

.gallery-item p {
    padding: 1rem;
    text-align: center;
    margin: 0;
    background: var(--white);
}

/* Вопросы-Ответы */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 1rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    border-left: 4px solid var(--primary-blue);
}

.faq-question {
    background: var(--light-blue);
    padding: 1.5rem;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
}

.faq-answer {
    padding: 1.5rem;
    color: var(--text-dark);
}

/* О нас */
.about {
    background: linear-gradient(135deg, var(--primary-blue), var(--secondary-blue));
    color: var(--white);
}

.about .section-title {
    color: var(--white);
}

.about .section-title::after {
    background: var(--white);
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.doctor-info {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
    border-left: 4px solid var(--light-blue);
}

.doctor-name {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    color: var(--white);
}

.doctor-specialty {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--light-blue);
}

/* Контакты */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-card {
    background: var(--light-blue);
    padding: 2rem;
    border-radius: 8px;
    text-align: center;
    border-top: 4px solid var(--primary-blue);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.map-placeholder {
    width: 100%;
    height: 300px;
    background: linear-gradient(135deg, var(--light-blue), #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-weight: bold;
    border-radius: 8px;
    margin: 2rem 0;
    font-size: 1.1rem;
}

/* Футер */
footer {
    background: linear-gradient(135deg, var(--primary-blue), var(--text-dark));
    color: var(--white);
    padding: 3rem 0 1rem;
    margin-top: 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--light-blue);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--secondary-blue);
    padding-bottom: 0.5rem;
    display: inline-block;
}

.footer-section a {
    color: #bfdbfe;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #bfdbfe;
}

.license {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0.8;
}

/* Адаптивность */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .logo {
        justify-content: center;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .nav-links {
        flex-direction: column;
    }
    
    .nav-links a {
        padding: 0.8rem 1rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .price-item {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .oms-links {
        flex-direction: column;
        align-items: center;
    }
    
    .oms-links a {
        width: 100%;
        max-width: 300px;
    }
}

/* Стили для карты */
.map-container {
    margin: 2rem 0;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    border: 2px solid var(--light-blue);
}

.map-container iframe {
    display: block;
    border: none;
}

/* Адаптивность для карты */
@media (max-width: 768px) {
    .map-container {
        margin: 1rem 0;
    }
    
    .map-container iframe {
        height: 350px;
    }
}

@media (max-width: 480px) {
    .map-container iframe {
        height: 300px;
    }
}