/*
Theme Name: GreenStreet
Theme URI:
Author:
Author URI:
Description:
Requires at least: 6.6
Tested up to: 6.6
Requires PHP: 7.0
Version: 1.4
License: Unlicensed
Text Domain: greenstreet
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, block-patterns, rtl-language-support, sticky-post, threaded-comments, translation-ready, wide-blocks, block-styles, style-variations, accessibility-ready, blog, portfolio, news
*/

html {
  scroll-behavior: smooth;
}

body {
  overscroll-behavior: none;
}

main {
  transition:
    background-color 200ms ease-in-out,
    background-image 200ms ease-in-out;
}

main.dark {
  background-color: var(--wp--preset--color--contrast);
  color: var(--wp--preset--color--base);
  h2,h3,a,figcaption {
    color: var(--wp--preset--color--base);
  }
  .wp-block-button.is-style-outline > .wp-block-button__link:not(.has-text-color, .has-background):hover {
    background-color: var(--wp--preset--color--base);
    color: var(--wp--preset--color--contrast);
  }
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance !important;
}

body .wp-block-navigation__responsive-container-open:not(.always-shown) {
	display: block !important;
}
body .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
	display: none !important;
}

@media (min-width: 735px) {
	body .wp-block-navigation__responsive-container-open:not(.always-shown) {
		display: none !important;;
	}
	body .wp-block-navigation__responsive-container:not(.hidden-by-default):not(.is-menu-open) {
		display: block !important;
	}
}

ul.main-navigation {
  @media screen and (max-width: 734px) {
    padding-left: var(--wp--preset--spacing--30);
    padding-right: var(--wp--preset--spacing--30);
  }
}

.home-header {
  justify-content: space-between;
}

.home-header h1 {
  font-size: 12vw;
  @media (max-width: 781px) {
    font-size: 17.5vw;
  }
}

.intro-columns {
  gap: 5rem !important;
}

.sticky-nav {
  position: relative;
  flex: 0 0 215px !important;
}

.sticky-nav > div {
  top: 2rem;
  padding-top: 0.3rem;
  height: calc(100vh - 2rem - 0.3rem);
  position: sticky;
  @media (max-width: 781px) {
    display: none;
  }
}

.admin-bar .sticky-nav > div {
  top: calc(2rem + 32px);
  height: calc(100vh - 2rem - 0.3rem - 32px);
}

.main-column {
  flex: 0 1 100% !important;
  max-width: 100%;
}

.hidden {
  display: none !important;
}

.balance {
  text-wrap: balance !important;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0px, 0px, 0px, 0px);
  white-space: nowrap;
  border-width: 0px;
}

.social-icon {
  display: inline-block;
  font-size: 2rem;
}

.no-underline {
  text-decoration: none;
}

/* span[class^="icon-"]:before {
  text-decoration: none;
} */

.sticky-nav a.active {
  font-weight: bold;
  text-decoration: underline;
  pointer-events: none;
}

a.hover-scale {
  display: inline-block;
}

.hover-scale {
  cursor: pointer;
  transition: transform 300ms ease;
}

.hover-scale:hover {
  transform: scale(1.1);
}

.wp-block-cloudcatch-light-modal-block__wrapper{
  margin: 0 !important;
  background: rgba(0, 0, 0, 0.5);
}

figure.home-directory figcaption {
  font-size: 1.5rem;
  text-wrap: balance;
}

figure.home-directory img {
  transition: transform 300ms ease;
}

figure.home-directory img:hover {
  transform: scale(1.05);
}

figure.home-directory figcaption a {
  text-decoration: none;
}

figure.home-directory figcaption a:hover {
  text-decoration: underline;
}

.wpcf7-form {
  padding: 0.5em;
}

.wpcf7-form input {
  box-sizing: border-box;
  font-family: var(--wp--preset--font-family--body);
  font-size: var(--wp--preset--font-size--medium);
  border-radius: 2em;
  padding: 0.25em 0.5em;
}

.wpcf7-form input.full {
  width: 100%;
}

.wpcf7-form input[type="submit"] {
  border-radius: 2em;
  background: var(--wp--preset--color--contrast);
  color: var(--wp--preset--color--base);
  width: auto;
  padding: 0.5em 1.25em;
}

.wp-site-blocks footer {
  margin-top: 0;
}
/* Start Holidaze changes */
main.holidaze {
  background-color: var(--wp--preset--color--contrast);
  background-image:url('/wp-content/uploads/2025/10/holidaze-hero-background.webp');
  background-repeat: no-repeat;
  background-position: bottom center;
  background-attachment: fixed;
  background-size: 100% 100%;
  color: var(--wp--preset--color--base);
  h2,h3,a,figcaption {
    color: var(--wp--preset--color--base);
  }
}

