/* Global */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
:root{
    --gold-color: #D8AD60;
    --secondary-color: #FFE686;
    --white-color: #F5F5F5;
    --grey-color: #3C3C3C;
    
    --border-color: #7F5901;
    
    --container-width: 1440px;
}
html{
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}
body{
    font-family: 'Inter', sans-serif;
    background-color: var(--grey-color);
    color: var(--gold-color);
}
a{
    text-decoration: none;
    color: var(--white-color);
}
h1 {
    font-size: 4rem;
    font-weight: bold;
}
h2{
    padding-top: 40px;
    margin-bottom: 40px;
    position: relative;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
}
h2::after{
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #F7D88A00, #F9CE61, #DFA001, #E4B337, #F7D88A00);
}
.container{
    max-width: var(--container-width);
    margin: 0 auto;
}
.bg{
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("assets/images/BG.jpg");
    background-size: cover;
    background-repeat: no-repeat;
}
.h--gradient {
    background: linear-gradient(to top, #8D6915, #F7D88A, #D3AC47, #FBDF98);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}
.button{
    padding: 10px 20px;
    border-radius: 5px;
    color: var(--white-color);
    text-decoration: none;
    transition: box-shadow 0.3s ease;
}
.button:hover{
    box-shadow: 0 0 15px var(--gold-color);
}
.button--gradient{
    background: linear-gradient(to right, #CC9B4D, #C38E42, #AE7037);
    font-weight: bold;
    padding: 15px 30px;
}
.button--contact{
    background: rgba(34, 34, 34, 0.5);
    border: 1px solid var(--border-color);
    border-radius: 30px;
    font-weight: 400;
    font-size: 1.5rem;
}
.button--image{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
}
p{
    font-size: 1.2rem;
    color: var(--white-color);
}
@media (max-width: 768px){
    h1{
        font-size: 3rem;
    }
    h2{
        font-size: 2rem;
    }
    .button--gradient{
        font-size: 1rem !important;
        padding: 10px 20px;
    }
    .button--contact{
        font-size: 1.2rem;
    }
}

/* Header */

.header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    height: 90px;
    position: fixed;
    top: 0;
    left: 0;
    background-color: var(--grey-color);
    width: 100%;
    max-width: 100%;
    z-index: 999;
}
.header__nav{
    display: flex;
    align-items: center;
    gap: 50px;
}
.header__nav ul{
    display: flex;
    gap: 40px;
}
.header__nav ul li{
    list-style: none;
}

.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    margin-left: auto;
}

.burger-menu span {
    display: block;
    width: 100%;
    height: 5px;
    background-color: var(--white-color);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.burger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6.1px, 8px);
}

.burger-menu.active span:nth-child(2) {
    opacity: 0;
}

.burger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6.5px, -8px);
}

/* Мобильное меню */
.mobile-menu {
    position: fixed;
    top: 85px;
    left: 0;
    width: 100%;
    height: calc(40vh - 90px);
    background: var(--grey-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-200%);
    transition: transform 0.3s ease;
    z-index: 1000;
}

.mobile-menu.active {
    transform: translateX(0);
}

.mobile-menu ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.mobile-menu ul li a {
    font-size: 1.2rem;
    color: var(--white-color);
    transition: color 0.3s ease;
}

.mobile-menu ul li a:hover {
    color: var(--gold-color);
}

/* Медиа-запросы */
@media (max-width: 768px) {
    .header__nav nav{
        display: none;
    }
    .burger-menu {
        display: flex;
    }
    .header__buttons{
        display: none;
    }
    .header {
        padding: 10px 20px;
    }

    .header__nav {
        gap: 20px;
        width: 100%;
        justify-content: space-between;
    }
}
/* First section */

