
/* =========================================================
BO - Main Page 
========================================================= */

.main {
}

/*Bildslider container*/
#home {
    padding: 0;
}

/*Bildsliderns bild container*/
.top-background-img {
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    background-repeat: no-repeat;
}

/*Bildslider i boxedläge*/
.top-background-boxed {
    display: table;
}

    /*Inställning för mobil*/
    @media (max-width: 767px) {
        .top-background-boxed {
            width: 100%;
        }
    }

/*HTML sektion innehåller presentationstext till bildslider*/
.home-container {
    padding-top: 10%;
    padding-bottom: 30%;
}

/*HTML sektion 1*/
.main-container1 {
	padding:0px;
	overflow:hidden;
}

/*HTML sektion 2*/
.main-container2 {
}

/*HTML sektion 3*/
.main-container3 {
}

/*HTML sektion 4*/
.main-container4 {
}

/*HTML sektion 5*/
.main-container5 {
}

/*HTML sektion 6*/
.main-container6 {
}

/*Sektion senastefordon*/
.main-container7 {
}

/*Sektion lagerlista*/
.main-container8 {
}

/*Sektion personal*/
.main-container9 {
}

/*Sektion kontakt*/
.main-container10 {
}

/*Sektion karta*/
.main-container11 {
}


 .lux-hero{
    position: relative;
    min-height: 78vh;
    display: grid;
    place-items: center;
    overflow: hidden;
    color: #fff;
    background: #0b0b0c; /* fallback */
  }

  .lux-hero__bg{
    position: absolute;
    inset: 0;
    background:
      radial-gradient(1000px 500px at 20% 30%, rgba(255,255,255,0.10), transparent 60%),
      linear-gradient(180deg, rgba(0,0,0,0.70), rgba(0,0,0,0.45)),
      /* Byt bilden här (lyxig bygg/arkitektur) */
      url("https://images.unsplash.com/photo-1503387762-592deb58ef4e?auto=format&fit=crop&w=2400&q=80")
      center/cover no-repeat;
    transform: scale(1.02);
    filter: saturate(0.95) contrast(1.05);
  }

  .lux-hero__inner{ position: relative; z-index: 1; }

  .lux-hero__content{
    max-width: 860px;
    padding: 96px 0;
  }

  .lux-hero__kicker{
    margin: 0 0 14px 0;
    font-size: 12px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgb(246 127 2);
  }

  .lux-hero__title{
    margin: 0 0 14px 0;
    font-weight: 900;
    letter-spacing: -0.03em;
    line-height: 1.03;
    font-size: clamp(42px, 5.4vw, 72px);
  }

  .lux-hero__lead{
    margin: 0;
    max-width: 720px;
    color: rgba(255,255,255,0.82);
    line-height: 1.8;
    font-size: 1.05rem;
  }

  .lux-hero__actions{
    margin-top: 26px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
  }

  /* Lyxknappar (ingen gul) */
  .lux-btn{
    border-radius: 999px;
    padding: 12px 18px;
    font-weight: 700;
    letter-spacing: -0.01em;
    border: 1px solid rgba(255,255,255,0.22);
    backdrop-filter: blur(10px);
  }

  .lux-btn--primary{
	background: rgb(255 131 0 / 95%);
    color: #ffffff;
    border-color: rgb(255 131 0 / 95%);
  }

  .lux-btn--primary:hover{
    background: #fff;
    color: #0b0b0c;
  }

  .lux-btn--ghost{
    background: rgba(10,10,12,0.20);
    color: rgba(255,255,255,0.92);
  }

  .lux-btn--ghost:hover{
    background: rgba(10,10,12,0.35);
    color: #fff;
    border-color: rgba(255,255,255,0.35);
  }

  /* Modal */
  .lux-modal{
    border-radius: 18px;
  }

  .lux-modal__lead{
    color: rgba(17,17,17,0.70);
    line-height: 1.7;
  }
  
 :root{
  --lux-a: #7c3aed;  /* lila */
  --lux-b: #06b6d4;  /* cyan */
  --lux-c: #22c55e;  /* grön touch */
}





