/* Стили макета и сетки - структура страницы */

/* Основной контейнер - двухколоночная сетка */
.container {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
    padding: 20px;
}

/* Левая колонка - информация о мастере */
.left-column {
    flex: 1;
    background: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Правая колонка - услуги и контакты */
.right-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Верхний блок с информацией и фото */
.top-section {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

/* Левая часть с информацией */
.info-section {
    flex: 1;
    padding-right: 20px;
}

.master-name {
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 15px;
    line-height: 1.1;
}

.specialization {
    font-size: 1rem;
    color: #888;
    margin-bottom: 10px;
}

.location {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 10px;
    text-align: right;
}

/* Основное фото мастера */
.main-photo {
    flex: 1;
}

.main-photo img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Примеры работ */
.work-examples {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    align-items: flex-start;
}

.work-thumbnails {
    display: flex;
    gap: 10px;
}

.work-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.work-thumbnails img:hover {
    transform: scale(1.05);
}

.work-description {
    flex: 1;
    padding-left: 10px;
}

.work-description p {
    font-style: italic;
    color: #666;
    margin: 0;
}

/* Галерея миниатюр */
.gallery-thumbnails {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 20px;
}

.gallery-thumbnails img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-thumbnails img:hover {
    transform: scale(1.05);
}

/* Галерея портфолио */
.portfolio-gallery {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.gallery-grid img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.02);
}

.gallery-grid .wide-image {
    grid-column: span 2;
}

/* Подвал */
.footer {
    text-align: center;
    padding: 20px;
    background-color: #333;
    color: white;
    margin-top: 20px;
    border-radius: 10px;
}
