/* ============================================
   Стили для Header и Footer
   Студия растяжки - Пастельная гамма
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Marmelad&display=swap');

.marmelad-regular {
    font-family: "Marmelad", sans-serif !important;
    font-weight: 400;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

::selection {
    background-color: #D4A5A5;
    color: #FFFDF9;
}

body {
    font-family: 'Marmelad', sans-serif;
    font-weight: 400;
    color: #5C4B3A;
    background-color: #FFFDF9;
    line-height: 1.6;
}

ul {
    list-style: none;
}

a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === HEADER СТИЛИ === */
.header {
    position: relative;
    width: 100%;
    z-index: 100;
}

.header_color {
    background: #FFFDF9;
    padding: 18px 0;
    border-bottom: 1px solid rgba(212, 165, 165, 0.2);
}

.header__top {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.header__logo img {
    max-height: 65px;
    width: auto;
    display: block;
    transition: transform 0.3s ease;
}

.header__logo img:hover {
    transform: scale(1.02);
}

.header__top__widget {
    display: flex;
    align-items: center;
    gap: 40px;
}

.container_widget_info {
    display: flex !important;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.container_widget_info li {
    font-family: 'Marmelad', sans-serif;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.3px;
    color: #5C4B3A;
}

.container_widget_info li i {
    margin-right: 10px;
    color: #D4A5A5;
    font-size: 16px;
    width: 20px;
}

.primary-btn {
    display: inline-block;
    padding: 12px 32px;
    font-family: 'Marmelad', sans-serif;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #D4A5A5;
    background-color: transparent;
    border: 2px solid #D4A5A5;
    border-radius: 40px;
    transition: all 0.3s ease;
    cursor: pointer;
    white-space: nowrap;
}

.primary-btn:hover {
    background-color: #D4A5A5;
    color: #FFFDF9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(212, 165, 165, 0.3);
}

.header__nav {
    background-color: #FFFDF9;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(212, 165, 165, 0.15);
}

.header__menu ul {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 45px;
    padding: 18px 0;
    margin: 0;
}

.header__menu ul li a {
    font-family: 'Marmelad', serif;
    font-size: 18px;
    font-weight: 600;
    color: #5C4B3A;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding-bottom: 6px;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
}

.header__menu ul li.active a,
.header__menu ul li a:hover {
    color: #D4A5A5;
    border-bottom-color: #D4A5A5;
}

.canvas__open {
    display: none;
    font-size: 26px;
    color: #5C4B3A;
    cursor: pointer;
    background: rgba(212, 165, 165, 0.1);
    padding: 8px 12px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.canvas__open:hover {
    background: rgba(212, 165, 165, 0.2);
}

/* Offcanvas меню */
.offcanvas-menu-overlay {
    position: fixed;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 998;
    display: none;
}

.offcanvas-menu {
    position: fixed;
    left: -300px;
    top: 0;
    width: 300px;
    height: 100%;
    background: #FFFDF9;
    z-index: 999;
    padding: 30px;
    transition: all 0.3s ease;
    overflow-y: auto;
    box-shadow: 5px 0 25px rgba(0, 0, 0, 0.05);
}

.offcanvas-menu.active {
    left: 0;
}

.offcanvas__logo img {
    max-width: 150px;
    margin-bottom: 30px;
}

.offcanvas__widget ul {
    margin-bottom: 25px;
}

.offcanvas__widget ul li {
    color: #5C4B3A;
    font-size: 14px;
    margin-bottom: 12px;
}

.offcanvas__widget .primary-btn {
    width: 100%;
    text-align: center;
    margin-bottom: 25px;
}

.offcanvas__social a {
    color: #D4A5A5;
    font-size: 20px;
    margin-right: 15px;
}

/* === FOOTER СТИЛИ === */
.footer {
    background-color: #FAF6F0;
    padding: 70px 0 35px;
    font-family: 'Marmelad', sans-serif;
    color: #5C4B3A;
    border-top: 1px solid rgba(212, 165, 165, 0.15);
}

.footer .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer .row {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 20px;
}

.footer .col {
    flex: 1;
    min-width: 220px;
}

.footer-about {
    flex: 1.2;
}

.footer-empty {
    flex: 0.5;
    min-width: 80px;
}

.footer-widget {
    flex: 1;
    min-width: 160px;
}

.footer-contacts {
    flex: 1.3;
    min-width: 260px;
}

.footer-logo {
    max-height: 100px;
    margin-bottom: 25px;
    display: block;
}

.footer__about ul,
.footer__widget ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__about li {
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer__about li i {
    color: #D4A5A5;
    width: 22px;
    font-size: 16px;
}

.footer__about li span {
    font-size: 15px;
    font-weight: 500;
    color: #5C4B3A;
}

.footer__widget h5 {
    font-family: 'Marmelad', serif;
    font-size: 22px;
    font-weight: 600;
    color: #4A3B2E;
    margin-bottom: 25px;
    letter-spacing: 0.5px;
    position: relative;
}

.footer__widget h5:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 40px;
    height: 2px;
    background: #D4A5A5;
}

.footer__widget ul li {
    margin-bottom: 12px;
}

.footer__widget ul li a {
    color: #6B5A4C;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.footer__widget ul li a:hover {
    color: #D4A5A5;
    transform: translateX(5px);
}

.footer-address li {
    margin-bottom: 18px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.footer-address li i {
    color: #D4A5A5;
    width: 22px;
    font-size: 18px;
    margin-top: 2px;
}

.footer-address li a,
.footer-address li span {
    color: #6B5A4C;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    line-height: 1.5;
}

.footer-address li a:hover {
    color: #D4A5A5;
}

.copyright {
    margin-top: 50px;
    border-top: 1px solid rgba(212, 165, 165, 0.2);
    padding-top: 25px;
}

.copyright .col {
    text-align: center;
    width: 100%;
}

.copyright p {
    font-size: 13px;
    color: #8B7A6B;
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* === АДАПТИВНОСТЬ HEADER & FOOTER === */
@media (max-width: 992px) {
    .header__menu ul {
        gap: 25px;
    }
    
    .header__menu ul li a {
        font-size: 16px;
    }
    
    .footer .row {
        gap: 30px;
    }
    
    .footer-empty {
        display: none;
    }
}

@media (max-width: 768px) {
    .header__top__widget {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .container_widget_info {
        align-items: flex-start;
    }
    
    .header__menu {
        display: none;
    }
    
    .canvas__open {
        display: block;
    }
    
    .header__logo img {
        max-height: 50px;
    }
    
    .primary-btn {
        padding: 10px 24px;
        font-size: 12px;
    }
    
    .footer {
        padding: 50px 0 30px;
    }
    
    .footer .row {
        flex-direction: column;
        gap: 35px;
    }
    
    .footer .col {
        width: 100%;
        min-width: auto;
    }
    
    .copyright {
        margin-top: 35px;
        padding-top: 20px;
    }
}

@media (max-width: 576px) {
    .container_widget_info li {
        font-size: 13px;
    }
    
    .footer__widget h5 {
        font-size: 20px;
    }
}

/* === СТИЛИЗОВАННЫЙ СКРОЛЛБАР === */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #FAF6F0;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: #D4A5A5;
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #C9A78B;
}

html {
    scroll-behavior: smooth;
}