/*
Theme Name: Jackson Pianos
Theme URI: www.JacksonPianos.com/
Description: Moving Page - Revised Layout CSS
Version: 1.0
Author: Stealth
Author URI: https://stealthcreative.com

*/

.page-content {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 50px;
  box-sizing: border-box;
}

.brand-bkg {
  background-color: #732227;
}

.tan-bkg {
  background-color: #f4f2f2;
}

.moving-page p {
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}

.piano-moving-types .hl-info {
  position: absolute;
  visibility: hidden;
  top: 0;
  left: 0;
}

.piano-moving-types:hover .hl-info {
  position: absolute;
  visibility: visible;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  text-decoration: none;
  color: #ffffff;
  background-color: #732227;
  z-index: 99999;
}

.piano-moving-types {
  position: relative;
  display: block;
  padding: 0;
  margin: 0;
  text-decoration: none;
}

.piano-moving-img {
  overflow: hidden;
}

.piano-moving-img img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.4s ease;
}

.piano-moving-types:hover .piano-moving-img img {
  transform: scale(1.1);
}

.piano-moving-types h3 {
  margin: 0;
  padding: 6px;
  background-color: #732227;
  text-align: center;
  color: #ffffff;
  font-size: 0.9rem;
}

/* Text Stlyles */

.title-block {
  margin-bottom: 50px;
}

.text-center {
  text-align: center;
}

.text-white {
  color: #ffffff;
}

.text-brand-red {
  color: #732227;
}

.moving-page h2,
.moving-page h3 {
  font-weight: 400;
}

.moving-page h2 {
  font-size: 2em;
  line-height: normal;
}

@media (max-width: 980px) {
  .moving-page h2 {
    font-size: 1.5em;
    line-height: 90%;
  }
}

/* Spacing Styles */

.my50 {
  margin-top: 50px;
  margin-bottom: 50px;
}

.my100 {
  margin-top: 100px;
  margin-bottom: 100px;
}

.mb100 {
  margin-bottom: 100px;
}

.my30 {
  margin-top: 30px;
  margin-bottom: 30px;
}

.my10 {
  margin-top: 10px;
  margin-bottom: 10px;
}

.p30 {
  padding: 30px;
}

.radius10 {
  border-radius: 10px;
  overflow: hidden;
}

/* Flex Contnet */

.flex-content {
  display: flex;
  gap: 50px;
}

.content-block {
  flex: 1;
}

.flex-align-center {
  align-items: center;
  justify-content: center;
}

.flex-center-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

@media (max-width: 980px) {
  .flex-content {
    flex-direction: column;
  }
}

/* Simple Button */

.simple-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: 500px;
  padding: 12px 16px;
  border: 0;
  border-radius: 10px;
  background: #ffffff;
  color: #732227;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.25s ease;
}

.simple-button:hover {
  transform: scale(1.03);
}

.simple-button .arrow {
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.25s ease;
}

.simple-button:hover .arrow {
  transform: translateX(4px);
}

/* Flex Grid */

.flex-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  /* border:1px solid red; */
}

.flex-grid img {
  max-height: 250px;
  object-fit: cover;
}

@media (max-width: 991px) {
  .flex-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 767px) {
  .flex-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* FAQ Accordian */

.faq-accordion {
  border: 1px solid #cccccc;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.18);
}

.faq-item {
  border-bottom: 1px solid #999999;
}

.faq-item:last-child {
  border-bottom: 0;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 25px;
  border: 0;
  background: #efefef;
  color: #732227;
  text-align: left;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.faq-item.active .faq-question {
  background: #732227;
  color: #ffffff;
}

.faq-plus {
  font-size: 1.5rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-plus {
  transform: rotate(45deg);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  background: #ffffff;
  color: #272928;
  transition: grid-template-rows 0.35s ease;
}

.faq-answer > div {
  overflow: hidden;
}

.faq-answer p {
  margin: 0;
  padding: 20px 25px;
}

.faq-item.active .faq-answer {
  grid-template-rows: 1fr;
}
