/* ==========================================================================
   FLOOR GUYS PROFESSIONAL LLC - GALLERY PAGE STYLESHEET
   Page-specific stylesheet for gallery.php
   ========================================================================== */

/* Page Banner / Header */
.fg-gallery-page-header {
  background: linear-gradient(135deg, rgba(32, 14, 7, 0.58) 0%, rgba(53, 24, 15, 0.50) 100%),
    url('../img/18.webp') center/cover no-repeat;
  padding: 100px 0 70px;
  position: relative;
  border-bottom: 3px solid #f2aa4c;
}

.fg-gallery-header-content {
  position: relative;
  z-index: 2;
}

.fg-gallery-title {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 16px;
}

.fg-gallery-title span {
  color: #f2aa4c;
}

.fg-gallery-intro-text {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  max-width: 680px;
  line-height: 1.7;
  margin: 0 auto;
}

/* Gallery Section */
.fg-gallery-section {
  background-color: #fdfbf7;
  padding: 80px 0;
}

/* Gallery Cards Grid */
.fg-gallery-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  background-color: #ffffff;
  box-shadow: 0 8px 24px rgba(32, 14, 7, 0.08);
  transition: transform 0.45s cubic-bezier(0.165, 0.84, 0.44, 1),
    box-shadow 0.45s cubic-bezier(0.165, 0.84, 0.44, 1);
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.fg-gallery-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(32, 14, 7, 0.2);
}

.fg-gallery-thumb {
  position: relative;
  width: 100%;
  height: 310px;
  overflow: hidden;
  background-color: #200e07;
}

.fg-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.165, 0.84, 0.44, 1),
    filter 0.45s ease;
}

.fg-gallery-card:hover .fg-gallery-thumb img {
  transform: scale(1.1);
  filter: brightness(0.92);
}

/* Overlay */
.fg-gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(32, 14, 7, 0.45);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 2;
}

.fg-gallery-card:hover .fg-gallery-overlay {
  opacity: 1;
}

/* Center Zoom Trigger Icon */
.fg-gallery-zoom-btn {
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #f2aa4c;
  color: #200e07;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 10px 25px rgba(242, 170, 76, 0.5);
  transform: scale(0.6) rotate(-20deg);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    opacity 0.35s ease,
    background-color 0.25s ease,
    color 0.25s ease;
}

.fg-gallery-card:hover .fg-gallery-zoom-btn {
  transform: scale(1) rotate(0deg);
  opacity: 1;
}

.fg-gallery-zoom-btn:hover {
  background-color: #ffffff;
  color: #200e07;
  transform: scale(1.15) rotate(0deg);
}

/* Quality Assurance Strip (Dark Café) */
.fg-gallery-trust-strip {
  background-color: #200e07;
  padding: 60px 0;
  border-top: 1px solid rgba(242, 170, 76, 0.15);
  border-bottom: 1px solid rgba(242, 170, 76, 0.15);
}

.fg-gallery-trust-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
}

.fg-gallery-trust-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 14px;
  background: rgba(242, 170, 76, 0.12);
  border: 1px solid rgba(242, 170, 76, 0.3);
  color: #f2aa4c;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
}

.fg-gallery-trust-item h5 {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 2px;
}

.fg-gallery-trust-item p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 0;
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .fg-gallery-page-header {
    padding: 70px 0 50px;
  }

  .fg-gallery-title {
    font-size: 2.3rem;
  }

  .fg-gallery-thumb {
    height: 280px;
  }
}

@media (max-width: 767px) {
  .fg-gallery-title {
    font-size: 1.9rem;
  }

  .fg-gallery-intro-text {
    font-size: 1rem;
  }

  .fg-gallery-thumb {
    height: 250px;
  }

  .fg-gallery-overlay {
    background: rgba(32, 14, 7, 0.35);
  }

  .fg-gallery-zoom-btn {
    width: 52px;
    height: 52px;
    font-size: 1.25rem;
  }
}