html {
  scroll-behavior: smooth;
}
body {
  /* overflow: hidden; */
  margin: 0;
  padding: 0;
  /* border: 1px dashed red; */
  font-family: "Roboto", sans-serif;
}
/* 
font-family: "Forum", serif;
font-weight: 400;
font-style: normal; 
*/
p,
h1,
h2,
h3,
h4,
ul {
  margin: 0;
  padding: 0;
  /* border: 1px dashed green; */
}
a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s;
}
a:hover {
  color: #9d8665;
}
a:active {
  color: #7e6c51;
}
a:visited {
  color: #ffffff;
}
h1 {
  margin-bottom: 25px;
  font-family: "Forum";
  font-style: normal;
  font-weight: 400;
  font-size: 80px;
  line-height: 90px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #ffffff;
}

h2 {
  font-family: "Forum";
  font-style: normal;
  font-weight: 400;
  font-size: 80px;
  line-height: 90px;
  /* identical to box height, or 112% */
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #9d8665;
  padding-bottom: 25px;
  border-bottom: 3px solid #710707;
}

h3 {
  font-family: "Forum";
  font-style: normal;
  font-weight: 400;
  font-size: 32px;
  line-height: 35px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #000000;
}

.container {
  margin: 0 auto;
  max-width: 1440px;
  /* border: 1px dashed red; */
}

.header,
.welcome,
.explore,
.gallery,
.footer {
  background-color: #000;
}

.visiting,
.explore,
.video,
.tickets,
.contacts {
  padding: 75px 0 75px 0;
}

/* ==== Header Container ==== */
.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 59px 0 58px;
}

/* Logo Styles */
.header__logo {
  display: flex;
}

.header__logo-image {
  width: auto;
  height: auto;
}

/* Navigation Styles */
.header__nav {
  display: flex;
  align-items: center;
}
.header__nav-button {
  display: none;
}
.header__nav-list {
  margin: 0;
  padding: 0;
  display: flex;
  gap: 55px;
  list-style: none;
}

.header__nav-item {
  display: flex;
  font-family: "Roboto", sans-serif;
  font-style: normal;
  font-weight: 100;
  font-size: 22px;
  line-height: 26px;
  letter-spacing: 2px;
}

/* Link States */
.header__nav-link,
.footer__nav-link {
  color: #ffffff;
}

/* ===== WELCOME SECTION ===== */
.welcome {
  position: relative;
  overflow: hidden;
}

/* Main container */
.welcome__container {
  position: relative;
  height: 810px;
  display: flex;
  justify-content: flex-end;
}

/* Content block */
.welcome__content {
  position: absolute;
  top: 150px;
  left: 0;
  max-width: 598px;
  z-index: 2;
}

/* .welcome__heading {
  font-family: "Playfair Display", serif;
  font-size: 52px;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 20px;
} */

.welcome__description {
  margin-bottom: 75px;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 28px;
  line-height: 1.18;
  letter-spacing: 2px;
  color: #ffffff;
}

.welcome__button {
  width: 360px;
  height: 75px;
  background: #710707;
  border: none;
  border-radius: 10px;
  font-family: "Roboto", sans-serif;
  font-weight: 300;
  font-size: 22px;
  line-height: 26px;
  display: flex;
  justify-content: center;
  align-items: center;
  letter-spacing: 2px;
  color: #ffffff;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.welcome__button:hover {
  background: #9d8665;
}

/* Gallery */
.welcome__gallery {
  position: relative;
  width: 1000px;
  height: 750px;
}

.welcome__gallery::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    #000000 0%,
    rgba(0, 0, 0, 0.5) 16.19%,
    rgba(0, 0, 0, 0) 30.73%
  );
  z-index: 1;
  pointer-events: none;
}

.welcome__gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* Gallery controls */
.welcome__controls {
  width: 600px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 55px;
  background-color: #000;
  position: absolute;
  right: 0;
  bottom: 0;
}

/* Controls counter */
.welcome__counter {
  display: flex;
  gap: 10px;
  align-items: center;
}

