:root {
  --sand: #f4f0ea;
  --green: #3a5f52;
  --green2: #305548;  
  --dark: #1f2d2a;
  --accent: #9cc7b1;
  --light: rgb(220,250,220);
  --lightgreen_orig: rgb(180,210,180);
  --lightgreen: rgb(190,231,198);

}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--sand);
  line-height: 1.5;
}

/* NAVIGATION */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0,10,5,0.5);
  backdrop-filter: blur(3px);
  z-index: 1000;
}


nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 1rem;
  gap: 2rem;
}


/* SECTIONS */
section {
  padding: 4rem 6vw;
}


#garden {
	padding: 0;
	align-items:center;
	background: rgb(255,255,255);
	height: 300px;
	background-image: url('botanicals_sml2.jpg');
	background-position: center center;
	background-size: contain;
	background-repeat: no-repeat;
}

#gallery {
	background: rgb(255,255,255); /*var(--sand);*/
	color: var(--green);
}	

#contact {
	background: /*rgb(255,255,255);*/ var(--dark);
	background: url('r_contact.jpg');
	background-size: cover;	
	background-position: center; 
	background-repeat: no-repeat;
}	

#accommodation {
	background: /*rgb(255,255,255);*/ var(--green);
}	

#welcome2 {
	background: /*rgb(255,255,255);*/ var(--green2);
}	


#samana {
	background: /*rgb(255,255,255);*/ var(--green);
}

#reviews {
	background: /*rgb(255,255,255);*/ var(--sand);
	background: url('r_jungle2.jpg');
	background-size: cover;	
	background-position: center; 
	background-repeat: no-repeat;	
}

#maps {
	display: hidden;
}

h2 {
  font-family: 'Lora', serif;
  font-size: 2.4rem;
  margin-bottom: 1.75rem;
  color: var(--sand);
}

h2.galleryH {
  color: var(--green);
}

 h2.contactH {
  color: var(--sand);	
}

h3 {
	margin-bottom:1rem;
}

p.indented_text_block {
	margin-top: 0;
	margin-bottom: 0.75rem;
	color: var(--green);
	font-weight: 300;

}

div.desc-text {
	  /*font-family: 'Lora', serif;*/
	  font-size:1.1rem;
	  background: #305048;
	  display:flex;
	  padding:20px;
	  border-radius: 8px;
	  margin-bottom:40px;
	  color: rgb(255,255,255);
	  
}

/* HERO */
#welcome {
  height: 100vh;
  padding: 0;
  position: relative;
  overflow: hidden;
}

a {
	color: var(--accent);
	text-decoration:none;
}

a:visited {
	color: var(--accent);
}

a.menu {
  text-decoration: none;
  color: var(--lightgreen);
  font-weight: 500;
  font-size:0.9rem;
  letter-spacing:0.25px;
  transition:0.33s;
}

a.menu:hover {
  color: var(--sand);
}

.bungalows a:hover {
	color: var(--green);
    text-decoration: underline;	
}

div.hero_container {
	display:block;	
	overflow:hidden;
	width:100%;
	background-color: var(--dark);
	height:100vh;
	min-height:500px;
	opacity:1;
	color:rgb(255,255,255);
	position:absolute; left: 0px; top:0px;
	/*position:fixed;*/
}

#hero_photo0, #hero_photo1, #hero_photo2, #hero_photo3, #hero_photo4, #hero_photo5, #hero_photo6, #hero_photo7, #hero_photo8, #hero_photo9 {
	display:block;
	margin:auto;
	width:100%;
	height:100%;
	overflow:hidden;
	text-align:center;
	background-size:cover;		
	background-image:url('r_hero0.jpg');	
	animation: anim_hero0 linear;	
	animation-duration:60s;	
	animation-iteration-count:infinite;	
	z-index:1;	
	opacity:1;	
	background-position: center center;	
}

#hero_photo0 {
	background-position: right bottom;	
}


#hero_photo1 {	
	background-image:url('r_hero1.jpg');
	animation: anim_hero1 linear;
	animation-iteration-count:infinite;		
	animation-duration:60s;		
	z-index:2;
	opacity:0;
	background-position: center center;		

}

