/* Import Eyesome Script */
@font-face {
  font-family: 'EyesomeScript';
  src: url('../fonts/EyesomeScript.woff2') format('woff2'),
       url('../fonts/EyesomeScript.woff') format('woff'),
       url('../fonts/EyesomeScript.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
}

/* Import Montserrat Light */
@font-face {
  font-family: 'Montserrat-Light';
  src: url('../fonts/Montserrat-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

/* Import The Seasons Regular */
@font-face {
  font-family: 'TheSeasons';
  src: url('../fonts/TheSeasons.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

/* Import The Seasons Light (optional, not used yet) */
@font-face {
  font-family: 'TheSeasonsLight';
  src: url('../fonts/TheSeasonsLight.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
}

/* ===========================
   GLOBAL STYLES
   =========================== */
body {
  margin: 0;
  font-family: 'Montserrat-Light', Arial, sans-serif;
  background-color: #EBEAE6;
  color: #6A6A6A;
  font-weight: 300;
  line-height: 1.6;
}

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-family: 'TheSeasons', serif;
  color: #6A6A6A;
  font-weight: 700;
  margin-top: 1.2em;
  margin-bottom: 0.6em;
}

/* ===========================
   DESKTOP HEADER + MENU
   =========================== */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  min-height: 100px;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(235, 234, 230, 0) 50%,
  );
  backdrop-filter: blur(4px);
  pointer-events: none;
  z-index: -1;
}

/* Logo */
.logo-text {
  font-family: 'EyesomeScript', cursive;
  font-size: 4rem;
  color: #9F8D62;
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  z-index: 1;
}

.logo-text:hover { color: #ffffff; }

/* Desktop nav */
nav.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin-left: auto;      /* push to right */
  margin-right: 40px;
  gap: 20px;
  position: relative;
  z-index: 1;
}

nav.desktop-nav ul {
  list-style: none;
  display: flex;
  margin: 0;
  padding: 0;
}

nav.desktop-nav ul li {
  position: relative;
  padding: 0 12px;
}

nav.desktop-nav ul li:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: 0;
  color: #9F8D62;
}

nav.desktop-nav a {
  text-decoration: none;
  color: #9F8D62;
  font-weight: 600;
  text-shadow: 0px 1px 3px rgba(0,0,0,0.3);
  transition: color 0.3s ease;
}

nav.desktop-nav a:hover {
  color: #ffffff;
  text-shadow: 0px 1px 3px rgba(0,0,0,0.5);
}

/* Hide mobile elements on desktop */
.hamburger,
nav.dropdown {
  display: none !important;
}

/* ===========================
   MOBILE + TABLET HEADER + MENU
   =========================== */
@media (max-width: 1024px) {
  header {
    padding: 10px 20px;
    min-height: 60px;
    backdrop-filter: blur(10px);
    background: linear-gradient(
      to top,
      rgba(235, 234, 230, 0) 0%,
      rgba(235, 234, 230, 0.3) 50%,
      rgba(235, 234, 230, 0.6) 75%,
      rgba(235, 234, 230, 0.8) 100%
    );
  }

  .logo-text {
    font-size: 2.5rem;
    margin: 0;
  }

  /* Show burger */
  .hamburger {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    cursor: pointer;
    z-index: 1100;

    /* Move left by 2x its width */
    transform: translateX(-50px);
  }

  .hamburger span {
    display: block;
    height: 1.5px;
    background: #9F8D62;
    border-radius: 2px;
  }

  /* Hide desktop nav on mobile */
  nav.desktop-nav { 
    display: none !important; 
  }

  /* Dropdown menu (mobile only) */
  nav.dropdown {
  display: block !important;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  position: fixed;
  top: 60px; /* sits below header */
  left: 0;
  right: 0;
  width: 100vw;             /* full viewport width */
  box-sizing: border-box;   /* include padding inside width */
  backdrop-filter: blur(10px);
    background: linear-gradient(
      to top,
      rgba(235, 234, 230, 0) 0%,
      rgba(235, 234, 230, 0.8) 100%
    );
  padding: 0;
  z-index: 999;
}

nav.dropdown.show {
  max-height: 400px;
  padding: 2rem 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;    /* align items to right edge */
  gap: 1.5rem;
}

nav.dropdown ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;    /* keep links right aligned */
  margin: 0;
  padding: 0 2rem;          /* pull links back from edge */
  gap: 0.5rem;
  width: 100%;
  box-sizing: border-box;   /* ensures padding is respected */
}

nav.dropdown ul li {
  padding: 0;
  text-align: right;
  width: auto;
}

nav.dropdown a {
  text-decoration: none;
  font-family: 'Montserrat-Light', Arial, sans-serif;
  color: #9F8D62; /* bronze links */
  font-weight: 600;
  text-shadow: 0px 1px 3px rgba(0,0,0,0.3);
  transition: color 0.3s ease;
}

nav.dropdown a:hover {
  color: #ffffff;
  text-shadow: 0px 1px 3px rgba(0,0,0,0.5);
}

  nav.dropdown ul li:not(:last-child)::after {
    content: none;
  }
}



/* ===========================
   LANDING PAGE
   =========================== */

/* Hero Section */
.hero {
  background: url('../images/drafting.png') no-repeat center center/cover;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  color: #EBEAE6; /* soft parchment overlay text */
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-text {
  position: relative;
  z-index: 2;
  padding-top: 60px;
}

.hero h2 {
  font-family: 'TheSeasons', serif;
  font-weight: 300;
  font-size: 3.5rem;
  letter-spacing: 0.06em;
  color: #9F8D62; /* bronze accent */
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
  margin-bottom: 10px;
}

.gold-line {
  width: 320px;
  height: 2px;
  background-color: #9F8D62; /* bronze line */
  margin: 0px auto 20px;
  opacity: 0.5;
}

.hero p {
  font-family: 'Montserrat-Light', sans-serif;
  color: #EBEAE6; /* parchment body text */
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1.5;
  margin-bottom: 30px;
  text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

/* Hero CTA button */
.hero .cta {
  background: transparent;
  border: 1px solid #9F8D62;
  color: #EBEAE6; /* parchment text */
  padding: 12px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'Montserrat-Light', sans-serif;
  font-weight: 300;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 10px;
}

.hero .cta:hover {
  background: #9F8D62;
  color: #6A6A6A; /* charcoal text */
}

/* Sacred Space Intro Block */
.sacred-space-intro {
  text-align: center;
  padding: 60px 20px 20px;
}

.sacred-space-text {
  font-family: 'TheSeasons', serif;
  font-size: 1.6rem;              /* body text size on desktop */
  color: #6A6A6A;                 /* charcoal body text */
  max-width: 700px;
  margin: 0 auto 40px;
  line-height: 1.9;
}

/* Sacred Space headline line */
.sacred-space-headline {
  text-align: center;
  margin: 20px 0;
  line-height: 1.4;
}

/* "Selah" in EyesomeScript, bronze accent */
.sacred-space-headline .selah {
  font-family: 'EyesomeScript', cursive;
  color: #9F8D62; /* bronze accent */
  font-size: 3.2rem;   /* headline size on desktop */
  font-weight: 400;
  margin-right: 8px;
}

/* "is a sacred space" in TheSeasons, charcoal */
.sacred-space-headline .sacred {
  font-family: 'TheSeasons', serif;
  color: #6A6A6A; /* charcoal text */
  font-size: 1.6rem;
  font-weight: 300;
  letter-spacing: 0.5px;
}


/* CTA button inside Sacred Space */
.sacred-space-intro .cta {
  background: transparent;
  border: 1px solid #9F8D62;
  color: #6A6A6A; /* charcoal text */
  padding: 12px 32px;
  border-radius: 4px;
  text-decoration: none;
  font-family: 'Montserrat-Light', sans-serif;
  font-weight: 300;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 40px;
}

.sacred-space-intro .cta:hover {
  background: #9F8D62;
  color: #EBEAE6; /* parchment text */
}

/* Gold line above intro */
.sacred-space-intro::before {
  content: "";
  display: block;
  height: 1px;
  background-color: #9F8D62; /* bronze line */
  width: 80%;
  margin: 0 auto 60px;
}

/* Approach Section */
.approach {
  padding: 10px 60px;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
}

.pillar {
  text-align: center;
  padding: 20px;
}

.pillar h3 {
  font-family: 'TheSeasons', serif;
  font-size: 1.6rem;
  color: #6A6A6A;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 1px;
  position: relative;
}

.pillar h3::after {
  content: "";
  display: block;
  width: 160px;
  height: 2px;
  background-color: #9F8D62;
  margin: 12px auto 0;
  opacity: 0.8;
}

.pillar p {
  font-family: 'Montserrat-Light', sans-serif;
  font-size: 1rem;
  color: #6A6A6A;
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

/* Services Section */
.services {
  padding: 80px 60px;
}

.services h2 {
  font-family: 'TheSeasons', serif;
  font-size: 2.2rem;
  color: #6A6A6A;
  text-align: center;
  margin-bottom: 50px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 24px;
  max-width: 1400px;
  margin: 0 auto;
}

.service {
  text-align: center;
  padding: 25px 20px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 6px 6px 12px rgba(159, 141, 98, 0.4);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service:hover {
  transform: translateY(-5px);
  box-shadow: 8px 8px 16px rgba(159, 141, 98, 0.6);
}

.service h3 {
  font-family: 'TheSeasons', serif;
  font-size: 1.2rem;
  font-weight: 700;
  color: #6A6A6A;
  margin-bottom: 15px;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.service p {
  font-family: 'Montserrat-Light', sans-serif;
  font-size: 0.95rem;
  color: #6A6A6A;
  line-height: 1.7;
  max-width: 240px;
  margin: 0 auto;
}

/* ---------------- MOBILE RESPONSIVE ---------------- */
@media (max-width: 1024px) {
  /* Stack both Approach and Services into single column */
  .approach-grid {
    grid-template-columns: 1fr; /* stack pillars */
  }
  .service-grid {
    grid-template-columns: 1fr; /* stack services */
  }

  /* Headline scaling */
  .sacred-space-headline .selah {
    font-size: 2.2rem; /* reduced but still distinct */
  }

  .sacred-space-headline .sacred {
    font-size: 1.2rem; /* reduced but smaller than Selah */
  }

  /* Reduce text sizes by ~4pt in Sacred Space, Approach, Services */
  .sacred-space-text {
    font-size: 1.2rem; /* down from 1.6rem */
    line-height: 1.6;
  }

  .sacred-space-headline {
    font-size: 1.4rem; /* reduced but still larger than body */
    line-height: 1.4;
  }

  .sacred-space-intro .cta,
  .approach .pillar h3,
  .approach .pillar p,
  .services h2,
  .service h3,
  .service p {
    font-size: calc(100% - 4pt); /* precise reduction */
    line-height: 1.5;
  }
}

@media (max-width: 768px) {
  /* Keep single column for both sections */
  .approach-grid {
    grid-template-columns: 1fr;
  }
  .service-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  /* Still single column */
  .service-grid {
    grid-template-columns: 1fr;
  }
}

/* Footer Social Icons */
.footer-socials {
  display: flex;
  justify-content: center;
  gap: 16px;              /* spacing between icons */
  margin: 30px 0;
}

.footer-socials a img {
  width: 32px;            /* smaller icon size */
  height: 32px;           /* keep square proportions */
  object-fit: contain;    /* ensures the image scales nicely */
  transition: transform 0.3s ease;
}

.footer-socials a:hover img {
  transform: scale(1.1);  /* subtle hover grow effect */
}

/* Footer Copy */
.footer-copy {
  text-align: center;
  font-family: 'TheSeasons', serif;
  font-size: 0.9rem;        /* smaller, subtle */
  color: #6A6A6A;           /* charcoal */
  margin-top: 20px;
  letter-spacing: 0.5px;
  opacity: 0.8;             /* softer presence */
}




/* ===========================
   CONNECT PAGE
   =========================== */

.connect {
  text-align: center;
  padding: 120px 20px;
  margin-top: 0; /* reset */
}

.connect h2 {
  font-family: 'TheSeasons', serif;
  font-size: 2rem;
  font-weight: 300;       /* lighter weight for refinement */
  color: #6A6A6A;         /* charcoal for balance */
  letter-spacing: 0.5px;  /* subtle spacing for elegance */
  margin-bottom: 20px;
}

.gold-line {
  border: none;
  height: 1px;
  background-color: #9F8D62; /* bronze accent line */
  width: 35%;
  margin: 30px auto;
  opacity: 0.7;
}

.contact-details p {
  font-family: 'Montserrat-Light', sans-serif;
  font-size: 0.95rem;
  color: #6A6A6A; /* charcoal body text */
  margin: 5px;
}
.contact-details {
  margin-bottom: 40px; /* increase spacing before the form */
}

.contact-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  border-radius: 6px; /* subtle rounding */
  border: 1px solid #ccc; /* keep edges defined but soft */
  padding: 10px;
  background-color: #EBEAE6; /* corrected property */
  font-family: 'Montserrat-Light', sans-serif;
  font-size: 0.95rem;
  color: #6A6A6A;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form button {
  background: transparent;
  width: 200px;          /* narrower than the form */
  align-self: center;    /* centers the button inside the form */
  border: 1px solid #9F8D62;
  color: #6A6A6A; /* charcoal text */
  padding: 12px 32px;
  text-decoration: none;
  font-family: 'Montserrat-Light', sans-serif;
  font-weight: 300;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 20px; /* reduced spacing since privacy note adds rhythm */
}

.contact-form button:hover {
  background-color: #4A4A4A; /* slightly darker on hover */
}


/* Bible Verse */
.footer-verse p {
  font-family: 'TheSeasons', serif;
  font-size: 0.8rem;
  font-weight: 300;
  color: #6A6A6A; /* charcoal verse text */
  margin-bottom: -5px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ===========================
   PHILOSOPHY PAGE
   =========================== */

body.philosophy-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* full viewport height */
}

main.philosophy-layout {
  flex: 1; /* expands to push footer down */
  padding-top: 120px; /* clears fixed header */
  display: flex;
  flex-direction: column;
}

/* Philosophy placeholder container */
.philosophy-placeholder {
  flex: 1; /* takes up remaining space */
  display: flex;
  flex-direction: column;   /* stack sentences vertically */
  align-items: center;      /* center horizontally */
  justify-content: center;  /* center vertically */
  text-align: center;
  font-family: 'TheSeasons', serif;
  font-size: 1.5rem;
  color: #6A6A6A;
  line-height: 1.2; /* your chosen rhythm */
  padding: 0 20px;
}

/* Individual lines */
.philosophy-placeholder p {
  margin: 0.5em 0; /* gentle vertical spacing */
}


.footer-verse {
  text-align: center;
  font-family: 'TheSeasons', serif;
  color: #6A6A6A;
  padding: 20px;
}

body.philosophy-page footer {
  text-align: center;
  padding: 20px;
}

/* ===========================
   JOURNAL PAGE
   =========================== */

body.journal-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* full viewport height */
}

main.journal-layout {
  flex: 1; /* expands to push footer down */
  padding-top: 120px; /* clears fixed header */
  display: flex;
  flex-direction: column;
}

/* Journal placeholder container */
.journal-placeholder {
  flex: 1; /* takes up remaining space */
  display: flex;
  flex-direction: column;   /* stack sentences vertically */
  align-items: center;      /* center horizontally */
  justify-content: center;  /* center vertically */
  text-align: center;
  font-family: 'TheSeasons', serif;
  font-size: 1.5rem;
  color: #6A6A6A;
  line-height: 1.2; /* your chosen rhythm */
  padding: 0 20px;
}

/* Individual lines */
.journal-placeholder p {
  margin: 0.5em 0; /* gentle vertical spacing */
}

.footer-verse {
  text-align: center;
  font-family: 'TheSeasons', serif;
  color: #6A6A6A;
  padding: 20px;
}

body.journal-page footer {
  text-align: center;
  padding: 20px;
}

/* ===========================
   SANCTUARIES PAGE
   =========================== */

body.sanctuaries-page {
  display: flex;
  flex-direction: column;
  min-height: 100vh; /* full viewport height */
}

main.sanctuaries-layout {
  flex: 1; /* expands to push footer down */
  padding-top: 120px; /* clears fixed header */
  display: flex;
  flex-direction: column;
}

/* Sanctuaries placeholder container */
.sanctuaries-placeholder {
  flex: 1; /* takes up remaining space */
  display: flex;
  flex-direction: column;   /* stack sentences vertically */
  align-items: center;      /* center horizontally */
  justify-content: center;  /* center vertically */
  text-align: center;
  font-family: 'TheSeasons', serif;
  font-size: 1.5rem;
  color: #6A6A6A;
  line-height: 1.2; /* chosen rhythm */
  padding: 0 20px;
}

/* Individual lines */
.sanctuaries-placeholder p {
  margin: 0.5em 0; /* gentle vertical spacing */
}

.footer-verse {
  text-align: center;
  font-family: 'TheSeasons', serif;
  color: #6A6A6A;
  padding: 20px;
}

body.sanctuaries-page footer {
  text-align: center;
  padding: 20px;
}