/* Basic reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Base styles */
body {
  font-family: 'Roboto', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
  background-image: url('../assets/img/rainforest-background-20250307-azul.jpg');
  background-repeat: repeat-y;
  background-size: cover;
  background-position: center center;
  /* Optional: if you want a parallax-like effect */
  background-attachment: fixed;    
}

/* Header with Ken Burns effect (or your chosen effect) */
header.masthead {
  position: relative;
  height: 60vh;
  background: url('../assets/img/bg-masthead2.jpg') no-repeat center center;
  background-size: cover;
  overflow: hidden;
  animation: kenburns 20s ease-in-out infinite;
}

@keyframes kenburns {
  0% {
    background-size: 100%;
    background-position: center;
  }
  50% {
    background-size: 110%;
    background-position: center;
  }
  100% {
    background-size: 100%;
    background-position: center;
  }
}

/* Header overlay for improved text contrast */
.header-overlay {
  background: rgba(0, 0, 0, 0.0);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Tagline style */
header.masthead .tagline {
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  text-shadow: 0 0 5px #000D1D, 0 0 10px #000D1D, 0 0 15px #000D1D;
  position: relative;
  top: 150px;    
}

/* Main container */
main {
  padding: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

/* Location section styles */
.accent {
  text-align: center;  /* Centers the heading within the section */
  margin-top: 2rem;
  color:#BACADE;
  margin: 0px;
}

/* Business section styles */
.businesses {
  text-align: center;  /* Centers the heading within the section */
  margin-top: 2rem;
}

.section-title {
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  color: #FFFFFF;
}

/* Grid container for business cards */
.business-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  max-width: 1200px; /* Restrict grid width if desired */
  margin: 0 auto;    /* Center the grid within its container */
}

/* Business card styling */
.business {
  text-align: center;
  padding: 1rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #fafafa;
  transition: transform 0.3s;
}

.business:hover {
  transform: translateY(-5px);
}

.business img {
  max-width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.business h3 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
    color: #545454;
}

.details {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #626262;
}

/* Footer styling */
footer {
  color: #fff;
  text-align: center;
  padding: 2rem;
}

@media (min-width: 769px) {
  a img {
    transition: transform 1.5s ease, opacity 1.5s ease;
    border-radius: 5px;
    opacity: 0.6;  
  }
  /* Scale the image on hover */
  a:hover img {
    opacity: 1;  
    transform: scale(1.1) ;
  }
}

/* Remove Ken Burns effect on small screens for performance */
@media (max-width: 768px) {
  header.masthead {
    animation: none;
  }
  header.masthead .tagline {
    font-size: 1.8rem; 
    top: 111px; 
  }    
}