#hero_photo2 {
	background-image:url('r_hero2.jpg');
	animation: anim_hero2 linear;
	animation-iteration-count:infinite;		
	animation-duration:60s;			
	z-index:3;
	opacity:0;		
}

#hero_photo3 {
	background-image:url('r_hero3.jpg');
	animation: anim_hero3 linear;
	animation-iteration-count:infinite;		
	animation-duration:60s;		
	z-index:4;
	opacity:1;		
}

#hero_photo4 {
	background-image:url('r_hero4.jpg');
	animation: anim_hero4 linear;
	animation-iteration-count:infinite;		
	animation-duration:60s;			
	z-index:5;
	opacity:0;		
}

#hero_photo5 {
	background-image:url('r_hero5.jpg');
	animation: anim_hero5 linear;
	animation-iteration-count:infinite;		
	animation-duration:60s;			
	z-index:6;
	opacity:0;		
}

#hero_photo6 {
	background-image:url('r_hero6.jpg');
	animation: anim_hero6 linear;
	animation-iteration-count:infinite;		
	animation-duration:60s;			
	z-index:7;
	opacity:0;		
}

#hero_photo7 {
	background-image:url('r_hero7.jpg');
	animation: anim_hero7 linear;
	animation-iteration-count:infinite;		
	animation-duration:60s;			
	z-index:8;
	opacity:0;		
}

#hero_photo8 {
	background-image:url('r_hero8.jpg');
	animation: anim_hero8 linear;
	animation-iteration-count:infinite;		
	animation-duration:60s;			
	z-index:9;
	opacity:0;		
}

#hero_photo9 {
	background-image:url('r_hero9.jpg');
	animation: anim_hero9 linear;
	animation-iteration-count:infinite;		
	animation-duration:60s;			
	z-index:10;
	opacity:0;		
}

div.hero_over_container {
	display:block;
	background-color: transparent;
	width:100%;
	height:100%;
	position:absolute; top:0px; left:0px;
	overflow:hidden;
	z-index:0;
}

@keyframes anim_hero0 {
    0% {transform: scale(1); opacity:1;}
    1% {transform: scale(1.01); opacity:1;}
    9% {transform: scale(1.09); opacity:1;}
    10% {transform: scale(1.10); opacity:0;}
	99% {transform: scale(1); opacity:0;}
	100% {transform: scale(1); opacity:1;}
}

@keyframes anim_hero1 {
    0% {transform: scale(1); opacity:0;}
    9% {transform: scale(1); opacity:0;}
    10% {transform: scale(1.01); opacity:1;}
	19% {transform: scale(1.09); opacity:1;}
	20% {transform: scale(1.10); opacity:0;}
    100% {transform: scale(1); opacity:0;}	
}


@keyframes anim_hero2 {
    0% {transform: scale(1); opacity:0;}
    19% {transform: scale(1); opacity:0;}
    20% {transform: scale(1.01); opacity:1;}
	29% {transform: scale(1.09); opacity:1;}
	30% {transform: scale(1.1); opacity:0;}
    100% {transform: scale(1); opacity:0;}	
}

@keyframes anim_hero3 {
    0% {transform: scale(1); opacity:0;}
    29% {transform: scale(1); opacity:0;}
    30% {transform: scale(1.01); opacity:1;}
	39% {transform: scale(1.09); opacity:1;}
	40% {transform: scale(1.10); opacity:0;}
    100% {transform: scale(1); opacity:0;}	
}

@keyframes anim_hero4 {
    0% {transform: scale(1); opacity:0;}
    39% {transform: scale(1); opacity:0;}
    40% {transform: scale(1.01); opacity:1;}
	49% {transform: scale(1.09); opacity:1;}
	50% {transform: scale(1.1); opacity:0;}
    100% {transform: scale(1); opacity:0;}	
}

@keyframes anim_hero5 {
    0% {transform: scale(1); opacity:0;}
    49% {transform: scale(1); opacity:0;}
    50% {transform: scale(1.01); opacity:1;}
	59% {transform: scale(1.09); opacity:1;}
	60% {transform: scale(1.10); opacity:0;}
    100% {transform: scale(1); opacity:0;}	
}

