
@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeue/HelveticaNeue-Light.otf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeue/HelveticaNeue-Roman.otf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeue/HelveticaNeue-Medium.otf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Helvetica Neue';
    src: url('../fonts/HelveticaNeue/HelveticaNeue-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/Cormorant/Cormorant-Light.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
}

@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/Cormorant/Cormorant-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/Cormorant/Cormorant-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: 'Cormorant';
    src: url('../fonts/Cormorant/Cormorant-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

@font-face {
    font-family: 'Mr Leopolde';
    src: url('../fonts/MrLeopolde.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Veles';
    src: url('../fonts/Veles/Veles-Regular.otf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Veles';
    src: url('../fonts/Veles/Veles-Bold.otf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

.section-subtitle {
    font-family: 'Mr Leopolde', serif;
    font-size: 43px;
    line-height: 40px;
}

html, body {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Helvetica Neue', sans-serif !important;
    background: #ecf2e7 !important;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.main-content {
    flex: 1;
}
.header {
    background-color: #d3dfc9;
    padding: 40px 40px 35px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.header-nav{
    flex: 1;
}
.header-menu {
    display: flex;
    list-style: none;
    gap: 20px;
    padding: 0;
    margin: 0;
}


.header-menu-link {
    text-decoration: none;
    color: #333;
    font-size: 17px;
    font-weight: 300;
}

.header-menu-link:hover {
    color: #d49ead;
}

.header-logo {
    /*margin-left: 30px;*/
}

.header-logo-img {
    max-height: 40px;
}

.header-btns {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    gap: 40px;
}

.header-social-btns {
    display: flex;
    gap: 15px;
}

.header-social-btn {
    text-decoration: none;
    color: #333;
    margin-right: 10px;
}

.header-social-btn:hover {
    color: #d49ead;
}

.header-start-btn {
    display: flex;
    text-decoration: none;
    border: 1px solid #0a2c0a;
    border-radius: 14px;
    padding: 8px 18px;
    font-size: 16px;
    color: #0a2c0a;
    transition: .1s;
}


.header-start-btn:hover {
    background-color: #0a2c0a;
    color: #d3dfc9;
}


.header-mobile-btn {
    display: none;
}

.mobile-menu {
    transition: visibility 600ms cubic-bezier(.4, 0, .2, 1), opacity 400ms cubic-bezier(.4, 0, .2, 1);
    position: fixed;
    z-index: 100;
    display: flex;
    flex-direction: column;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    opacity: 0;
    visibility: hidden;
    will-change: opacity, visibility;
    user-select: none;
    text-align: center;
    pointer-events: auto;
    background: #fff;
    padding-top: 90px;
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

body.menu-open {
    overflow: hidden;
}

.header.active {
    background: #ffffff;
}

@media (max-width: 768px) {

    .section-subtitle{
        font-size: 30px;
    }

    .header {
        padding: 25px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 1000;
    }

    body {
        padding-top: 90px;
    }

    .header-container {
        justify-content: space-between;
        align-items: center;
    }

    .header .header-nav {
        display: none;
    }

    .header .header-btns {
        display: none;
    }

    .header-logo {
        margin: 0;
    }

    .header-mobile-btn {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 6px;
        background: none;
        border: none;
        padding: 0;
        width: 28px;
        height: 20px;
        cursor: pointer;
        position: relative;
        z-index: 1001;
    }

    .header-mobile-btn span {
        width: 100%;
        height: 2px;
        background: #0a2c0a;
        display: block;
        transition: 0.3s ease;
    }

    .header-mobile-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(3px, 3px);
    }

    .header-mobile-btn.active span:nth-child(2) {
        transform: rotate(-45deg) translate(3px, -3px);
    }

    .mobile-menu .header-menu {
        margin-top: 30px;
        flex-direction: column;
        gap: 30px;
        align-items: center;
        justify-content: center;
        flex: 1;
    }

    .mobile-menu .header-menu-link {
        font-size: 22px;
        font-weight: 500;
        text-transform: uppercase;
        letter-spacing: 1px;
    }

    .mobile-menu .header-social-btns {
        justify-content: flex-start;
        gap: 25px;
    }

    .mobile-menu .header-social-btn img {
        width: 22px;
    }

    .mobile-menu .header-btns {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: space-between;
        margin: auto 0 30px;
    }

    .mobile-menu .header-start-btn {
        justify-content: center;
        width: 180px;
        padding: 12px 20px;
        border-radius: 30px;
        text-align: center;
    }

}
.footer {
    background: #000;
    color: #f4d6e1;
    padding: 40px 20px;
    font-family: Arial, sans-serif;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
}

.footer-text {
    max-width: 400px;
}

.footer-text h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.footer-text p {
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-text .social-icons a {
    text-decoration: none;
    color: #f4d6e1;
    font-size: 24px;
    margin-right: 20px;
    transition: color 0.3s;
}

.footer-text .social-icons a:hover {
    color: #e1b1d1;
}

.footer-links h3,
.footer-contacts h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #f4d6e1;
    text-decoration: none;
    font-size: 16px;
}

.footer-links ul li a:hover {
    text-decoration: underline;
}

.footer-contacts ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-contacts ul li {
    margin-bottom: 5px;
    font-size: 14px;
}

.footer-contacts ul li a{
    color: #f4d6e1;
}

@media (max-width: 768px) {
    .footer {
        width: 100vw;
    }

    .footer-content {
        flex-direction: column;
    }
}
