/* =========================
   global / astra layout resets
   ========================= */

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
}

body,
.page,
.site {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  overflow-x: hidden;
}

.page .ast-container,
.page .site-content,
.page .content-area,
.single-post .ast-container,
.single-post .site-content,
.single-post .content-area {
  margin: 0 !important;
  padding: 0 !important;
  max-width: 100% !important;
  width: 100% !important;
  background: transparent !important;
  box-shadow: none !important;
  border: none !important;
}

.single-post .site-main > article {
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
  box-shadow: none !important;
  border: none !important;
}

.single-post .entry-title {
  display: none;
}


/* =========================
   cover / hero layout
   ========================= */

.page .wp-block-cover {
  margin: 0 !important;
  padding: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-height: 100vh !important;
  background-size: cover !important;
  background-position: center center !important;
}

.wp-block-cover.custom-cover-height {
  min-height: 100vh !important;
  height: auto !important;
}

.wp-block-cover__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.wp-block-cover__inner-container {
  position: relative;
  z-index: 2;
  max-width: 100% !important;
  min-height: 100vh;
  padding: 1rem 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem !important;
  text-align: center;
}


/* =========================
   panels / images / side nav
   ========================= */

.overlay-panel {
  background-color: rgba(0, 0, 0, 0.75);
  padding: 2.5rem;
  max-width: 700px;
  margin: 0 auto;
  border-radius: 0.5rem;
  color: white;
}

.oak-portrait {
  border-radius: 10px !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.5) !important;
}

.side-nav-panel {
  background: rgba(0, 0, 0, 0.5);
  padding: 2rem 1.5rem;
  border-radius: 0.5rem;
  max-width: 220px;
}

@media (min-width: 1024px) {
  .side-nav-panel {
    position: sticky;
    top: 2rem;
  }
}


/* =========================
   homepage animation
   ========================= */

.delay-fade-in {
  opacity: 0;
  animation: fadeInSoft 2s ease-in-out 3s forwards;
}

@keyframes fadeInSoft {
  to {
    opacity: 1;
  }
}

.fade-in-slow {
  opacity: 0;
  animation: fadeCenterOut 5s ease-in-out forwards;
}

@keyframes fadeCenterOut {
  0% { opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

.fade-in-top {
  order: -1;
  opacity: 0;
  animation: fadeTopIn 2s ease-in-out 8.5s forwards;
  font-size: 2.5rem;
  font-weight: 600;
  text-align: center;
  position: static !important;
  transform: none !important;
  z-index: 3;
  color: white;
  margin: 0 0 0.25rem 0 !important;
}

@keyframes fadeTopIn {
  to {
    opacity: 1;
  }
}

.fade-in-then-out {
  order: 0;
  opacity: 0;
  color: white !important;
  animation: quoteAppearDisappear 6s ease-in-out 5s forwards;
  font-size: 1.25rem;
  margin: 0.25rem 0 0.5rem 0 !important;
}

@keyframes quoteAppearDisappear {
  0% { opacity: 0; }
  20% { opacity: 1; }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

#quote-text {
  color: white !important;
  font-size: 1.25rem;
  text-align: center;
}

.fade-in-links {
  order: 1;
  opacity: 0;
  animation: fadeInLinks 4s ease-in-out 10.5s forwards;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  transform: none !important;
  margin-top: 1rem !important;
}

@keyframes fadeInLinks {
  to {
    opacity: 1;
  }
}

.fade-in-definition {
  opacity: 0;
  animation: fadeInDef 3s ease-in-out 9.5s forwards;
  color: white;
  font-size: 1.1rem;
  text-align: center;
  margin-top: 3rem;
  margin-bottom: 1rem;
}

@keyframes fadeInDef {
  to {
    opacity: 1;
  }
}

.intro-top-gap {
  padding-top: 1rem !important;
}

.intro-title {
  margin-bottom: 0 !important;
}

.quote-button-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0 !important;
  width: 100%;
  margin-top: 0 !important;
}

.quote-button-stack p,
.quote-button-stack .wp-block-buttons {
  position: static !important;
  transform: none !important;
  width: auto;
  margin: 0 auto !important;
}

@media (max-width: 768px) {
  .intro-top-gap {
    padding-top: 1.5rem !important;
  }
}


/* =========================
   buttons
   ========================= */

.grove-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem !important;
  margin: 1rem auto 0 auto;
  text-align: center;
  overflow: visible !important;
}

