/*
	Theme Name: Manor
	Description: A custom mobile responsive and HTML5 theme built for the Genesis Framework.
	Author: Laura Wyatt
	Author URI: https://yellowduckmarketing.com
	Template: genesis
*/


/* -----------------------------
   Fonts
----------------------------- */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400..800;1,400..800&display=swap');

@font-face {
  font-family: 'Bosca';
  src: url('/wp-content/themes/manor/fonts/bosca.woff2') format('woff2'),
       url('/wp-content/themes/manor/fonts/bosca.woff') format('woff');
  font-display: swap;
}

@font-face {
  font-family: 'Bosca Light';
  src: url('/wp-content/themes/manor/fonts/bosca-light.woff2') format('woff2'),
       url('/wp-content/themes/manor/fonts/bosca-light.woff') format('woff');
  font-display: swap;
}

/* -----------------------------
   Root Tokens
----------------------------- */

:root {
  --green: #1B1615;
  --black: #141111;
  --white: #FEFBF2;
}

/* -----------------------------
   Reset / Normalize (minimal)
----------------------------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 21px;
  line-height: 1.6;
  overflow-x: hidden;
}

body {
  margin: 0;
   font-family: 'Bosca', serif;
  font-weight: 500;
  color: var(--green);
  background-color: var(--green);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img,
iframe,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

/* -----------------------------
   Typography
----------------------------- */

p {
  margin: 0 0 1.5rem;
  font-size: 19px;
    font-weight: 100;
  line-height: 1.8;
}

strong,
b {
  font-weight: 700;
}

em,
i {
  font-style: italic;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin: 0 0 1rem;
  font-family: "Bosca", serif;
  font-weight: 300;
  color: var(--green);
}

h1 { font-size: 3rem; line-height: 1.1; }
h2 { font-size: 2.2rem; }
h3 {  font-size: 22px; color: var(--black);

}
h4 { font-size: 1.1rem;  font-family: "EB Garamond", serif; }
h5,
h6 {
   font-family: "EB Garamond", serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* -----------------------------
   Links
----------------------------- */

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* -----------------------------
   Layout Containers
----------------------------- */

.site-container,
.site-inner {
  width: 100%;
    background-color: var(--green);
}

.wrap,
.wrapper {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 100px 0;
}

.section.small {
  padding: 60px 0;
}

.center {
  text-align: center;
}

/* -----------------------------
   Green Mask Sections
----------------------------- */

.green-block,
.green-mask {
  position: relative;
  overflow: hidden;
}

.green-block::before,
.green-mask::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: var(--green);
  opacity: 0.65;
  pointer-events: none;
  z-index: 0;
}

.green-block > *,
.green-mask > * {
  position: relative;
  z-index: 1;
  color: var(--white);
}

/* -----------------------------
   Navigation (Base)
----------------------------- */

.site-header {
  background-color: var(--green);
  color: var(--white);
}

.nav-primary a {
  color: var(--white);
  font-weight: 500;
}

.nav-primary a:hover {
  opacity: 0.85;
}

/* -----------------------------
   Buttons
----------------------------- */

button,
a.button,
.wp-block-button__link, input[type="submit"] {
  position: relative;
  overflow: hidden;
  opacity: 1;
  background-image: url("/wp-content/uploads/2025/12/buttonbkg-1.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;

  color: var(--black);
  padding: 17px 53px 22px 56px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 14px;
  font-family: "EB Garamond", serif;
  font-weight: 600;

  border: none;
  cursor: pointer;
  text-decoration: none;
 transition:
    transform 0.4s ease,
    opacity 0.4s ease;
}


input[type="submit"] {
    font-size: 18px;
    background-image: none;
}

button:hover,
input[type="submit"]:hover,
a.button:hover,
.wp-block-button__link:hover {
  transform: translateY(-2px);
  text-decoration: none;
    opacity: 0.6;
}



/* -----------------------------
   Forms
----------------------------- */

input,
textarea,
select {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--black);
  background-color: transparent;
  color: var(--black);
  font-family: 'Bosca', serif;
}

input::placeholder,
textarea::placeholder {
  color: var(--black);
}

input:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--black);
}

/* -----------------------------
   Lists
----------------------------- */

ul,
ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* -----------------------------
   Footer
----------------------------- */

.site-footer {
    display: none;
}

.site-footer a {
  color: var(--white);
    transition: opacity 0.7s all;
}

.site-footer a:hover {
  opacity: 0.7;
    transition: opacity 0.7s all;
}

