/*
Theme Name: Tatiana Prokop Beauty Studio
Description: Профессиональная тема для студии красоты Татьяны Прокоп
Version: 1.0
Author: Tatiana Prokop
*/

/* CSS Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Основные переменные */
:root {
    --primary-color: #E6D3B3;
    --secondary-color: #0D0D0D;
    --text-color: #C0C0C0;
    --white: #FFFFFF;
    --accent-color: rgba(161, 120, 86, 0.5);
    
    /* Шрифты */
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'mr_HamiltoneG Rus Regular', serif;
    
    /* Размеры */
    --container-width: 1160px;
    --section-padding: 80px;
}

/* Базовые стили */
body {
    font-family: var(--font-primary);
    background-color: var(--secondary-color);
    color: var(--text-color);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.site-main {
    flex: 1;
}

/* Типографика */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 700;
    color: var(--primary-color);
    text-transform: none;
}

h1 {
    font-size: 40px;
    line-height: 1.2;
}

h2 {
    font-size: 30px;
    line-height: 1.22;
}

.accent-text {
    font-family: var(--font-secondary);
    font-size: 86px;
    line-height: 1.32;
    color: var(--primary-color);
}

/* Кнопки */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 19px;
    background-color: var(--primary-color);
    color: var(--secondary-color);
    text-decoration: none;
    font-family: var(--font-primary);
    font-size: 12px;
    font-weight: 400;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.btn:hover {
    opacity: 0.8;
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--white);
    color: var(--secondary-color);
}

/* Формы */
.form-field {
    width: 100%;
    height: 32px;
    padding: 8px 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid var(--primary-color);
    color: var(--primary-color);
    font-family: var(--font-primary);
    font-size: 12px;
    transition: border-color 0.3s ease;
}
.site-footer .footer-nav a {
    color: #d9d9d9 !important;
}

.form-field::placeholder {
    color: var(--primary-color);
    opacity: 0.7;
}

.form-field:focus {
    outline: none;
    border-bottom-color: var(--white);
}

.form-textarea {
    height: auto;
    min-height: 60px;
    resize: vertical;
    padding-top: 8px;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.animate-fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Утилитарные классы */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mt-0 {
    margin-top: 0;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

/* Скрытие элементов */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Стили для изображений */
img {
    max-width: 100%;
    height: auto;
}

/* Стили для ссылок */
a {
    color: var(--primary-color);
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

/* Стили для списков */
ul, ol {
    padding-left: 20px;
}

/* Стили для таблиц */
table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    font-weight: 600;
}

/* Стили для форм */
input[type="checkbox"],
input[type="radio"] {
    margin-right: 8px;
}

label {
    cursor: pointer;
}

/* Стили прокрутки */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(230, 211, 179, 0.8);
}

/* Улучшенная адаптивность */
@media (max-width: 1200px) {
    :root {
        --container-width: 100%;
        --section-padding: 60px;
    }
    
    .container {
        padding: 0 30px;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 50px;
    }
    
    .container {
        padding: 0 20px;
    }
    
    h1 {
        font-size: 32px;
    }
    
    h2 {
        font-size: 26px;
    }
    
    .accent-text {
        font-size: 56px;
    }
}

@media (max-width: 640px) {
    :root {
        --container-width: 100%;
        --section-padding: 40px;
    }
    
    .container {
        padding: 0 16px;
    }
    
    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 24px;
    }
    
    .accent-text {
        font-size: 48px;
    }
    
    .btn {
        padding: 10px 16px;
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 30px;
    }
    
    .container {
        padding: 0 12px;
    }
    
    h1 {
        font-size: 26px;
    }
    
    h2 {
        font-size: 22px;
    }
    
    .accent-text {
        font-size: 42px;
    }
}

@media (max-width: 320px) {
    .container {
        padding: 0 12px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    h2 {
        font-size: 20px;
    }
    
    .accent-text {
        font-size: 36px;
    }
    
    .btn {
        padding: 8px 12px;
        font-size: 10px;
    }
}

/* Стили для печати */
@media print {
    * {
        background: transparent !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    a,
    a:visited {
        text-decoration: underline;
    }
    
    a[href]:after {
        content: " (" attr(href) ")";
    }
    
    .site-header,
    .site-footer,
    .btn,
    .contact-form {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
}

/* Высокая контрастность для доступности */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #F5E6D3;
        --text-color: #FFFFFF;
    }
    
    .btn {
        border: 2px solid var(--primary-color);
    }
}

/* Уменьшение движения для пользователей с вестибулярными расстройствами */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Темная тема (если поддерживается системой) */
@media (prefers-color-scheme: dark) {
    /* Тема уже темная по умолчанию, но можно добавить дополнительные настройки */
    :root {
        --text-color: #E0E0E0;
    }
} 