/* Make body a flex column */
body {
  font-family: "Open Sans", sans-serif;
  margin: 0;
  min-height: 100vh; /* full viewport height */
  display: flex;
  flex-direction: column;
  background: #f9f6f1;
  color: #333;
}


.navbar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #4a6b3f;

  min-height: 100px;       /* make navbar tall enough */

  padding: 0 1rem; 
}

/* Center logo across full width */
.logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: "Merriweather", serif;
  font-size: 1.3rem;
  color: #fff;
}

.logo-img {
  height: 90px;
  width: auto;
  background-color: white;
}

/* Keep menu-toggle on the left */
.menu-toggle {
  z-index: 100; /* so it doesn’t hide under logo */
}

/* Keep English flag on the right */
.lang-switch {
  margin-left: auto;
}





.menu-toggle {
  font-size: 1.8rem;
  background: none;
  border: none;
  color: #fff;
  cursor: pointer;
}

.lang-switch img {
  width: 40px;
  cursor: pointer;
  border-radius: 3px;
  transition: transform 0.2s;
}
.lang-switch img:hover {
  transform: scale(1.1);
}

/* Nav links (desktop) */
.nav-links {
  display: flex;
  list-style: none;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 0.5rem 0;
  background-color: #6a8b57;
}

.nav-links li a {
  text-decoration: none;
  color: #fff;
  font-weight: bold;
}
.menu-toggle{
  display: none;
}
.nav-links li a {
  position: relative;
  text-decoration: none;
  color: #fff;
  font-weight: bold;
  transition: color 0.3s ease, transform 0.2s ease;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: -4px;
  background-color: #f2e8d5; /* light cream accent */
  transition: width 0.3s ease;
}

.nav-links li a:hover {
  color: #f2e8d5;
  transform: scale(1.05); /* slight bounce */
}

.nav-links li a:hover::after {
  width: 100%;
}


/* Mobile */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .logo {
    order: 2;
  }

  .lang-switch {
    order: 3;
  }

  /* Hide links initially */
  .nav-links {
    display: none;
    flex-direction: column;
    background: #6a8b57;
  }

  .nav-links.show {
    display: flex;
  }

  .nav-links li {
    padding: 0.8rem 1rem;
    text-align: center;
  }
}

/* Main content should expand to fill available space */
main.container {
  flex: 1; /* pushes footer down if content is short */
  max-width: 900px;
  margin: 2rem auto;
  padding: 2rem;
  background: #ffffffcc;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  line-height: 1.6;
  color: #3c3c3c;
}

/* Headings inside container */
.container h1, .container h2 {
  font-family: "Merriweather", serif;
  color: #3c2f2f;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Paragraph spacing */
.container p {
  margin-bottom: 1rem;
}


/* Footer styling */
footer {
  background: #6a8b57;
  color: #f9f6f1;
  text-align: center;
  padding: 1rem;
  font-size: 0.95rem;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  align-items: center;
}

.footer-contacts span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.footer-contacts a {
  color: #fafaf5; /* soft green links */
  text-decoration: none;
  position: relative; /* needed for ::after */
  transition: color 0.3s ease;
}

.footer-contacts a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px; /* adjust spacing under text */
  width: 0;
  height: 2px; /* underline thickness */
  background-color: #f2e8d5; /* underline color */
  transition: width 0.3s ease; /* smooth growth */
}

.footer-contacts a:hover {
  color: #f2e8d5; /* text color on hover */
}

.footer-contacts a:hover::after {
  width: 100%; /* full underline on hover */
}


/* ===== Index page styling ===== */
.about-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #ffffff 0%, #f9f6f1 100%);
  border-radius: 14px;
  padding: 1.2rem 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-left: 6px solid #7fa172; /* subtle stripe accent */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:nth-child(even) {
  border-left-color: #d4a373;
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
}

.card-img {
  width: 100%;
  border-radius: 10px;
  margin-bottom: 0.8rem;
  object-fit: cover;
}