.footer-widgets {
    height: 10vh;
    z-index: 1;
    position: relative;
}


.footer-widget-area .section {
    display: flex;
    align-items: center;
    height: 100%;
    
}

.footer-widgets .wrap {
  display: flex;
  width: 100%;
    max-width: none;
    justify-content: space-between

}

.footer-widgets-3 {
  margin-right: 20px;
    text-align: right;
    width: 33.333%;
}

.footer-widgets-2 {
  margin: 0 auto;
    text-align: center;
     width: 33.333%;
}

.footer-widgets-1 {
  margin-left: 20px;
     width: 33.333%;
}
#custom_html-2 div a {
    color: var(--white);
    text-decoration: none;
    font-size: 15px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  font-family: "EB Garamond", serif;
}


#custom_html-2 div a:hover {
  opacity: 0.7;
    transition: opacity 0.7s all;
}

.comma {
    margin-right: 7px;
}

#media_image-2 img {
    float: right;
    max-width: 250px !important;
}

#media_image-3 img {
max-width: 200px !important;
}


 #custom_html-2 div {
        display: inline-block;
    }


/* -----------------------------
   Utilities
----------------------------- */

.text-white { color: var(--white); }
.text-green { color: var(--green); }
.text-black { color: var(--black); }

.bg-green { background-color: var(--green); }
.bg-white { background-color: var(--white); }
.bg-black { background-color: var(--black); }

.hide { display: none !important; }
.centered { text-align: center; }

/* ================================
   SPLASH
================================ */

.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: opacity 1.2s ease;
}

.splash-screen.exit {
  opacity: 0;
  pointer-events: none;
}

/* Background */
.splash-bg {
  position: absolute;
  inset: 0;
  background-image: url('/wp-content/uploads/2025/12/sketch-oval.webp');
  background-repeat: no-repeat;
  background-position: center;
    opacity: 0.3;
  background-size: 867px;
  transform: scale(1.15);
  transition: transform 2.2s ease, background-image 1s ease;
}


/* Content */
.splash-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}

.splash-logo {
  max-width: 240px;
    margin: 0px auto 20px;
  transition: transform 1s ease, opacity 1s ease;
}

.splash-screen.exit .splash-logo {
  transform: translateY(-70px) scale(0.8);
  opacity: 0;
}

.splash-address {
  font-size: 15px;
    text-decoration: none !important;
  letter-spacing: 0.2em;
  text-transform: uppercase;
          font-family: "EB Garamond", serif;
  transition: opacity 0.8s ease;
    text-align: center;
}

.splash-screen.exit .splash-address {
  opacity: 0;
}



/* ================================
   HOME HERO (CONTENT-DRIVEN)
================================ */

.home .title-area {
    width: 100%;
    display: none;
    padding: 100px 0px;
}
.home-hero {
  min-height: 90vh;
  position: relative;
  display: flex;
    flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  padding: 120px 20px;
}

.home-hero img {
    width: 353.13px;
    margin: 0px auto 80px;
}

.home-hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('/wp-content/uploads/2025/12/manor-sketch-white-full-scaled.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  opacity: 0.03;
  z-index: 0;
}

.home-hero-inner {
  position: relative;
  z-index: 1;
  max-width: 730px;
  margin: 0 auto;
  color: var(--white);
}

.home-hero-inner p {
  font-family: "Bosca Light", serif;
    font-weight: 100;
    letter-spacing: 0.02rem;
}

.home-hero-inner a.button {
    margin-top: 20px;
    display: inline-block;
}

.home-copy {
  font-size: 21px;
  line-height: 37px;
}

.home-content {
  opacity: 0;
  transition: opacity 1s ease;
}

.home-content.active {
  opacity: 1;
  transition-delay: 0.7s; 
}

.home-content.active img {
  transition-delay: 0.2s;
}

.home-content.active .home-hero-inner {
  transition-delay: 0.3s;
}

/* ==============================
   FORM OVERLAY + MASK
============================== */
.form-overlay {
  position: fixed;
  inset: 0;
  background: rgba(20, 17, 17, 0.4); /* 40% #141111 */
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 9999;
}

/* When open */
body.form-open .form-overlay {
  opacity: 1;
  pointer-events: all;
}

/* ==============================
   POPUP CARD
============================== */
.form-popup {
  background: var(--white);
  width: 100%;
  max-width: 561px;
  padding: 48px 40px 40px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.25);
  transform: translateY(20px);
  transition: transform 0.35s ease;
}


