html {
    scroll-behavior: smooth;
}
body {
    font-family: "Open Sans", sans-serif;
    font-size: 18px;
    line-height: 1.66;
    font-weight: 400;
    font-style: normal;
    background-color: rgba(255, 255, 255, 1);
    color: rgba(48, 48, 48, 1); 
}

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

ul, ol {
    list-style: none;
}

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

img {
    display: block;
    max-width: 100%;
    height: auto;
}

button, input, textarea, select {
    font: inherit;
    border: none;
    outline: none;
}

button {
    background: transparent;
    cursor: pointer;
}
section {
    padding: 84px 0;
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}
.container {
    padding: 0 30px;
    margin: 0 auto;
}
.sub-title-box {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-bottom: 20px;
}
.sub-title-line {
    width: 60px;
    height: 1px;
    background-color: rgba(48, 48, 48, 1);
}
.white-line {
    background-color: rgba(255, 255, 255, 1);
}
.grey-line {
    background-color: rgba(157, 164, 189, 0.6);
}
.sub-title {
    color: rgba(48, 48, 48, 1);
    font-size: 11px;
    font-weight: 600;
    line-height: 15px;
    text-transform: uppercase;
}
.white-text {
    color: rgba(255, 255, 255, 1);
}
.grey-text {
    color: rgba(157, 164, 189, 0.6);
}

.title {
    color: rgba(48, 48, 48, 1);
    font-family: Raleway;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.16;
}
.socials {
    display: flex;
    align-items: center;
    gap: 40px;
}
.socials-link {
    font-size: 11px;
    font-weight: 600;
    color: #303030;
}
.socials-link:hover {
    color: #FF6C00;
}
.horizontal__line {
    width: 60px;
    height: 1px;
    background-color: #303030;
}
.button {
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 12px;
    font-weight: 600;
    color: rgba(48, 48, 48, 1);
    border: 1px solid rgba(255, 108, 0, 1);
    background-color: transparent;
    text-transform: uppercase;
    width: fit-content;
    transition: all 0.3s ease;
}
.button:hover {
    color: rgba(255, 255, 255, 1);
    background-color: rgba(255, 108, 0, 1);
}
.nav-btn, .service-btn {
    color: #FFFFFF;
}
.mobile-btn {
    padding: 12px 37px;
}


.header {
    position: relative;   
    padding: 0 clamp(0, 5vw, 215px);  
    display: flex;
    min-height: 600px;
    background-color: rgba(255, 255, 255, 1);
    margin: 0 auto;
    transition: padding 0.3s ease; 
}

.sidebar {
    display: none;    
}

.nav {
    padding: 40px 30px ;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
    box-sizing: border-box;
}
.nav__links,
.nav__contacts {
    display: none;
}


.slider {    
    flex: 1;
    position: relative;
    overflow: hidden;
    min-height: 600px;
}
.slider__container {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}
.slider__track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
}
.slider__slide {
    flex: 0 0 100%;
    height: 100%;
}
.slider__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slider__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 5;
}
.slider__content {
    left: 30px;
    right: 30px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 6;
    max-width: 600px;
}
.slider__title {
    font-size: 48px;
    color: #FFFFFF;
    font-family: "Raleway", sans-serif;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
}
.slider__text {
    color: #9DA4BD;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.67;
    letter-spacing: 0.02em;
}
.slider__controls {
    display: none;    
}
.pagination {
    display: none;
    
}




.burger {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 100;
    background: transparent;
    border: none;
    padding: 0;
}
.burger span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #fff;
    transition: all 0.3s ease;
}
.burger:hover span {
    background-color: #FF6C00;
}
.burger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.burger.active span:nth-child(2) {
    opacity: 0;
}
.burger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}
.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}
.mobile-nav__logo {
    z-index: 100;
}
.mobile-nav__logo-icon {
    color: rgba(255, 255, 255, 1);
}
.mobile-nav__logo-icon:hover {
    color: #FF6C00;
}
.mobile-nav {    
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    padding: 40px 30px;
    transition: right 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
}
.mobile-nav.active {
    right: 0;
}
.mobile-nav__header {
    display: flex;
    justify-content: end;
    align-items: center;
    margin-bottom: 50px;
}
.mobile-nav__close {
    font-size: 48px;
    line-height: 1;
    cursor: pointer;
    color: #333;
    transition: all 0.3s ease;
}
.mobile-nav__close:hover {
    color: #FF6C00;
}
.mobile-nav__links {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 65px;
}
.mobile-nav__link {
    font-size: 18px;
    color: #303030;
    font-weight: 600;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
}
.mobile-nav__link:hover {
    color: #FF6C00;
}
.mobile-nav__contacts {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 65px;
}
.mobile-nav__contacts-link {
    font-size: 18px;
    color: #303030;
    font-weight: 600;
    line-height: 25px;
    transition: all 0.3s ease;
}

