/*
Theme Name: Dietolog-darya
Theme URI: https://dietolog.com
Author: Darya Kumalatova
Author URI: https://daryakumalatova.com
Description: Минималистичная тема для сайта диетолога в светлых пастельных тонах
Version: 8.0.12
License: GPL v2 or later
Text Domain: dietolog-darya
*/

/* ==========================================================================
   CSS переменные - Цветовая палитра
   ========================================================================== */
:root {
    --white: #fff;
    --space-cadet: #2f3e46ff;
    --ultra-violet: #354f52ff;
    --rose-quartz: #52796fff;
    --pale-dogwood: #84a98cff;
    --isabelline: #cad2c5ff;
    --celadon: #8FCB9B;
    
    /* Дополнительные переменные для удобства */
    --primary-color: var(--space-cadet);
    --secondary-color: var(--ultra-violet);
    --accent-color: var(--rose-quartz);
    --bg-light: var(--isabelline);
    --text-dark: var(--space-cadet);
    --text-light: var(--ultra-violet);
    
    /* Шрифты */
    --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    
    /* Размеры */
    --container-width: 1200px;
    --header-height: 80px;
}

/* ==========================================================================
   Базовые стили
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-dark);
    background-color: var(--white);
    line-height: 1.6;
}

/* ==========================================================================
   Типография
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--primary-color);
    line-height: 1.3;
    font-weight: 500;
    margin-bottom: 1rem;
}

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

p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* ==========================================================================
   Контейнер
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* ==========================================================================
   Header стили
   ========================================================================== */
.site-header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--header-height);
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.site-logo a {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--primary-color);
}

/* ==========================================================================
   Навигация
   ========================================================================== */
.main-navigation ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.main-navigation a {
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
}

.main-navigation a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: width 0.3s ease;
}

.main-navigation a:hover::after,
.main-navigation .current-menu-item a::after {
    width: 100%;
}

/* ==========================================================================
   Main Content
   ========================================================================== */
.site-main {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height) - 300px);
}

/* ==========================================================================
   Footer стили
   ========================================================================== */
.site-footer {
    background-color: var(--bg-light);
    padding: 60px 0 30px;
    margin-top: 80px;
}

.footer-widgets {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-widget h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(74, 78, 105, 0.1);
    color: var(--text-light);
    font-size: 0.875rem;
}

/* ==========================================================================
   Кнопки
   ========================================================================== */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background-color: var(--primary-color);
    color: var(--white);
    border-radius: 30px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

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

.btn-secondary:hover {
    background-color: var(--pale-dogwood);
}

/* ==========================================================================
   Утилиты
   ========================================================================== */
.text-center { text-align: center; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

/* ==========================================================================
   Адаптивность
   ========================================================================== */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .main-navigation {
        display: none; /* Временно скрываем, потом добавим мобильное меню */
    }
}

/* Стили кнопки */
	.iksweb{
		display: inline-block;
		cursor: pointer; 
		font-size:14px;
		text-decoration:none;
		padding:10px 20px; 
		color: #fff !important;
		background:var(--space-cadet);
		border-radius:8px;
		border:2px solid var(--space-cadet);
		margin: 10px 5px;
	}
	.iksweb:hover{
		background:var(--ultra-violet);
		text-decoration:none !important;
		border:2px var(--ultra-violet);
		transition: all 0.2s ease;
		color: #fff !important;
	}

	.iksweb1{
		display: inline-block;
		cursor: pointer; 
		font-size:14px;
		text-decoration:none;
		padding:10px 20px; 
		color:#000;
		border-radius:8px;
		border:2px solid var(--space-cadet);
		margin: 10px 5px;
	}
	.iksweb1:hover{
		background:var(--ultra-violet);
		color: #fff !important;
		border:2px var(--ultra-violet);
		transition: all 0.2s ease;
		text-decoration:none !important;
	}