h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin-top: 0;
  margin-bottom: 0;
}

ul,
ol,
li {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
  list-style-type: none;
}

a {
  color: #111111;
  text-decoration: none;
}

.img {
  display: block;
}

button {
  cursor: pointer;
}

body {
  font-family: "Cormorant Garamond", serif;
  color: #111111;
  background-color: #F1ECE6;
}

.container {
  max-width: 1168px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 16px;
  padding-right: 16px;
}

.page-header {
  background: linear-gradient(
      45deg,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.05) 50%,
      rgba(0, 0, 0, 0.35) 100%
    ),
    #F1ECE6;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
}

.page-nav {
  color: #fbfaf9;
  display: flex;
  justify-content: space-between;
  padding-left: 50px;
  padding-right: 100px;
}

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

.page-logo {
  display: block;
  width: 25px;
  height: 25px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.menu-item {
  display: block;
  padding-top: 30px;
  padding-bottom: 30px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.4;
}

.menu-item:hover,
.menu-item:focus {
  color: #F1ECE6;
}

.menu-cam .page-logo {
  transition: filter 0.3s ease;
}

.menu-cam:hover .page-logo {
  filter: invert(96%) sepia(0%) saturate(0%) hue-rotate(190deg) brightness(100%)
    contrast(100%);
}

.hero {
  background-image: url(./images/hero-img.jpg);
  width: 100%;
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 0 50px;
  position: relative;
}

.hero-main-title {
  font-size: 4rem;
  color: #fbfaf9;
  line-height: 1.2;
  text-align: center;
  padding-top: 150px;
  margin-bottom: 30px;
}

.hero-pgh {
  font-size: 1.8rem;
  color: #F1ECE6;
  line-height: 1.6;
  text-align: center;
  max-width: 900px;
  margin-bottom: 50px;
}

.section-one-link {
  display: block;
  width: 200px;
  font-size: 1rem;
  padding: 14px 40px;
  border: 0.7px solid #fbfaf9;
  color: #fbfaf9;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  margin-top: 100px;
}

.section-one-link:hover,
.section-one-link:focus {
  color: #38322d;
  border-color: #241506;
  outline: 3px solid #241506;
}

.about-me {
  margin-top: 100px;
  padding: 0 50px;
}

.about-me-title {
  margin-bottom: 40px;
}

.about-me-container {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 60px;
  max-width: 900px;
}

.about-me-pic {
  width: 350px;
  height: 350px;
  border-radius: 50%;
  object-fit: cover;
  margin: auto;
}

.about-me-descr {
  flex: 1;
  font-size: 1.2rem;
  line-height: 1.8;
}

.divider {
  border: none;
  border-top: 1px solid #241506;
  width: 80%;
  margin: 50px auto;
  opacity: 0.5;
}

.portfolio {
  margin-top: 50px;
}

.carousel-wrapper {
  position: relative;
  max-width: 900px;
  margin: 20px auto;
}

.carousel {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.4s ease-in-out;
}

.carousel-item {
  flex: 0 0 100%;
  height: 800px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 70px;
  height: 70px;
  background-color: rgba(255, 255, 255, 0.8);
  border: 0.7px solid #241506;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
}

.carousel-btn:hover,
.carousel-btn:focus {
  background-color: rgba(255, 255, 255, 1);
  border-color: #241506;
}

.carousel-btn::before {
  content: "";
  display: block;
  width: 10px;
  height: 10px;
  border-top: 2px solid #241506;
  border-right: 2px solid #241506;
  transform: rotate(45deg);
  transition: border-color 0.2s ease;
}

.carousel-btn.prev::before {
  transform: rotate(225deg);
}

.carousel-btn.next::before {
  transform: rotate(45deg);
}

.carousel-btn.prev {
  left: -100px;
}

.carousel-btn.next {
  right: -100px;
}

.session-descr {
  padding-top: 250px;
}

.session-rates {
  margin-top: 50px;
}

.session-rates-list {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 20px;
}

.session-rates-item-title {
  font-size: 16px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #777;
  margin-bottom: 8px;
}

.session-rates-item-price {
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 16px;
}

.session-rates-item-pgh {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  color: #666;
}

.session-rates-item-pgh span::before {
  content: "— ";
  color: #bbb;
}

.session-rates-item {
  display: flex;
  gap: 150px;
}

.session-pic {
  width: 500px;
  height: 600px;
  position: relative;
  object-fit: cover;
  border-radius: 6px;
  filter: grayscale(10%) contrast(1.05);
  transition: transform 0.5s ease, box-shadow 0.5s ease, filter 0.4s ease;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
}

.session-pic:hover {
  transform: translateY(-6px) scale(1.02);
  filter: grayscale(0%) contrast(1.1);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.18);
}