.mobile-nav__socials {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: fit-content;
}
.mobile-nav__socials-item {
    display: flex;
    align-items: center;
    gap: 40px;
}
.mobile-nav__socials-link {    
    font-size: 14px;
    transition: all 0.3s ease;
}

.youtube {
    margin-left: 100px;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease-in-out;
    backdrop-filter: blur(5px);
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal {
    background-color: #fff;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: 15px;
    padding: 40px;
    position: relative;
    transform: translateY(-30px);
    transition: transform 0.4s ease-in-out;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}
.modal-overlay.active .modal {
    transform: translateY(0);
}
.modal__close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 40px;
    line-height: 1;
    color: #303030;
    cursor: pointer;
    transition: color 0.3s ease;
    background: none;
    border: none;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.modal__close:hover {
    color: #FF6C00;
}
.modal__title {
    font-family: "Raleway", sans-serif;
    font-size: 32px;
    font-weight: 700;
    color: #303030;
    margin-bottom: 10px;
    text-align: center;
}
.modal__form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.form__label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: #303030;
    text-transform: uppercase;
}
.form__input,
.form__textarea {
    padding: 10px 0;
    border: none;
    border-bottom: 1px solid rgba(48, 48, 48, 0.2);
    background: transparent;
    font-size: 14px;
    transition: border-color 0.3s ease;
    width: 100%;
}
.form__input:focus,
.form__textarea:focus {
    border-bottom-color: #FF6C00;
    outline: none;
}
.form__input::placeholder,
.form__textarea::placeholder {
    color: rgba(48, 48, 48, 0.4);
    font-size: 12px;
}
.form__submit {
    padding: 12px 50px;
    margin-top: 10px;
    align-self: center;
}

.about__images {
    display: none;
}
.about__title-box {
    max-width: 418px;
}
.about__title {
    font-size: 28px;
    line-height: 1.178;
    margin-bottom: 20px;
}
.about__text {
    color: rgba(85, 85, 85, 1);
    font-size: 16px;
    margin-bottom: 20px;
}
.about__description {
    color: rgba(85, 85, 85, 1);
    font-size: 14px;
    margin-bottom: 40px;
}

.services {
    background-color: rgba(17, 19, 25, 1);
    background-image: url("../images/bg-services.png");
    background-repeat: no-repeat;
    background-size: cover;
}
.services__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.services__title-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
}
.services__title {
    color: rgba(255, 255, 255, 1);    
    margin-bottom: 45px;
}
.services-btn {
    color: rgba(255, 255, 255, 1);
}
.services__lists {
    width: 100%;
    background: linear-gradient(180.00deg, rgba(23, 26, 36, 1) 0%,rgba(23, 26, 36, 0.2) 100%);    
    padding: 30px 20px;
    margin-bottom: 45px;
}
.services__list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.services__list--left {
    margin-bottom: 20px;
}
.services__item {
    display: flex;
    gap: 10px;
    align-items: baseline;
}
.services__item span {
    height: 1px;
    background: rgba(157, 164, 189, 0.12);
    flex: 1;
}
.services__text {
    color: rgba(157, 164, 189, 1);
    font-size: 14px;
    font-weight: 400;
}


.why__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.why__title-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    max-width: 500px;
}
.why__title {    
    margin-bottom: 20px;
}
.why__text {    
    margin-bottom: 40px;
}
.why__description {
    display: flex;
    gap: 30px;
}
.why__description-inner-box {
    display: flex;
    flex-direction: column;
    gap: 30px;
}
.why__description-inner-box:first-child {
    margin-bottom: 35px;
}
.why__description-inner-box:last-child {
    margin-top: 35px;
}
.why__description-text-box {
    background-color: rgba(247, 247, 247, 1);
    padding: 20px 35px;
    display: flex;
    flex: 1;
    max-width: 210px;
}
.why__description-text-box div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    width: 100%;
}
.why__description-text-box span {
    position: relative;
    font-size: 42px;
    font-weight: 700;
}
.why__description-text-box span::after {
    content: '+';
    position: absolute;
    top: 7px;
    font-size: 16px;
    color: rgba(255, 108, 0, 1);
}
.why__description-text-box p {
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}


