@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url("https://use.typekit.net/ofo5hjd.css");

@keyframes spin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

:root {
  --font-primary: 'Poppins', sans-serif;
  --font-secondary: "larken", sans-serif;

  --font-size-xs: 14px;
  --font-size-s: 16px;
  --font-size-logo: 20px;
  --font-size-m: 24px;
  --font-size-l: 32px;
  --font-size-xl: 40px;

  --thin-weight: 100;
  --extralight-weight: 200;
  --light-weight: 300;
  --regular-weight: 400;
  --medium-weight: 500;
  --semibold-weight: 600;
  --bold-weight: 700;

  --dark-green: #484C41;
  --dark-gray: #2C2824;
  --light-gray: #858585;
  --ultra-light-gray: #F0EEEA;
  --beige: #EDE9DE;
  --ultra-light-beige: #F9F6ED;
  --off-white: #fffffd;
  --vintage-yellow: #E4C527;

  --header-logo: normal normal var(--light-weight) var(--font-size-logo)/1.5 var(--font-secondary);
  --header-a: normal normal var(--thin-weight) var(--font-size-xs)/1 var(--font-secondary);
  --h1: normal normal var(--thin-weight) var(--font-size-xl)/1.5 var(--font-secondary);
  --h2: normal normal var(--thin-weight) var(--font-size-l)/1.5 var(--font-secondary);
  --h3: normal normal var(--thin-weight) var(--font-size-m)/1.5 var(--font-secondary);
  --h4: normal normal var(--thin-weight) var(--font-size-s)/1.5 var(--font-secondary);
  --p: normal normal var(--light-weight) var(--font-size-xs)/1.5 var(--font-secondary);

  --grid-step: 24px;
}



/*font start*/
    h1 {
        font: var(--h1)
    }

    h2 {
        font: var(--h2);
    }

    h3 {
        font: var(--h3);
    }

    h4 {
      font: var(--h4);
      margin: 0;
  }

    .logo {
        font: var(--header-logo);
        text-decoration: none;
        color: var(--dark-gray);
    }

    p {
        font: var(--p);
        color: var(--dark-gray);
    }

    a {
      font: var(--p);
      color: var(--dark-gray);
    }

    nav a {
        font: var(--header-a);
        color: var(--dark-gray);
        text-decoration: none;
        padding: 8px 0px 8px 0px;
        border-bottom: 1px solid transparent;  
    }
/*font end*/



/*body start*/
  html {
    scroll-behavior: smooth;
  }

  body {
    font-family: var(--font-secondary);
    color: var(--dark-gray);
    width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    margin:0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: var(--off-white);
    background-image: url("./assets/paper_grain_texture.png");
  }

  body.locked {
    overflow: hidden;
    position: fixed;
    width: 100%;
  }

  main {
    flex: 1;
    min-height: calc(100vh - 100px); 
    overflow: hidden;
    position: relative;   
  }
/*body end*/


/*header start*/
  header, main, footer, section {
    position: relative;
    z-index: 1;
  }

  header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
    width: 100%;
    box-sizing: border-box;
    padding: 24px 32px;
  }

  header .leftLinks, header .rightLinks {
    flex: 1;
  }

  header .rightLinks {
    text-align: right;
  }

  header .leftLinks {
    text-align: left;
  }

  header .logo {
    text-align: center;
  }

  header .leftLinks {
    display: flex;
    flex-direction: row;
    gap: 16px;
  }

  header nav a {
      position: relative;
  }

  header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: .8px;
    background-color: var(--light-gray);
    transition: width 0.8s ease; /* Animate the width */
  }


  header nav a:hover::after {
    width: 100%;
  }

  header nav a.active {
    color: var(--light-gray);
  }

  header nav a.active::after {
    width: 100%;
    background-color: var(--light-gray);
  }

  header nav a:hover {
    color: var(--light-gray);
  }

  header nav a.active {
    color: var(--light-gray);
  }
/*header end*/

.brand-imagery {
    width: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-image: url("./assets/businesscard.jpg");
}

/*right side*/
  section.container {
      display: grid;
      justify-content: center;
      width: 100%;
      height: 100vh;
      grid-template-columns: 1fr 1fr;
      box-sizing: border-box;
      align-items: stretch;
      border-top: 1px solid var(--light-gray);
      border-bottom: 1px solid var(--light-gray);
      
  }

  .content {
      display: flex;
      flex-direction: column;
      margin: 40px;
      gap: 24px;
      min-width: 0;
  }



/* button start*/
  button {
    font: var(--header-a);
    border: none;
    text-align: center;
    width: fit-content;
    cursor: pointer;
    position: relative;
  }

  button.processing {
    cursor: none;
  }

  .spinner {
    display: none;
    width: 8px;
    height: 8px;
    border: 1.5px solid white;
    border-top-color: var(--dark-gray);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
  }

  /*processing*/
  button.processing .buttonText {
    visibility: hidden;
  }

  button.processing .spinner {
    display: inline-block;
    position: absolute;
    left: 50%;
    top: 50%;
    animation: spin 0.8s linear infinite;
  }

  .primary {
    color: var(--off-white);
    background-color: var(--dark-gray);
  }

  .secondary {
    color: var(--dark-gray);
    background-color: var(--off-white);
  }

  .ghostPrimary {
    border: 1px solid var(--dark-gray);
    background-color: transparent;
    color: var(--dark-gray);
  }

  .ghostSecondary {
    border: 1px solid var(--off-white);
    background-color: transparent;
    color: var(--off-white);
  }

  .small {
    padding: 16px 24px 16px 24px;
  }

  .medium {
    padding: 24px 32px 24x 32px;
  }
