:root {
    --color-primary: #9e8a78;
    --color-primary-dark: #857260;
    --color-background: #fcf9f5;
    --color-text: #777777;
    --color-white: #ffffff;
    --color-accent: #303133;
    --color-border: #dfd8d3;
    --footer-border: #333333;
    --footer-bg: #222227;
    --transition: all 0.25s ease;
    --gap: 25px;
    --border-radius: 5px;
}

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

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


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

body {
    line-height: 1.3;
    font-family: 'Lato';
    font-weight: 300;
    background-color: var(--color-background);
}

img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.inner {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

@media screen and (max-width: 520px) {
    .inner {
        padding: 0 10px;
    }
}

h2, h3, h4, h5, h6 {
    padding: 0;
    margin: 0;
    color: var(--color-text);
    font-weight: 600;
}

h2 {
    font-size: clamp(28px, 4vw, 36px);
}

h3 {
    font-size: clamp(24px, 2vw, 30px);
}

h4 {
    font-size: clamp(20px, 1.5vw, 26px);
}

p {
    font-size: clamp(15px, 1vw, 18px); 
    padding: 0;
    margin: 0;
}

.h3 {
    color: var(--color-primary);
}

a {
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 520px) {
    a {
        width: 100%;
    }
}

input {
    background-color: var(--color-background);
    border: 1px solid var(--color-primary);
}

textarea {
    background-color: var(--color-background);
    border: 1px solid var(--color-primary);
}

form:focus, form:active {
    outline: none;
}

ul {
    list-style: none;
}

button {
    text-decoration: none;
    border: none;
    outline: none;
    background: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 520px) {
    button {
        width: 100%;
    }
}

.row {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--gap);
}

.box25 > .col {
    width: calc(25% - var(--gap));
}

.box50 > .col {
    width: calc(50% - var(--gap));
}

.box33 > .col {
    width: calc(33.333% - var(--gap));
}

@media screen and (max-width: 1024px) {
    .box33 > .col {
        width: calc(50% - var(--gap));
    }
}

@media screen and (max-width: 768px) {

    .box25 > .col {
        width: calc(50% - var(--gap) / 2);
    }

    .box50 > .col {
        width: 100%;
    }

    .box33 > .col {
        width: 100%;
    }

}

@media screen and (max-width: 520px) {
    .box25 > .col {
        width: 100%;
    }
}

.space-small {
    margin-bottom: 25px;
    display: block !important;
}

.space-medium {
    margin-bottom: 55px;
    display: block !important;
}

.space-large {
    margin-bottom: 75px;
    display: block !important;
}

.space-extralarge {
    margin-bottom: 100px;
    display: block !important;
}

@media screen and (max-width: 1024px) {
    .space-medium {
        margin-bottom: 40px;
        display: block !important;
    }

    .space-large {
        margin-bottom: 50px;
        display: block !important;
    }

    .space-extralarge {
        margin-bottom: 75px;
        display: block !important;
    }
}

@media screen and (max-width: 520px) {
    .space-medium {
        margin-bottom: 35px;
        display: block !important;
    }

    .space-large {
        margin-bottom: 40px;
        display: block !important;
    }

    .space-extralarge {
        margin-bottom: 50px;
        display: block !important;
    }
}

/* header */

header {
    /* background-color: var(--color-background); */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    z-index: 10;
    transition: var(--transition);
}

header .inner {
    border-bottom: 1px solid var(--color-border);
    padding-top: 20px;
    padding-bottom: 20px;
}

@media screen and (max-width: 768px) {
    header .inner {
        padding-top: 10px;
        padding-bottom: 10px;
    }
}

header:hover {
    background-color: var(--color-background);   
}

.scrolled {
    background-color: var(--color-background);
}

.scrolled a {
    color: var(--color-accent);
}

header > .inner {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: space-between;
}

.logo {
    width: 100%;

    max-width: 120px;
}

.nav-wrapper {
    display: flex;
    align-items: center;
    gap: 50px;
}

@media screen and (max-width: 1024px) {
    .nav-wrapper {
        gap: 0;
    }
}

nav > ul {
    display: flex;
    align-items: center;
    gap: 20px;
    transition: var(--transition);
}

nav > ul.opened {
   display: flex;
}

@media screen and (max-width: 1024px) {
    nav > ul {
        flex-direction: column;
        display: none;
        position: absolute;
        top: 88px;
        left: 0;
        width: 100%;
        background: var(--color-background);
        gap: 0;
    }
}



@media screen and (max-width: 1024px) {
    nav > ul li {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        border-bottom: 1px solid var(--color-border);
        padding: 15px 0;
    }

    nav > ul li:first-child {
        border-top: 1px solid var(--color-border);
    }

    nav > ul li:last-child {
       border: none;
    }
}