.barbers {
    background-color: rgba(247, 247, 247, 1);
}
.barbers__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.barbers__title-box {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
}
.barbers__title {    
    margin-bottom: 40px;
}
.barbers__list {
    display: flex;
    flex-direction: column;
    gap: 65px;
}
.barbers__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}
.barbers__card img {
    display: block;
    width: 418px;
    height: 346px;
    object-fit: cover;
}
.barber__info p {    
    text-align: center;
    margin-bottom: 8px;
}
.barber__info span {
    color: rgba(255, 108, 0, 1);
    font-size: 14px;
    text-align: center;
}
.barber__socials-links {
    display: flex;
    gap: 10px;
    align-items: center;
}
.barber__socials-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px;
    background-color: rgba(255, 255, 255, 1);
    border-radius: 50%;
    transition: all 0.3s ease;
}
.barber__socials-links a:hover svg {
    fill: rgba(255, 108, 0, 1);
}
.barber__socials-links svg {
    transition: all 0.3s ease;
}


.photo__container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.photo__gallery {
    display: grid;
    justify-content: center;
    gap: 30px;
    width: 100%;
}
.photo__gallery img {
    display: block;
    grid-template-columns: 1fr; 
    width: 100%;
    height: 360px;
    object-fit: cover;
}


.footer__container {
    display: flex;
    flex-direction: column;
}
.footer__booking {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
    padding: 84px 30px;
    background-color: rgba(25, 28, 38, 1);
}

.footer__booking h3 {
    color: rgba(255, 255, 255, 1);
    margin-bottom: 40px;
    text-align: center;
}

/* Стили для формы в футере */
.footer__booking .booking-form {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
}

.footer__booking .input-group {
    text-align: left;
    margin-bottom: 30px;
    position: relative;
    width: 100%;
}

.footer__booking .input-wrapper {
    position: relative;
    width: 100%;
}

.footer__booking label {
    position: absolute;
    left: 0;
    bottom: 10px;
    font-size: 16px;
    color: rgba(157, 164, 189, 0.6);
    letter-spacing: 1px;
    transition: all 0.3s ease;
    pointer-events: none;
    transform-origin: left bottom;
    z-index: 1;
    text-transform: uppercase;
    font-size: 11px;
    font-weight: 600;
}

.footer__booking .input-group.active label,
.footer__booking .input-group:focus-within label {
    transform: translateY(-25px);
    font-size: 10px;
    color: #FF6C00;
}

.footer__booking .input-group:not(:focus-within):hover label {
    color: #ffffff;
}

.footer__booking .input-group:not(:focus-within):hover input,
.footer__booking .input-group:not(:focus-within):hover textarea {
    border-bottom-color: #ffffff;
}

.footer__booking input,
.footer__booking textarea {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(157, 164, 189, 0.4);
    color: #ffffff;
    padding: 10px 0;
    font-size: 14px;
    outline: none;
    resize: none;
    transition: border-color 0.3s ease;
    box-sizing: border-box;
    -webkit-text-fill-color: #ffffff !important;
    caret-color: #ffffff;
}

.footer__booking .input-group:focus-within input,
.footer__booking .input-group:focus-within textarea {
    border-bottom-color: #FF6C00;
}

.footer__booking input:-webkit-autofill,
.footer__booking input:-webkit-autofill:hover,
.footer__booking input:-webkit-autofill:focus,
.footer__booking textarea:-webkit-autofill,
.footer__booking textarea:-webkit-autofill:hover,
.footer__booking textarea:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0px 1000px #191C26 inset !important;
    transition: background-color 5000s ease-in-out 0s;
    border-bottom-color: #FF6C00;
}

.footer-submit-btn {
    padding: 12px 38px;
    color: #ffffff;
}


.footer__contacts {
    display: flex;
    flex-direction: column;
    padding: 84px 30px;
    background-color: rgba(25, 28, 38, 1);
    background-image: url(../images/footer-bg.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.contacts {
    display: flex;
    flex-direction: column;
}
.contacts div {
    display: flex;
    gap: 16px;
}
.contacts h3 {
    color: rgba(255, 255, 255, 1);    
    text-align: center;
    margin-bottom: 40px;
}
.contacts p {
    margin-bottom: 20px;
}
.contacts a {
    margin-bottom: 40px;
    text-decoration: underline;
    transition: all 0.3s ease;
}
.contacts a:hover {
    color: #FF6C00;
}
.contacts p, a {
    color: rgba(157, 164, 189, 1);    
}
.work-time-text {
    color: rgba(157, 164, 189, 1);    
    line-height: 30px;
}
.footer__end {
    display: flex;
    justify-content: space-between;
    padding: 44px 30px;
}
.footer__copyright {
    padding-top: 35px;
}
.footer__copyright p {
    color: rgba(157, 164, 189, 1);
    font-size: 11px;
    font-weight: 600;
}



