/* Gallery Styles */

h1 {
  color: #d83d7f;
  font-weight: bold;
  text-shadow: none;
  padding: 10px 0;
}
.gallery-section {
  padding: 1em 0;
  background: #fafafa;
  min-height: 80vh;
}

#recent-orders {
  display: block;
  background-color: white;
  color: #000000;
  font-family: "Glacial Indifference", sans-serif;
  margin: 0 auto;
  padding-bottom: 8em;
  perspective: 1000px;
  position: relative;
  padding: 2em 0em 7em 0em;
}

#recent-orders::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/images/RepeatingBackground1.png") repeat;
  background-color: #d83d7f;
  background-size: 20em 20em;
  opacity: 1;
  z-index: 0;
}

#recent-orders h2 {
  color: #ffffff;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
}

.recent_orders_slider {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 2.5em;
  position: relative;
  z-index: 2;
}

.order_image_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  z-index: 2;
}

.card {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background-color: white;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, opacity 0.3s ease;
  z-index: 2;
}

.main_card {
  position: relative;
  width: 40em;
  height: 40em;
  z-index: 3;
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.left_card {
  width: 35em;
  height: 35em;
  left: 0;
  transform: translateX(-25em) scale(0.9);
}

.right_card img,
.left_card img {
  opacity: 0.5;
}

.right_card {
  width: 35em;
  height: 35em;
  right: 0;
  transform: translateX(25em) scale(0.9);
}

.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  opacity: 1;
}

.prev_rec,
.next_rec {
  width: 0;
  height: 0;
  border-style: solid;
  background: transparent;
  cursor: pointer;
  position: absolute;
  top: 52.5%;
  transform: translateY(-50%);
  padding: 0;
  outline: none;
  z-index: 10;
}

.prev_rec {
  border-width: 30px 40px 30px 0;
  border-color: transparent #ffffff transparent transparent;
  left: 10em;
}

.next_rec {
  border-width: 30px 0 30px 40px;
  border-color: transparent transparent transparent #ffffff;
  right: 10em;
}

/* Pinterest Gallery Styles */
#Inspiration-board {
  width: 100%;
  text-align: center;
  color: #d83d7f;
  background-color: #fafafa;
  padding: 1em 0;
}

#Inspiration-board h2 {
  color: #d83d7f;
  font-size: 4em;
  margin-bottom: 0.25em;
  font-weight: bold;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

/* Pinterest Board Sections - LARGER SIZE */
.pinterest-boards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 3em;
  padding: 2em;
  max-width: 1500px;
  margin: 0 auto;
}

.pinterest-board-section {
  background: #ffa8ce;
  border-radius: 20px;
  padding: 2em;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  text-align: center;
  min-height: 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
}

.pinterest-board-section h3 {
  color: #d83d7f;
  font-family: "Fredoka", sans-serif;
  font-size: 2em;
  margin-bottom: 1.5em;
  font-weight: 600;
}

/* Make Pinterest Embeds Larger */
.pinterest-board-section a[data-pin-do="embedBoard"] {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  display: block !important;
}

/* Override Pinterest embed styles to make them larger */
span[class*="PIN_"],
div[class*="PIN_"] {
  max-width: 100% !important;
  min-width: 100% !important;
  width: 100% !important;
}

/* Specific override for   embed ID */
span.PIN_1762638347476_embed_grid.PIN_1762638347476_c3 {
  max-width: 100% !important;
  min-width: 100% !important;
  width: 100% !important;
}

/* Ensure iframes scale properly */
.pinterest-board-section iframe {
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  height: 500px !important;
  border-radius: 12px;
}

/* Gallery Grid - Pinterest Style */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5em;
  padding: 2em;
  max-width: 1400px;
  margin: 0 auto;
}

/* Pin Card Styles */
.pin-card {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  break-inside: avoid;
  margin-bottom: 1.5em;
}

.pin-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.pin-image {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pin-card:hover .pin-image {
  transform: scale(1.05);
}

.pin-info {
  padding: 1.2em;
  background: white;
}

.pin-title {
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1.1em;
  color: #333;
  margin-bottom: 0.5em;
  line-height: 1.3;
}

.pin-description {
  font-family: "Glacial Indifference", sans-serif;
  color: #666;
  font-size: 0.9em;
  line-height: 1.4;
  margin-bottom: 1em;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.pin-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1em;
  padding-top: 0.5em;
  border-top: 1px solid #f0f0f0;
}

.pin-board {
  background: #d83d7f;
  color: white;
  padding: 0.3em 0.8em;
  border-radius: 20px;
  font-size: 0.8em;
  font-weight: 500;
}

.pin-price {
  font-family: "Fredoka", sans-serif;
  font-weight: 700;
  color: #d83d7f;
  font-size: 1.1em;
}

.pin-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
}

.tag {
  background: #f8f8f8;
  color: #666;
  padding: 0.2em 0.6em;
  border-radius: 12px;
  font-size: 0.75em;
  border: 1px solid #e0e0e0;
}