.welcome__counter-item {
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  font-size: 22px;
  line-height: 1.82;
  text-transform: uppercase;
  color: #ffffff;
}

/* Controls indicators */
.welcome__indicator {
  list-style: none;
  display: flex;
  gap: 25px;
  padding: 0;
  margin: 0;
}

.welcome__indicator-item {
  display: flex;
  align-items: center;
  width: 16px;
  height: 16px;
  background-color: white;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s ease;
}

.welcome__indicator-item--active {
  background-color: #d2b183;
}

.welcome__indicator-item:hover {
  background-color: #9d8665;
}

/* Navigation buttons */
.welcome__navigation {
  display: flex;
  gap: 20px;
  margin-left: 10px;
  margin-right: 75px;
}

.welcome__nav-button {
  padding: 0;
  color: white;
  background-color: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.3s ease;
}

.welcome__nav-button:hover {
  color: #9d8665;
}

.welcome__nav-button--next .welcome__nav-icon {
  transform: rotate(180deg);
}

.welcome__nav-icon {
  display: block;
  width: 30px;
  height: 8px;
}

/* Virtual tour*/
.visiting {
  background-color: #fff;
  font-family: "Roboto", sans-serif;
}
.visiting_wrapper {
  display: flex;
  flex-wrap: wrap;
  grid-template-columns: repeat(3, 1fr);
  gap: 75px 60px;
  margin-top: 75px;
  justify-content: center;
  align-items: start;
}
.visiting_item {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.visiting_item h3 {
  margin: 25px 0 10px 0;
}
.visiting_item ul.item_text {
  list-style: none;
  padding: 0;
  /* margin: 0; */
  /* margin-top: 25px; */
}

.underline {
  width: 300px;
  height: 2px;
  background-color: #710707;
  transition: width 0.3s ease;
  cursor: pointer;
}

.visiting_item:hover .underline {
  width: 100%;
}
.visiting_item:hover img {
  opacity: 50%;
}

.item_subtitle {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 200;
  font-size: 22px;
  line-height: 26px;
  color: #000000;
  margin-top: 10px;
}

.item_source {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 200;
  font-size: 18px;
  line-height: 21px;
  color: #000000;
  margin-top: 10px;
}

/* Explore */
.explore .container {
  display: flex;
  gap: 60px;
}
.explore img {
  display: block;
}
.explore_text {
  width: 660px;
}
.explore_text h2 {
  padding-top: 0;
  color: #ffffff;
}

.explore_text p {
  margin-top: 25px;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  font-size: 22px;
  line-height: 38px;
  color: #ffffff;
}

.explore_text .highlight {
  color: #caaa7d;
}

.explore_text p:first-of-type {
  margin-top: 75px;
}

.explore_slider {
  margin-top: 15px;
}

/* video */
.video .container {
  display: flex;
  flex-direction: column;
}

.video_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.video_header h2 {
  padding: 0;
  border: 0;
}
.video_header p {
  width: 720px;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  font-size: 22px;
  line-height: 38px;
  display: flex;
  align-items: center;
  color: #000000;
}
.video_wrapper {
  display: flex;
  flex-direction: column;
  margin-top: 75px;
}
.playlist_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 40px;
}
.playlist_items {
  display: flex;
  gap: 42px;
  /* border: 1px dashed blue; */
}
.playlist_item {
  /* border: 1px dashed blue; */
  width: 452px;
  height: 254px;
}
.playlist_pagination {
  display: inline-flex;
  gap: 20px;
  margin-top: 40px;
  /* border: 1px dashed red; */
}
.playlist_pagination .pagination_item {
  width: 12px;
  height: 12px;
  background: #999999;
  cursor: pointer;
  border-radius: 12px;
}
.playlist_pagination .pagination_item:hover {
  background: #710707;
}
.playlist_pagination .active {
  background-color: #333333 !important;
}
.playlist_pagination svg {
  color: #999999;
}
.playlist_pagination svg:hover {
  color: #710707;
}
.playlist_pagination svg:last-of-type {
  transform: rotate(180deg);
}

/* Art gallery Section */
.gallery h2 {
  border: 0;
  color: #ffffff;
  padding: 0;
}

