@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');

:root {
    --lime-green: #9ec994;
    --dark-green: rgba(35, 77, 52, 1);    /* Darker shade */
    --light-green: rgba(158, 201, 148, 1); /* Lighter shade */
    --accent-color: rgba(255, 165, 0, 1);  /* Accent color (orange) */
    --text-color: #333;                   /* Text color */
    --accent-color-2: rgba(0, 123, 255, 1);   /* Accent color 2 (blue) */
    --accent-color-3: rgba(255, 69, 0, 1);
}

body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f5f5f5;
    color:var(--text-color);
}

header {
    background-color: var(--lime-green);
    color: #fff;
    text-align: left;
    padding: .1em 0;
    position: fixed;
    width: 100%;
    z-index: 999;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    
    position: relative;
    top: 0px;
    transition: top 0.3s;
    z-index: 1000;
    list-style: none;
    padding: 0;
}

nav a {
    color: #fff;
    padding: 10px 20px;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s;
    border-radius: 10px;
}
nav a.active {
    background-color:var(--accent-color); /* Change to the desired color */
}

nav a:hover {
    background-color:var(--accent-color-2);
}
.title-container {
    flex-grow: 1; /* Title takes available space */
    padding-left: 1em;
}

.title{
    padding-top:20px;
}

h1 {
    margin: 0; /* Remove default margin for h1 */
}

.nav-container {
    display: flex;
}

section.hero {
    position: relative;
    text-align: center;
    color: #fff;
    background: url('./assets/images/hero_image.jpeg') center/cover no-repeat;
    width: 100%;
    height: 100vh;
    top:40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
section.hero_santa_clara {
    position: relative;
    text-align: center;
    color: #fff;
    background: url('./assets/images/santaclarabeach.jpg') center/cover no-repeat;
    width: 100%;
    height: 100vh;
    top:40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
section.hero_dzidzantun {
    position: relative;
    text-align: center;
    color: #fff;
    background: url('./assets/images/dzidzantun_centralpark.jpg') center/cover no-repeat;
    width: 100%;
    height: 100vh;
    top:40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
section.hero_merida {
    position: relative;
    text-align: center;
    color: #fff;
    background: url('./assets/images/11/meri-letra.jpg') center/cover no-repeat;
    width: 100%;
    height: 100vh;
    top:40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
section.hero_activities {
    position: relative;
    text-align: center;
    color: #fff;
    background: url('./assets/images/11/Chichen_Itza.jpg') center/cover no-repeat;
    width: 100%;
    height: 100vh;
    top:40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
section.hero_day_trips {
    position: relative;
    text-align: center;
    color: #fff;
    background: url('./assets/images/Uxmal1.jpg') center/cover no-repeat;
    width: 100%;
    height: 100vh;
    top:40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

h1.hero-title {
    font-size: 3em;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.65); /* Add a semi-transparent background */
    padding: 10px; /* Add padding for better visibility */
    border-radius: 10px;
}

section.content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2em 20px; /* Add some padding for content */
}

h2 {
    color: #333;
}

p {
    line-height: 1.6;
}

.property-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contact-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: #4CAF50;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.contact-btn:hover {
    background-color: #45a049;
}

footer {
    background-color: var(--dark-green);
    color: #fff;
    text-align: center;
    padding: .1em 0;
    
    bottom: 0;
    width: 100%;
}

/* Responsive image gallery rules begin*/

.image-gallery {
    text-align: center;
  }
  
  .image-gallery > li {
    /* fallback */
    display: inline-block;
    width: 200px;
    margin: 0 5px 10px 5px;
    /* end fallback */
    position: relative;
    cursor: pointer;
  }
  
  @supports (display: flex) {
    .image-gallery {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 10px;
    }
  
    .image-gallery > li {
      flex-basis: 200px; /*width: 350px;*/
      margin: 0;
    }
  
    .image-gallery::after {
      content: "";
      flex-basis: 200px;
    }
  }
  
  .image-gallery li img {
    object-fit: cover;
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border-radius: 5px;
  }
  
  .overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(57, 57, 57, 0.502);
    top: 0;
    left: 0;
    transform: scale(0);
    transition: all 0.2s 0.1s ease-in-out;
    color: #fff;
    border-radius: 5px;
    /* center overlay text */
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* hover */
  .image-gallery li:hover .overlay {
    transform: scale(1);
  }
  