/* Custom.css Jacko */

/* Hero Logo Size + initial hidde */
.hero-icon.jowg-hero-logo{
  display:block;
  margin: 0 auto clamp(8px, 2vh, 20px);
  width: clamp(140px, 28vw, 320px);
  max-width: 100%;
  height: auto;

  opacity: 0;
  transform: translateY(10px);
  filter: blur(1.5px);
  will-change: opacity, transform, filter;
}

/* Hero Logo Fade-In */
html.w-mod-js .hero-icon.jowg-hero-logo{
  animation: jowg-fade-up 1.6s cubic-bezier(.22,.61,.36,1) .35s forwards;
}
@keyframes jowg-fade-up{
  0%   { opacity: 0; transform: translateY(10px); filter: blur(1.5px); }
  100% { opacity: 1; transform: none;              filter: blur(0); }
}
@media (prefers-reduced-motion: reduce){
  .hero-icon.jowg-hero-logo{
    opacity: 1;
    transform: none;
    filter: none;
    animation: none;
  }
}

/* Footer overall */
.footer {
  background: #f8efe2;
  padding: 60px 0 30px; /* tightened bottom space for balance */
}

/* 3-column layout */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 50px;
  text-align: center;
  align-items: start; /* keeps columns aligned visually */
}

/* Column */
.footer-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center; /* ✅ vertically centre content */
  text-align: center;
}

/* Headings */
.footer-heading {
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 6px;
}

/* Text */
.footer-contact p,
.footer-copy,
.footer-nav a {
  font-size: 15px;
  color: #000;
}

.footer-copy {
  margin-top: 6px;
}

/* Links */
.footer-contact a,
.footer-nav a,
.footer-dev a {
  text-decoration: none;
  transition: .3s;
  color: #000;
}

.footer-contact a:hover,
.footer-nav a:hover,
.footer-dev a:hover {
  opacity: .6;
}

/* Certification logos */
.footer-logos img {
  height: 75px;
  margin: 6px;
  object-fit: contain;
}

/* CENTRE LOGO — slightly reduced to look premium */
.footer-main-logo {
  height: 150px;
  width: 150px;
  object-fit: contain;
  margin: 10px auto 6px;
}

/* Nav links */
.footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav li {
  margin: 5px 0;
}

/* Buttons row */
.footer-buttons {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 10px; /* pulled closer to nav */
}

.footer-btn {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  width: 100%;
  flex: 1;
  min-width: 120px;
}

.footer-btn.primary {
  background: #000;
  color: #fff;
}

.footer-btn.secondary {
  border: 2px solid #000;
  color: #000;
}

/* Footer credit */
.footer-credit {
  text-align: center;
  font-size: 14px;
  opacity: 0.75;
  padding-top: 25px;
  padding-bottom: 10px;
  color: #000;
}

.footer-credit a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.footer-credit a:hover {
  opacity: .5;
}

/* Mobile */
@media(max-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-main-logo {
    height: 110px;
    width: 110px;
  }

  .footer-buttons {
    flex-direction: column;
    max-width: 250px;
    margin: 12px auto 0;
  }
}

.footer-credit {
  text-align: center;
  font-size: 14px;
  opacity: 0.7;
  padding: 15px 0 15px;
  color: #000;
}

.footer-credit a {
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.footer-credit a:hover {
  opacity: 0.5;
}

/* Base Button */
.cta-button {
display: inline-flex;
    align-items: center;
    gap: .7rem;
    background-color: var(--background-color--background-secondary);
    color: var(--text-color--text-secondary);
    padding: .75rem 1.5rem;
    margin: .75rem 1.5rem;
    border-radius: .4rem;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    position: relative;
    font-weight: 500;
}

/* Wrap for vertical animation */
.button-text-wrap {
  height: 20px; /* adjust to your text height */
  overflow: hidden;
  position: relative;
}

/* Text lines */
.button-text {
  transition: transform 0.35s ease;
  line-height: 20px;
}

/* Position the hover text BELOW the default text */
.button-text.hover-text {
  position: absolute;
  top: 100%;
  left: 0;
}

/* Icon */
.button-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.4s ease;
}

/* Hover animations */
.cta-button:hover .button-text.default {
  transform: translateY(-100%);
}

.cta-button:hover .button-text.hover-text {
  transform: translateY(-100%);
}

.cta-button:hover .button-icon {
  transform: rotate(360deg);
}

/* Reverse smoothly when hover ends */
.cta-button .button-text,
.cta-button .button-icon {
  will-change: transform;
}

/* Form wrapper */
.form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.holiday-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 30px;
}

/* Two-column rows */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