@keyframes anim_hero6 {
    0% {transform: scale(1); opacity:0;}
    59% {transform: scale(1); opacity:0;}
    60% {transform: scale(1.01); opacity:1;}
	69% {transform: scale(1.09); opacity:1;}
	70% {transform: scale(1.10); opacity:0;}
    100% {transform: scale(1); opacity:0;}	
}

@keyframes anim_hero7 {
    0% {transform: scale(1); opacity:0;}
    69% {transform: scale(1); opacity:0;}
    70% {transform: scale(1.01); opacity:1;}
	79% {transform: scale(1.09); opacity:1;}
	80% {transform: scale(1.10); opacity:0;}
    100% {transform: scale(1); opacity:0;}	
}

@keyframes anim_hero8 {
    0% {transform: scale(1); opacity:0;}
    79% {transform: scale(1); opacity:0;}
    80% {transform: scale(1.01); opacity:1;}
	89% {transform: scale(1.09); opacity:1;}
	90% {transform: scale(1.10); opacity:0;}
    100% {transform: scale(1); opacity:0;}	
}

@keyframes anim_hero9 {
    0% {transform: scale(1); opacity:0;}
    89% {transform: scale(1); opacity:0;}
    90% {transform: scale(1.01); opacity:1;}
	99% {transform: scale(1.09); opacity:1;}
	100% {transform: scale(1.10); opacity:0;}
}

@keyframes anim_hero10 {
    0% {transform: scale(1); opacity:0;}
    89% {transform: scale(1); opacity:0;}
    90% {transform: scale(1.01); opacity:1;}
	99% {transform: scale(1.09); opacity:1;}
	100% {transform: scale(1.10); opacity:0;}
}



.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  animation: zoom 12s linear infinite;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

@keyframes zoom {
  from { transform: scale(1); }
  to { transform: scale(1.2); }
}

.hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;  
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: 'Lora', serif;
  text-shadow: 1px 1px rgba(0, 0, 0, 0.8);	
}

.hero-text h1 {
  font-family: 'Great Vibes', serif;
  font-size: 5rem;
  max-width: 700px;
  text-shadow: 2px 2px rgba(0, 0, 0, 0.8);	
}

h3 {
  font-size: 1.25rem;
  font-family: 'Lora', serif;	
}

.large_text, .large_reviews_text {
   font-size: 1.2rem;
  font-family: 'Lora', serif;	
  color: var(--sand);
  margin-bottom: 2rem;
}

.large_reviews_text {
  color: var(--dark);
}

/* ACCOMMODATION */
.bungalows, .reviews, .trips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.container3 {
  background: var(--green);
  border-style: solid;
  border-color: var(--green);
  border-width: 1px;	
  color: var(--sand);
  border-radius: 6px;
  overflow: hidden;
  /*box-shadow: 0 10px 25px rgba(0,0,0,0.25);*/
  padding: 1.5rem;
  margin-bottom: 3rem;  
  text-align: justify;
}

.container3i, .review_box {
  background: rgb(255,255,255);
  border-style: solid;
  border-color: rgb(255,255,255);
  border-width: 1px;	
  color: var(--dark);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 8px 10px rgba(0,0,0,0.25);
  padding: 1.5rem;
  font-size:0.9rem;
  /*margin-bottom: 0.5rem;   
  margin-top: 0.5rem;*/
}

.review_box {
  background: rgba(255,255,255,0.90);
  border-color: rgba(255,255,255,0.8);
  transition: 0.5s;
}

.review_box:hover {
  background: rgba(255,255,255,0.98);
}

.bungalow, .trip {
  background:  var(--dark);
  border-style: solid;
  border-color: var(--green);
  border-width: 1px;	
  color: var(--sand);
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: 0.25s;
}

.trip {
  color: var(--sand);
  background:  var(--dark);
}

.bungalow:hover{
  background: var(--sand);
  color: var(--dark);
  border-color: var(--sand);  
  transition: 0.25s;
}

.bungalow-img1, .bungalow-img2, .bungalow-img3, .trip-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.bungalow-img1 img, .bungalow-img2 img, .bungalow-img3 img, .bungalow-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.trip-img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease;
}

