html {
  scroll-behavior: smooth;
}

:root {
  --muqi-teqsti: #655449;
  --header: #69473c;
  --gia-teqsti: #c0b3ac;
  --kanis-feri: #fff6ed;
}

body {
  background-color: var(--kanis-feri);
  overflow-x: hidden;
}


/* booking */
#booking {
  position: fixed;
  bottom: 20px;
  right: 20px;  
  background-color: var(--muqi-teqsti);
  width: 90px;
  height: 90px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  text-align: center;
  border: 2px solid var(--header);
  color: var(--kanis-feri);
  font-weight: 100;
  padding: 0.5em;
  font-size: 0.9em;
  z-index: 9999;
  box-shadow: 0px 0px 14px 3px rgba(0, 0, 0, 0.393); 
  transition: transform 0.3s ease, background-color 0.3s ease;
}

#booking:hover {
  background-color: var(--header);
  transform: scale(1.05);
}

#scrollup {
  position: fixed;
  bottom: 20px;
  left: 20px;
  background-color: var(--muqi-teqsti);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--header);
  color: var(--kanis-feri);
  font-weight: 100;
  font-size: 0.9em;
  z-index: 9999;
  box-shadow: 0 0 14px 3px rgba(0, 0, 0, 0.393);
  cursor: pointer;
  opacity: 0;
  transform: translateX(-50px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

#scrollup.visible {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

#scrollup:hover {
  background-color: var(--header);
  transform: scale(1.1);
}

#scrollup img {
  width: 100%;
  height: auto;
  filter: invert(95%); /* რათა იყოს ღია */
}


/* main */
.main {
    width: 100%;
    height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10em;
    background-color: var(--kanis-feri);
    overflow: hidden;
}

.main .maintext {
    width: auto;
    height: auto;
    color: var(--muqi-teqsti);
    z-index: 5;
}

.main .maintext h1 {
    font-size: 6em;
    color: var(--muqi-teqsti);
}

.main .maintext h2 {
    font-size: 2.3em;
}

.main .maintext p {
    font-size: 1.1em;
    max-width: 600px;
    width: 100%;
    padding: 1.5em 0;
}



/* cosmetolog */

.cosmetolog {
  width: 100%;
  height: auto;
  padding: 5em 1em 5em 1em;
}

.cosmetolog-wrapper {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
}

.coflex {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: .5em .5em 1em .5em;
}

.coflex a {
  text-decoration: none;
  text-align: center;
  color: var(--muqi-teqsti);
  border: 2px solid var(--muqi-teqsti);
  padding: .6em 1.5em;
  font-weight: 600;
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: inline-block;
  box-shadow: 0 0 9px 2px rgba(0, 0, 0, 0.205);
}

.coflex a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 0%;
  height: 100%;
  background-color: var(--muqi-teqsti);
  z-index: -1;
  transition: width 0.4s ease;
}

.coflex a:hover::after {
  width: 100%;
}

.coflex a:hover {
  color: var(--kanis-feri);
}


.cosmetologs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2em;
}

.ccard {
  max-width: 400px;
  height: auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 8px 7px 20px 4px #00000032;
}

.ccard img {
  width: 100%;
  height: 520px;
  border-radius: 10px;
  box-shadow: 8px 7px 19px 2px #00000062;
  object-fit: cover;
  transition: .7s ease transform;
}

.ccard #centerimg {
  height: 560px;
}

.ccard img:hover {
  transform: scale(1.1);
}


/* button */
.btn {
  outline: 0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  background: var(--muqi-teqsti);
  min-width: 200px;
  border: 0;
  border-radius: 4px;
  box-shadow: 0px 0px 15px 10px rgba(0, 0, 0, 0.182);
  box-sizing: border-box;
  padding: 16px 20px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  overflow: hidden;
  cursor: pointer;
}

.btn:hover {
  opacity: .95;
}

.btn .animation {
  border-radius: 100%;
  animation: ripple 0.6s linear infinite;
}

@keyframes ripple {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1), 0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.1), 0 0 0 60px rgba(255, 255, 255, 0.1);
  }

  100% {
    box-shadow: 0 0 0 20px rgba(255, 255, 255, 0.1), 0 0 0 40px rgba(255, 255, 255, 0.1), 0 0 0 60px rgba(255, 255, 255, 0.1), 0 0 0 80px rgba(255, 255, 255, 0);
  }
}

.main img {
    width: 500px;
    height: 700px;
    object-fit: cover;
    top: 45%;
    left: 70%;
    z-index: 1;
    border-radius: 200px 200px 200px 0px;
    box-shadow: 5px 5px 15px 15px rgba(0, 0, 0, 0.202);
}