.book-now {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  width: 200px;
  margin: auto;
  border: 0.7px solid #070707;
  color: #070707;
}

.book-now:hover,
.book-now:focus {
  background-color: #241506;
  color: #f4f9fa;
  outline: 3px solid #241506;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.5);
  padding: 20px;
  box-sizing: border-box;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background-color: #fbfaf9;
  padding: 36px 30px;
  border-radius: 12px;
  box-shadow: 0 35px 70px rgba(0, 0, 0, 0.18);
  width: 100%;
  max-width: 550px;
  box-sizing: border-box;
}

.modal-content h2 {
  font-size: 22px;
  text-align: center;
  margin-bottom: 28px;
  letter-spacing: 0.02em;
}

.close {
  font-size: 22px;
  color: #777;
  transition: opacity 0.3s ease;
}

.close:hover {
  opacity: 0.5;
}

#bookingForm {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

#bookingForm label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #777;
}

#bookingForm input,
#bookingForm select {
  font-family: "Cormorant Garamond", serif;
  font-size: 15px;
  padding: 10px 12px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background-color: transparent;
  transition: border-color 0.3s ease;
}

#bookingForm input:focus,
#bookingForm select:focus {
  outline: none;
  border-color: #241506;
}

#package,
#time {
  height: 42px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  position: relative;
  background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 140 140" xmlns="http://www.w3.org/2000/svg"%3E%3Cpolygon points="0,0 140,0 70,70" fill="%23777"/%3E%3C/svg%3E');
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 12px;
  padding-right: 30px;
}

#package:focus,
#time:focus {
  border-color: #241506;
  outline: none;
}

#bookingForm button {
  margin-top: 20px;
  padding: 12px;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background-color: transparent;
  color: #241506;
  border: 1px solid #241506;
  transition: all 0.3s ease;
}

#bookingForm button:hover {
  background-color: #241506;
  color: #fbfaf9;
}

.form-message {
  margin-top: 12px;
  font-size: 14px;
  text-align: center;
}

.few-notes {
  padding-bottom: 30px;
}

.few-notes-title {
  margin-top: 50px;
  text-align: center;
}

.few-notes-title-scd {
  margin-top: 20px;
  padding-left: 10px;
  border-left: 2px solid #000;
}

.few-notes-pgh {
  margin-top: 5px;
  font-size: 16px;
  line-height: 1.8;
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: #666;
}

.contact-sec {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-top: 20px;
}

.contact {
  background: linear-gradient(
      45deg,
      rgba(0, 0, 0, 0.35) 0%,
      rgba(0, 0, 0, 0.05) 50%,
      rgba(0, 0, 0, 0.35) 100%
    ),
    #6f7f73;
  padding-top: 30px;
}

.contact-title {
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #241506;
  margin-bottom: 20px;
}