.build-sectionhead__title{
  font-weight: 900;
  letter-spacing: -0.02em;
}

.build-sectionhead__lead{
  color: rgba(17,17,17,0.65);
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto;
}

/* Card */
.build-servicecard{
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.10);
  background: #fff;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.build-servicecard__img{
  height: 200px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.28)),
    var(--service-bg) center/cover no-repeat;
}

.build-servicecard__body{
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.build-servicecard__title{
  margin: 0;
  font-weight: 900;
  letter-spacing: -0.02em;
}

.build-servicecard__text{
  margin: 0;
  color: rgba(17,17,17,0.70);
  line-height: 1.7;
}

.build-servicecard__link{
  margin-top: auto;
  color: rgba(17,17,17,0.90);
  text-decoration: none;
  border-bottom: 1px solid rgba(17,17,17,0.25);
  width: fit-content;
  padding-bottom: 2px;
}

.build-servicecard__link:hover{
  border-bottom-color: rgba(17,17,17,0.55);
}

/* Head */
.build-process__kicker{
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.55);
  margin: 0;
}

.build-process__title{
  font-weight: 900;
  letter-spacing: -0.02em;
}

.build-process__kicker{
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(17,17,17,0.55);
  margin: 0;
}

.build-process__title{
  font-weight: 900;
  letter-spacing: -0.02em;
}

/* CLEAN cards */
.build-step{
  height: 100%;
  text-align: left;               /* cleanare än centrerat */
  padding: 18px 18px;
  border-radius: 16px;
  border: 1px solid rgba(17,17,17,0.10);
  background: #fff;
  box-shadow: none;
}

/* Ta bort alla pseudo-effekter om du hade dem innan */
.build-step::before,
.build-step::after{
  content: none !important;
}

/* Icon row */
.build-step__icon{
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  margin: 0 0 12px 0;

  background: rgba(17,17,17,0.04);
  border: 1px solid rgba(17,17,17,0.08);
}

/* Icon */
.build-step__svg{
  width: 22px;
  height: 22px;
  color: rgba(17,17,17,0.88);
}

/* Title + text */
.build-step__title{
  margin: 0 0 6px 0;
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 16px;
  color: rgba(17,17,17,0.92);
}

.build-step__text{
  margin: 0;
  color: rgba(17,17,17,0.66);
  line-height: 1.65;
  font-size: 14px;
  max-width: 32ch;
}

/* Ingen hover-effekt (om något gammalt ligger kvar) */
.build-step--hover,
.build-step--hover:hover{
  transform: none !important;
  box-shadow: none !important;
  border-color: rgba(17,17,17,0.10) !important;
}

.build-step--hover:hover .build-step__icon,
.build-step--hover:hover .build-step__svg{
  transform: none !important;
  filter: none !important;
}


.build-projectslider__title{
  font-weight: 900;
  letter-spacing: -0.02em;
}

.build-projectslider__lead{
  color: rgba(17,17,17,0.65);
  line-height: 1.7;
}

.build-projectslider__more{
  color: rgba(17,17,17,0.90);
  text-decoration: none;
  border-bottom: 1px solid rgba(17,17,17,0.25);
  padding-bottom: 2px;
  white-space: nowrap;
}

.build-projectslider__more:hover{
  border-bottom-color: rgba(17,17,17,0.55);
}

/* Carousel “card” */
.build-carousel{
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.10);
  background: #000;
}

.build-carousel__card{
  display: block;
  position: relative;
  text-decoration: none;
  color: #fff;
}

/* Bilden måste kunna blur/animera snyggt */
.build-carousel__img{
  height: 420px;
  object-fit: cover;
  filter: saturate(0.95) contrast(1.05);
  transform: scale(1.01);
  transition: filter 260ms ease, transform 420ms ease;
  will-change: filter, transform;
}

/* Overlay blir nu en “container” för meta + hovertext */
.build-carousel__overlay{
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.06), rgba(0,0,0,0.62));
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 18px 18px 22px 18px;
  transition: background 260ms ease;
}

