@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap");
body {
  background-color: #f5ebc9;
  font-family: "Open Sans", serif;
  font-size: 16px;
  margin: 0;
}

h2 {
 font-weight: bold; 
}

#terms-and-conditions {
  font-family: "Times New Roman", Times, serif;
}

a {
  text-decoration: none;
}

.header {
  display: block;
  width: 100%;
  background-image: url('../img/heather.jpg');
  background-size: cover;
  color: white;
  padding-top: 20px;
  padding-bottom: 35px;
  border-bottom: 3px solid #fff;
}

.header p {
  /* Shadow around the text to distinguish it from the background image */
  text-shadow: 
    0 -2px 0 black,
    2px 0 0 black,
    0 2px 0 black,
   -2px 0 0 black,
    1px 1px 0 black,
   -1px 1px 0 black,
    1px -1px 0 black,
   -1px -1px 0 black;
}

.header b {
  /* Same as above just for bold text */
  text-shadow: 
  	0 -2px 0 black,
    2px 0 0 black,
    0 2px 0 black,
   -2px 0 0 black,
    1px 1px 0 black,
   -1px 1px 0 black,
    1px -1px 0 black,
   -1px -1px 0 black;
}

#header-title {
  font-size: 4rem;
}

#header-subtitle, .header-phone-number {
  font-size: 2rem; 
}

.header-phone-number a {
  color: white;
  text-decoration: none;
}

#header-location, #header-established-text {
	display: block;
}

#footer-contact {
 	font-size: 22px; 
}

.nav-link {
  padding: 0.5rem 1rem;
  color: #000;
}

/* Phone number styling */
.header-phone-number {
  font-size: 1.75rem;
  margin: 0.5rem 0;
}

.header-phone-number a {
  color: inherit;
  text-decoration: none;
}

.header-phone-number a:hover {
  text-decoration: underline;
}

/* Hover effect on desktop */
.nav-link.custom-link:hover {
  text-decoration: underline;
}

/* Header Book Now button styling */
.btn-header-book-now {
  display: inline-block;
  background-color: #228B22;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: background-color 0.3s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-header-book-now:hover {
  background-color: #1a6b1a;
  text-decoration: none;
  color: white;
}

.navbar-toggler {
  align-self: center;
}

/* Index */
#indexCarousel .carousel-item div {
    height: 400px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center var(--slide-focus-y, 50%);
}
#indexCarousel .carousel-control-prev-icon {
  	filter: brightness(100);
  	width: 6rem;
    height: 5rem;
}
#indexCarousel .carousel-control-next-icon {
  	filter: brightness(100);
  	width: 6rem;
    height: 5rem;
}

/* Styles for the Sales Gallery on holiday_homes.php */

.sales-gallery-box {
    background-color: #efe0c4;
    padding: 25px;
    margin: 40px auto;
    max-width: 650px;
    border-radius: 10px;
    text-align: center;
  
  	overflow: hidden;
  	display: block;
}

.sales-gallery {
  	display: block;
    margin-bottom: 15px;
}

.large-image {
    width: 100%;
    max-width: 500px;
  	height: 522px;
  	object-fit: contain;
    margin-bottom: 10px;
    border: 0px;
}

.small-image img {
    width: 90px;
    margin: 5px;
    cursor: pointer;
    border: 0px;
  	opacity: 0.6;
  	transition: opacity 0.2s;
}

.small-image img:hover {
    opacity: 1;
  	border: 0px;
}

.gallery-text {
    margin-top: 15px;
    font-size: 15px;
    line-height: 1.5;
  	display: block;
}

.gallery-text-row {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
}

.gallery-text-quality {
    font-weight: bold;
  	flex: 0 0 100px;
  	text-align: left; 
}

.gallery-text-value {
  	flex: 1;
    text-align: right;
}

/* Make the video wrapper responsive and maintain aspect ratio only on mobile */
.video-wrapper {
  position: relative;
  max-width: 100%;
  height: auto; /* This ensures normal size on desktop */
}

/* Push glamping slideshow lower than surrounding text column */
.glamping-carousel-column {
  margin-top: 2.25rem;
}

@media (min-width: 768px) {
  .glamping-carousel-column {
    margin-top: 7rem;
  }
}

/* Styles for the facilities page */
.facilities-section {
  max-width: 980px;
  margin: 0 auto;
  padding: 25px 0 35px;
  text-align: center;
}

.facilities-intro {
  max-width: 780px;
  margin: 12px auto 22px;
  font-size: 1.05rem;
}