/* ===== Activities section ===== */
.activities-wrap {
  position: relative;
  margin-top: 1.5rem;
  padding: 2rem 1rem;
  border-radius: 16px;

  /* soft section background (sage + sand glow) */
  background:
    radial-gradient(60% 80% at -10% 0%, rgba(127,161,114,0.12), transparent 60%),
    radial-gradient(60% 80% at 110% 100%, rgba(212,163,115,0.12), transparent 60%),
    linear-gradient(180deg, #faf7f1 0%, #f9f6f1 100%);
  border: 1px solid rgba(106,139,87,0.15);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

/* grid layout for cards */
.activities-list {
  display: grid;
  grid-template-columns: 1fr; /* always single column */
  gap: 1rem;
}

/* each paragraph becomes a card */
.activities-list p {
  margin: 0;
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f7faf4 100%);
  border: 1px solid rgba(106,139,87,0.15);
  border-radius: 14px;
  padding: 1rem 1.2rem 1rem 1.2rem; /* comfy padding */
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  line-height: 1.6;
  font-size: 1.05rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  --accent: #7fa172; /* default (sage) */
}

/* left accent stripe */
.activities-list p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0; bottom: 0;
  width: 6px;
  background: linear-gradient(180deg, var(--accent), #cdddc5);
  border-radius: 14px 0 0 14px;
}

/* alternate accents: hay (sand) and sage */
.activities-list p:nth-child(even) { --accent: #d4a373; } /* hay */
.activities-list p:nth-child(odd)  { --accent: #7fa172; } /* sage */

/* slight hover lift */
.activities-list p:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.12);
  background: linear-gradient(180deg, #ffffff 0%, #eef5e9 100%);
}

/* optional: make emojis a bit bigger without changing text size */
.activities-list p {
  font-variant-emoji: emoji;
}
.activities-list p::first-letter { /* keeps emoji aligned if it's first char */
  font-size: 1.2em;
}

/* header spacing harmony inside container */
.container h1 {
  text-align: center;
  margin: 0.5rem 0 1rem;
  font-family: "Merriweather", serif;
  color: #3c2f2f;
}
 /*====== VIDEO PAGE =====*/
/* ===== Thumbnails ===== */
.video-reels {
  display:flex;
  flex-direction:column;
  gap:1.5rem;
  max-width:400px;
  margin:0 auto;
}
.reel-thumb {
  width:100%;
  border-radius:12px;
  cursor:pointer;
  object-fit:cover;
}

/* ===== Overlay ===== */
.reels-overlay {
  display:none;
  position:fixed;
  inset:0;
  background:#000;
  z-index:2000;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}
.reel-video {
  display:none;
  max-height:100vh;
  max-width:100%;
  object-fit:contain;
  margin:0 auto;
}
.reels-close {
  position:fixed;
  top:1rem;
  right:1rem;
  font-size:2rem;
  color:#fff;
  cursor:pointer;
  background:rgba(0,0,0,0.5);
  padding:0.2rem 0.5rem;
  border-radius:6px;
  z-index:2100;
}

/*=== CINTACT FORM ====*/
/* Contact form container */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
  margin: 0 auto;
  padding: 2rem;
  background: #ffffffcc;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.1);
}

/* Labels and inputs */
.contact-form label {
  display: flex;
  flex-direction: column;
  font-weight: 600;
  color: #3c3c3c;
  font-size: 1rem;
}

.contact-form input,
.contact-form textarea {
  margin-top: 0.5rem;
  padding: 0.7rem 1rem;
  border: 1px solid #cdddc5;
  border-radius: 8px;
  font-size: 1rem;
  font-family: inherit;
  resize: vertical;
  min-height: 40px;
  transition: border-color 0.3s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  min-height: 120px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #7fa172;
  box-shadow: 0 0 5px rgba(127,161,114,0.3);
  outline: none;
}

/* Submit button */
.contact-form button {
  background-color: #7fa172;
  color: #fff;
  font-weight: 600;
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.contact-form button:hover {
  background-color: #6a8b57;
  transform: translateY(-2px);
}

/* Form description */
.form-description {
  text-align: center;
  margin-bottom: 1rem;
  font-size: 1rem;
  color: #3c3c3c;
}

/* Contact emails */
.contact-emails a {
  color: #4a6b3f;      /* main green */
  text-decoration: underline;
  font-weight: bold;
  transition: color 0.2s ease;
}

.contact-emails a:hover {
  color: #7fa172;      /* slightly lighter green on hover */
}

/* The grey-ish email */
.contact-emails a.grey {
  color: #999999;       /* grey tone */
}

.contact-emails a.grey:hover {
  color: #666666;       /* darker grey on hover */
}
.grey {
  color: #999999;       /* grey tone */
}
.grey:hover {
  color: #666666;       /* darker grey on hover */
}

/*==== GALLERY IN ACTIVITIES ====*/
/* === Ranch Post Section === */
.ranch-post {
  margin-top: 2.5rem;
  padding: 2rem;
  background: linear-gradient(180deg, #ffffff 0%, #f9f6f1 100%);
  border: 1px solid rgba(106,139,87,0.15);
  border-radius: 16px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.08);
}

.ranch-post h2, 
.ranch-post h3 {
  text-align: center;
  color: #4a6b3f;
  font-family: "Merriweather", serif;
  margin-bottom: 1.2rem;
}

.ranch-text p {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
  background: #fff;
  border-radius: 10px;
  padding: 0.8rem 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.ranch-gallery {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.ranch-gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.ranch-gallery img:hover {
  transform: scale(1.05);
}
.lightbox {
  display: none;
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox img {
  max-width: 80%;
  max-height: 80%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 40px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.arrow {
  position: absolute;
  top: 50%;
  font-size: 50px;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 20px;
  transform: translateY(-50%);
}

.arrow.left {
  left: 20px;
}

.arrow.right {
  right: 20px;
}
.ranch-gallery img {
  cursor: pointer;
}