/* Responsive Design for Pinterest Boards */
@media (min-width: 1441px) {
  .pinterest-boards {
    grid-template-columns: repeat(2, 1fr);
    gap: 4em;
    padding: 3em;
  }

  .pinterest-board-section {
    min-height: 700px;
  }

  .pinterest-board-section iframe {
    height: 600px !important;
  }

  .pinterest-board-section h3 {
    font-size: 2.2em;
  }
}

/* Desktop (1025px - 1440px) */
@media (max-width: 1440px) and (min-width: 1025px) {
  .pinterest-boards {
    grid-template-columns: repeat(1, 3fr);
    gap: 2.5em;
    padding: 2em;
  }

  .pinterest-board-section {
    min-height: 550px;
  }

  .pinterest-board-section iframe {
    height: 450px !important;
  }
}

/* Tablet (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .pinterest-boards {
    grid-template-columns: repeat(1, 3fr);
    gap: 2em;
    padding: 1.5em;
  }

  .pinterest-board-section {
    min-height: 500px;
  }

  .pinterest-board-section iframe {
    height: 400px !important;
  }

  .pinterest-board-section h3 {
    font-size: 1.8em;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  #Inspiration-board h2 {
    font-size: 2em;
    margin-bottom: 0.5em;
  }

  .pinterest-boards {
    grid-template-columns: 1fr;
    gap: 1.5em;
    padding: 1em;
  }

  .pinterest-board-section {
    min-height: 450px;
    padding: 1.5em;
  }

  .pinterest-board-section iframe {
    height: 350px !important;
  }

  .pinterest-board-section h3 {
    font-size: 1.6em;
    margin-bottom: 1em;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .pinterest-boards {
    padding: 0.5em;
    gap: 1em;
  }

  .pinterest-board-section {
    min-height: 400px;
    padding: 1em;
  }

  .pinterest-board-section iframe {
    height: 300px !important;
  }

  .pinterest-board-section h3 {
    font-size: 1.4em;
  }

  #Inspiration-board h2 {
    font-size: 1.8em;
  }
}

/* Responsive Design */
@media (min-width: 1441px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2em;
  }

  .pinterest-boards {
    grid-template-columns: repeat(3, 1fr);
  }

  .main_card {
    width: 45em;
    height: 45em;
  }

  .left_card,
  .right_card {
    width: 40em;
    height: 40em;
  }

  .left_card {
    transform: translateX(-30em) scale(0.9);
  }

  .right_card {
    transform: translateX(30em) scale(0.9);
  }

  .prev_rec {
    left: 12em;
    border-width: 35px 45px 35px 0;
  }

  .next_rec {
    right: 12em;
    border-width: 35px 0 35px 45px;
  }
}

/* Desktop (1025px - 1440px) */
@media (max-width: 1440px) and (min-width: 1025px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5em;
    padding: 1.5em;
  }

  .pinterest-boards {
    grid-template-columns: repeat(3, 1fr);
  }

  .main_card {
    width: 35em;
    height: 35em;
  }

  .left_card,
  .right_card {
    width: 30em;
    height: 30em;
  }

  .left_card {
    transform: translateX(-20em) scale(0.9);
  }

  .right_card {
    transform: translateX(20em) scale(0.9);
  }

  .prev_rec {
    left: 8em;
    border-width: 25px 35px 25px 0;
  }

  .next_rec {
    right: 8em;
    border-width: 25px 0 25px 35px;
  }

  #recent-orders {
    padding: 2em 0em 5em 0em;
  }
}

/* Tablet (769px - 1024px) */
@media (max-width: 1024px) and (min-width: 769px) {
  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.2em;
    padding: 1.2em;
  }

  .pinterest-boards {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5em;
    padding: 1.5em;
  }

  .main_card {
    width: 28em;
    height: 28em;
    transform: scale(1.05);
  }

  .left_card,
  .right_card {
    width: 24em;
    height: 24em;
  }

  .left_card {
    transform: translateX(-15em) scale(0.85);
  }

  .right_card {
    transform: translateX(15em) scale(0.85);
  }

  .prev_rec {
    left: 5em;
    border-width: 20px 30px 20px 0;
  }

  .next_rec {
    right: 5em;
    border-width: 20px 0 20px 30px;
  }

  #recent-orders {
    padding: 2em 0em 4em 0em;
    padding-bottom: 6em;
  }

  #recent-orders::before {
    background-size: 15em 15em;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  #Inspiration-board h2 {
    font-size: 2em;
    margin-bottom: 0.5em;
  }

  .gallery-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1em;
    padding: 1em;
  }

  .pinterest-boards {
    grid-template-columns: 1fr;
    gap: 1em;
    padding: 1em;
  }

  .recent_orders_slider {
    padding-top: 1.5em;
  }

  .order_image_wrapper {
    flex-direction: column;
    gap: 1em;
  }

  .main_card {
    width: 22em;
    height: 22em;
    transform: scale(1);
    position: relative;
  }

  .left_card,
  .right_card {
    width: 18em;
    height: 18em;
    position: relative;
    opacity: 0.8;
    margin: 0 auto;
  }

  .card {
    position: relative;
    transform: none !important;
    margin: 0.5em auto;
  }

  .left_card,
  .right_card {
    position: relative;
    left: auto;
    right: auto;
    transform: none;
    display: none;
  }

  .prev_rec,
  .next_rec {
    border-width: 15px 20px 15px 0;
    top: 50%;
  }

  .prev_rec {
    left: 1em;
  }

  .next_rec {
    right: 1em;
    border-width: 15px 0 15px 20px;
  }

  #recent-orders {
    padding: 1em 0em 3em 0em;
    padding-bottom: 4em;
  }

  #recent-orders::before {
    background-size: 12em 12em;
  }
}

