
/* unvisited link 
a:link {
  color:#d4490b;
}

 visited link 
a:visited {
  color:#993608;
}

mouse over link 
a:hover {
  color:#e5510b;
}

 selected link 
a:active {
  color:#e5510b;
}
*/

a {
  color: #d4490b; /* Deep red */
  text-decoration: none; /* Remove underline by default */
}

a:hover {
  color:#e5510b;
  text-decoration: underline; /* Underline on hover */
}

a:visited {
  color: #993608; /* Keep the deep red for visited links */
}

.carousel-item {
    height: 100vh;
}
.carousel-item img {
    height: 100vh;
    width: 100vw;
    object-fit: cover;
}

.contentSection {
    background: white;
    color: black;
    padding: 4rem 2rem 3rem 2rem;
    font-family: Arial, sans-serif;
    font-size: 1.25rem;
    line-height: 1.6;
}

.container-sm {
	max-width: 650px;
	margin-top: 10px;
	margin-right: auto;
	margin-left: auto;
	margin-bottom: 10px;
	text-align: left;
}

@media (min-width: 550px) {
  /* For desktop: */
.container-sm  {
	font-size:17px;
	}
}

.contentSection .container {
    max-width: 70ch;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}
.distinctive-heading {
    font-family: 'Alegreya Sans SC', Arial, Helvetica, sans-serif;
    font-size: 2.2rem;
    font-weight: 400; /* Use 400 for regular, 700 for bold */
    color: #111;
    text-align: left;
    letter-spacing: 0.07em;
    /* text-transform: uppercase; <- Not needed, since lowercase = small caps! */
    margin-bottom: 2rem;
}
.hero-photo-overlay {
  position: relative;
  width: 100%;
  display: block;
}
.hero-photo-overlay picture,
.hero-photo-overlay img {
  width: 100%;
  height: auto;
  display: block;
}
.hero-title-overlay {
  position: absolute;
  bottom: 2.5vw;
  right: 4vw;
  color: #fff;
  font-size: 5rem;   /* Default size for desktop */
  font-family: 'Alegreya Sans SC', Arial, Helvetica, sans-serif;
  font-weight: 400;
  letter-spacing: 0.06em;
  text-shadow: 0 4px 18px rgba(0,0,0,0.53), 0 2px 4px rgba(0,0,0,0.75);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
}

/* Increase font size for smaller screens/mobile */
@media (max-width: 600px) {
  .hero-title-overlay {
    font-size: 3.5rem;    /* ~34px on small screens */
    bottom: 5vw;
    right: 6vw;
  }
}
@media (max-width: 400px) {
  .hero-title-overlay {
    font-size: 2.5rem;    /* ~27px for smallest devices, or adjust for fit */
    bottom: 7vw;
    right: 8vw;
  }
}

.leaf {
    padding: 5rem 0rem 4rem 0rem;
}

/* Link appearance */
.nav-link {
  text-decoration: none !important;
}

/* Custom navbar background and fixed positioning */
.navbar-custom {
  background: linear-gradient(to bottom, rgba(40, 40, 40, 0.7) 0%, rgba(40, 40, 40, 0) 100%);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
  transition: transform 0.25s ease;
}

/* Navbar brand and links color and size */
.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
  color: #ffffff;
  font-size: 1.2rem;
}

/* Remove default underline on navbar brand */
.navbar-brand::after {
  content: none !important;
}

/* Logo sizing */
.navbar-logo {
  height: 50px;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
}

/* Responsive logo height */
@media (max-width: 768px) {
  .navbar-logo {
    height: 40px;
    max-width: 224px;
  }
}

@media (max-width: 480px) {
  .navbar-logo {
    height: 35px;
    max-width: 196px;
  }
}

/* Navbar toggler styling */
/* Positioning the toggler button with z-index for proper layering */
.navbar-toggler {
  border: none;
  position: relative;
  z-index: 11;
}

/* Remove focus outline and box-shadow */
.navbar-toggler:focus,
.navbar-toggler:active {
  color: #ffffff;
  box-shadow: none;
  outline: none;
}

/* White hamburger icon */
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255,255,255,1%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Align navbar items to the right inside collapse */
.navbar-collapse {
  justify-content: flex-end;
}

.navbar-collapse .navbar-nav {
  text-align: right;
}


.photo-credit {
	font-size: 16px;
	font-style: italic;		
}

#portraitCarousel {
  width: 100vw;
  max-width: 100vw;
  overflow: hidden;
}

.scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 20px;
    color: #ffffff;
    cursor: pointer;
    animation: bounce 2s infinite;
    z-index: 10;
    pointer-events: all;
}
.site-footer {
    background-color: #fff;
    color: #111;
    padding: 2rem 1rem;
    text-align: center;
    font-family: Arial, sans-serif;
    border-top: 1px solid #eee;
}
.footer-content {
    max-width: 900px;
    margin: 0 auto;
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.social-icons a {
    display: inline-block;
    opacity: 0.85;
    transition: opacity 0.2s;
    vertical-align: middle;
}
.social-icons a:focus,
.social-icons a:hover {
    opacity: 1;
}
.social-icons img {
    width: 36px;
    height: 36px;
    display: block;
    object-fit: contain;
    filter: grayscale(0);
}
.footer-text {
    font-size: 0.9rem;
    opacity: 0.95;
}
.video-container {
    width: 100vw;
    max-width: 100%;
    position: relative;
    overflow: hidden;
}
.landscape-video {
    aspect-ratio: 16 / 9;
    display: block;
}
.portrait-video {
    aspect-ratio: 1 / 1;
    display: none;
}


.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

.video-container-square {
  position: relative;
  overflow: hidden;
  background: white;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container-square video {
  max-width: 100vw;
  max-height: 100vh;
  aspect-ratio: 1 / 1;
  object-fit: contain; /* prevents cropping, shows full video */
  display: block;
}


@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@media (orientation: landscape) {
    #portraitCarousel {
        display: none;
    }
}
@media (orientation: portrait) {
    #landscapeCarousel {
        display: none;
    }
}


@media (orientation: landscape) {
    .landscape-video {
        display: block;
    }
    .portrait-video {
        display: none;
    }
}
@media (orientation: portrait) {
    .landscape-video {
        display: none;
    }
    .portrait-video {
        display: block;
    }
}


/* Full viewport height and width for landscape orientation */
@media (orientation: landscape) {
  #map {
    width: 100vw;
    height: 100vh;
  }
}

/* Full viewport width for portrait orientation */
@media (orientation: portrait) {
  #map {
    width: 100vw;
  }
}

/* Full width and 5:4 aspect ratio height for portrait orientation 
@media (orientation: portrait) {
  #map {
    width: 100vw;
    height: calc(100vw * 4 / 5); /* 5:4 aspect ratio 
  }
}

*/

/* Make iframe fill the map container */
#map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