.firstSection{
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("assets/images/firstSectionBG.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    text-align: center;

    margin-top: 90px;
    min-height: calc(100vh - 90px);
    display: flex;
    align-items: center;
    justify-content: center;
}
.firstSection__content p:not(.firstSection__contact p){
    color: var(--white-color);
    font-size: 1.5rem;
    margin: 30px 0;
    
    position: relative;
    padding-bottom: 30px;
    display: inline-block;
}
.firstSection__content p:not(.firstSection__contact p)::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 50%;
    height: 2px;
    background: linear-gradient(to right, #F7D88A00, #F9CE61, #DFA001, #E4B337, #F7D88A00);
}
.firstSection__contact{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.firstSection__contact div{
    display: flex;
    gap: 10px;
}
.firstSection__contact p{
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 20px;
    color: var(--gold-color);
}
@media (max-width: 768px){
    .firstSection__content p:not(.firstSection__contact p){
        font-size: 1.2rem;
    }
    .firstSection__contact p{
        font-size: 1.5rem;
    }
}
/* Second Section*/
.logo-carousel {
    padding: 30px 0;
    overflow: hidden;
    width: 100%;
}

.logo-carousel__container {
    position: relative;
    width: 100%;
}

.logo-carousel__track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: logo-scroll 30s linear infinite;
    will-change: transform;
}

.logo-carousel--paused .logo-carousel__track {
    animation-play-state: paused;
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 10px;
    opacity: 0.8;
    transition: all 0.3s ease;
    cursor: pointer;
}

.logo-item p {
    font-size: 1.2rem;
    font-weight: 600;
    margin-left: 15px;
    white-space: nowrap;
}

.logo-item:hover,
.logo-item--active {
    opacity: 1;
    transform: scale(1.05);
}

@keyframes logo-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .logo-item {
        margin: 0 20px;
    }
    
}
/*Third Section*/
.thirdSection{
    padding: 50px 0;
}
.thirdSection__content{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: auto;
    gap: 40px;
    padding: 0 10px;
}
.thirdSection__item{
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    height: 100%;
}
.thirdSection__item-text{
    height: 100%;
    margin: 0;
    padding: 20px;
    background-image: linear-gradient(to bottom, rgba(174, 112, 55, 0.7), rgba(195, 142, 66, 0.7), rgba(204, 155, 77, 0.7));
    flex-grow: 1;
}
.thirdSection__item-text h3{
    color: var(--secondary-color);
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 600;
}
.thirdSection__item-text p{
    font-size: 1.5rem;
    font-weight: 400;
}
.thirdSection__image-wrapper{
    height: 350px;
    overflow: hidden;
    position: relative;
}
.thirdSection__image{
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    filter: brightness(0.6);
    transition: all 0.3s ease;
}
.thirdSection__item:hover .thirdSection__image {
    transform: scale(1.05); 
    filter: brightness(0.8);
}
@media (max-width: 768px){
    .thirdSection__content{
        grid-template-columns: 1fr;
    }
    .thirdSection__image-wrapper{
        height: 250px;
    }
    .thirdSection__item-text p{
        font-size: 1.2rem;
    }
    .thirdSection__item-text h3{
        font-size: 1.5rem;
    }
}
/* Fourth Section */
.fourthSection{
    padding: 50px 10px 100px 10px;
    text-align: center;
}
.fourthSection p{
    font-size: 1.4rem;
    margin-bottom: 40px;
}
.fourthSection__content{
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("assets/images/fourthContentBG.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--border-color);
}
.fourthSection__list{
    padding: 0 100px;
    margin-bottom: 20px;
}
.fourthSection__list h3{
    font-size: 2rem;
    padding-top: 20px;
    margin-bottom: 40px;
    position: relative;
}
.fourthSection__list h3::after{
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    width: 30%;
    height: 2px;
    background: linear-gradient(to right, #F7D88A00, #F9CE61, #DFA001, #E4B337, #F7D88A00);
}
.fourthSection__list ul{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}
.fourthSection__list ul li{
    list-style: none;
    display: flex;
    align-items: center;
    gap: 5px;
    text-align: left;
}
.fourthSection__list ul li p{
    margin-bottom: 0;
}
@media (max-width: 1050px){
    .fourthSection__list{
        padding: 0 50px;
    }
}
@media (max-width: 768px){
    .fourthSection__list h3::after{
        width: 50%;
    }
    .fourthSection__list{
        padding: 0;
    }
    .fourthSection__list ul{
        grid-template-columns: 1fr;
    }
    .fourthSection__content{
        padding: 10px;
    }
}
/* Fifth Section */
.fifthSection{
    padding: 50px 0 120px;
}
.fifthSection__cards{
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin-top: 20px;
    gap: 20px;
}
.fifthSection__cards-card{
    background-color: #171717;
    border-radius: 20px;
    border: 1px solid var(--border-color);
    padding: 20px;
    height: 320px;
    width: 300px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}
.fifthSection__cards-card h3{
    color: var(--secondary-color);
    font-size: 1.5rem;
    margin: 20px 0;
}
@media (max-width: 1050px){
    .fifthSection__cards-card h3{
        font-size: 1.2rem;
    }
    .fifthSection__cards-card{
        padding: 15px;
    }
}
@media (max-width: 768px){
    .fifthSection__cards{
        padding: 0 15px;
        flex-direction: column;
    }
    .fifthSection__cards-card{
        background-image: linear-gradient(160deg, #171717, #513F20, #1C1C1C);
        width: 100%;
        height: 150px;
        padding: 20px;
        flex-direction: row;
        gap: 20px;
        align-items: center;
    }
    .fifthSection__cards-card h3{
        margin: 5px 0;
    }
    .fifthSection__cards-card p{
        font-size: 1rem;
    }
}
/* Sixth Section */
.sixthSection{
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url("assets/images/sixthSectionBG.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    padding: 50px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}
.sixthSection h3{
    font-size: 3rem;
    padding-bottom: 40px;
    margin-bottom: 40px;
    position: relative;
}
.sixthSection h3::after{
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 0;
    width: 30%;
    height: 2px;
    background: linear-gradient(to right, #F7D88A00, #F9CE61, #DFA001, #E4B337, #F7D88A00);
}
@media (max-width: 768px){
    .sixthSection h3{
        font-size: 2rem;
    }
}
/* Seventh Section */
.seventhSection{
    padding: 50px 0 100px;
}
.seventhSection h2{
    margin-bottom: 30px;
}
.seventhSection h2::after{
    width: 0;
}
.seventhSection p{
    text-align: center;
    margin-bottom: 40px;
}
.form{
    padding: 25px;
    border-radius: 20px;
    width: 900px;
    margin: 0 auto;
    background-color: #C38E4233;
    border: 1px solid var(--border-color);
}
.form__group{
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
    gap: 10px;
}
.form__group label{
    color: var(--secondary-color);
}
.form__group input{
    padding: 15px;
    border-radius: 5px;
    background-color: #171717;
    border: 1px solid #171717;
    color: var(--white-color);
}
.form__group input[type="date"] {
    position: relative;
    background-image: url('assets/images/calendarIcon.svg');
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 20px 20px;
    padding-right: 40px;
}

.form__group input[type="date"]::-webkit-calendar-picker-indicator {
    opacity: 0;
    position: absolute;
    right: 0;
    width: 10%;
    height: 100%;
    cursor: pointer;
}
.form__group textarea{
    padding: 15px;
    border-radius: 5px;
    background-color: #171717;
    border: 1px solid #171717;
    color: var(--white-color);
    height: 100px;
    margin-bottom: 20px;
}
.form button{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: linear-gradient(to right, #CC9B4D, #C38E42, #AE7037);
    border: none;
    border-radius: 5px;
    padding: 10px;
    font-weight: 600;
    color: var(--white-color);
    cursor: pointer;
    font-size: 1.2rem;
}
@media (max-width: 950px){
    .seventhSection{
        padding: 50px 10px;
    }
    .seventhSection h2{
        padding-top: 0;
    }
    .form{
        width: 100%;
    }
}
/* Footer */
.footer{
    background-color: #272727;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
.footer p{
    color: #989898;
    font-size: 1rem;
}
.footer div{
    color: #989898;
}
.footer a{
    color: var(--gold-color);
    text-decoration: underline;
}

/* Уведомления (Notification) */
.notification-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.notification-overlay.show {
    opacity: 1;
}

.notification {
    background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transform: scale(0.8) translateY(-20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.notification-overlay.show .notification {
    transform: scale(1) translateY(0);
}

.notification__icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin-bottom: 20px;
    animation: iconPulse 0.6s ease-out;
}

@keyframes iconPulse {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.notification--success .notification__icon {
    background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
}

.notification--error .notification__icon {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
}

.notification__icon svg {
    filter: drop-shadow(0 0 10px currentColor);
}

.notification__content {
    margin-bottom: 10px;
}

.notification__title {
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 15px;
    background: linear-gradient(to right, var(--gold-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.notification__text {
    font-size: 1.1rem;
    color: var(--white-color);
    line-height: 1.6;
}

.notification--success {
    border: 2px solid rgba(46, 204, 113, 0.3);
}

.notification--error {
    border: 2px solid rgba(231, 76, 60, 0.3);
}

.notification__close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--white-color);
    transition: all 0.3s ease;
}

.notification__close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.notification__close svg {
    width: 20px;
    height: 20px;
}

/* Адаптив для мобильных */
@media (max-width: 768px) {
    .notification {
        padding: 30px 20px;
        max-width: 90%;
    }

    .notification__icon {
        width: 60px;
        height: 60px;
    }

    .notification__icon svg {
        width: 50px;
        height: 50px;
    }

    .notification__title {
        font-size: 1.5rem;
    }

    .notification__text {
        font-size: 1rem;
    }
}

/* Анимация появления */
@keyframes slideInDown {
    from {
        transform: translateY(-100px) scale(0.8);
        opacity: 0;
    }
    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}