/* ==========================================================
   Global Variables
========================================================== */
:root {
  --primary-color: #1b4d3e;
  --accent-color: #f4a261;
  --text-color: #333;
  --bg-color: #fff;
  --light-gray: #d8d8d8;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

/* ==========================================================
   Reset & Base Styles
========================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  color: var(--text-color);
  background-color: var(--bg-color);
  line-height: 1.6;
}

/* ==========================================================
   Header & Navigation
========================================================== */
.site-header {
  background-color: var(--primary-color);
  color: #fff;
  padding: 1.25rem 1rem;
  border-bottom: 4px solid var(--accent-color);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.header-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo img {
  height: 50px;
  width: auto;
  display: block;
}

.main-nav {
  position: relative;
  z-index: 1001; /* higher than .menu-backdrop which is 900 */
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.main-nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease-in-out;
}

.main-nav a:hover {
  color: var(--accent-color);
}

/* ==========================================================
   Hero Section
========================================================== */
.hero {
  background: url('../img/IMG_5330.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 6rem 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-text {
  background: rgba(255, 255, 255, 0.07); /* slightly more transparent */
  backdrop-filter: blur(4px);           /* softened blur */
  -webkit-backdrop-filter: blur(4px);
  border-radius: 10px;
  padding: 2rem 1.5rem;
  max-width: 700px;
  width: 90%;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}


.hero-text h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.hero-text h2, .hero-text p {
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.4);
}

.cta-button {
  display: inline-block;
  margin-top: 1rem;
  background-color: var(--accent-color);
  color: #fff;
  padding: 0.75rem 1.25rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
}

.cta-button:hover {
  background-color: #e07c3a; /* slightly darker version of accent */
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}
.cta-button:active {
  transform: translateY(1px);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}


/* ==========================================================
   Features Section
========================================================== */
.features {
  background-color: #f9f9f9;
  padding: 2rem 1rem;
}

.features h2 {
  text-align: center;
  margin-bottom: 2rem;
}

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

.feature {
  flex: 1 1 250px;
  text-align: center;
  background: #fff;
  border: 1px solid #ddd;
  padding: 1rem;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.feature img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.feature img:hover {
  transform: scale(1.02);
}

.feature h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--primary-color);
}

.feature p {
  font-size: 0.95rem;
  color: #555;
}

.cta-link-wrapper {
  text-align: center;
  margin-top: 1.5rem;
}

.cta-button.secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
  box-shadow: none;
  transition: all 0.3s ease;
}

.cta-button.secondary:hover {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* ==========================================================
   Social Feed
========================================================== */
.social-feed {
  background-color: #f9f9f9;
  padding: 3rem 1rem;
  text-align: center;
  margin-top: 10px;
}

.social-feed h2 {
  color: var(--primary-color);
  font-size: 2rem;
  margin-bottom: 2rem;
}

.fb-page {
  display: flex;
  justify-content: center;
}

/* ==========================================================
   Gallery Section
========================================================== */
.gallery {
  background-color: #fff;
  padding: 2rem 1rem;
}

.gallery h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
}

.carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow: hidden;
}

.carousel-arrow {
  background-color: rgba(27, 77, 62, 0.8);
  border: none;
  color: #fff;
  font-size: 2rem;
  padding: 0.25rem 0.75rem;
  border-radius: 6px;
  cursor: pointer;
  z-index: 10;
  transition: background 0.3s ease;
}

.carousel-arrow:hover {
  background-color: var(--accent-color);
}

.gallery-grid {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding: 1rem 0;
  flex-grow: 1;
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;     /* Firefox */
}

.gallery-grid::-webkit-scrollbar {
  display: none;
}

.gallery-grid img {
  flex: 0 0 auto;
  width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  scroll-snap-align: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gallery-grid img:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}



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

.lightbox.show {
  display: flex;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.lightbox .close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

/* ==========================================================
   Footer
========================================================== */
footer {
  background-color: #222;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

.footer-location {
  margin-top: 0.25rem;
  color: #bbb;
  font-size: 0.95rem;
}

.social-icons {
  margin-top: 0.5rem;
}

.social-icons a {
  margin: 0 0.5rem;
  color: #fff;
  font-size: 1.25rem;
}

.social-icons a {
  margin: 0 0.5rem;
  color: #fff;
  font-size: 1.25rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.social-icons a:hover {
  color: var(--accent-color);
  transform: scale(1.15);
}

/* ==========================================================
   Responsive
========================================================== */
.menu-toggle {
  display: none;
  background: none;
  border: 2px solid #fff;
  color: #fff;
  padding: 0.5rem 1rem;
  font-size: 1.25rem;
  border-radius: 5px;
  cursor: pointer;
}

/* Backdrop */
.menu-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.4);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.menu-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

/* Mobile Nav */
@media (max-width: 768px) {
  .header-flex {
    flex-direction: column;
    align-items: stretch;
  }

  .menu-toggle {
    display: block;
    align-self: flex-end;
    margin-top: 0.5rem;
  }

  .main-nav ul {
    flex-direction: column;
    display: flex;
    max-height: 0;
    overflow: hidden;
    background-color: var(--primary-color);
    width: 100%;
    padding: 0;
    margin: 0;
    transition: max-height 0.3s ease;
  }

  .main-nav ul.show {
    max-height: 400px;
  }

  .main-nav li {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
  }

  .main-nav a {
    display: block;
    width: 100%;
    padding: 1rem;
    text-align: right;
    font-size: 1rem;
  }
}