.facilities-hero-image {
  margin: 0 auto 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #ffffff;
  max-width: 900px;
}

.facilities-hero-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

/* Generic page hero image (reusable across pages) */
.page-hero-image {
  margin: 0 auto 24px;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid #ffffff;
  max-width: 900px;
}

.page-hero-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.facilities-list-wrap {
  text-align: left;
  margin: 0 auto;
  max-width: 900px;
}

.facilities-feature-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0 0 12px;
}

.facilities-feature-item {
  background-color: #efe0c4;
  border-left: 4px solid #228b22;
  border-radius: 8px;
  padding: 10px 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.facilities-float-image {
  width: min(48%, 380px);
  margin: 4px 0 14px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid #ffffff;
}

.facilities-float-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.facilities-float-left {
  float: left;
  margin-right: 18px;
}

.facilities-float-right {
  float: right;
  margin-left: 18px;
}

.facilities-clear {
  clear: both;
}

.facilities-bottom-carousel {
  margin: 22px auto 0;
  max-width: 900px;
  border: 2px solid #ffffff;
  border-radius: 12px;
  overflow: hidden;
}

.facilities-bottom-slide {
  height: 350px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.facilities-bottom-carousel .carousel-control-prev-icon,
.facilities-bottom-carousel .carousel-control-next-icon {
  filter: brightness(100);
  width: 3.5rem;
  height: 3.5rem;
}

footer {
  background-image: url("../img/heather.jpg");
  background-size: cover;
  border-top: 3px solid #fff;
  padding: 5px 3%;
  width: 1100%;
}

/* Contact page portrait photo space */
.contact-details-column {
  padding-bottom: 24px;
}

.contact-portrait-space {
  margin-top: 14px;
  width: min(100%, 260px);
  aspect-ratio: 3 / 4;
  border: 2px dashed #8b7a4f;
  border-radius: 10px;
  background-color: #efe0c4;
  color: #5b4c2a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  text-align: center;
  padding: 10px;
}

.contact-portrait-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

.meet-family-portrait-wrap {
  margin-top: 14px;
  width: min(100%, 260px);
  border-radius: 10px;
  overflow: hidden;
}

.meet-family-portrait-image {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  display: block;
}

/* Mobile & Tablet responsiveness */
@media (max-width: 830px) {
  .header {
    padding-top: 5px;
  	padding-bottom: 5px;
  }
  
  .header nav {
    display: none;
    margin: 0;
    padding-bottom: 0;
    flex-direction: column;
  }
  
  .header nav a {
    padding: 10px 0;
    border-right: none;
    border-bottom: 1px solid black;
  }
  
  #header-title, #header-subtitle, .header-phone-number {
    margin: 0;
    align-items: center;
  }

  #header-title {
    font-size: 2rem;
  }
  
  #header-subtitle {
    font-size: 0.8rem;
    width: 100%;
    text-align: center;
  }

  .header-phone-number {
    font-size: 1.25rem; 
  }
  
  #header-phone-number-container {
  	display: flex;
    row-gap: 0;
    column-gap: 1.5rem;
  }
  
  #header-title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%
  }
  
  #header-location, #header-established-text {
	display: none;
  }
  
  .footer {
    padding: 0;
    width: 100%;
    --bs-body-line-height: 1 !important;
  }
  
  footer.footer .footer-contact {
  	font-size: 11px !important;
    line-height: 1 !important; 
    margin: 0 !important;
    padding: 5px !important;
    gap: 0 !important;
  }
  
  .footer .d-flex {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .facilities-hero-image img {
    height: 240px;
  }

  .facilities-float-image {
    float: none;
    width: 100%;
    max-width: 100%;
    margin: 10px 0 16px;
  }

  .facilities-bottom-slide {
    height: 220px;
  }
  
  footer img {
    height: 80px !important;
    margin-top: 0;
    margin-bottom: 0;
  }

  #indexCarousel .carousel-item div {
    height: 200px;
  }
  
  #indexCarousel .carousel-item div[style*="Grouse25558.jpg"] {
    height: 200px !important;
  }
}

/* Mobile specifically has different video settings */
@media (max-width: 768px) {
  .col-12 {
    padding-left: 0;
    padding-right: 0;
  }
  
    .video-wrapper {
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
  }

  .video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  
}

/* min-height is used to get the drone video to display normally on desktop */
@media (min-width: 768px) {
  .video-wrapper iframe {
    width: 560px;
    height: 317px;
  }
}