.contact-container {
  padding-bottom: 20px;
  display: flex;
  justify-content: space-between;
  gap: 120px;
  align-items: flex-start;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #241506;
  padding: 8px 12px;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.contact-icon {
  width: 18px;
  height: 18px;
  opacity: 0.7;
}

.contact-descr {
  font-size: 16px;
  color: #241506;
  transition: opacity 0.3s ease;
}

.contact-descr:hover {
  color: #e1ead2;
}

.contact-item-info {
  font-size: 13px;
  letter-spacing: 0.04em;
  color: #241506;
  padding-top: 6px;
}

@media (max-width: 1024px) {
  .page-header {
    width: 100%;
    height: 60px;
  }

  .page-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 60px;
  }

  .page-logo {
    width: 40px;
    height: 40px;
  }

  .hamburger {
    display: none;
  }

  .menu {
    display: flex;
    flex-direction: row;
    gap: 20px;
    position: static;
    width: auto;
  }

  .menu-item {
    font-size: 16px;
    padding: 10px 15px;
  }

  .hero {
    padding: 30px;
    height: auto;
    text-align: center;
  }

  .hero-main-title {
    font-size: 2rem;
    margin-top: 50px;
  }

  .hero-pgh {
    font-size: 1rem;
    margin: 20px 0;
  }

  .section-one-link {
    display: inline-block;
    font-size: 1rem;
    padding: 12px 25px;
    margin-top: 30px;
  }

  .about-me {
    margin-top: 50px;
    padding: 0;
  }

  .about-me-container {
    flex-direction: column;
    align-items: center;
  }

  .about-me-pic {
    width: 200px;
    height: 200px;
  }

  .about-me-descr {
    text-align: center;
  }

  .carousel-wrapper {
    position: relative;
    margin-left: auto;
    margin-right: auto;
  }

  .carousel-btn {
    width: 50px;
    height: 50px;
  }

  .carousel-btn.prev {
    left: 5px;
  }

  .carousel-btn.next {
    right: 5px;
  }

  .session-rates-item {
    gap: 50px;
  }

  .book-now {
    margin: auto;
  }

  .contact-container {
    padding-right: 100px;
    gap: 200px;
  }

  .contact-item-info {
    padding-top: 45px;
  }
}

@media (max-width: 767px) {
  .page-header {
    width: 100%;
    height: 60px;
    position: relative;
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.35) 0%,
        rgba(0, 0, 0, 0.05) 50%,
        rgba(0, 0, 0, 0.35) 100%
      ),
      #6f7f73;
  }

  .page-nav {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 0 20px;
  }

  .page-logo {
    width: 30px;
    height: 30px;
  }
  .hamburger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    z-index: 201;
  }

  .hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
  }

  .menu {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    background-color: #fff;
    position: absolute;
    top: 60px;
    left: 0;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 100;
  }

  .menu.active {
    display: flex;
  }

  .menu-item {
    padding: 10px 0;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    width: 100%;
  }

  .hero {
    padding: 20px;
    height: auto;
    text-align: center;
  }

  .hero-main-title {
    font-size: 1.5rem;
    margin-top: 30px;
    padding-top: 0;
  }

  .hero-pgh {
    font-size: 0.9rem;
    margin: 20px auto;
    padding-top: 10px;
  }

  .section-one-link {
    display: block;
    margin: 30px auto;
    text-align: center;
    width: 120px;
  }

  .about-me-container {
    flex-direction: column;
    align-items: center;
  }

  .about-me-pic {
    width: 150px;
    height: 150px;
  }

  .about-me-descr {
    font-size: 1rem;
    text-align: center;
  }

  .portfolio-title {
    padding-bottom: 30px;
  }

  .carousel-wrapper {
    max-width: 100%;
    margin: 0 auto 30px;
  }

  .carousel-item {
    height: auto;
  }

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

  .carousel-btn.prev {
    left: 5px;
  }

  .carousel-btn.next {
    right: 5px;
  }

  .session-rates-title {
    padding-left: 20px;
    padding-bottom: 30px;
  }

  .session-rates-item {
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
  }

  .session-descr {
    padding-top: 40px;
  }

  .session-pic {
    width: 100%;
    height: auto;
    max-width: 300px;
  }

  .session-rates-list {
    margin-top: 0;
  }

  .session-rates-item-pgh {
    font-size: 1rem;
    padding: 0 15px;
  }

  .few-notes-title {
    margin-top: 50px;
    padding-bottom: 30px;
  }

  .few-notes-pgh {
    text-align: center;
  }

  .contact-container {
    gap: 0;
    padding-right: 0;
  }

  .contact-title {
    margin-bottom: 20px;
  }

  .contact-item-info {
    padding-top: 15px;
    text-align: end;
  }
}
