/*!
 * Start Bootstrap - Small Business (https://startbootstrap.com/template-overviews/small-business)
 * Copyright 2013-2017 Start Bootstrap
 * Licensed under MIT (https://github.com/BlackrockDigital/startbootstrap-small-business/blob/master/LICENSE)
 */

@font-face {
  font-family: 'Indie Flower';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/indie-flower-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Indie Flower';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/indie-flower-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

body {
  padding-top: 54px;
}

@media (min-width: 768px) {
  body {
    padding-top: 85px;
  }
}

a {
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.title-font.display-4 {
  font-size: 3.5rem;
  font-weight: 300;
  line-height: 1.2;
}

/* In the deployed Angular bundle, bootstrap-grid.min.css was loaded after bootstrap.min.css,
   so .col-* overrode .card-img-overlay's position:absolute with position:relative. */
.col.card-img-overlay,
[class*="col-"].card-img-overlay {
  position: relative;
  padding-top: 2rem;
  padding-right: 15px;
  padding-left: 15px;
}

header.masthead {
  text-align: center;
  color: white;
  width: 100vw;
}

.cover-img {
  text-align: center;
  color: white;
  background-position: center center;
  background-size: contain;
}

.title-font {
  font-family: 'Indie Flower', cursive;
}

.logotext {
  font-size: 3.0em;
  font-family: 'Indie Flower', cursive;
}

.carousel-item {
  height: 33vw;
  min-height: 200px;
  background: no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

@media (max-width: 767px) {
  .body-content {
    padding-top: 50px;
  }

  .carousel-item {
    height: 25vh;
    min-height: 300px;
    background: no-repeat center center scroll;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
  }
}

.about-background {
  height: 100vh;
  margin-top: 0 !important;
  background-image: url('../img/cattery_1.JPG');
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.gallery-background {
  min-height: 100vh;
  margin-top: 0 !important;
  background-image: url('../img/sunset_1.JPG');
  background-position: center center;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

.contact-background {
  min-height: 100vh;
  margin-top: 0 !important;
  background-image: url('../img/sunset_1.JPG');
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

@media (min-width: 768px) {
  .about-background,
  .gallery-background,
  .contact-background {
    margin-top: 1.0rem !important;
  }
}

.contact-background iframe {
  max-width: 100%;
}

.pagehalf {
  height: 35vw;
  min-height: 100px;
}

/* Gallery panel & card grid */
.gallery-panel {
  width: 100%;
  max-width: 960px;
  background: rgba(24, 27, 31, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  padding: 1.5rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}

@media (max-width: 1199px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

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

.gallery-mobile-wrapper {
  min-height: calc(100vh - 110px);
}

.gallery-mobile-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.85rem;
  max-width: 540px;
  margin: 0 auto;
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  background-color: #1f2327;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gallery-card:hover,
.gallery-card:focus {
  transform: translateY(-4px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.6);
  border-color: rgba(255, 255, 255, 0.55);
  outline: none;
}

.gallery-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-card:hover .gallery-thumb,
.gallery-card:focus .gallery-thumb {
  transform: scale(1.07);
}

.gallery-card::after {
  content: 'View';
  position: absolute;
  bottom: 0.6rem;
  right: 0.6rem;
  background: rgba(0, 0, 0, 0.65);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

.gallery-card:hover::after,
.gallery-card:focus::after {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox modal */
.lightbox-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(10, 12, 15, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 4rem 1rem 1.5rem;
}

.lightbox-overlay.open {
  display: flex;
}

.lightbox-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  z-index: 2002;
  pointer-events: none;
}

.lightbox-counter {
  color: #f8f9fa;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.03em;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 88vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-image {
  max-width: 86vw;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.lightbox-thumbs {
  display: flex;
  gap: 0.5rem;
  margin-top: 1.1rem;
  padding: 0.45rem 0.65rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  max-width: 90vw;
  overflow-x: auto;
}

.lightbox-mini-thumb {
  width: 56px;
  height: 42px;
  object-fit: cover;
  border-radius: 5px;
  opacity: 0.5;
  cursor: pointer;
  border: 2px solid transparent;
  transition: opacity 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
  flex-shrink: 0;
}

.lightbox-mini-thumb:hover {
  opacity: 0.85;
}

.lightbox-mini-thumb.active {
  opacity: 1;
  border-color: #fff;
  transform: scale(1.06);
}

.lightbox-btn {
  position: fixed;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #fff;
  font-size: 1.85rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2002;
  pointer-events: auto;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-btn:hover,
.lightbox-btn:focus {
  background: rgba(255, 255, 255, 0.28);
  outline: none;
}

.lightbox-close {
  position: static;
  width: 42px;
  height: 42px;
  font-size: 1.65rem;
}

.lightbox-prev {
  top: 50%;
  left: 1.25rem;
  transform: translateY(-50%);
}

.lightbox-next {
  top: 50%;
  right: 1.25rem;
  transform: translateY(-50%);
}
