/* <-------------- Global Styles --------------> */
:root {
  --main-color: #00416a;
  --main-hover: #00598c;
  --main-bg-color: rgba(0, 65, 106, 0.4);
}

body {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
}

.bg-main {
  background-color: var(--main-color);
}

.text-main {
  color: var(--main-color);
}

a {
  color: var(--main-color);
  text-decoration: none;
}

a:hover {
  color: var(--main-hover);
}

.hr-main {
  border: none;
  height: 4px;
  background-color: var(--main-color);
  width: 80px;
  margin: auto;
  opacity: 1;
}

.hr-main-left {
  border: none;
  height: 4px;
  background-color: var(--main-color);
  width: 80px;
  margin-left: 0;
  opacity: 1;
}

.hr-main-left-white {
  border: none;
  height: 4px;
  background-color: #fff;
  width: 80px;
  margin-left: 0;
  opacity: 1;
}

.btn-main {
  background-color: var(--main-color);
  color: white;
  border: none;
}

.btn-main:hover {
  background-color: var(--main-hover);
  color: white;
}

.btn-white {
  background-color: white;
  color: var(--main-color);
  border-color: var(--main-color);
}

.btn-white:hover {
  background-color: var(--main-hover);
  color: white;
}

.no-radius {
  border-radius: 0 !important;
}

.left-spacing {
  margin-left: 1.5rem;
}

section {
  padding: 3rem 0;
}

.shadow-card {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
  transition: box-shadow 0.3s ease;
}

.shadow-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.custom-list {
  list-style: none;
  padding: 0;
}

.custom-list li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.custom-list li i {
  margin-right: 10px;
  font-size: 20px;
  color: var(--main-color);
}

.custom-list li span {
  word-wrap: break-word;
}

.number-list {
  list-style: none;
  padding: 0;
  counter-reset: section;
}

.number-list li {
  counter-increment: section;
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.number-list li::before {
  content: counter(section);
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 24px;
  height: 24px;
  text-align: center;
  background-color: var(--main-color);
  color: white;
  font-weight: bold;
  border-radius: 50%;
  margin-right: 10px;
  flex-shrink: 0;
}

.float-content .image img {
  margin-bottom: 20px;
}

/* <-------------- Navbar --------------> */
.dropdown-item.active,
.dropdown-item:active {
  background-color: var(--main-color);
  color: #fff;
}

/* <-------------- Header --------------> */
.hero-header {
  background-image: url("/LNWC/images/hero.webp");
  background-size: cover;
  background-position: 80% center;
  height: calc(100vh - 100px);
  position: relative;
  z-index: 1;
}

.hero-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.hero-header .container {
  position: relative;
  z-index: 3;
}

.hero-text-bg {
  background-color: var(--main-bg-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

/* <-------------- Homepage --------------> */
.callout {
  background-color: var(--main-color);
  border-radius: 0;
}

.video-wrapper {
  border: 3px solid white;
  aspect-ratio: 16 / 9;
  width: 100%;
  height: 100%;
}

.parallax-section {
  background-image: url("/LNWC/images/home/lake-norman-parallax.webp");
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  position: relative;
}

.parallax-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.parallax-section .container {
  position: relative;
  z-index: 2;
}

.overlay-text-bg {
  background-color: var(--main-bg-color);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.info-card img {
  object-fit: cover;
  height: 300px;
}

/* <-------------- Quotes --------------> */
.statement {
  position: relative;
  max-width: 800px;
  width: 100%;
  margin: auto;
  padding: 1rem;
  background-color: transparent;
  background-image: linear-gradient(
      -45deg,
      transparent,
      transparent 2%,
      white 2%,
      white 85%,
      transparent,
      85%,
      transparent
    ),
    linear-gradient(
      to bottom right,
      var(--main-color),
      var(--main-color) 90%,
      transparent 90%
    );
  background-position: top left;
  background-repeat: no-repeat;
}

.statement::before,
.statement::after {
  position: absolute;
  z-index: -1;
  display: block;
  width: 3rem;
  height: 4rem;
  content: "";
  z-index: 0;
  font-size: 8rem;
  font-family: Georgia, Times, Garamond, serif;
}

.statement::before {
  top: -2rem;
  left: 1rem;
  content: open-quote;
  color: #fff;
}

.statement::after {
  bottom: 0.25rem;
  right: 1rem;
  content: close-quote;
  color: var(--main-color);
}

.statement h2 {
  text-shadow: -2px 2px #fff, -1.5px 1.5px #fff, -1px 1px #fff,
    -0.5px 0.5px #fff;
  margin-block-end: 1rem;
}

.statement p {
  margin-block-start: 1.5rem;
}

/* <-------------- About Page Form --------------> */
.slide-toggle {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, padding 0.3s ease;
  opacity: 0;
  padding-top: 0;
}

.slide-toggle.open {
  max-height: 100px;
  opacity: 1;
  padding-top: 0.5rem;
}

/* <-------------- Pictures --------------> */
.gallery-img-wrapper {
  position: relative;
  width: 100%;
  padding-top: 75%;
  overflow: hidden;
}

.gallery-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.gallery-img:hover {
  transform: scale(1.05);
}

.modal-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

.modal-body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 80vh;
}

.modal-content {
  background-color: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
}

.btn-close {
  filter: invert(1);
  opacity: 1;
}

.btn-close::before {
  color: var(--main-color);
}

#prevBtn,
#nextBtn {
  background-color: var(--main-color);
  border: none;
  color: white;
}

#prevBtn:hover,
#nextBtn:hover {
  background-color: var(--main-hover);
}

/* <-------------- Internet Links --------------> */
.logo-wrapper {
  display: inline-block;
}

.logo-wrapper:hover .logo-container {
  transform: scale(1.05);
}

.logo-container {
  width: 180px;
  height: 100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  transition: transform 0.3s ease;
  align-items: center;
}

.logo-container img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

.logo-name {
  font-size: 0.9rem;
  color: #333;
  margin-top: 0.5rem;
}

/* <-------------- Quote carousel --------------> */
#quoteCarousel .carousel-inner {
  overflow: visible;
  min-height: 175px;
}