.grove-buttons .wp-block-button__link {
  display: inline-block;
  background-color: transparent !important;
  border: 2px solid white !important;
  color: white !important;
  padding: 0.6rem 1.8rem !important;
  border-radius: 999px !important;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 1px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.grove-buttons .wp-block-button__link:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  transform: scale(1.03);
  color: white !important;
}

.wpforms-form button[type="submit"] {
  background-color: transparent !important;
  border: 2px solid white !important;
  color: white !important;
  padding: 0.6rem 1.8rem !important;
  border-radius: 999px !important;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 1px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.2s ease;
}

.wpforms-form button[type="submit"]:hover {
  background-color: rgba(255, 255, 255, 0.1) !important;
  transform: scale(1.03);
  color: white !important;
}


/* =========================
   ghost button gag
   ========================= */

.wp-block-button .ghost-button {
  all: unset;
  display: inline-block;
  background: transparent !important;
  border: 2px solid white !important;
  color: white !important;
  border-radius: 999px !important;
  padding: 0.6rem 1.5rem;
  font-size: 0.95rem;
  text-transform: lowercase;
  letter-spacing: 0.5px;
  transition: opacity 0.7s ease-in-out, transform 0.7s ease-in-out;
  cursor: pointer;
  writing-mode: horizontal-tb;
  white-space: nowrap;
  text-align: center;
  max-width: 100%;
  min-width: 180px;
  box-sizing: border-box;
}

.ghost-button.fading-out {
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
}

.wp-block-button:has(.ghost-button) {
  border: none !important;
  padding: 0 !important;
  background: none !important;
}


/* =========================
   forms
   ========================= */

.wpforms-form .wpforms-field-label,
.wpforms-form .wpforms-field-sublabel,
.wpforms-form .wpforms-field-description,
.wpforms-form label,
.wpforms-form legend,
.wpforms-form .wpforms-field-label.wpforms-required-label,
.wpforms-form .wpforms-field-label-inline,
.wpforms-form .wpforms-field label {
  color: #ffffff !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.wpforms-form .wpforms-field-label,
.wpforms-form .wpforms-field-sublabel,
.wpforms-form .wpforms-field-description,
.wpforms-form label,
.wpforms-form legend {
  display: block !important;
}

.wpforms-form .wpforms-field-label-inline,
.wpforms-form .wpforms-field input[type="checkbox"] + label,
.wpforms-form .wpforms-field input[type="radio"] + label {
  display: inline-block !important;
  color: white !important;
}

.wpforms-form input[type="text"],
.wpforms-form input[type="email"],
.wpforms-form input[type="tel"],
.wpforms-form textarea,
.wpforms-form select {
  background-color: #111 !important;
  border: 2px solid white !important;
  color: white !important;
  border-radius: 999px !important;
  padding: 0.6rem 1.2rem !important;
  font-size: 1rem !important;
  width: 100% !important;
  box-sizing: border-box;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

.wpforms-form textarea {
  border-radius: 1rem !important;
  min-height: 140px !important;
}

.wpforms-form input::placeholder,
.wpforms-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.6) !important;
}

.wpforms-form input:focus,
.wpforms-form textarea:focus,
.wpforms-form select:focus {
  outline: none !important;
  border-color: rgba(255, 255, 255, 0.8) !important;
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.15);
}