/* Gallery Section */
.gallery {
  position: relative;
  padding: 75px 0 0 0;
}

.gallery .container {
  overflow: hidden;
  position: relative;
}

.gallery_wrapper {
  max-height: 1960px;
  display: flex;
  margin-top: 75px;
  gap: 36px;
  position: relative;
}

.gallery_wrapper::after {
  content: "";
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  height: 360px;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000000 100%);
  z-index: 2;
  pointer-events: none;
}

.gallery_wrapper .column img {
  width: 100%;
  display: block;
  position: relative;
  z-index: 1;
}

.gallery_wrapper .column {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.gallery_wrapper .column:first-child,
.gallery_wrapper .column:last-child {
  margin-top: 50px;
}

.gallery_wrapper .column img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

/* Parallax Section */
.parallax {
  background-image: url("../assets/img/parallax.jpg");
  height: 400px;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Tickets Section */

.tickets {
  z-index: 1;
}

.tickets_wrapper {
  margin-top: 75px;
  display: flex;
  flex-direction: row;
  gap: 60px;
}

.tickets_wrapper h4 {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-size: 28px;
  line-height: 33px;
  color: #000000;
}

.tickets_wrapper .column {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.tickets_wrapper .column.amount {
  align-items: flex-end;
}

.tickets_wrapper .column > button {
  margin-top: 52px;
  width: 175px;
  height: 50px;
  border: 0;
  background-color: #000000;
  display: flex;
  justify-content: center;
  text-align: center;
  border-radius: 2px;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  font-size: 22px;
  line-height: 26px;
  display: flex;
  align-items: center;
  text-align: center;
  letter-spacing: 2px;
  color: #ffffff;
}

.tickets_wrapper .column > button:hover {
  color: #000000;
  background-color: #9d8665;
}

.ticket-options {
  margin-top: 50px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}
.ticket-option {
  display: flex;
  align-items: center;
}

.ticket-option input[type="radio"] {
  width: 17px;
  height: 17px;
  margin-right: 25px;
  accent-color: #000000;
}

.ticket-option label {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  font-size: 22px;
  line-height: 26px;
  color: #000000;
}

/* Ticket - Amount */
.tickets_wrapper .column .total {
  margin-top: 50px;
}

.tickets_wrapper .input_wrapper:first-of-type {
  margin-top: 25px;
}

.tickets_wrapper .input_wrapper {
  margin-top: 10px;
}

.tickets_wrapper .input_wrapper p {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  font-size: 22px;
  line-height: 26px;
  color: #000000;
}

.tickets_wrapper .number-input {
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  border: 3px solid #000000;
  overflow: hidden;
  padding: 6px;
  width: 132px;
}

.tickets_wrapper .number-input input {
  width: 100%;
  padding: 0;
  text-align: center;
  border: 0;
  outline: none;

  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  font-size: 22px;
  line-height: 26px;
  /* identical to box height */
  text-align: center;
  color: #000000;
}

input[type="number"] {
  -webkit-appearance: textfield;
  -moz-appearance: textfield;
  appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
}

.number-input button {
  min-width: 32px;
  height: 32px;
  background: transparent;
  border: none;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;

  font-family: "Roboto";
  font-style: normal;
  font-weight: 400;
  font-size: 32px;
  line-height: 38px;
  text-align: center;
  color: #000000;
}

.amount .total {
  font-family: "Roboto";
  font-style: normal;
  font-weight: 700;
  font-size: 28px;
  line-height: 33px;
  /* identical to box height */
  letter-spacing: 1.65px;
  color: #000000;
}

/* Contacts Section */
.contacts_wrapper {
  margin-top: 75px;
  gap: 16px;
  display: flex;
  justify-content: space-between;
}

.contacts_address {
  min-width: 282px;
}

.contacts h4 {
  max-width: 227px;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 500;
  font-size: 28px;
  line-height: 33px;
  color: #000000;
}

.contacts_address ul {
  margin: 50px 0 0 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 25px;

  font-family: "Roboto";
  font-style: normal;
  font-weight: 300;
  font-size: 22px;
  line-height: 26px;
  display: flex;
  color: #000000;
}
.contacts_map img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Footer */
.footer_top,
.footer_bottom {
  margin: 0 auto;
  max-width: 1440px;
}

.footer_top {
  display: flex;
  padding: 75px 0 50px 0;
}

.divider {
  border: 0;
  margin: 0;
  padding: 0;
  border-top: 3px solid #666666;
}

.footer_top img {
  margin-top: 5px;
}

.footer_bottom ul {
  list-style: none;
  display: flex;
  justify-content: space-between;
  padding: 50px 0 50px 0;
  font-family: "Roboto";
  font-style: normal;
  font-weight: 100;
  font-size: 22px;
  line-height: 22px;
  letter-spacing: 2px;
  color: #ffffff;
}

.footer_nav {
  display: flex;
  width: 363px;
  height: 128px;
  margin: 12px 0 0 145px;
}

.footer_nav ul {
  display: flex;
  flex-wrap: wrap;
  row-gap: 25px;
  column-gap: 150px;
  list-style: none;

  font-family: "Roboto";
  font-style: normal;
  font-weight: 100;
  font-size: 22px;
  line-height: 26px;
  letter-spacing: 2px;
  color: #ffffff;
}

.footer_nav ul li {
  width: 106px;
}

.footer_social {
  margin-bottom: 5px;
  height: 48px;
  margin-left: auto;
  display: flex;
  align-self: flex-end;
  gap: 25px;
}

.social_item {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  outline: 1px solid #666666;
  outline-offset: -1px;
  border-radius: 50px;
}
.social_item a {
  display: flex;
  color: #ffffff;
}
.social_item:hover {
  outline: 1px solid #9d8665;
}
.social_item:hover svg {
  color: #9d8665;
}
@media (max-width: 1440px) {
  .container {
    margin: 0 20px;
  }
}

/* Screen size ≤ 1024px */
@media (max-width: 1024px) {
  /* General */
  .container {
    margin: 0 20px;
  }
  h1 {
  }
  h2 {
    font-family: "Forum";
    font-style: normal;
    font-weight: 400;
    font-size: 50px;
    line-height: 75px;
    padding-bottom: 20px;
  }
  h3 {
    font-family: "Forum";
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    line-height: 31px;
    letter-spacing: 3px;
  }
  h4 {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 500;
    font-size: 24px;
    line-height: 28px;
  }
  .underline {
    width: 150px;
  }
  .visiting,
  .explore,
  .video,
  .tickets,
  .contacts {
    padding: 60px 0 60px 0;
  }
  .header__container {
    position: relative;
    padding: 49px 0 48px;
  }

  .header__nav-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
  }

  .header__nav-button svg {
    width: 32px;
    height: 32px;
  }

  .header__nav-button a {
    color: #ffffff;
    transition: color 0.3s;
  }

  .header__nav-button a:hover {
    color: #9d8665;
  }
  .header__nav-button a:active {
    color: #7e6c51;
  }

  .header__nav {
    display: none;
    position: absolute;
    top: 130px;
    z-index: 99;
    margin: 35px 0 0 35px;
  }

  .active {
    display: unset;
  }

  .disabled {
    display: none;
  }

  .header__nav-list {
    flex-direction: column;
    gap: 25px;
    width: 122px;
  }
  .header__nav-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .header__nav-item::after {
    content: "";
    display: inline-block;
    width: 12px;
    height: 12px;
    background-image: url("../assets/img/arrow_nav.svg");
    background-size: contain;
    background-repeat: no-repeat;
  }
  .header__nav-link {
    font-weight: 300;
    font-size: 20px;
    line-height: 23px;
    letter-spacing: 2px;
  }

  .welcome__container {
    position: relative;
    height: 585px;
    display: flex;
    justify-content: flex-end;
  }
  .welcome__counter-item {
    font-weight: 400;
    font-size: 20px;
    line-height: 40px;
  }
  .welcome__controls {
    gap: 45px;
  }
  .welcome__navigation {
    margin-left: 0;
  }
  .welcome__indicator-item {
    width: 12px;
    height: 12px;
  }
  /* Content block */
  .welcome__content {
    position: absolute;
    top: 50px;
    left: 0;
    max-width: 445px;
    z-index: 2;
  }

  .welcome__heading {
    font-weight: 400;
    font-size: 50px;
    line-height: 90px;
  }

  .welcome__description {
    margin-bottom: 50px;
    font-family: "Roboto";
    font-style: normal;
    font-weight: 300;
    font-size: 24px;
    line-height: 28px;
    letter-spacing: 2px;
    color: #ffffff;
  }

  .welcome__button {
    width: 300px;
    height: 60px;
    font-weight: 300;
    font-size: 20px;
    line-height: 23px;
    letter-spacing: 2px;
  }

  /* Gallery */
  .welcome__gallery {
    position: relative;
    width: 700px;
    height: 525px;
  }

  .welcome__gallery::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      90deg,
      #000000 0%,
      rgba(0, 0, 0, 0.5) 16.19%,
      rgba(0, 0, 0, 0) 30.73%
    );
    z-index: 1;
    pointer-events: none;
  }

  .welcome__gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .welcome__controls {
    width: 700px;
  }

  .visiting_wrapper {
    /* border: 1px dashed red; */
    display: flex;
    flex-wrap: wrap;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px 108px;
    margin-top: 60px;
    justify-content: center;
    align-items: start;
  }
  .visiting_item {
    /* border: 1px dashed green; */
    width: 330px;
  }
  .item_subtitle {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 200;
    font-size: 20px;
    line-height: 23px;
  }
  .explore .container {
    flex-wrap: wrap;
    gap: initial;
  }
  .explore_text p:first-of-type {
    margin-top: 60px;
  }
  .explore_text {
    width: 100%;
  }
  .explore_text p {
    margin-top: 0;
    font-family: "Roboto";
    font-style: normal;
    font-weight: 300;
    font-size: 20px;
    line-height: 35px;
  }
  .explore_text p:last-of-type {
    display: none;
  }
  .explore_slider {
    margin: 62px auto 0 auto;
  }
  .video_wrapper {
    margin-top: 45px;
  }
  .video_header p {
    display: none;
  }
  .playlist_item {
    display: flex;
    width: 300px;
    height: 170px;
  }
  .gallery {
    padding: 60px 0 0 0;
  }
  .gallery_wrapper {
    max-height: 1265px;
    margin-top: 60px;
  }
  .tickets_wrapper {
    margin-top: 60px;
    gap: 80px;
  }
  .tickets_wrapper img {
    width: 700px;
    height: 440px;
  }
  .tickets .type {
    display: none;
  }
  .tickets_wrapper .column.amount {
    /* margin-right: 29px; */
    max-width: 175px;
    align-items: flex-start;
  }
  .tickets_wrapper .input_wrapper {
    margin-top: 25px;
  }
  .tickets_wrapper .column .total {
    margin-top: 25px;
  }
  .tickets_wrapper .number-input {
    width: unset;
  }
  .tickets_wrapper .column > button {
    margin-top: auto;
  }
  .contacts_wrapper {
    margin-top: 60px;
    gap: 16px;
  }
  .contacts h4 {
    max-width: 185px;
    font-weight: 500;
    font-size: 24px;
    line-height: 28px;
  }
  .contacts_address {
    min-width: 274px;
  }
  .contacts_address ul {
    margin: 35px 0 0 0;
    gap: 15px;
    width: 274px;
    font-weight: 300;
    font-size: 20px;
    line-height: 23px;
  }

  .footer_top {
    padding: 60px 0 50px 0;
  }
  .footer_top,
  .footer_bottom {
    margin: 0 20px;
  }
  .footer_nav {
    margin: 5px 0 0 45px;
  }
  .footer_nav ul {
    column-gap: 100px;
  }
}

/* For screens ≤ 768px */
@media (max-width: 768px) {
  .container {
    max-width: 728px;
    border: 1px dashed green;
  }
}

/* For screens ≤ 420px */
@media (max-width: 420px) {
  .container {
    max-width: 380px;
    border: 1px dashed yellow;
  }
}