/* services */

.service-section {
  background-color: var(--kanis-feri);
  padding: 3rem 1.5rem;
  text-align: center;
  margin-top: 2em;
  margin-bottom: 5em;
}

.service-section h2 {
  padding: 0;
  margin-bottom: .5em;
}

.service-subtitle {
  color: var(--muqi-teqsti);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.service-wrapper {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 3em;
}

.service-card {
  border-radius: 16px;
  padding: 1.5rem;
  width: 400px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.134);
  text-align: left;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

.service-card h3 {
  color: var(--header);
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.service-card p {
  color: var(--muqi-teqsti);
  font-size: 1rem;
  line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
  .service-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .service-card {
    width: 100%;
    max-width: 90%;
  }
}





/* review */
.review-section {
  background-color: var(--kanis-feri);
  padding: 40px 0;
  overflow: hidden;
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
}

.review-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.review-track {
  display: flex;
  gap: 30px;
  animation: scroll 25s linear infinite;
  white-space: nowrap;
}

.review-card {
  border: 1px solid var(--gia-teqsti);
  padding: 20px 30px;
  border-radius: 16px;
  color: var(--muqi-teqsti);
  font-size: 18px;
  min-width: 300px;
  box-shadow: 0px 0px 20px 0px #00000026;
  flex-shrink: 0;
}

/* Scroll Animation */
@keyframes scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}



/* services */
.services {
  background-color: #fdf6f1;
  padding: 0 1em;
  font-family: 'Segoe UI', sans-serif;
  color: var(--muqi-teqsti);
}

.swrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap;
  text-align: start;
  padding-top: 3em;
}


.stext h2 {
  font-size: 36px;
  margin-bottom: 20px;
}

.stext p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.stext ul {
  padding-left: 20px;
  margin-top: 10px;
  margin-bottom: 20px;
}

.stext ul li {
  font-size: 17px;
  margin-bottom: 5px;
}

/* about */
.about-section {
  background-color: var(--kanis-feri); /* ღია ნეიტრალური ფონი */
  padding: 3em 1em 0 1em;
  color: var(--muqi-teqsti);
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  font-size: 36px;
  color: var(--header);
  margin-bottom: 30px;
  text-align: center;
  padding-bottom: 1em;
}

.about-content p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.about-content strong {
  color: var(--header);
}

.about-content em {
  font-style: italic;
  color: var(--muqi-teqsti);
}

/* gallery */
.gallery-section {
  background-color: var(--kanis-feri);
  padding: 5em 1em 4em 1em;
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 30px;
  max-width: 100%;
  width: 1200px;
  margin: 0 auto;
}

.gallery-img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s ease;
  box-shadow: 0 4px 12px rgb(0 0 0 / 29%);
}

.gallery-img:hover {
  transform: scale(1.03);
}

/* მოდალის სტილი */
.modal {
  display: none;
  justify-content: center;
  align-items: center;
  position: fixed;
  z-index: 9999999999;
  padding-top: 60px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: none;
  background-color: rgba(0,0,0,0.8);
}

.modal-content {
  margin: auto 0;
  display: block;
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: #fff;
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
}

/* RESPONSIVE */
@media(max-width: 1500px) {
  .main img {
    width: 400px;
    height: 600px;
  }
  .main .maintext h1 {
    font-size: 5em;
  }
}

@media(max-width: 1370px) {
  .main img {
    width: 350px;
    height: 450px;
  }
  .main .maintext h1 {
    font-size: 4em;
  }
  .main .maintext h2 {
    font-size: 2em;
  }
  .main .maintext p {
    max-width: 500px;
  }
}

@media(max-width: 1170px) {
  .main img {
    display: none;
  }
  .main .maintext {
    text-align: center;
  }
  .main {
    height: 70vh;
  }
  .review-track {
    animation: scroll 15s linear infinite;
  }
    @keyframes scroll {
    0% {
      transform: translateX(0%);
    }
    100% {
      transform: translateX(-450%);
    }
  }
  .cosmetologs {
    justify-content: center;
  }
  .ccard #centerimg {
    width: 100%;
    height: 520px;
  }
  .ccard img {
    max-width: 360px;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .stext h2, .section-title {
    font-size: 25px;
  }
  .main .maintext h1 {
    font-size: 3em;
  }
  .main .maintext h2 {
    font-size: 1.7em;
  }
  .main .maintext p {
    font-size: 1em;
  }
  .maintext {
    padding: 0 1em;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }
}