/* button end*/

  .buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    gap: 40px;
  }

/*intro section start*/
  .contact-info {
      display: flex;
      flex-direction: column;
      align-items: start;
      gap: 16px;
  }

  .contact-info h4, .contact-info p {
      margin: 0;
  }

  .info {
      display: flex;
      flex-direction: column;
      gap: 16px;
  }
/*intro section end*/


/*form starts*/
  .contact-form {
    display: flex;
    flex-direction: column;
  }

  .field-container {
    display: none;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
  }

  .field-container.is-active {
    display: flex;
  }
  
  .text-field {
    display: flex;
    flex-direction: column;
    border-bottom: .5px solid var(--dark-gray);
    min-width: 0;
  }
  
  label {
    font: var(--p);
  }

  input {
    background: transparent;
    border: 0;
    padding: 8px 0 8px;
    font: var(--p);
    color: var(--dark-gray);
    outline: none;
  }


/*form end*/

/* step 2*/
    .options {
      display: flex;
      flex-direction: row;
      gap: 24px;

    }

    .column3 {
      display: flex;
      flex-direction: column;
    }

    .check-option {
      margin-bottom: 8px;

    }

    .answer {
      margin-bottom: 8px;
    }

    .pickDate {
      display: flex;
      justify-content: space-between;
      gap: 16px;
    }
  
    
    .calendar select{
      width: 100%;
      background: transparent;
      border: 0;
      border-bottom: .5px solid var(--dark-gray);
      padding: 0 0 8px;
      font-size: 20px;
      color: var(--dark-gray);
      outline: none;
    }

  /*text area*/
  textarea {
    font: var(--p);
    color: var(--dark-gray);
    border: 1px solid var(--dark-gray);
    background-color: transparent;
  }
   
    

/*footer*/
  .footer {
    width: 100%;
    right: 0;
    background-color: var(--dark-gray);
  }

  .footer1 {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    background-color: var(--off-white);
    padding: 32px;
  }

  .footer1 nav a {
    color: var(--dark-gray);
    position: relative;
  }

  .footer1 nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: .8px;
    background-color: var(--underline-color, currentColor);
    transition: width 0.8s ease;
  }

  .footer1 nav a:hover::after {
    width: 100%;
  }

  /* optional: if you ever add .active to footer links too */
  .footer1 nav a.active::after {
    width: 100%;
  }

  .footer1 nav {
    display: flex;
    justify-content: space-between;
    gap: 24px;
  }


  .footer2 {
    text-align: right;
    padding-right: 32px;
    padding-left: 32px;
  }

  .copyright {
    font-family: var(--font-secondary);
    font-size: 12px;
    color: var(--off-white);
    font-weight: var(--thin-weight);
  }


  .copy-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
  }

  .copy-target {
    cursor: pointer;
    font: var(--header-a);
  }

  .copy-tooltip {
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%) translateY(6px);
    font: var(--header-a);
    letter-spacing: 0.04em;
    color: var(--off-white);
    background: var(--dark-gray);
    padding: 8px;

    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
  }

  .copy-wrap.show-tooltip .copy-tooltip {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }


  
/* Mobile Starts */

  a.open-menu, .menuPanel, .close-button {
    display: none; /*hide mobile stuff on desktop*/
  }

  @media (max-width: 768px) {
    body.menu-open {
      overflow: hidden;
    }

    /* turn off desktop navigation */
    header .leftLinks,
    header .rightLinks {
      display: none;
    }

    /* mobile menu starts */
    a.open-menu {
      display: block;
      font: var(--header-a);
      color: var(--dark-gray);
      text-decoration: none;
    }

    .menuPanel {
      position: fixed;
      top: 0;
      right: -800px;
      width: 100%;
      height: 100vh;
      z-index: 10;
      background-color: var(--dark-gray);
      display: flex;
      flex-direction: column;
      flex: 1;
      gap: 32px;
      padding: 32px;
      box-sizing: border-box;
      transition: right .3s ease;
    }

    .menuPanel a  {
      font-family: var(--font-secondary);
      font-size: var(--font-size-s);
      gap: 32px;
      color: white;
      text-align: center;
      text-decoration: none;
    }

    .menuPanel.open {
      right: 0;
    }

    .close-button {
      display: inline-block;
      position: absolute;
      right: 0;
      width: 1em;
      right: 32px;
      cursor: pointer;
    }

    .menuPanel-items {
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 32px;
      flex: 1;
    }

    .menuPanel button {
      padding: 40px 24px 40px 24px;
      width: 100%;    
      margin: 0 32px;
      border: none;
    }

    .menuPanel button a{
      font: var(--header-a);
      color: var(--dark-gray);
    }
    /*mobile menu ends*/

    .calendar{ grid-template-columns: 1fr; }

    section.container {
      display: grid;
      justify-content: center;
      width: 100%;
      grid-template-columns: 1fr;
      grid-template-rows: auto;
      height: auto;
      box-sizing: border-box;
      align-items: stretch;
      border-top: 1px solid var(--light-gray);
      border-bottom: 1px solid var(--light-gray);
    }

    .brand-imagery {
      min-height: 60vh; 
      width: 100%;
      background-position: center;
      background-size: cover;
    }

    textarea {
      background: transparent;
      border: 0;
      padding: 8px 0;
      font: var(--p);
      color: var(--dark-gray);
      outline: none;
      resize: vertical;
      min-height: 120px;
    }

    

    /*footer start*/
    .footer1 {
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 16px;
    }

    .footer1 nav{
      flex-direction: column;
      align-items: center;
      text-align: center;
      gap: 16px;
    }

    .footer2 {
      text-align: center;
    }
    /*footer end*/
}



  
   
 