/* Small Mobile (480px and below) */
@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 1em;
    padding: 0.5em;
  }

  .pin-card {
    margin-bottom: 1em;
  }

  #Inspiration-board h2 {
    font-size: 1.8em;
  }

  .main_card {
    width: 18em;
    height: 18em;
  }

  .left_card,
  .right_card {
    width: 15em;
    height: 15em;
  }

  .prev_rec {
    left: 0.5em;
    border-width: 12px 16px 12px 0;
  }

  .next_rec {
    right: 0.5em;
    border-width: 12px 0 12px 16px;
  }

  #recent-orders {
    padding: 1em 0.5em 2em 0.5em;
  }

  #recent-orders h2 {
    font-size: 1.5em;
  }

  #recent-orders::before {
    background-size: 10em 10em;
  }
}


/* ===========================
   CUSTOMER REVIEWS SECTION
   =========================== */
#customer-reviews {
  background: linear-gradient(135deg, #d83d7f 0%, #ac1b57 100%);
  position: relative;
  overflow: hidden;
  padding: 4em 1em;
}

#customer-reviews::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: url("../assets/images/RepeatingBackground1.png") repeat;
  background-size: 18em 18em;
  opacity: 0.08;
  z-index: 0;
}

.reviews-inner {
  position: relative;
  z-index: 1;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.reviews-header h2 {
  font-family: "Brittany Signature", sans-serif;
  font-size: 3.5em;
  color: #ffffff;
  text-transform: none;
  font-weight: 400;
  margin-bottom: 0.2em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}

.reviews-header p {
  font-family: "Glacial Indifference", sans-serif;
  font-size: 1em;
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.5em;
}

.reviews-carousel-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
}

.review-nav-btn {
  background: rgba(255,255,255,0.15);
  border: 2px solid rgba(255,255,255,0.4);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.8em;
  cursor: pointer;
  transition: all 0.3s ease;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.review-nav-btn:hover {
  background: rgba(255,255,255,0.3);
  transform: scale(1.1);
}

.reviews-carousel {
  flex: 1;
  max-width: 600px;
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.review-slide {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 20px;
  padding: 2.5em 2em;
  width: 100%;
}

.review-avatar-wrap {
  margin-bottom: 1em;
}

.review-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.6);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.review-stars {
  margin-bottom: 0.8em;
}

.star {
  font-size: 1.4em;
  color: rgba(255,255,255,0.3);
}

.star.filled {
  color: #FFD700;
}

.review-text {
  font-family: "Glacial Indifference", sans-serif;
  font-size: 1em;
  color: #ffffff;
  line-height: 1.7;
  margin-bottom: 1em;
  font-style: italic;
}

.review-name {
  font-family: "Fredoka", sans-serif;
  font-size: 1em;
  color: rgba(255,255,255,0.75);
  font-weight: 500;
}

.review-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1.5em;
  margin-bottom: 2.5em;
}

.review-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.35);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.review-dot.active {
  background: #ffffff;
  transform: scale(1.3);
}

.review-cta {
  margin-top: 0.5em;
}

.review-cta p {
  font-family: "Glacial Indifference", sans-serif;
  font-size: 0.95em;
  color: rgba(255,255,255,0.8);
  margin-bottom: 0.8em;
}

.review-btn {
  display: inline-block;
  background: #ffffff;
  color: #d83d7f;
  font-family: "Fredoka", sans-serif;
  font-size: 1.1em;
  font-weight: 600;
  padding: 0.7em 2em;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.review-btn:hover {
  background: #fff0f7;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  color: #ac1b57;
}

/* Reviews Responsive */
@media (max-width: 768px) {
  .reviews-header h2 { font-size: 2.5em; }
  .review-nav-btn { width: 40px; height: 40px; font-size: 1.4em; }
  .review-slide { padding: 1.8em 1.2em; }
  .reviews-carousel { min-height: 220px; }
  .review-text { font-size: 0.9em; }
}

@media (max-width: 480px) {
  .reviews-header h2 { font-size: 2em; }
  .reviews-carousel-wrap { gap: 0.5em; }
  .review-nav-btn { width: 35px; height: 35px; font-size: 1.2em; }
  .review-slide { padding: 1.5em 1em; }
  .review-avatar { width: 65px; height: 65px; }
}
