/*
Theme Name: EJ Web Design - RuckFit
Author: Eric Ranner
Author URI: https://dev.eranner.website
Descripton: A custom theme for Ruckfit Wellness.
Version: 1.0
License: GNU General Public License v2 or later
*/
@font-face {
    font-family: loopy;
    src: url('./assets/fonts/Italiana-Regular.ttf');
}

@font-face {
  font-family: banger;
  src: url('./assets/fonts/BigShoulders-Bold.ttf');
}
:root {
    --black: #0b0b0b;
    --gold: #FCCB00;
    --olive: #6d6a16;
    --dark-olive: #2b2f12;
    --white: #ffffff;
  
    --radius-lg: 24px;
    --radius-md: 16px;
  
    --shadow-soft: 0 20px 40px rgba(0,0,0,0.35);
  
    --font-serif: 'loopy', serif;
    --font-sans: 'Inter', system-ui, sans-serif;
  }
  #ruckfit-offcanvas-image {
    display:none;
  }

  body {
    margin: 0;
    background: var(--black);
    color: var(--white);
    font-family: var(--font-sans);
  }
  
  .hero {
    display: grid;
    grid-template-columns: 55% 45%;
    min-height: 100vh;
    position: relative;
  }
  
  .hero {
    display: grid;
    grid-template-columns: 55% 45%;
    min-height: 100vh;
    position: relative;
  }

  /* .hero-left {
    position: relative;
    background: */
      /* linear-gradient(180deg, rgba(0,0,0,0.25), rgba(0,0,0,0.85)), */
      /* url('./assets/Grace_edited.svg') center / cover no-repeat;
    padding: 4rem;
    display: flex;
    align-items: center;
  } */

  /* .hero-left {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 4rem;
    background-color: #0b0b0b;
  } */

  .hero-left {
    display: grid;
    grid-template-rows: auto 1fr;
    padding: 4rem;
    background-color: #000;
    position: relative;
  }
  

  .hero-text {
    z-index: 3;
    max-width: 520px;
  }
  
  .hero-text h1 {
    font-family: loopy;
    font-size: 3rem!important;
    line-height: 1.05;
    margin: 0;
    margin-top: 4rem;
  }
  .split-navbar {
    background: linear-gradient(
      90deg,
      #0b0b0b 0%,
      #0b0b0b 55%,
      #FCCB00 55%,
      #FCCB00 100%
    );
  }
  .brand-divider {
    height: 2px;
    width: 100%;
    background-color: #FCCB00;
    margin: 0;
  }
  .hero-left::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('./assets/Grace_edited.svg') no-repeat;
    background-size: contain;
    background-position: calc(50% + 5rem) top; /* shift 2rem right from center */
    z-index: 1;
    margin-top: 8rem;
  }

  #navbarOffcanvasLg .navbar-nav {
    flex-wrap: wrap;          /* allow items to wrap */
}


#navbarOffcanvasLg .nav-link {
    white-space: normal;      /* let text break if needed */
    margin:0;
    padding:0;
    color:black;
    font-weight:400;
    font-size:1.2rem;
}

.nav-link:hover{
  font-weight:bold!important;
  transition: linear .1s;
  color:white;
}

  /* .hero-image {
    align-self: end;
    max-height: 10vh;
    width: 50%;
    background-image: url('/path/to/coach.png');
    background-repeat: no-repeat;
    background-position: top right;
    background-size: contain;
    position: relative;
    margin-top: 2rem;
  } */

  .hero-image::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to top,
      rgba(0,0,0,0.9),
      rgba(0,0,0,0)
    );
  }
  .hero-left::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
      radial-gradient(
        circle at center,
        rgba(0,0,0,0) 35%,
        rgba(0,0,0,0.75) 100%
      );
    z-index: 2;
  }
  .hero-left h1 {
    font-family: var(--font-serif);
    font-size: clamp(3rem, 6vw, 5.5rem);
    line-height: 1.05;
    font-weight: 600;
    z-index:4;
    color: white;
  }
  
  .hero-left h1 span {
    display: block;
  }
  .hero-right {
    background: linear-gradient(
      180deg,
      var(--gold) 0%,
      #d6b300 35%,
      var(--olive) 100%
    );
    padding: 3rem 3rem 4rem;
    display: flex;
    flex-direction: column;
  }
  .hero-nav {
    text-align: right;
    font-size: 0.9rem;
    letter-spacing: 0.08em;
    color: var(--black);
    margin-bottom: 2rem;
  }
  .navlink {
    font-family:var(--font-sans);
    color:black;
  }
  .hero-nav a {
    color: inherit;
    text-decoration: none;
    margin-left: 1rem;
  }
  .services-title {
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: var(--white);
    margin-bottom: 2rem;
    margin-top: 4rem;
  }
  .services {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .service-card {
    background: var(--black);
    border-radius: var(--radius-lg);
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    box-shadow: var(--shadow-soft);
    transition: linear 1s;
    cursor: pointer;
  }
  
  .service-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gold);
    display: grid;
    place-items: center;
    flex-shrink: 0;
  }
  #navbar-holder {
    padding:1rem 1rem 1rem 1rem;
  }
  /* .service-icon img {
    background-image: url('./assets/dumbbell.svg');
    height:40px;
  } */
  
  /* .service-icon img {
    width: 26px;
    height: 26px;
  } */
  
  .service-text {
    font-size: 1.2rem;
    line-height: 1.35;
    color: white;
  }

  .service-text-adjustment {
    font-size:.8rem!important;
    color:black!important;
  }
  .services-more {
    margin-top: auto;
    text-align: right;
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    opacity: 1;
    color:white;
  }
  
  #ruckfit-logo-holder {
    display:flex; 
    flex-direction:column; 
    width:100%;
  }

  @media (max-width: 900px) {
    .hero {
      grid-template-columns: 1fr;
      padding-top: 50px;

    }
  

    .hero-left {
        padding: 2.5rem;
      }
    
      .hero-image {
        max-height: 40vh;
      }
  
    .services-more {
      font-size: 2.2rem;
    }
    .services-title {
      margin-top: 0;
    }
    #ruckfit-logo-holder {
      width: 60%;
    }

    .hero-left::before {
      background-size: 30%;
      /* background-position: calc(50% + 5rem) top; */
      margin-top: 2rem;
  }
    
  }
  @media (max-width: 800px) {
    .hero-left::before {
      background-size: 40%;
      /* background-position: center top; */
      background-position: calc(50% + 5rem) top;
  }
  }
  @media (max-width: 990px) {
    .hero-left::before {
      background-size: 40%;
      /* background-position: center top; */
      background-position: calc(50% + 5rem) top;
  }
  .nav-link {
    font-size: 1.75rem!important;
    /* margin-bottom: 1.5rem!important; */
  }
  #ruckfit-offcanvas-image {
    display:flex; 
    justify-content:center;
    width:100%;
    padding-bottom:1.5rem;
  }
  }
  @media (max-width: 600px) {
    .hero-left::before {
      background-size: 50%;
      /* background-position: center top; */
      background-position: calc(50% + 5rem) top;
  }
  }

  @media (max-width: 450px) {
    .hero-left::before {
      background-size: 80%;
      /* background-position: center top; */
      background-position: calc(50% + 5rem) top;
  }
  .hero-left h1 {
    font-size: 2.5rem!important;
  }

  @media (max-width: 485px) {
    .service-card {
      flex-direction:column;
    }
  }
}

@media (max-width: 500px) {
  .hero {
    padding-top: 60px;
  }
}

