/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
 * vendor/assets/stylesheets directory can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the bottom of the
 * compiled file so the styles you add here take precedence over styles defined in any other CSS
 * files in this directory. Styles in this file should be added after the last require_* statement.
 * It is generally better to create a new file per style scope.
 *


 */

/* Custom header fixes */
.header .header-links a {
  color: #ff00c6 !important;
  padding-left: 20px !important;
}

.header .header-links a i,
.header .header-links a i.bi,
.header .header-links a i.bi-telephone-outbound-fill,
.header .header-links a i.bi-facebook,
.header .header-links a i.bi-instagram {
  color: #ff00c6 !important;
}

@media (max-width: 575px) {
  .header .header-links a {
    padding-left: 10px !important;
  }
}

@media (max-width: 1279px) {
  .header .header-links {
    display: flex !important;
    align-items: center !important;
  }
}

/* Gallery icon centering fix - remove horizontal margins to allow proper flexbox centering */
.gallery .gallery-links .preview-link,
.gallery .gallery-links .details-link {
  margin: 30px 0 0 0 !important;
}

/* Photographer credit - always visible, independent of the hover-only .gallery-links overlay */
.gallery .gallery-item .gallery-credit {
  position: absolute;
  left: 0;
  top: 0;
  z-index: 4;
  margin: 10px 0 0 10px;
  padding: 2px 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
}

.gallery .gallery-item .gallery-credit a {
  color: inherit;
  text-decoration: none;
}

.gallery .gallery-item .gallery-credit a:hover {
  text-decoration: underline;
}

/* FAQ accordion - Bootstrap collapse restyled for the dark theme */
.faq-entry-title {
  font-family: var(--font-primary);
  font-size: 24px;
  font-weight: 600;
  letter-spacing: 0.3px;
  /* Same pink as the header links and CTA buttons */
  color: #ff00c6;
  margin: 70px 0 18px 0;
}

.faq-entry-title:first-child {
  margin-top: 0;
}

.faq-accordion .accordion-item {
  background-color: transparent;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.faq-accordion .accordion-button {
  display: flex;
  align-items: center;
  gap: 20px;
  cursor: pointer;
  border-radius: 6px;
  padding: 26px 12px;
  font-family: var(--font-primary);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.5;
  color: var(--color-default);
  background-color: transparent;
  box-shadow: none;
}

.faq-accordion .accordion-button:hover,
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--color-primary);
  background-color: rgba(255, 255, 255, 0.04);
}

.faq-accordion .accordion-button:focus-visible {
  outline: 0;
  box-shadow: 0 0 0 2px var(--color-primary);
}

/* Replace Bootstrap's default caret with the bootstrap-icons chevron */
.faq-accordion .accordion-button::after {
  display: none;
}

.faq-accordion .faq-question {
  flex: 1;
}

/* The chevron doubles as the "this opens" affordance: a white badge at rest that
   turns pink on hover and while the answer is open. */
.faq-accordion .faq-accordion-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  font-size: 16px;
  color: #fafafa;
  border: 1px solid rgba(250, 250, 250, 0.45);
  border-radius: 50%;
  transition: transform 0.2s ease-in-out, color 0.2s ease-in-out,
              border-color 0.2s ease-in-out, background-color 0.2s ease-in-out;
}

.faq-accordion .accordion-button:hover .faq-accordion-icon,
.faq-accordion .accordion-button:focus-visible .faq-accordion-icon {
  color: #ff00c6;
  border-color: #ff00c6;
  background-color: rgba(255, 0, 198, 0.12);
}

.faq-accordion .accordion-button:not(.collapsed) .faq-accordion-icon {
  transform: rotate(180deg);
  color: #ff00c6;
  border-color: #ff00c6;
  background-color: rgba(255, 0, 198, 0.12);
}

.faq-accordion .accordion-body {
  padding: 4px 5px 30px 5px;
  max-width: 65ch;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(250, 250, 250, 0.8);
}

.faq-accordion .accordion-body p {
  margin-bottom: 16px;
}

.faq-accordion .accordion-body p:last-child {
  margin-bottom: 0;
}

.faq-contact {
  margin-top: 20px;
}

.faq-contact p {
  max-width: 65ch;
  line-height: 1.8;
  margin-bottom: 25px;
}

@media (prefers-reduced-motion: reduce) {
  .faq-accordion .accordion-button,
  .faq-accordion .faq-accordion-icon {
    transition: none;
  }
}

/* Footer - the only pink in it is the name in the copyright line, which carries
   .pink-highlight. Links inherit the global pink `a` colour, so they are reset to
   the same white as the text around them. */
.footer .legal a,
.footer .credits a {
  color: rgba(255, 255, 255, 0.8);
}

.footer .legal a:hover,
.footer .credits a:hover {
  color: #ffffff;
  text-decoration: underline;
}
