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

html, body 
{
  /*
  height: 100%;
  */
  margin: 0;
  padding: 12px;
  font-family: sans-serif;
}
body {
  display: flex;
  background: #fff;
  /*
  align-items: center;
  justify-content: center;
  */
}

h1 {
    font-size: 2.5rem;
    margin-bottom:0;
}

h2 {
    font-size: 2.0rem;
}

#content {
    margin: 0;
    /*
    padding: 12px;
    */
    width: 100%;
    box-sizing: border-box;
}

.center-v {
    align-items: center;
  display: flex;
}

#top-nav {
  display: flex;
  align-items: center;
  /*
  justify-content: space-between;
  padding: 0 16px;
  background: #fff;
  */
  border-radius: 8px;
}

#logo  {
  font-weight: bold;
}

#logo img {
    height: 60px;
}

#menu-top {
  flex: 1;
  margin-left: 8px;
/*
background-color: #ff931f;
*/
color: white;
  padding: 0 20px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  height: 60px;
  justify-content: flex-end;
  font-size: 16px;
}



/* Menu visibility logic */
.menu-text {
  display: block;
}
.menu-hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
}


/* GENERAL SECTION LAYOUT */
.section {
  max-width: 1000px;
  margin: 80px auto;
  padding: 0 24px;
}

/* HERO-SPECIFIC BACKGROUND AND DIMENSIONS */
.hero-section {
  aspect-ratio: 2 / 1;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 24px;
  display: flex;
  align-items: center;
  
      /*********
      *
      * HERO IMAGE
      *
      **********/

  background-image: url('/img/ai-mechanic1.jpg'); /* solid */
  background-image: url('/img/ai-mechanic.jpg'); /* white fade */

}





.gradient-fill {
  background: linear-gradient(-45deg, #ff931f, lightsalmon, #ff931f, lightcoral, #ff931f);
    background-size: 400% 400%;
    animation: gradient 10s ease infinite;
}

@keyframes gradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}




/* Let the layout live here instead */
.hero-inner,
.usecase-feature {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  height: 100%;
  

  background-image: linear-gradient(to right, rgba(255,255,255,1), rgba(255,255,255,0));
}


/* Text and image columns */
.hero-text, .usecase-text {
  flex: 1 1 300px;
}

.hero-image, .usecase-image {
  flex: 1 1 300px;
  display: flex;
  justify-content: flex-end; /* align right horizontally */
  align-items: center;       /* center vertically */
}

.hero-image img,
.usecase-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  display: block;
}


#logos .logo-bar {
  display: flex;
  justify-content: center;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.logo-bar img {
  height: 20px;
  /*
  max-width: 100px;
  */
  object-fit: contain;
}

#use-cases h2 {
  text-align: center;
  margin-bottom: 24px;
}

.use-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.use-buttons button {
  padding: 10px 16px;
  font-size: 1rem;
  border: none;
  border-radius: 6px;
  background-color: #ff931f;
  color: #fff;
  cursor: pointer;
}

button {
  background-color: #ff931f;
  color: white;
  padding: 10px 16px;
  border: none;
  border-radius: 6px;
  margin: 8px 8px 0 0;
  cursor: pointer;
}

/* CTA 1: Solid Orange */
.cta1 {
  background-color: #ff931f;
  color: #fff;
  border: 2px solid white;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.cta1:hover {
  background-color: #B7681A;
  /*
  transform: translateY(-1px);
  */
}

.cta1.selected {
  background-color: #c96d0f;
}

/* CTA 2: Orange Outline */
.cta2 {
  background-color: transparent;
  color: #111;
  border: 2px solid white;
  padding: 10px 20px;
  font-weight: bold;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.1s ease;
}

.cta2:hover {
  background-color: #FFFDC0;
  /*
  transform: translateY(-1px);
  */
}

.cta2.selected {
  background-color: #ff931f;
  color: #fff;
  border-color: #c96d0f;
}

/* Breakpoint: under 700px */
@media (max-width: 700px) {
  .hero-inner,
  .usecase-feature {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text,
  .usecase-text,
  .hero-image,
  .usecase-image {
    justify-content: center;
  }


  .use-buttons {
    flex-direction: column;
  }

  .hero-text button,
  .usecase-text button {
    width: 100%;
  }
  
  .menu-text {
    display: none;
  }
  .menu-hamburger {
    display: block;
  }
}