/* Top image */
.form-popup::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 70px;
  background-image: url("/wp-content/uploads/2025/12/form-header.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* Bottom image (flipped) */
.form-popup::after {
  content: "";
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  height: 70px;
  background-image: url("/wp-content/uploads/2025/12/form-header.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transform: scaleY(-1);
}


/* Slide up slightly on open */
body.form-open .form-popup {
  transform: translateY(0);
}

/* ==============================
   CLOSE BUTTON
============================== */
.form-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  font-size: 20px;
    padding: 0px !important;
  cursor: pointer;
  color: #B8A187;
}

/* ==============================
   FORM TYPOGRAPHY
============================== */
h3#form-title {
  text-align: center;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
  text-transform: uppercase;
}


/* ==============================
   GRAVITY FORM RESET
============================== */
.form-popup .gform_wrapper {
  margin: 0;
}

.form-popup .gform_body {
  margin: 0;
}


/* ==============================
   INPUT FIELDS
============================== */
.form-popup input[type="text"],
.form-popup input[type="email"],
.form-popup input[type="tel"],
.form-popup textarea,
.form-popup select {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--black);
  padding: 6px 2px;
  font-size: 14px;
  color: #3f3a32;
  font-family: inherit;
  border-radius: 0;
  box-shadow: none;
}

/* Placeholder */
.form-popup ::var(--black) {
  color: #9d9588;
  opacity: 1;
}

/* Focus state */
.form-popup input:focus,
.form-popup textarea:focus,
.form-popup select:focus {
  outline: none;
  border-bottom-color: #6f6758;
}

#gform_confirmation_message_2 {
    margin: 0;
    font-family: 'Bosca Light', serif;
    font-weight: 100;
    text-align: center;
    color: var(--black);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
 font-size: 16px;
    line-height: 1.8;
}


/* ================================
   RESPONSIVE
================================ */

@media (max-width: 1024px) {
  .home-title { font-size: 72px; }
}

@media (max-width: 768px) {
  .home-title { font-size: 56px; }
}

@media (max-width: 480px) {
  .home-title { font-size: 42px; }
}


/* -----------------------------
   Responsive
----------------------------- */



@media (max-width: 1460px) {
  #custom_html-2 div {
        display: block;
    }
   
    
    .splash-address span {
        display: block;
    }
    
     
    .comma {
        display: none !important;
    }
}

@media (max-width: 1024px) {
  h1 { font-size: 2.4rem; }
  .section { padding: 70px 0; }
}

@media (max-width: 768px) {
  html { font-size: 18px; }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.7rem; }

  .section { padding: 50px 0; }
    
    
  
.footer-widgets {
    height: auto;
    }
    
 .footer-widgets .wrap {
        flex-wrap: wrap;
        flex-direction: column-reverse;
        justify-content: center;
    }

.footer-widgets-3 {
  margin: 0px auto;
    text-align: center;
    width: 100%;
}

.footer-widgets-2 {
  margin: 0px auto;
    text-align: center;
     width: 100%;
}
    
    .footer-widgets-2 {
        order: 1;
    }

.footer-widgets-1 {
  margin: 0px auto 30px;
     width: 100%;
    order: 1;
    text-align: center;
}
    
       #media_image-2 img {
        float: none;
        margin: 0px auto;
    }
    
    #media_image-3 img {
    margin: 0px auto;
}
    
    .footer-widgets-3 {
        margin-bottom: 20px;
    }
    
    
.home-hero img {
    width: 251px;
    margin: 0px auto 50px;
}
    
    
.home-hero {
    min-height: 73vh;
    padding: 40px;
}
    
    .gform_wrapper.gravity-theme .gform_fields {
    grid-row-gap: 0px;
    }
    
    .gform_wrapper.gravity-theme .gfield {
        margin-bottom: 8px;
    }
    
    #field_2_1 {
        margin-bottom: 0px;
    }
    
    .splash-bg {
  background-size: 90%;
        opacity: 0.7;
    }
    
    #custom_html-2 {
        max-width: 90%;
        margin: 0px auto 40px;
        line-height: 22px;
    }
    
    .splash-address {
        margin: 0px auto 40px;
        line-height: 22px;
}
    
    
    p {
        font-weight: 100 !important;
  font-size: 15px;
  line-height: 1.5;
}
    
    button, a.button, .wp-block-button__link, input[type="submit"] {
        padding: 17px 33px 22px;
    }
  
    
}

@media (max-width: 480px) {
  h1 { font-size: 1.7rem; }
}