.bungalow-img1 img.active,  .bungalow-img2 img.active, .bungalow-img3 img.active, .bungalow-img img.active{
  opacity: 1;
}

.trip-img img.active {
  opacity: 1;
}

img.sat_map {
	width: 75%;
}

.bungalow-content {
  padding: 1.5rem;
}

/* GALLERY */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
}

.gallery-item {
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  height: 200px;
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  overflow: none;
  transition: transform 0.4s ease;
}

.gallery-item-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  overflow: none;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.15);
}

.gallery-item-img:hover  {
  transform: scale(1.15);
}

/* SAMANA */


.tip {
  background:  var(--dark);
  border-style: solid;
  border-color: var(--dark);
  border-width: 1px;	
  color: var(--sand);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  display: flex;
  margin-bottom:3rem;
}


.tip-img {
  position: relative;
  height: 220px;
  overflow: hidden;
  flex: 0 0 30%;
}

.tip-img img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  display: block;  
  transition: opacity 1s ease;
}

.tip-img img.active {
  opacity: 1;
}

.tip-content {
  padding: 1.5rem;
  flex: 1;
  flex-direction: column; 
}

/*
img.botanicalband {
	width: 97vw;
	padding: 0;
	margin: 0;
	
}*/

/* CONTACT */

.contactGrid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}


#contact_left_card {
  background: var(--green);
  color: white;
  border-radius: 4px;
  padding: 3rem;
  display:flex;
  flex-direction: column;  
  opacity: 0.92;
}

#contact_right_card  {
	opacity: 0.92;
  display: grid;
  align-items: start;
	  
}

#contact_left_card a:hover {
  text-decoration: underline;
}


/* FOOTER SPACING */
footer {
  font-size: 0.8rem;
  color: var(--green);
  text-align:center;
  background: rgb(245,245,245);
  padding-top:2rem;
}

    .card, .card_contact {
      display: flex;
      width: 100%;
      overflow: hidden;
    }
 
    /* LEFT — photo, 1/3 width */
    .card_photo {
      flex: 0 0 /*33.333%;*/40%;
      min-height: 480px;
    }	
	
 
    .card_photo img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
    }
 
    /* RIGHT — text, 2/3 width */
    .card_body, .card_body_garden {
      flex: 0 0 /*66.667%;*/60%;
      background: rgba(255,255,255); /*var(--sand);*/
      padding: 3rem 48px;
      display: flex;
      flex-direction: column;
      justify-content: center;
      gap: 10px;
    }
	
	.card_body_garden {
      background: rgb(255,255,255);
	}
	
	
 
    .card_title {
      font-family: 'Lora', serif;
      font-weight: 600;
      font-size: 32px;
      line-height: 1.1;
	  font-size: 2.4rem;
	  margin-top: 0;
	  margin-bottom: 1rem;		  
      color: var(--green);
	  display: flex;
	  align-items: center; 
	  justify-content: space-between;
    }
	
	.card_pic {
		display: flex;
		width: 80px;
		height: 80px;
		margin-right:20px;
	}
	
	#long_card_pic {
		width: 80px;
		height: auto;
	}
 
    .card_divider {
      width: 40px;
      height: 2px;
      background: var(--dark);
    }
 
    .card_text {
      /*font-family: 'Lato', sans-serif;*/
      font-weight: 300;
      font-size: 1.04rem;
      line-height: 1.5;
      color: var(--green);
      /*max-width: 42ch;*/
    }
	
	img.badge {
		width:46%;
		margin-left: 2%;
		margin-top: 4rem;
	}

 
 /* HAMBURGER BUTTON — hidden on desktop */
.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: none;
  border: none;
  cursor: pointer;
  position: fixed;
  top: 10px;
  right: 16px;
  z-index: 1100;
  padding: 6px;
}

.nav-burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--lightgreen);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Animate burger → X when menu is open */
.nav-burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.nav-burger.open span:nth-child(2) {
  opacity: 0;
}
.nav-burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}


	
#logo_inline {
	display: inline;
	width: 24px;
	height: 24px;
	margin-right: 12px;
	vertical-align: middle;
}

  .gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
  }


  .thumb {
    width: 200px;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    display: block;
    transition: opacity .2s, transform .2s;
	margin:0;
	padding:0;	
  }
  .thumb:hover { opacity: .85; transform: scale(1.03); }

