 /* GENERELT */
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

/* Craftsvilla-logoen i Babylonica */
/* .brand{
  font-family: "Babylonica", cursive;
  font-weight: 400;
  font-style: normal;
  font-size: 30px;  
} */

.babylonica-regular {
  font-family: "Babylonica", cursive;
  font-weight: 400;
  font-style: normal;
}


.inter-craft-font {
  font-family: "Inter", sans-serif;
  font-optical-sizing: auto;
  font-weight: 300;
  font-style: normal;
}

body{
margin: 0;
font-family: "Inter", sans-serif;
font-size: 16px;
background-color: #ffff;
}

/* white border around page */
main {
  background-color: #DEE2C3;    
  margin: 4rem;                  
  border-radius: 12px;            
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.05);
  overflow: hidden;
}

/* HEADER */
header{
      background-color: #EEF3ED;
      padding: 1rem 2rem;
      display: flex;
      justify-content: space-evenly;
      align-items: center;  
      position: relative;
      z-index: 10;
}

header nav {
  height: 80px;
  display: flex;
  align-items: center;
  padding: 0 2rem;
}


/* NAV-BAR-STYLING */
.nav-links {
  list-style: none;
  display: flex;
  gap: 5rem; 
  padding: 0;
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: #0e0e0e;
  font-weight: 500;
  position: relative; 
  padding: 0.2rem 0;  
  transition: color 0.3s ease;
}

/* Line when hover */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1px;              
  width: 0;
  background-color: #C7B8B7;
  transition: width 0.3s ease;
}

/* hover link */
.nav-links a:hover::after,
.nav-links a:focus::after {
  width: 100%;              /* line glide */
}

/* txt color change when hover */
.nav-links a:hover,
.nav-links a:focus {
color: #045f42;           
}


/* ABOUT US */
/* house as background */

.about-section {
  position: relative;
  width: 100%;
  text-align: center;
}

.about-wrapper {
  position: relative; /* hold picture and  overlay */
}

.about-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;  /* show the whole picture */
  z-index: 0;
}

.about-overlay {
  position: relative; /* overlayen on top of picture */
  z-index: 1;
  max-width: 900px;
  margin: 0 auto;
  padding: 3rem 2rem;
}
.about-overlay section:hover {
  transform: translateY(-5px);             
  box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15); 
}

.about-banner {
  position: relative;
  z-index: 1;
  margin-bottom: 4rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.5); /* semi-transparent bakgrunn */
  border-radius: 10px;
}

.about-overlay section {
  background: rgba(255, 255, 255, 0.4); /* mye mer gjennomsiktig */
  border-radius: 15px;
  padding: 2.5rem 2rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08); /* litt svakere skygge for gjennomsiktige bokser */
  backdrop-filter: blur(6px); /* litt sterkere blur for bedre kontrast */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-overlay h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
  color: #333;
  font-weight: 600;
}

.about-overlay p {
  font-size: 1.15rem;
  line-height: 1.8;
  color: #111;
}

.about-banner h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.about-banner p {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;

}

/* =============================== */
/*  KNAPPER I BANNERET             */
/* =============================== */

.banner-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.btn-banner {
  background: #a38790;
  color: rgb(248, 243, 243);
  padding: 0.8rem 1.6rem;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-banner:hover {
  background: #ad7a8a;
  transform: translateY(-3px);
}

.btn-banner.secondary {
  background: #a38790;
  color: #fbf8f8;
}

.btn-banner.secondary:hover {
  background: #ad7a8a;
  transform: translateY(-3px);
}


/* BESTILL KURS SEKSJON */
.order-section {
  position: relative;
  background-image: url('./pictures/cherry-blossom.png'); 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 6rem 2rem;       
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: white;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}

.order-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35); 
  z-index: 1;
}

.order-content {
  position: relative;
  z-index: 2; /* sørger for at teksten ligger over overlay */
  max-width: 700px; /* begrenser linjelengde for lesbarhet */
}

.order-content h2 {
  font-family: "Inter", sans-serif;
  font-size: clamp(21px, 4vw, 32px);
  margin-bottom: 1rem;
  color: white;
}

.order-content p {
  font-family: "Inter", sans-serif;
  font-size: clamp(14px, 2.5vw, 24px);
  line-height: 1.5;
  margin-bottom: 2rem;
  color: white;
}

.order-button {
  display: inline-block;
  padding: 0.8rem 2rem;
  font-size: 18px;
  font-weight: 500;
  text-decoration: none;
  color: rgb(18, 18, 18);
  background-color: #c9aead;
  border-radius: 45px;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.order-button:hover {
  background-color: #EEF3ED; 
  transform: translateY(-2px);
}



/* FOOTER */
footer{
 background-color: #C7B8B7;
      color: #0b0a0a;
      text-align: center;
      padding: 4rem 2rem;
}

footer a {
  color: #0e0e0e;           
  text-decoration: none;    
}

footer a:hover {
  text-decoration: underline; 
  color: #255647;             
}