/* =========================
   footer
   ========================= */

.oak-footer {
  background-color: rgba(0, 0, 0, 0.7);
  color: #dddddd;
  padding: 1rem;
  font-size: 0.85rem;
  text-align: center;
}

.oak-footer p {
  margin-top: 0 !important;
  margin-bottom: 0.5rem !important;
  line-height: 1.4;
}

.oak-footer a {
  color: #dddddd;
  text-decoration: none;
  margin: 0 0.5rem;
}

.oak-footer a:hover {
  color: #ffffff;
  text-decoration: underline;
}


/* =========================
   blog / archive cleanup
   ========================= */

.blog .entry-meta,
.archive .entry-meta,
.blog .post-meta,
.archive .post-meta,
.blog .posted-on,
.archive .posted-on,
.blog .byline,
.archive .byline,
.blog .cat-links,
.archive .cat-links,
.blog .tags-links,
.archive .tags-links {
  display: none !important;
}

body.blog,
body.archive {
  background: url('https://tranquiloak.com/wp-content/uploads/2025/04/wyxina-tresse-QiwzXOpvu_w-unsplash.jpg') no-repeat center center fixed;
  background-size: cover;
  color: white;
}

body.blog::before,
body.archive::before {
  content: "";
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
  pointer-events: none;
  opacity: 0;
  animation: overlayFadeIn 2s ease forwards;
}

@keyframes overlayFadeIn {
  to {
    opacity: 1;
  }
}

body.blog .ast-article-post,
body.archive .ast-article-post,
.ast-article-post {
  background: transparent !important;
  color: white !important;
  text-align: center;
  font-size: 1.25rem;
  padding: 1rem 0;
  max-width: 700px;
  margin: 0 auto 2rem auto !important;
  border: none;
  box-shadow: none;
}

.blog .entry-title,
body.blog .entry-title,
body.archive .entry-title {
  background: rgba(0, 0, 0, 0.5);
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: titleFadeIn 1.5s ease 0.5s forwards;
}

@keyframes titleFadeIn {
  to {
    opacity: 1;
  }
}

.blog .entry-title,
body.blog .entry-title a,
body.archive .entry-title a {
  color: white !important;
  font-weight: 400;
  font-family: Georgia, serif;
  font-size: 1.5rem;
  text-align: center;
  display: block;
  text-decoration: none;
  transition: opacity 0.4s ease-in-out, color 0.3s ease-in-out;
}

body.blog .entry-title a:hover,
body.archive .entry-title a:hover,
.wp-block-latest-posts a:hover {
  color: #9ac7ff !important;
  opacity: 0.6;
}

.blog .entry-summary {
  color: rgba(255, 255, 255, 0.7);
  font-size: 1rem;
  line-height: 1.6;
}

.blog .entry {
  margin-bottom: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.wp-block-latest-posts {
  color: white;
  font-family: inherit;
  font-size: 1.2rem;
  line-height: 1.6;
  text-align: center;
  margin: 2rem auto;
  max-width: 800px;
}

.wp-block-latest-posts a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease-in-out;
}


/* =========================
   mobile tweaks
   ========================= */

@media (max-width: 768px) {
  .wp-block-cover__inner-container {
    padding: 1rem;
    gap: 0.75rem !important;
  }

  .fade-in-top {
    font-size: 2rem;
  }

  .fade-in-then-out,
  #quote-text {
    font-size: 1.1rem;
  }

  .overlay-panel {
    padding: 1.5rem;
  }

  .side-nav-panel {
    max-width: 100%;
  }
}

	/* =========================
   homepage intro skip button
   ========================= */

.intro-skip-button {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 999px;
  padding: 0.55rem 0.9rem;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: lowercase;
  cursor: pointer;
  opacity: 0.75;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.25s ease;
}

.intro-skip-button:hover {
  opacity: 1;
  transform: translateY(-2px);
  background: rgba(0, 0, 0, 0.65);
}

