/* ==========================================================================
   User Interface
   ========================================================================== */

/* Hamburger Menu */

.nav-icon {
  display: none;
  width: 30px;
  height: 30px;
  position: absolute;
  left: 15px;
  top: 18px;
  margin: 0 auto;
  transform: rotate(0deg);
  transition: 0.2s all;
  cursor: pointer;
  z-index: 9;
}

.nav-icon span {
  display: block;
  position: absolute;
  height: 3px;
  width: 100%;
  background: var(--color-white);
  border-radius: 9px;
  opacity: 1;
  left: 0;
  transform: rotate(0deg);
  transition: 0.25s ease-in-out;
}

.nav-icon span:nth-child(1) {
  top: 0;
}

.nav-icon span:nth-child(2) {
  top: 12px;
}

.nav-icon span:nth-child(3) {
  top: 24px;
}

.nav-icon.open span:nth-child(1) {
  top: 18px;
  transform: rotate(135deg);
}

.nav-icon.open span:nth-child(2) {
  opacity: 0;
  left: -60px;
}

.nav-icon.open span:nth-child(3) {
  top: 18px;
  transform: rotate(-135deg);
}

/* Button General */

.btn {
  display: inline-block;
  opacity: 1;
  padding: 0 25px;
  text-align: center;
  font-size: 16px;
  line-height: 46px;
  font-weight: bold;
  font-family: var(--font-title);
  box-sizing: border-box;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  overflow: hidden;
  transition: all 0.4s;
  margin-bottom: 10px;
}

.btn:hover {
  box-shadow: 0px 0px 10px #1188e961;
}

/* Button Default */

.btn--normal,
.btn--wide {
  background: var(--color-primary);
  color: var(--color-black);
}

.btn--normal,
.btn--outline,
.btn--text {
  width: 300px;
}

.btn--wide {
  width: 100%;
}

.btn--normal:hover {
  background: var(--color-secondary);
  color: var(--color-white);
}

/* Button Light */

.btn--outline,
.btn--outline-wide {
  background: #00000000;
  border: 2px solid var(--color-primary);
  color: var(--color-black);
}

.btn--outline:hover,
.btn--outline-wide:hover {
  background: var(--color-primary);
  color: var(--color-white);
}

/* Button Text */

.btn--text {
  background: #00000000;
  color: var(--color-black);
  text-align: left;
  padding: 0;
  display: flex;
  align-items: center;
}

.btn--text::after {
  content: "\e905";
  font-family: "mrz-iconset";
  position: relative;
  width: 25px;
  left: 5px;
  transition: all 0.2s ease;
  font-size: 12px;
  color: var(--color-primary);
}

.btn--text:hover {
  box-shadow: none;
  color: inherit;
}

.btn--text:hover::after {
  color: var(--color-primary);
  left: 10px;
}

/* Button Icon Right */

.btn--icon-right {
  background: var(--color-complimentary);
  color: var(--color-white);
  text-align: left;
  display: flex;
  align-items: center;
}

.btn--icon-right::after {
  content: "\e905";
  font-family: "mrz-iconset";
  position: relative;
  left: 5px;
  transition: all 0.2s ease;
}

.btn--icon-right:hover {
  box-shadow: 0px 8px 14px #00000036;
  color: var(--color-white);
  background: var(--color-complimentary);
}

.btn--icon-right:hover::after {
  color: var(--color-primary);
  left: 10px;
}

/* Button Modal */

.btn-modal {
  background: var(--color-primary);
  color: var(--color-black);
}

.scroll--arrow::before {
  content: "\e903";
  font-family: "mrz-iconset";
  display: block;
  position: relative;
  border-radius: 25px;
  padding: 10px 14px;
  opacity: 1;
  background: var(--color-primary);
  transition: 0.2s all;
}

.scroll--arrow:hover::before {
  color: var(--color-white);
  background: var(--color-complimentary);
}

.scroll--mouse {
  width: 3px;
  padding: 3px 10px;
  height: 30px;
  border: 3px solid var(--color-dark);
  border-radius: 25px;
  opacity: 1;
  box-sizing: content-box;
}

.scroll--mouse::after {
  content: "";
  width: 3px;
  height: 10px;
  display: block;
  border-radius: 25%;
  background-color: var(--color-dark);
  animation-name: scroll;
  animation-duration: 2.2s;
  animation-timing-function: cubic-bezier(0.15, 0.41, 0.69, 0.94);
  animation-iteration-count: infinite;
}

/* Scroll to Top */

.scroll-top {
  background-color: var(--color-primary);
  border: none;
  display: block;
  color: white;
  cursor: pointer;
  font-size: 18px;
  line-height: 60px;
  width: 60px;
  position: fixed;
  bottom: 80px;
  right: 20px;
  z-index: 100;
  opacity: 0;
  transform: translateY(100px);
  transition: all 0.5s ease;
  border-radius: 5px;
}

.scroll-top img {
  width: 12px;
}

.scroll-top:hover {
  transform: scale(0.95);
}

.showBtn {
  opacity: 1;
  transform: translateY(0);
}

/* Form Inputs */

input,
textarea {
  border: 2px solid var(--color-red);
  padding: 10px 0px;
  background: none;
  color:var(--color-dark);
  font-size: 16px;
  font-family: var(--font-title);
  outline: none;
  box-sizing: border-box;
}

textarea {
  height: 150px;
}

/* Error Messages */

.message-error {
  color: var(--color-messageError);
}

.message-success {
  color: var(--color-messageSuccess);
}

form .field.field-error {
  border-color: var(--color-fieldError);
}

form.form-loading button .icon {
  display: inline-block;
}

form.form-loading button .text {
  display: none;
}

/* Global IMG styles */

.wp-block-image {
  border-radius: 10px;
}

img {
  cursor: pointer;
}

/* Image Hover ZOOM IN */

.image-hover-zoom {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.image-hover-zoom img {
  -webkit-transform: scale(1);
  transform: scale(1);
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.image-hover-zoom img:hover {
  -webkit-transform: scale(1.02);
  transform: scale(1.02);
}

/* Image Hover ZOOM OUT*/

.image-hover-zoom-out {
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.image-hover-zoom-out img {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
  -webkit-transition: 0.3s ease-in-out;
  transition: 0.3s ease-in-out;
}

.image-hover-zoom-out img:hover {
  -webkit-transform: scale(1);
  transform: scale(1);
}

/* Image Hover ZOOM OUT*/

.image-grayscale-blur {
  height: 300px;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

.image-grayscale-blur img {
  transition: 0.3s ease-in-out;
}

.image-grayscale-blur img:hover {
  filter: grayscale(1) blur(2px);
  transform: scale(1.02);
}

/* Image Hover ZOOM OUT*/

.modal-container {
  display: none;
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 999;
  justify-content: center;
  align-items: center;
}

.modal-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.modal-content {
  background: var(--color-light);
  padding: 7vh;
  position: relative;
  max-width: 50vw;
  border-radius: 20px;
  overflow: hidden;
}

.modal-content::after {
  content: url(/wp-content/themes/seek-and-hide/assets/images/mark-bg.svg);
  display: block;
  width: 50%;
  top: -15%;
  left: -15%;
  position: absolute;
  opacity: 0.1;
}

.modal-close {
  position: absolute;
  right: 30px;
  top: 30px;
  color: var(--color-primary);
}

.modal-close:hover {
  transform: rotate(90deg);
}

#wp_pagination {
  text-align: center;
}

#wp_pagination a {
  color: var(--color-black);
}

.wp-block-gallery {
  margin: 0px;
}
