/*
Theme Name: SHS v.1.1.1
Theme URI: 
Author: Virtual Corners, LLC
Author URI: 
Description: WordPress theme designed for Signature Hospitality Solutions.
Requires at least: 6.8
Tested up to: 6.8
Requires PHP: 5.7
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: shs-v-1-1-1
Tags: 

/* Theme tokens */

/* Theme tokens */
:root {
  --shs-white-rgb-val: 245, 245, 245;
  --shs-white-rgb: rgb(245, 245, 245);
  --shs-black-rgb-val: 34, 34, 34;
  --shs-black-rgb: rgb(34, 34, 34);
}

/* Dark/Light themes */
:root,
:root[data-theme="dark"] {
  --wp--preset--color--primary-text: var(--shs-white-rgb);
  --wp--preset--color--negative-text: var(--shs-black-rgb);
  --wp--preset--color--mode-muted: rgba(var(--shs-white-rgb-val), 0.6);

  --shs-color-primary-text-val: var(--shs-white-rgb-val);
}


:root[data-theme="light"] {
  --wp--preset--color--primary-text: var(--shs-black-rgb);
  --wp--preset--color--negative-text: var(--shs-white-rgb);
  --wp--preset--color--mode-muted: rgba(var(--shs-black-rgb-val), 0.6);

  --shs-color-primary-text-val: var(--shs-black-rgb-val);
}

/* Link Definitions */
a:hover,
a:active,
a:focus,
a:focus-visible {
  text-decoration: none;
}

/* give the current menu item a bottom border */
.current-menu-item > a {
    border-bottom: 2px solid var(--wp--preset--color--orange);
}

/* remove underline from service card group links */
.shs-service-card > a.wp-block-tiptip-hyperlink-group-block {
  text-decoration: none;
}

/* Form Definitions */
.shs-contact-form-container {
  max-width: 600px;
}

.shs-contact-form-container .jet-form-builder__label {
  position: relative;
}

.shs-contact-form-container .jet-form-builder__label-text {
  color: rgba(var(--shs-color-primary-text-val), 0.6);
  left: 0.5rem;
  margin: 0;
  pointer-events: none;
  position: absolute;
  top: 0.7rem;
  transform-origin: left top;
  transition: all 0.2s ease;
}

.shs-contact-form-container input,
.shs-contact-form-container textarea {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(var(--shs-color-primary-text-val), 0.2);
  border-radius: 0;
  color: var(--shs-color-primary-text-val);
  font-size: 1rem;
  padding: 1.25rem 0.5rem 0.5rem;
}

.shs-contact-form-container textarea {
  min-height: 6rem;
}

.shs-contact-form-container input:focus,
.shs-contact-form-container textarea:focus {
  outline: none;
  border-bottom: 2px solid var(--wp--preset--color--teal);
}

.shs-contact-form-container
  .jet-form-builder-row.field-type-text-field:has(.jet-form-builder__field-wrap :is(input:not(:placeholder-shown)))
  .jet-form-builder__label-text,
  .jet-form-builder-row.field-type-textarea-field:has(.jet-form-builder__field-wrap :is(textarea:not(:placeholder-shown)))
  .jet-form-builder__label-text,
  .shs-contact-form-container .jet-form-builder-row.field-type-text-field:focus-within .jet-form-builder__label-text,
  .shs-contact-form-container .jet-form-builder-row.field-type-textarea-field:focus-within .jet-form-builder__label-text{
  color: var(--wp--preset--color--teal);
  font-size: 0.75rem;
  transform: translateY(-0.7rem);
}

.shs-contact-form-container .jet-form-builder__submit-wrap {
  display: contents;
}

.shs-contact-form-container .jet-form-builder__action-button {
    background-color: var(--wp--preset--color--orange);
    border-radius: 16px;
    box-shadow: var(--wp--preset--shadow--natural);
    color: var(--wp--preset--color--white);
    font-style: normal;
    font-weight: 600;
    justify-content: center;
}

/* Footer Definitions */
footer .wp-block-page-list a {
  text-decoration: none;
  border-bottom: none;
}

footer .wp-block-page-list a:hover {
  text-decoration: underline;
}

@media (max-width: 540px) {
  :root {
    --wp--preset--font-size--heading-large: 4rem;
  }

  .custom-logo {
    display: none;
  }  

  .wp-block-site-title {
    text-align: center;
  }

  .shs-hero-container {
    text-align: center;
  }  
}