/* Lightbox */
  .lightbox {
    position: fixed;
    inset: 0;
    background: rgba(31,45,42,0.92);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s;
  }
  .lightbox.active { opacity: 1; pointer-events: all; }

  .lb-img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    border-radius: 8px;
    display: block;
  }
  
  .lb-close {
    position: fixed;
    top: 18px; right: 22px;
    width: 40px; height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 1.5px solid rgba(255,255,255,.35);
    color: #fff;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
  }
  
  .lb-close:hover { background: rgba(255,255,255,.28); }

  .lb-nav {
    position: fixed;
    top: 50%; transform: translateY(-50%);
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,.12);
    border: 1.5px solid rgba(255,255,255,.3);
    color: #fff;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background .2s;
  }
  .lb-nav:hover { background: rgba(255,255,255,.25); }
  .lb-prev { left: 16px; }
  .lb-next { right: 16px; }

  .lb-caption {
    position: fixed;
    bottom: 18px;
    left: 50%; transform: translateX(-50%);
    color: rgba(255,255,255,.75);
    font-size: 0.9rem;
  }
  
  img.map {
		display: block;
		width: 85%;
		
  }
  
.lb-sidebar {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-left: 16px;
}

.lb-sidebar-thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  opacity: 0.55;
  border: 2px solid transparent;
  transition: opacity .2s, border-color .2s;
}

.lb-sidebar-thumb:hover { opacity: 1; }
.lb-sidebar-thumb.active { opacity: 1; border-color: #fff; }

	/* MOBILE STYLES */
	@media (max-width: 768px) {

		  /* Show burger button */
		  .nav-burger {
			display: flex;
		  }

		  /* Hide the nav list by default */
		nav ul {
		  display: none;
		  flex-direction: column;
		  position: fixed;
		  top: 0;
		  left: 0;
		  width: 100vw;
		  height: 100vh;
		  background: rgba(31, 45, 42, 0.8);
		  z-index: 1050;
		  justify-content: center;
		  align-items: center;
		  gap: 2.5rem;
		  padding: 0;
		  margin: 0;
		}

		  /* Show when open class is added */
		  nav ul.open {
			display: flex;
		  }

		.card_title {
			font-size: 26px;
		}
		
		a {
			text-decoration:underline;
		}

		  /* Bigger touch targets for menu links */
		  a.menu {
			font-size: 1.3rem;
			letter-spacing: 1px;
		  }
		  



      .card {
        flex-direction: column;
      }
 
      .card_photo {
        flex: none;
        width: 100%;
        min-height: 260px;
      }
	  
	  #garden_card, #accom_card {
	    display:none;
	   }
 
      .card_body {
        flex: none;
        width: 100%;
        padding: 36px 28px;
      }
	  
	  .hero-text h1 {
		font-size: 3rem;
	  }
	  
	  .hero-text {
	    font-size: 1.2rem;
	  }
	  
	  section {
		  padding: 2.5rem 5vw;
		}
		
	 .bungalows, .reviews, .trips {
		  display: grid;
		  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
		  gap: 2rem;
		}
		
		#garden {
			height: 200px;
			background-size: cover;
		}		
		
		.lb-sidebar {
			display: none;
		}
		
	img.badge {
		width:90%;
		margin-left: 5%;
		margin-top: 2rem;
	}		
    }		
	  
    @media (max-width: 400px) {
      .card {
        flex-direction: column;
      }
 
      .card_photo {
        flex: none;
        width: 100%;
        min-height: 260px;
      }
 
      .card_body {
        flex: none;
        width: 100%;
        padding: 24px 12px;
      }
	  
	  .hero-text h1 {
		font-size: 3rem;
	  }
	  
	  .hero-text {
	    font-size: 1rem;
	  }	  
	  
	  section {
		  padding: 2rem 5vw;
		}	

	 .bungalows, .reviews, .trips {
		  display: grid;
		  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
		  gap: 2rem;
		}	
    }