.build-carousel__meta{
  width: 100%;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.build-carousel__name{
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 20px;
}

.build-carousel__tag{
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
}

/* Hover text: hidden until hover */
.build-carousel__hovertext{
  margin-top: 12px;
  max-width: 680px;

  opacity: 0;
  transform: translateY(10px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.build-carousel__hovertitle{
  margin: 0 0 6px 0;
  font-weight: 900;
  letter-spacing: -0.01em;
  font-size: 16px;
  color: rgba(255,255,255,0.95);
}

.build-carousel__hoverdesc{
  margin: 0;
  color: rgba(255,255,255,0.84);
  line-height: 1.7;
}

/* Hover effect: blur background image + show text */
.build-carousel__card:hover .build-carousel__img{
  filter: blur(5px) brightness(0.78) saturate(0.9);
  transform: scale(1.05);
}

.build-carousel__card:hover .build-carousel__overlay{
  background: linear-gradient(180deg, rgba(0,0,0,0.16), rgba(0,0,0,0.74));
}

.build-carousel__card:hover .build-carousel__hovertext{
  opacity: 1;
  transform: translateY(0);
}

/* Controls */
.build-carousel__control{
  width: 12%;
  opacity: 0.85;
  transition: opacity 200ms ease;
}
.build-carousel__control:hover{ opacity: 1; }

.build-carousel__dots{
  margin-bottom: 10px;
}

/* Mobile */
@media (max-width: 575px){
  .build-carousel__img{ height: 320px; }
  .build-carousel__name{ font-size: 18px; }
}

/* Touch devices: no hover -> always show text, no blur */
@media (hover: none){
  .build-carousel__hovertext{
    opacity: 1;
    transform: none;
  }
  .build-carousel__img{
    filter: none !important;
    transform: none !important;
  }
}

/* =========================================================
   NYTT: knapp + modal med stora bilder (påverkar inte slidern)
   ========================================================= */

/* Knapp bredvid "Se alla" */
.build-projectslider__open{
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  letter-spacing: -0.01em;
  background: rgba(17,17,17,0.06);
  border: 1px solid rgba(17,17,17,0.14);
  color: rgba(17,17,17,0.92);
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}
.build-projectslider__open:hover{
  transform: translateY(-1px);
  background: rgba(17,17,17,0.09);
  border-color: rgba(17,17,17,0.20);
}

/* Modal */
.build-projectmodal .modal-dialog{
  max-width: 1100px; /* större än default */
}

.build-projectmodal .modal-content{
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0,0,0,0.10);
}

.build-projectmodal .modal-header{
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.build-projectmodal .modal-title{
  font-weight: 900;
  letter-spacing: -0.02em;
}

.build-projectmodal .modal-body{
  padding: 16px;
}

/* Större bilder i modal */
.build-projectmodal__img{
  height: 72vh;
  max-height: 720px;
  min-height: 420px;
  object-fit: cover;
}

/* I modalen ska texten synas alltid (inte bara hover) */
.build-projectmodal .build-carousel__hovertext{
  opacity: 1 !important;
  transform: none !important;
}

/* Och ingen blur i modalen */
.build-projectmodal .build-carousel__img{
  filter: saturate(0.95) contrast(1.05) !important;
  transform: scale(1.01) !important;
}

/* Mobil */
@media (max-width: 575px){
  .build-projectmodal__img{
    height: 56vh;
    min-height: 320px;
  }
}
/* Lite luftigare på desktop */
@media (min-width: 992px){
  .build-step{
    padding: 20px 20px;
    border-radius: 18px;
  }
  .build-step__title{ font-size: 17px; }
  .build-step__text{ font-size: 14px; }
}
  
 
  @media (max-width: 575px){
    .lux-hero{ border-radius: 18px; }
    .lux-hero__content{ padding: 78px 0; text-align: center; }
    .lux-hero__lead{ margin-left:auto; margin-right:auto; }
    .lux-hero__actions .lux-btn{ width: 100%; }
  }
