html {
  font-size: 1.75rem; /* ~18px base */
}

body {
    margin: 0;
    font-family: 'Rancho', cursive;
    background-color: #f4f1ee;
    color: #333;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #3e4e3e;
    padding: 1rem 2rem;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    height: 3rem;
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 1rem;
}

.nav-links li a {
    text-decoration: none;
    color: white;
    font-family: 'Rye', cursive;
}

.hamburger {
    display: none;
    font-size: 2rem;
    color: white;
    cursor: pointer;
    background: transparent;
    border: none;
}

.hero {
    background: linear-gradient(-45deg, #3f7734, #ffffff, #3f7734, #ffffff);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    text-align: center;
    padding: 3rem 1rem;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    padding: 1rem;
    min-height: 50vh;
}

.hero-carousel,
.hero-text {
  flex: 1 1 50%;
  box-sizing: border-box;
}

.hero-text {
  padding: 0 1rem;
  font-size: 1.2em;
  line-height: 1.4;
  animation: bobbing 5s ease-in-out infinite;
  color: #000000;
}

/* Carousel images */
.hero-carousel {
  position: relative;
  overflow: hidden;
  border: 4px solid #556b2f;
  border-radius: 30px;
  max-height: 20rem;
}
.hero-carousel img {
  width: 100%;
  display: none;
}
.hero-carousel img.active {
  display: block;
}

/* Nav arrows */
.carousel-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.4);
  border: none;
  color: #fff;
  font-size: 1.5rem;
  padding: 0.5rem;
  cursor: pointer;
}
#carousel-prev { left: 10px; }
#carousel-next { right: 10px; }


.intro {
    padding: 2rem;
    font-size: 1.2rem;
    text-align: center;
}

.image-preview {
    display: flex;
    gap: 1rem;
    justify-content: center;
    padding: 1rem;
}

.image-preview img {
    width: 200px;
    height: auto;
    border-radius: 10px;
}

footer {
    background-color: #3e4e3e;
    color: white;
    text-align: center;
    padding: 1rem;
    font-size: 0.8rem;
}

.gallery-hero {
  text-align: center;
  background: linear-gradient(-45deg, #3f7734, #ffffff, #3f7734, #ffffff);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  padding: 2rem;
  color: #000;
}

.gallery-hero h1 {
  font-size: 2.5rem;
  font-family: 'Rancho', cursive;
  margin-bottom: 0.5rem;
}

.gallery-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  padding: 2rem;
  background-color: #f9f8f6;
}