nav > ul li a {
    color: var(--color-white);
    transition: var(--transition);
}

nav > ul li a:hover {
    color: var(--color-primary) !important;
}

header:hover nav > ul li a {
    color: var(--color-accent);
}

a {
    cursor: pointer;
}

.button a.main {
    color: var(--color-white);
    background-color: var(--color-primary);
    padding: 15px 30px;
    transition: var(--transition);
    border-radius: var(--border-radius);
}

.button a.main:hover {
   background-color: var(--color-primary-dark);
}

@media screen and (max-width: 520px) {
    .button {
        display: none;
    }
}


/* Hambruger Menu */

.openbtn {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    cursor: pointer;
    position: relative;
    display: none;
  }

@media screen and (max-width: 1024px) {
    .openbtn {
        display: block;
    }
}
  
  .openbtn .openbtn-area {
    transition: all 0.4s;
    width: 50px;
    height: 50px;
  }
  
  .openbtn span {
    position: absolute;
    background: var(--color-white);
    display: inline-block;
    border-radius: 3px;
    left: 12px;
    height: 3px;
    transition: all 0.4s;
    width: 50%;
  }
  
  .openbtn span:nth-of-type(1) {
    top: 16px;
  }
  
  .openbtn span:nth-of-type(2) {
    top: 24px;
  }
  
  .openbtn span:nth-of-type(3) {
    top: 32px;
  }
  
  .openbtn.active .openbtn-area {
    transform: rotate(360deg);
  }
  
  .openbtn.active span:nth-of-type(1) {
    width: 45%;
    top: 18px;
    left: 14px;
    transform: translateY(6px) rotate(-45deg);
  }
  
  .openbtn.active span:nth-of-type(2) {
    opacity: 0;
  }
  
  .openbtn.active span:nth-of-type(3) {
    width: 45%;
    top: 30px;
    left: 14px;
    transform: translateY(-6px) rotate(45deg);
  }

/* Hero Banner */

.hero-banner {
    width: 100%;
    min-width: 100vw;
    height: 100%;
    min-height: 100vh;
}

.hero-banner img {
    height: 100vh;
}

video {
    width: 100%;
    object-fit: cover;
    height: 100vh;
}

/* About */

#about .row.box50 {
    justify-content: space-between;
 }

.info {
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    max-width: 500px;
    color: var(--color-text);
    gap: 15px;
}

#about .info img {
    width: 100px;
    height: 100px;
}

#about .img .img-wrapper {
    position: relative; 
    height: 600px; 
    overflow: hidden; 
}

#about .img .img-wrapper img {
    position: absolute; 
    width: 100%; 
    height: auto; 
    object-fit: cover; 
    border-radius: 10px; 
}

#about .img .img-wrapper img:nth-child(1) {
    top: 80px;
    left: 0;
    right: 0;
    height: 350px;
    width: 400px;
    z-index: 3;
}

#about .img .img-wrapper img:nth-child(2) {
    top: 0px;
    left: 350px;
    height: 350px;
    width: 350px;
    z-index: 2;
}

#about .img .img-wrapper img:nth-child(3) {
    top: 300px;
    left: 290px;
    height: 300px;
    width: 300px;
    z-index: 1;
}

#about h3 {
    margin-bottom: 20px;
    color: var(--color-primary);
}

#about .park {
    color: var(--color-accent);
}


#about .swiperAbout {
    display: none;
}

@media screen and (max-width: 1024px) {

    #about .img  {
      display: flex;
      align-items: center;
    }
 
    #about .img .img-wrapper {
        display: none; 
    }

    #about .swiperAbout {
        display: block;
    }

    #about .swiperAbout .swiper-slide {
        height: 400px !important;
        width: 100% !important;
    }

    #about .swiperAbout .swiper-slide img {
        border-radius: 20px;
    }
}


@media screen and (max-width: 768px) {
 
    .info {
        max-width: 100%; 
    }

    #about .img .img-wrapper {
        display: none; 
    }

    #about .swiperAbout {
        display: block;
    }

    #about .swiperAbout .swiper-slide {
        height: 400px !important;
        width: 100% !important;
    }

    #about .swiperAbout .swiper-slide img {
        border-radius: 20px;
    }
}

@media screen and (max-width: 520px) {
 
    #about .swiperAbout .swiper-slide {
        height: 300px !important;
        width: 100% !important;
    }

    #about .swiperAbout .swiper-slide img {
        border-radius: 20px;
    }
}

/* Services */

.services {
    background-color: var(--color-background);
    padding: 50px 0;
}

@media screen and (max-width: 1200px) {
    .services .row.box25 > .col {
        width: calc(50% - var(--gap));
    }    
}

@media screen and (max-width: 600px) {
    .services .row.box25 > .col {
        width: 100%;
    }    
}