.holidaze-header {
  position: relative;
  overflow: hidden;
  .holidaze-logo {
    width: 100%;
    height: auto;
    position: relative;
  }
  /* h1 {
    font-size: 20vw;
    line-height: 0.7;
    @media (max-width: 781px) {
      font-size: 12vw;
    }
    .line {
      white-space: preserve nowrap;
    }
  } */

  .ball {
    position: absolute;
    top: 0;
    left: auto;
    right: 7vw;
    width: 24vw;
    @media screen and (max-width: 781px) {
      width: 26vw;
    }
  }

  .big-star {
    position: absolute;
    top: 9%;
    left: auto;
    right:35vw;
    img {
      width: 100%;
      height: auto;
    }
  }

  .small-star-left {
    position: absolute;
    top: 32%;
    left: 18vw;
    img {
      width: 100%;
      height: auto;
    }
  }

  .small-star-right {
    position: absolute;
    top: 40%;
    left: auto;
    right: 2vw;
    img {
      width: 100%;
      height: auto;
    }
  }

  .small-star-snow {
    position: absolute;
    top: 65%;
    left: auto;
    right: 33vw;
    img {
      width: 100%;
      height: auto;
    }
  }

  .wp-block-columns {
    width: 100%;
    > div {
      width: auto;
      flex: 1 1 auto;
    }
    .fit-content {
      flex-grow: 0;
      flex-basis: fit-content;
    }
  }

  @media screen and (max-width: 781px) {
    h1 {
      font-size: 36vw;
    }
    .has-text-align-right {
      text-align: left !important;
    }
    .fit-content {
      order: 1;
    }
    .star {
      display: none;
    }
  }
}

.reservation-section {
  position: relative;
  overflow: hidden;

  .arc-text {
    position: absolute;
    top: 0;
    left: 40%;
    width: 40%;
  }

  .small-star {
    position: absolute;
    top: 9%;
    left: 55%;
    img {
      width: 100%;
      height: auto;
    }
  }

  .big-star {
    position: absolute;
    top: 37%;
    left: 0;
    width: 4em;
    img {
      width: 100%;
      height: auto;
    }
  }

  .snow-star {
    position: absolute;
    top: 79%;
    left: 55%;
    width: 3em;
    img {
      width: 100%;
      height: auto;
    }
  }

  .seven-star {
    position: absolute;
    top: 85%;
    left: 10%;
    img {
      width: 100%;
      height: auto;
    }
  }

  @media screen and (max-width: 781px) {
      .star {
        display: none;
      }
  }
}

.holidaze-section {
  overflow: hidden;
}

.bar-row {
  .wp-block-media-text__content {
    padding-right: 0 !important;
  }

  p span {
    vertical-align: middle;
  }

  .giant-text {
    font-size: 6.5vw;
    line-height: 0.72;
    margin-right: 1.5rem;
  }

  .little-text {
    display: inline-block;
  }

  + .bar-row {
    border-top: 1px solid;
  }

  @media screen and (max-width: 781px) {
    .giant-text {
      font-size: 10vw;
      line-height: 0.9;
    }
    .little-text {
      display: block;
      margin-left: 0;
      margin-top: 0.5em;
    }
  }
}

details.holidaze-faq {
  width: 100%;
  margin: 0;
  padding: 2em 0;
  border-bottom: 1px solid;
  font-size: 1.5rem;

  summary {
    display: flex;
    cursor: pointer;
    position: relative;
    padding-right: 2em;
    appearance: none;
    font-size: 2rem;
    user-select: none;
    outline: none;
  }

  summary::before {
    display: inline-block;
    content: '';
    position: absolute;
    right: 17px;
    top: 0;
    width: 1px;
    height: 35px;
    background-color: currentColor;
    transition: rotate 200ms ease-in-out;
  }

  summary::after {
    display: inline-block;
    content: '';
    position: absolute;
    right: 0;
    top: 17px;
    width: 35px;
    height: 1px;
    background-color: currentColor;
    transition: rotate 200ms ease-in-out;
  }

  &[open] summary::before {
    rotate: 90deg;
  }

  &[open] summary::after {
    rotate: 180deg;
  }

  /* summary:hover {
    text-decoration: underline;
  } */

  p {
    margin-top: 0.5em;
  }

  p,ul,ol {
    max-width: 950px;
  }

  ol {
    padding-left: 2em;
  }

  ul {
    padding-left: 1em;
  }
}
/* End Holidaze changes */