.carousel-indicators {
  position: relative;
  bottom: auto;
  margin-top: 1.5rem;
  margin-bottom: 0;
}

.carousel-indicators button {
  background-color: #ccc;
  opacity: 1;
  border: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 6px;
}

.carousel-indicators button.active {
  background-color: var(--main-color);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  display: none;
}

.carousel-control-prev i,
.carousel-control-next i {
  color: var(--main-color);
  font-size: 2rem;
  pointer-events: none;
}

/* <-------------- FAQ --------------> */
.accordion-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background-color: #f7f7f7;
  border-bottom: 1px solid #ddd;
  font-weight: bold;
}

.accordion-question p {
  margin-bottom: 0;
}

.accordion-question:hover {
  background-color: #eaeaea;
}

.accordion-answer {
  max-height: 0;
  overflow: hidden;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  transition: max-height 0.4s ease, padding-top 0.4s ease,
    padding-bottom 0.4s ease;
}

.fa-plus-circle {
  display: inline-block;
  transition: transform 0.3s ease, color 0.3s ease;
  transform-origin: center;
  font-size: 20px;
  color: var(--main-color);
}

.rotate {
  transform: rotate(45deg);
  color: var(--cta-color);
}

/* <-------------- Calendar --------------> */
#calendar {
  width: 100%;
  max-width: 100%;
}

.fc-daygrid-day-number,
.fc-col-header-cell-cushion {
  text-decoration: none !important;
}

.custom-event {
  background-color: var(--main-color) !important;
  color: white !important;
  cursor: pointer;
  border: none;
  padding: 4px 6px;
  border-radius: 4px;
}

.custom-event:hover {
  background-color: var(--main-hover) !important;
}

#eventModal .modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

#eventModal .modal-content {
  background-color: #fff;
  color: #000;
  padding: 2rem;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow: auto;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.3);
  position: relative;
  animation: fadeIn 0.3s ease-in-out;
}

#eventModal .close {
  position: absolute;
  right: 1rem;
  top: 1rem;
  font-size: 1.5rem;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.meta-line {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.meta-line i {
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.meta-line span {
  flex: 1;
  word-break: break-word;
}

/* <-------------- Fish Attractors --------------> */
.plus-sign::after {
  content: "+";
  margin-left: 2px;
  font-weight: bold;
}

/* <-------------- Footer --------------> */
.footer a {
  text-decoration: none;
}

.dropdown-item.active,
.dropdown-item:active {
  background-color: var(--main-color);
  color: #fff;
}

/* <-------------- Media Queries --------------> */
@media (min-width: 992px) {
  .dropdown-menu {
    display: block;
    opacity: 0;
  }
  .dropdown:hover .dropdown-menu {
    display: block;
    margin-top: 0;
    opacity: 1;
  }
  .dropdown-toggle {
    pointer-events: none;
  }
  .footer .dropdown {
    position: relative;
  }
  .footer .dropdown-menu {
    position: absolute;
    left: 40%;
    top: 0;
    z-index: 9999;
    display: none;
  }
}
@media (max-width: 991px) {
  .navbar .dropdown-menu {
    width: 200px !important;
  }
  .footer .dropdown-menu {
    position: absolute !important;
    top: -80% !important;
    left: 10% !important;
    z-index: 9999;
  }
}
@media (min-width: 768px) {
  .float-content .image {
    width: 40%;
  }
  .float-content .image img {
    width: 100%;
  }
  .float-right {
    float: right;
    margin-left: 30px;
    margin-right: 0;
  }
  .float-right .image {
    margin: 0 30px 15px 0;
  }
  .float-left {
    float: left;
    margin-right: 30px;
    margin-left: 0;
  }
  .float-left .image {
    margin: 0 0 15px 30px;
  }
}
@media (max-width: 767px) {
  .parallax-section {
    background-attachment: scroll;
  }
}
@media (max-width: 576px) {
  .logo-container {
    width: 120px;
    height: 60px;
  }
  .footer .dropdown-menu {
    left: 0 !important;
  }
  #quoteCarousel .carousel-inner {
    min-height: 200px;
  }
}
