/*
Theme Name: Flatsome Child
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.0
*/

/*************** ADD CUSTOM CSS HERE.   ***************/
/* ============================================================
   GALLERY TRIGGER BUTTON
   ============================================================ */
.cougar-gallery-trigger {
  display: flex;
  justify-content: flex-start;
  margin: 20px 0;
}

.cougar-btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: "Inknut Antiqua", serif;
  font-size: 1em;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #d8af39;
  background-color: transparent;
  border: 2px solid #d8af39;
  border-radius: 0;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
  cursor: pointer;
}

/* Fill animation on hover */
.cougar-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: #d8af39;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.4s ease;
  z-index: -1;
}

.cougar-btn:hover {
  color: #000000;
}

.cougar-btn:hover::before {
  transform: scaleX(1);
}

/* Focus / active state */
.cougar-btn:focus,
.cougar-btn:active {
  outline: none;
  box-shadow: 0 0 0 3px rgba(216, 175, 57, 0.25);
}

/* ============================================================
   FANCYBOX OVERRIDES — modern lightbox look
   ============================================================ */

/* Backdrop */
.fancybox__backdrop {
  background: rgba(15, 15, 15, 0.92) !important;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* Image */
.fancybox-image {
  width: 95% !important;
  margin-left: 0 !important;
  border-radius: 6px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

/* Navigation buttons */
div.fancybox__nav button.f-button {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.3s ease, transform 0.3s ease;
  color: #d8af39;
}

div.fancybox__nav button.f-button:hover {
  background: rgba(216, 175, 57, 0.2);
  transform: scale(1.08);
}

div.fancybox__nav button.f-button.is-next {
  margin-right: 20px !important;
}

div.fancybox__nav button.f-button.is-prev {
  margin-left: 20px !important;
}

/* Toolbar */
.fancybox__toolbar {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent) !important;
  padding: 15px 20px;
}

/* Counter */
.fancybox__infobar {
  color: #d8af39;
  font-family: "Inknut Antiqua", serif;
  font-size: 0.95em;
  letter-spacing: 0.06em;
}

/* Close button */
button.f-button.is-close-btn {
  color: #d8af39;
  transition: transform 0.3s ease;
}

button.f-button.is-close-btn:hover {
  transform: rotate(90deg);
}

/* Thumbnails strip */
.fancybox__thumbs {
  background: rgba(0, 0, 0, 0.5);
  padding: 8px 0;
}

.fancybox__thumbs .carousel__slide {
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.fancybox__thumbs .carousel__slide:hover {
  transform: scale(1.05);
}

.fancybox__thumbs .carousel__slide.is-nav-selected {
  box-shadow: 0 0 0 2px #d8af39;
}

/* Mobile tweaks */
@media (max-width: 768px) {
  .cougar-btn {
    padding: 12px 24px;
    font-size: 0.9em;
  }

  .fancybox-image {
    width: 100% !important;
    border-radius: 0;
  }

  div.fancybox__nav button.f-button {
    width: 44px;
    height: 44px;
  }

  div.fancybox__nav button.f-button.is-next {
    margin-right: 8px !important;
  }

  div.fancybox__nav button.f-button.is-prev {
    margin-left: 8px !important;
  }
}

@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}

