/* Основные стили */
:root {
    --primary-color: #FAC40F;  /* Основной желтый */
    --secondary-color: #ffffff; /* Белый */
    --dark-color: #1a1a1a;     /* Темный для текста */
    --light-color: #f8f8f8;    /* Светлый фон */
    --white: #ffffff;
    --black: #000000;
    --accent-color: #1a1a1a;   /* Акцентный цвет */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--dark-color);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section__title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    text-align: center;
    position: relative;
    color: var(--dark-color);
}

.section__title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

/* Кнопки */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn--primary {
    background-color: var(--primary-color);
    color: var(--black); /* Черный текст на желтом */
}

.btn--primary:hover {
    background-color: #e0b20e; /* Темнее желтый */
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(250, 196, 15, 0.3);
}

.btn--large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Шапка */
/* Обновленная шапка */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0;
    background-color: var(--white);
    z-index: 1000;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.header__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--dark-color);
    text-decoration: none;
    letter-spacing: 1px;
}
.logo-slash {
    color: #FFD700; /* Желтый цвет */
    margin-right: 5px; /* Отступ от текста */
    font-weight: bold; /* Можно убрать, если не нужно */
}

.nav__list {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 30px;
}

.nav__item {
    margin: 0;
}

.nav__link {
    color: var(--dark-color);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: var(--transition);
    padding: 8px 0;
    position: relative;
}

.nav__link:hover {
    color: var(--primary-color);
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

.btn--primary {
    background-color: var(--primary-color);
    color: var(--black);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: 12px 25px;
}

/* Левое боковое меню */
.side-menu-left {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    width: 60px;
    background-color: var(--white);
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 0;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.05);
}

.side-menu-left__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    justify-content: space-between;
}

/* Переключатель языка */
.language-switcher {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.language-switcher__btn {
    background: none;
    border: none;
    font-size: 0.8rem;
    font-weight: 700;
    cursor: pointer;
    padding: 2px 5px;
    color: var(--black);
    transition: var(--transition);
}

.language-switcher__btn.active {
    color: var(--black);
}

.language-switcher__divider {
    color: var(--black);
    font-size: 0.8rem;
}

/* Социальные иконки */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}

.social-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    transition: var(--transition);
}

.social-icon {
    width: 20px;
    height: 20px;
    fill: var(--dark-color);
    transition: var(--transition);
}

.social-link:hover .social-icon {
    fill: var(--primary-color);
    transform: scale(1.1);
}

/* Метод */
.method-label {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    margin-top: auto;
    font-size: 0.7rem;
    letter-spacing: 2px;
    color: var(--secondary-color);
    font-weight: 500;
}

/* Адаптивность */
@media (max-width: 768px) {
    .side-menu-left {
        width: 50px;
        padding: 15px 0;
    }
    
    .social-links {
        gap: 15px;
    }
}

/* Герой секция - новая версия */
/* Герой секция - точное соответствие макету */
.hero {
    padding: 150px 0 60px;
    background-color: var(--white);
    color: var(--dark-color);
}

.hero__content {
    max-width: 1132px;
    margin: 0 auto;
    text-align: left;
}

.hero__title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 15px;
    color: var(--dark-color);
    font-weight: 700;
    max-width: 800px;
}

.hero__subtitle {
    font-size: 1.4rem;
    color: var(--dark-color);
    opacity: 0.8;
    margin-bottom: 10px;
    font-style: italic;
}

.hero__dimensions {
    font-size: 1rem;
    color: var(--secondary-color);
    margin-bottom: 30px;
}

.hero__price-block {
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
}

.hero__price-icon {
    font-size: 1.2rem;
    margin-right: 10px;
    color: var(--primary-color);
    font-weight: 700;
}

.hero__price-text {
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 800px;
}

.hero__portfolio-sample {
    margin-bottom: 40px;
}

.hero__portfolio-image {
    width: 100%;
    height: 202px;
    object-fit: cover;
    margin-bottom: 15px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.hero__portfolio-title {
    font-size: 1.3rem;
    font-weight: 500;
}

.hero__divider {
    height: 1px;
    background-color: rgba(0,0,0,0.1);
    margin: 40px 0;
}

/* Стили для блога */
.hero__blog-section {
    margin-top: 40px;
}

.hero__blog-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.blog-preview {
    background: rgba(250, 196, 15, 0.05);
    padding: 25px;
    border-radius: 8px;
    border-left: 3px solid var(--primary-color);
}

.blog-preview__title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--dark-color);
}

.blog-preview__excerpt {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 15px;
    color: var(--dark-color);
    opacity: 0.8;
}

.blog-preview__link {
    display: inline-block;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}

.blog-preview__link:hover {
    text-decoration: underline;
    color: #e0b20e;
}

/* Услуги */
.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--white);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card__icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card__title {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.service-card__description {
    color: var(--dark-color);
    opacity: 0.8;
}

/* Портфолио */
.portfolio__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.portfolio-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 250px;
}

.portfolio-item__image {
    width: 100%;
    height: 100%;
}

.portfolio-item__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portfolio-item__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(250, 196, 15, 0.9);
    color: var(--black);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-item__overlay {
    opacity: 1;
}

.portfolio-item__title {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

/* CTA секция */
.cta {
    background-color: var(--primary-color);
    color: var(--black);
    text-align: center;
}

.cta__content {
    max-width: 700px;
    margin: 0 auto;
}

.cta__title {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.cta__description {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta__form {
    display: grid;
    gap: 20px;
}

.cta__form input,
.cta__form textarea {
    width: 100%;
    padding: 15px 20px;
    border-radius: 50px;
    border: none;
    font-family: inherit;
    font-size: 1rem;
}

.cta__form textarea {
    border-radius: 20px;
    min-height: 150px;
    resize: vertical;
}

/* Подвал */
.footer {
    background-color: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer__logo .logo {
    color: var(--white);
    margin-bottom: 20px;
    display: block;
}

.footer__title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    position: relative;
}

.footer__title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer__links ul,
.footer__contacts ul {
    list-style: none;
}

.footer__links li,
.footer__contacts li {
    margin-bottom: 10px;
}

.footer__links a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer__links a:hover {
    color: var(--primary-color);
}

.footer__contacts i {
    margin-right: 10px;
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__social a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    text-align: center;
    line-height: 40px;
    margin-left: 10px;
    transition: var(--transition);
}

.footer__social a:hover {
    background-color: var(--primary-color);
    color: var(--black);
    transform: translateY(-3px);
}

/* Прелоадер */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loader {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(250, 196, 15, 0.2);
    border-radius: 50%;
    border-top-color: var(--primary-color);
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Адаптивность */
@media (max-width: 992px) {
    .nav__list {
        gap: 15px;
    }
    
    .btn--primary {
        padding: 10px 15px;
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    .burger {
        display: block;
    }
    .side-menu {
        display: none;
    }
    .side-menu-left {
        display: none;
    }
}