@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');


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


body {
    color: #FCFCFC;
    font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
    font-weight: 400;
    position: relative;
    margin: 0;
    padding: 0;
}

ul, li {
    padding: 0;
    list-style: none;
}

a {
    color: inherit;
    text-decoration: none;
}

/* Предотвращение моргания при загрузке */
body {
    opacity: 0;
}

body.loaded {
    opacity: 1;
    transition: opacity 0.3s ease;
}

/* Скрытие анимируемых элементов до загрузки */
.hero-title h1, 
.column, 
.review-content,
.contact-title, 
.contact-subtitle, 
.contact-form .form-row, 
.contact-form .form-group.full-width, 
.contact-info .info-block,
.submit-btn,
.image_block,
.project-title, 
.project-meta span, 
.description-column, 
.gallery-item.visible, 
.see-all-btn {
    opacity: 0;
    transform: translateY(30px);
}

/* Оверлей для переходов */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(252, 252, 252, 0.95); /* Светлый полупрозрачный */
    backdrop-filter: blur(10px);
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
}

/* ================================
   КОНТЕЙНЕР
   ================================ */
.container {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
}


/* ================================
   HEADER (общий для всех страниц)
   ================================ */
header, .contact-header {
    padding: 25px 0;
    width: 100%;
    position: relative;
    z-index: 10;
    opacity: 0;
    transform: translateY(-20px);
}

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

.logo {
    font-size: 24px;
    font-weight: bold;
}

/* Навигация */
.pages {
    display: flex;
    gap: 70px;
}

.pages a {
    position: relative;
    padding-bottom: 5px;
    transition: all 0.3s ease;
    font-size: 18px;
    letter-spacing: 1px;
}

.pages a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: #FCFCFC;
    transition: width 0.3s ease;
}

.pages a:hover::after,
.pages a.active::after {
    width: 100%;
}

/* Кнопка INQUIRE */
.form_button {
    display: flex;
    padding: 8px 24px;
    font-size: 15px;
    letter-spacing: 1px;
    align-items: center;
    border-radius: 33px;
    background: #0E0C18;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(252, 252, 252, 0.1);
    transition: all 0.3s ease;
}

.form_button:hover {
    background: rgba(252, 252, 252, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

/* ================================
   БУРГЕР МЕНЮ
   ================================ */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 40px;
    height: 28px;
    cursor: pointer;
    z-index: 1000;
    position: relative;
    transition: all 0.3s ease;
}

.burger-menu span {
    height: 2px;
    background: #FCFCFC;
    transition: all 0.3s ease;
    position: absolute;
    right: 0;
}

.burger-menu span:nth-child(1) {
    top: 0;
    width: 100%;
}

.burger-menu span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
    width: 35px;
}

.burger-menu span:nth-child(3) {
    bottom: 0;
    width: 100%;
}

.burger-menu.active {
    width: 30px;
    height: 30px;
}

.burger-menu.active span {
    width: 100%;
}

.burger-menu.active span:nth-child(1) {
    top: 50%;
    right: 0;
    transform: rotate(45deg) translateY(-50%);
    transform-origin: center;
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    bottom: 50%;
    right: 0;
    transform: rotate(-45deg) translateY(50%);
    transform-origin: center;
}

/* ================================
   МОБИЛЬНОЕ МЕНЮ
   ================================ */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100dvh;
    background: #0E0C18;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 25px 5%;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 999;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0;
}


.close-menu {
    font-size: 60px;
    cursor: pointer;
    font-weight: 300;
    color: #FCFCFC;
}

.mobile-menu-pages {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 36px;
}

.mobile-menu-pages a {
    color: #FFF;
    font-size: 44px;
}

/* ================================
   КЛИКАБЕЛЬНЫЕ КОНТАКТЫ
   ================================ */
.contacts a, .contact-info a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.contacts a:hover, .contact-info a:hover {
    opacity: 0.7;
}

/* ================================
   FOOTER (общий для всех страниц)
   ================================ */

footer {
    background-color: #0E0C18;
    color: #FCFCFC;
    padding-top: 90px;
    padding-bottom: 45px;
}

.main_footer {
    display: flex;
    justify-content: space-between;
}

.logo_footer {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.bottom_footer {
    font-family: Inter;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 90px;
    font-size: 8px;
}

.pages_footer {
    font-size: 18px;
    gap: 32px;
    display: flex;
    flex-direction: column;
}

.socials {
    gap: 15px;
    display: flex;
}

.contacts {
    font-size: 18px;
    gap: 49px;
    display: flex;
    flex-direction: column;
}

.additional {
    padding-top: 7px;
    font-size: 9px;
    font-family: Inter;
    color: #FCFCFC4D;
}

/* ================================
   АДАПТИВНОСТЬ (общая)
   ================================ */
@media (max-width: 1200px) {
    .logo {
        width: 90%;
    }
}

@media (max-width: 1000px) {
    .logo {
        width: 80%;
    }

    .pages {
        gap: 50px;
    }
}

@media (max-width: 925px) {
    .pages {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .logo_footer {
        width: 60%;
        position: relative;
    }

    .pages_footer {
        width: 100%;
    }

    .contacts {
        width: 100%;
        align-items: end;
    }

    .main_footer {
        flex-direction: column;
        gap: 45px;
    }

    .pages,
    .form_button {
        display: none;
    }

    .burger-menu {
        display: flex;
    }

    .hidden_on_mobile {
        display: none;
    }

    /* Выравниваем отступы header и mobile-menu */
    .mobile-menu-header {
        padding: 0;
        align-items: flex-start;
    }
    
    .close-menu {
        margin-top: -10px;
    }
}

@media (max-width: 535px) {

    .logo {
        width: 60%;
    }

}


@media (max-width: 480px) {

    .logo_footer {
        width: 80%;
    }
}