/* Input styling */
.holiday-form input,
.holiday-form textarea {
  width: 100%;
  padding: 18px;
  background: #f3e7d8;
  border: none;
  font-size: 16px;
  border-radius: 8px;
  font-family: inherit;
  color: #000;
}

.holiday-form textarea {
  height: 160px;
  resize: none;
}

/* Placeholder color */
.holiday-form input::placeholder,
.holiday-form textarea::placeholder {
  color: #6f655b;
}

/* Submit button */
.form-submit {
  margin-top: 10px;
  display: inline-flex;
  align-self: center;
}

/* Mobile responsive */
@media(max-width: 768px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ===== Modal baseline ===== */
.jowg-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}
.jowg-modal[aria-hidden="false"] {
  display: block;
}
.jowg-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.45);
  backdrop-filter: saturate(120%) blur(6px);
}

/* ===== Modal Dialog (Now Light Elegant Style) ===== */
.jowg-modal__dialog {
  position: relative;
  max-width: min(720px,92vw);
  margin: 8vh auto;
  background: #FAF1E4; /* Matches site */
  color: #000;
  border-radius: 18px;
  box-shadow: 0 25px 80px rgba(0,0,0,.2);
  padding: 38px 34px;
  border: 1px solid rgba(0,0,0,.08);
  font-family: 'Cormorant Garamond', serif;
}

/* Close Button */
.jowg-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  width: 42px;
  height: 42px;
  border-radius: 100px;
  border: 1px solid rgba(0,0,0,.1);
  background: #fff;
  color: #000;
  font-size: 22px;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: .2s;
}
.jowg-modal__close:hover {
  transform: scale(1.07);
  background: #000;
  color: #fff;
}

/* ===== Form Typography ===== */
.jowg-modal .multi-form h1 {
  margin: 0 0 16px;
  font-size: clamp(26px,2.6vw,42px);
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
}
.jowg-modal .multi-form h3 {
  margin: 14px 0 10px;
  font-size: clamp(18px,1.5vw,22px);
  font-weight: 500;
  font-family: 'Cormorant Garamond', serif;
}

/* Progress Bar */
.form-progress-wrap {
  width: 100%;
  height: 7px;
  background: rgba(0,0,0,.08);
  border-radius: 8px;
  overflow: hidden;
  margin: 12px 0 26px;
}
.form-progress-bar {
  height: 100%;
  width: 0%;
  background: #c8a867; /* your gold tone */
  transition: width .35s ease;
  border-radius: inherit;
}

/* ===== Inputs ===== */
.jowg-modal .form-field,
.jowg-modal .multi-form textarea {
  width: 100%;
  background: rgba(255,255,255,0.8);
  color: #000;
  border: 1px solid rgba(0,0,0,.15);
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  line-height: 1.4;
  font-family: 'Inter', sans-serif;
  margin-bottom: 14px;
}
.jowg-modal .form-field::placeholder,
.jowg-modal .multi-form textarea::placeholder {
  color: rgba(0,0,0,.55);
}

/* Focus */
.jowg-modal .form-field:focus,
.jowg-modal .multi-form textarea:focus {
  outline: none;
  border-color: #c8a867;
  box-shadow: 0 0 0 3px rgba(200,168,103,.25);
  background: rgba(255,255,255,0.95);
}

/* Grid Rows */
.jowg-modal .form-field_wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
@media(max-width:640px) {
  .jowg-modal .form-field_wrap {
    grid-template-columns: 1fr;
  }
}

/* Textareas */
.jowg-modal .multi-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* ===== Buttons ===== */
.cta-button,
.jowg-modal .cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #000;
  color: #fff;
  padding: 14px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-family: 'Inter', sans-serif;
  transition: background .2s, transform .2s;
}
.cta-button:hover,
.jowg-modal .cta-button:hover {
  background: #c8a867;
  color: #000;
  transform: translateY(-2px);
}

/* Secondary (Back Button) */
.cta-button.secondary {
  background: transparent;
  border: 1px solid rgba(0,0,0,.25);
  color: #000;
}
.cta-button.secondary:hover {
  background: rgba(0,0,0,.07);
}

/* Button row */
.jowg-actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
}

/* Success/Error */
.form-success,
.form-error {
  margin-top: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  font-weight: 600;
}
.form-success {
  background: rgba(46,164,79,.15);
  border: 1px solid rgba(46,164,79,.35);
}
.form-error {
  background: rgba(214,90,90,.15);
  border: 1px solid rgba(214,90,90,.35);
}

/* Anti-spam honeypot */
.jowg-honey {
  position:absolute!important;
  left:-9999px!important;
  opacity:0!important;
}

.form-step {
  display: none;
}
.form-step.active {
  display: block;
}