.services .upper,
.barbers .upper,
.prices .upper {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 50px;
    justify-content: center;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .services .upper,
    .barbers .upper,
    .prices .upper {
        margin-bottom: 35px;
    }
}

.upper img {
    width: 150px;
}

.services .lower .col {
    background-color: var(--color-white);
    border-radius: var(--border-radius);
}

.services .lower .col .box-inner {
    padding: 40px 30px;
}

.services .lower .img {
    display: flex;
    justify-content: center;
    align-items: center;
}

.services .lower img {
    width: 30px;
}

.services .lower .box-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: center;
}

.services .lower p {
    color: var(--color-text);
    margin-top: 10px;
}

/* .best {
    background-image: url(/images/high-quality.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 40px;
    height: 40px;
    display: block;
    position: absolute;
    top: -3px;
    left: -10px;
} */

/* Appiontment */

.appointment .row .col.col1 {
    height: 700px;
}

.appointment .row.box50 > .col {
    width: calc(50% - var(--gap));
}


@media screen and (max-width: 550px) {
    .appointment .row .col.col1 {
        height: 350px;
    }

    .appointment .row.box50 > .col {
        width: 100%;
    }
}


.appointment .row .col.col2 {
    max-width: 500px;
    display: flex;
    justify-content: center;
}

@media screen and (max-width: 550px) {
    .appointment .row .col.col2 {
       padding: 0 20px;
    }
}

.appointment form {
    margin-top: 30px;
}

.appointment input[type="date"] {
    padding: 10px 20px;
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius);
    color: var(--color-primary);
    min-width: 250px;
    min-height: 39px;
}

.appointment input[type="date"]:focus {
    outline: none;

}

.appointment input[type="date"]::-webkit-calendar-picker-indicator {
    display: none;
}

.appointment form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}


.times {
    display: flex;
    row-gap: 5px;
    column-gap: 10px;
    flex-wrap: wrap;
}

.time {
    border: 1px solid var(--color-primary);
    width: 75px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: var(--border-radius);
    padding: 5px 10px;
    margin-top: 10px;
}

@media screen and (max-width: 520px) {
    .time {
        width: calc(25% - 10px);
    }
}

.time.selected {
    background-color: var(--color-primary);
    transition: var(--transition);
}

.time.selected span {
    color: var(--color-white);
}

.time span {
    color: var(--color-primary);
    font-size: 16px;
    cursor: pointer;
    transition: var(--transition);
}

.appointment .col.col2 {
    display: flex;
    flex-direction: column;
    gap: var(--gap);
}

.input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.input-wrapper input {
    padding: 10px;
    color: var(--color-accent);
}

.input-wrapper textarea {
    padding: 10px;
    color: var(--color-accent);
}

.input-wrapper textarea:focus,
.input-wrapper input:focus {
    outline: none;
}

.input-wrapper span {
    color: var(--color-text);
}