/* =========================
   Homepage About link override
   ========================= */

.wp-block-cover p.about-link.fade-in-links {
  display: block !important;
  margin-top: 2rem !important;
  text-align: center !important;
  opacity: 0;
  animation: fadeInLinks 4s ease-in-out 10.5s forwards;
}

.wp-block-cover p.about-link.fade-in-links a {
  color: rgba(255, 255, 255, 0.7) !important;
  opacity: 1 !important;
  text-decoration: none !important;
  font-style: normal !important;
  font-weight: 400 !important;
}

.wp-block-cover p.about-link.fade-in-links a:hover {
  color: rgba(255, 255, 255, 1) !important;
  text-decoration: underline !important;
}

/* =========================
   Contact button case override
   ========================= */

.normal-case-button .wp-block-button__link {
  text-transform: none !important;
}

/* =========================
   Jetpack Contact Form – dark integration
   ========================= */

.jetpack-contact-form-container,
.wp-block-jetpack-contact-form {
  --jetpack--contact-form--input-background: rgba(255, 255, 255, 0.06) !important;
  --jetpack--contact-form--input-background-fallback: rgba(255, 255, 255, 0.06) !important;
  --jetpack--contact-form--text-color: rgba(255, 255, 255, 0.9) !important;
  --jetpack--contact-form--border-color: rgba(255, 255, 255, 0.35) !important;
  --jetpack--contact-form--border: 1px solid rgba(255, 255, 255, 0.35) !important;
  --jetpack--contact-form--border-radius: 10px !important;
}

/* Force fields in case Jetpack reloads styles after page load */
.jetpack-contact-form-container input,
.jetpack-contact-form-container textarea,
.jetpack-contact-form-container select,
.wp-block-jetpack-contact-form input,
.wp-block-jetpack-contact-form textarea,
.wp-block-jetpack-contact-form select,
.wp-block-jetpack-input,
.grunion-field {
  background: rgba(255, 255, 255, 0.06) !important;
  background-color: rgba(255, 255, 255, 0.06) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 10px !important;
  box-shadow: none !important;
}

/* Message box */
.jetpack-contact-form-container textarea,
.wp-block-jetpack-contact-form textarea {
  min-height: 160px !important;
  border-radius: 12px !important;
}

/* Placeholder text */
.jetpack-contact-form-container input::placeholder,
.jetpack-contact-form-container textarea::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

/* Focus state */
.jetpack-contact-form-container input:focus,
.jetpack-contact-form-container textarea:focus,
.jetpack-contact-form-container select:focus {
  outline: none !important;
  background: rgba(255, 255, 255, 0.09) !important;
  border-color: rgba(255, 255, 255, 0.75) !important;
}

/* Labels */
.jetpack-contact-form-container label,
.wp-block-jetpack-contact-form label,
.grunion-field-label {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 400 !important;
}

/* Phone field wrapper */
.jetpack-field__input-phone-wrapper {
  background: rgba(255, 255, 255, 0.06) !important;
  border: 1px solid rgba(255, 255, 255, 0.35) !important;
  border-radius: 10px !important;
  color: white !important;
}

/* Phone country selector */
.jetpack-combobox-trigger {
  background: transparent !important;
  color: white !important;
  border: none !important;
}

/* Submit button */
.wp-block-jetpack-button button,
.jetpack-contact-form-container button[type="submit"] {
  text-transform: none !important;
}

/* =========================
   Form text clarity fix
   ========================= */

/* actual typed text */
.jetpack-contact-form-container textarea,
.jetpack-contact-form-container input {
  color: rgba(255, 255, 255, 0.95) !important;
}

/* placeholder text (what’s currently too bright/dull) */
.jetpack-contact-form-container textarea::placeholder,
.jetpack-contact-form-container input::placeholder {
  color: rgba(255, 255, 255, 0.55) !important;
}