.photo-frame {
  border: 4px solid #ddd;
  border-radius: 10px;
  overflow: hidden;
  padding: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.photo-frame img {
  display: block;
  height: auto;
  width: 10rem;
  height: 10rem;
  max-width: 100%;
}

.photo-frame:hover {
  transform: scale(1.03);
}

.calendar-hero {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(-45deg, #3f7734, #ffffff, #3f7734, #ffffff);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  color: #000;
}

.calendar-hero h1 {
  font-size: 2.5rem;
  font-family: 'Rancho', cursive;
  margin-bottom: 0.5rem;
}

.calendar-placeholder {
  display: flex;
  justify-content: center;
  padding: 2rem;
}

.calendar-box {
  background-color: white;
  border: 3px dashed #7b8c74;
  padding: 2rem;
  border-radius: 10px;
  width: 90%;
  max-width: 600px;
  text-align: center;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

.calendar-fake {
  margin-top: 1.5rem;
  height: 300px;
  background-color: #f0f0f0;
  border-radius: 6px;
  background-image: repeating-linear-gradient(0deg, #ddd 0px, #ddd 1px, transparent 1px, transparent 40px);
}

.contact-hero {
  text-align: center;
  padding: 2rem;
  background: linear-gradient(-45deg, #3f7734, #ffffff, #3f7734, #ffffff);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  color: #000;
}

.contact-hero h1 {
  font-family: 'Rancho', cursive;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.contact-info {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  padding: 2rem;
  background-color: #f8f7f4;
}

.contact-info .contact-card {
  flex: 0 0 auto;
  max-width: 500px;
}

.contact-info .contact-map {
  flex: 1 1 0;
}

.contact-card {
  max-width: 500px;
  background-color: white;
  border-radius: 10px;
  padding: 2rem;
  border: 1px solid #ccc;
  font-size: 1.1rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.07);
  text-align: left;
  margin: 3% auto;
}

.contact-card a {
  color: #446744;
  text-decoration: none;
}

.contact-card a:hover {
  text-decoration: underline;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
}

.contact-map {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 3px solid #556b2f;
  box-shadow: 0 12px 14px rgba(0, 0, 0, 0.1);
}

.map-embed {
  margin-top: 1rem;
  border-top: 4px solid #ccc;
}

.location-contact {
  background: linear-gradient(to left, #062001, #345736);
  color: #fff;
  padding: 2rem 1rem;
}
.location-contact h2 {
  font-family: 'Rye', cursive;
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}
.location-contact .location-content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}
.location-contact .info,
.location-contact .map {
  flex: 1 1 50%;
  box-sizing: border-box;
  padding: 0 1rem;
}
.location-contact .info {
  font-size: 1.1em;
  line-height: 1.4;
}
.info a {
  color: #9fc99f;
  text-decoration: none;
}
.info a:hover {
  text-decoration: underline;
}
.location-contact .map iframe {
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Follow Us Section */
.follow-us {
  background: linear-gradient(-45deg, #3f7734, #ffffff, #3f7734, #ffffff);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  color: #000;
  padding: 2rem 1rem;
  text-align: center;
}

.follow-us h2 {
  font-family: 'Rye', cursive;
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.social-embeds {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
}

/* Facebook takes 25%, Instagram 75% */
.social-frame.facebook {
  flex: 1 1 25%;
  max-width: 340px;
}

.social-frame.instagram {
  flex: 1 1 75%;
  max-width: 70%;
}

.social-frame {
  border: 4px solid #a8d5ba;
  border-radius: 12px;
  overflow: hidden;
  box-sizing: border-box;
}

.social-frame iframe {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
}

/* Lightboxes */
.lightbox-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

.lightbox-overlay.visible {
  display: flex;
}

.lightbox-overlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.lightbox-close {
  position: absolute;
  top: 2rem; right: 2rem;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}
/* About Us Section */
.about-hero {
  text-align: center;
  background: linear-gradient(-45deg, #3f7734, #ffffff, #3f7734, #ffffff);
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  padding: 2rem;
  color: #000;
}

.about-hero h1 {
  font-family: 'Rancho', cursive;
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.about-intro {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  padding: 2rem 1rem;
  background-color: #f4f1ee;
  flex-wrap: nowrap;
}

.about-list {
  list-style-type: disc;
  padding-left: 1.5rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.about-list li {
  margin-bottom: 0.75rem;
}

.about-list-wrapper,
.about-logo-wrapper {
  flex: 1 1 60%;
  min-width: 300px;
  animation: bobbing 5s ease-in-out infinite;
}

.about-logo-wrapper {
  flex: 1 1 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: bobbing 5s ease-in-out infinite;
}

.about-logo {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 10px;
}

@media (max-width: 1032px) {
    .nav-links {
        display: flex;
        flex-direction: column;
        background-color: rgba(62,78,62,0.9);
        margin: 0.5rem 0;
        position: absolute;
        top: 80px;
        right: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease-out;
    }
    .nav-links.show {
        max-height: 500px;
    }
    .nav-links li a {
        padding: 0.75rem 1rem;
    }
    .hamburger {
        display: block;
    }
}

@media (max-width: 768px) {
    .hero {
        flex-direction: column;
    }
    .hero-carousel,
    .hero-text {
        flex: 1 1 100%;
    }
    .hero-text {
        font-size: 0.9rem;
    }
    .location-contact h2 {
        font-size: 1.5rem;
    }
    .location-contact .info,
    .location-contact .map {
        flex: 1 1 100%;
        margin-bottom: 1rem;
    }
    .contact-info {
        flex-direction: column;
    }
    .contact-info .contact-card,
    .contact-info .contact-map {
        flex: 1 1 100%;
        font-size: 0.75rem;
    }
    .contact-card {
        margin: 0 auto;
        max-width: 90%;
        padding: 0rem 1rem;
    }
    .about-intro {
        flex-wrap: wrap;
    }
  .about-list-wrapper,
  .about-logo-wrapper {
        flex: 1 1 100%;
        min-width: 0;
    }
}

/* Gradient animation */
@keyframes gradient {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes bobbing {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}