.form-btn button {
    padding: 15px 30px;
    color: var(--color-white);
    background: linear-gradient(to left, #9e8a78 50%, #303133 50%) right;
    border-radius: var(--border-radius);
    transition: 0.5s ease;    
    background-size: 200%;
}


.form-btn button:hover  {
    background-position: left;
}


/* barbers */

.barbers .lower .col {
    position: relative;
}

.barbers .lower .col span {
    position: absolute;
    bottom: 5px;
    left: 0;
    text-align: center;
    color: var(--color-white);
    background: rgba(158, 138, 120, 0.7); 
    padding: 25px 0;
    width: 100%;
    font-size: 20px;
    font-weight: 500;
}

.barbers .lower .col img {
    height: 100%;
    max-height: 500px;
}

@media screen and (max-width: 768px) {
   .barbers .lower .col img {
        height: 100%;
        max-height: 400px;
    }
}

/* prices */

.prices .lower .categories ul {
    display: flex;
    gap: 25px;
}   

@media screen and (max-width: 520px) {
    .prices .lower .categories ul {
        justify-content: center;
        align-items: center;
        gap: 15px;
    }  
}



.prices .lower .categories ul li a {
    color: var(--color-text);
    padding: 10px 20px;
    border: 1px solid var(--color-primary);
    border-radius: var(--border-radius);
    font-size: 20px;
 }   

 @media screen and (max-width: 520px) {
    .prices .lower .categories ul li a {
        font-size: 16px;
        padding: 10px;
     }   
    
}


.prices .lower .categories ul li a.active {
    color: var(--color-white);
    background: var(--color-primary);
} 


.swiperparent > div {
    display: none;
}

.swiperparent > div.active {
    display: flex;
}


.herren { 
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative; 
}

.swiper {
    width: 100%;
    padding-bottom: 50px;
}

.swiper-slide {
    background-position: center;
    background-size: cover;
    width: 500px !important;
    margin-right: 40px;
    margin-left: 40px;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    filter: blur(2px);
    transform: scale(0.8);
}

@media screen and (max-width: 768px) {
    .swiper-slide {
        width: 100% !important;
    }
}

.swiper-slide.swiper-slide-active {
    filter: blur(0px);
    transform: scale(1.1);
}

.swiper-slide-shadow-left, 
.swiper-slide-shadow-right {
    background-image: none !important; 
}

.swiper-button-prev i,
.swiper-button-next i {
    font-size: 30px;
    background-color: var(--color-white);
    border-radius: 100%;
}

.swiper-button-prev::after,
.swiper-button-next::after {
    content: '' !important;
} 


.swiper-slide .img {
    width: 100%;
    height: 250px;
}

.swiper-slide .img img {
    border-radius: 20px 20px 0 0;
}

.swiper-slide .text {
    padding: 25px;
    overflow: hidden;
    text-overflow: ellipsis; 
    white-space: nowrap;
}

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

.swiper-slide .text p {
    color: var(--color-text);
    font-weight: 700;
}

.prices .lower .button {
    display: flex;
    justify-content: center;
    align-items: center;
}

.inclusive {
    margin-top: 20px;
    width: 100%;
    color: var(--color-white);
    background-color: var(--color-primary);
    border-radius: var(--border-radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.5s ease;
}



.inclusiveUl {
    display: flex;
    flex-direction: column;
    color: var(--color-white);
    background-color: var(--color-primary);
    border-radius: var(--border-radius);
    padding: 10px 20px;
    display: none;
}

.inclusiveUl li {
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
}

/* footer */

footer {
    background-color: var(--footer-bg);
    color: var(--color-white);
}

footer .upper {
    padding: 75px 0;
}

@media screen and (max-width: 1024px) {
    footer .upper {
        padding: 25px 0;
    }
}

footer h3 {
    color: var(--color-background);
    margin-bottom: 10px;
}

footer a {
    font-weight: 500;
    color: var(--color-background);
    transition: var(--transition);
    width: unset;
    font-size: clamp(16px, 1vw, 18px); 
}

footer a:hover {
    color: var(--color-primary);
}

footer .col {
    border-right: 1px solid var(--footer-border);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}


@media screen and (max-width: 1024px) {
    footer .col {
        border-right: none;
        border-bottom: 1px solid var(--footer-border);
        padding: 30px 0;
    }
}

footer .col:last-child {
    border: none;
}

.flex-gap {
    display: flex;
    gap: 10px;
}

footer .social-icons {
    display: flex;
    gap: var(--gap);
    flex-wrap: wrap;
}

footer .social-icons i {
    font-size: 20px;
}

footer .lower {
    border-top: 1px solid var(--footer-border);
    margin: 0 auto;
    width: 100%;
    max-width: 1400px;
    padding: 20px;
}

.copyright {
    font-size: 13px;
}

@media screen and (max-width: 768px) {
     .copyright {
         font-size: 12px;
        text-align: center;
    }
}


/* dialog */

.bdrp {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 1px solid var(--color-text);
    border-radius: 10px;
}

@media screen and (max-width: 1024px) {
    .bdrp {
        min-width: 90%;
    }
}

.bdrp .col2-inner {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bdrp .form-btn {
    margin-top: 20px;
}

.close {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.close:hover i {
    color: var(--color-primary-dark);
}

.close i {
    font-size: 20px;
}

dialog.bdrp::backdrop {
    background: repeating-linear-gradient(
      60deg,
      rgba(0, 0, 0, 0.2),
      rgba(0, 0, 0, 0.2) 1px,
      rgba(0, 0, 0, 0.3) 1px,
      rgba(0, 0, 0, 0.3) 20px
    );
    backdrop-filter: blur(1px);
  }
  
@keyframes animate-top {
    from {
          top: 10%; 
          opacity: 0
      } 
      to {
          top: 50%; 
          opacity:1
      }
}
  
.animate {
    animation-name: animate-top;
    animation-duration: 0.4s;
}
  
.bcgrnd {
    position: fixed; 
    z-index: 1; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.4);
}
  
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    border: 1px solid #888;
    width: 80%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2),0 6px 20px 0 rgba(0,0,0,0.19);
    
}
      
.modal-body {
    padding: 2px 16px;
}
  
.container {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 3rem;
}
  

/* pricing-catelog */

.cat-body {
    background: var(--color-background);
}

.pricing-catelog {
    margin-top: 150px;
}

.sec span {
    padding: 20px 40px;
    background-color: var(--color-primary);
    color: var(--color-white);
    border-radius: var(--border-radius);
    font-size: 20px;
    font-weight: 600;
}




