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

body {
  font-family: 'Lalezar', cursive;
}


/*Endre str på logo*/
.site-header .logo {
  height: 40px;   
  width: auto;     
}


.site-header nav a {
    color: #fff;
    text-decoration: none; 
    text-transform: uppercase;
    font-weight: 400; 
    font-size: 1.2rem; 
    letter-spacing: 0.3em;
    transition: color 0.3s; 
}

.site-header nav ul li a.active {
  color: black; 
}

/*NAV BAR*/
nav ul {
  list-style: none;       
  margin: 0;
  padding: 0;
  display: flex;          
  align-items: center;    
  gap: 2rem;              
}

.site-header nav a:hover {
  color: var(--clr-accent);  
}

/* HOME */
.hero-home {
    position: relative;
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('../images/droner.jpg');
}


.hero-home .site-header {
  position: absolute;       
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: transparent;
  z-index: 10;              
}

.hero-home .overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
}

.hero-text {
  position: absolute;
  text-transform: uppercase;
  font-size: 6rem;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: #fff;
  z-index: 6;
}

.hero-text .hero-logo {
  display: block;
  max-width: 500px;
  width: 100%;
  height: auto;
  margin: 1rem auto 0;  
}

/* OM OSS */

.about-container {
  font-family: 'Lalezar', cursive;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  padding: 50px;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.about-text {
  flex: 1;
  font-family: 'Lalezar', cursive;
  color: #111;
}

.about-title {
  font-family: 'Lalezar', cursive;
  text-transform: uppercase;
  text-align: center;
  font-size: 3rem;
  font-weight: 500;
  letter-spacing: 5px;
  margin-bottom: 30px;
}

.intro {
  font-family: 'Inter', sans-serif;
  font-weight: bold;
  letter-spacing: 1px;
}

.description {
  font-family: 'Inter', sans-serif;
  margin-top: 20px;
  line-height: 1.6;
}

.about-image img {
  max-width: 500px;
  height: auto;
  border-radius: 5px;
  margin-top: 100px;
}

.tagline {
  font-size: 2rem;
  font-weight: bold;
  color: #969292;
  opacity: 0.3;
  margin-top: 50px;
}

.cta-button {
  display: inline-block;
  background-color: #4E4E4E; 
  color: white;              
  padding: 12px 32px;        
  font-family: 'Inter', sans-serif;
  font-weight: 700;          
  border-radius: 8px;        
  text-decoration: none;     
  font-size: 16px;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #333333; 
}

.center-section {
  display: flex;
  justify-content: center; 
  align-items: center;    
  height: 10vh;           
}

/*TEAM */

.hero-team {
    position: relative;
    height: 100vh;
    background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6)), url('../images/team.jpg');
}


.hero-team .site-header {
  position: absolute;       
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: transparent;
  z-index: 10;              
}            

.hero-team .overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
} 

 .hero-team-text {
  position: absolute;
  bottom: 80%;
  right: 40%;
  color: #fff;
  z-index: 6;
  font-size: 3.5rem;
  text-transform: uppercase;
} 

.hero-members {
  position: absolute;
  bottom: 18%;
  left: 35%;                 
  display: grid;
  grid-template-columns: repeat(5, 150px);  
  grid-template-rows: auto auto auto;
  column-gap: 2rem;         
  row-gap: 2.5rem;          
  justify-items: start;    
  z-index: 6;
}


.team-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start; 
  width: 150px;             
}

.team-group h2 {
  margin: 0 0 0.5rem;
  color: #fff;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.team-group .team-grid {
  display: flex;
  gap: 1rem;
}

.team-group:nth-of-type(1) {
  grid-column: 1; 
  grid-row:    1;
}

.team-group:nth-of-type(2) {
  grid-column: 1 / -1;   
  grid-row:    2;
}

.team-group:nth-of-type(3) {
  grid-column: 1 / 3;    
  grid-row:    3;
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid white;
  transition: transform 0.3s ease;
}
.team-member img:hover {
  transform: scale(1.1);
}
.team-member p {
  margin-top: 0.5rem;
  color: white;
  font-size: 1rem;
  text-align: center;
  text-transform: uppercase;
}
.team-member a {
  display: inline-block;
  position: relative;
  z-index: 7;
}
.team-member a img {
  cursor: pointer;
}

/* GALLERI */
.gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 20px;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery img:hover {
  transform: scale(1.05);
}


/* DRONER */

.drone-container {
  font-family: 'Lalezar', cursive;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: flex-start;
  padding: 50px;
  max-width: 1200px;
  margin: auto;
  gap: 40px;
}

.drone-text {
  flex: 1;
  font-family: 'Lalezar', cursive;
  color: #111;
}

.drone-header {
  font-family: 'Lalezar', cursive;
  text-transform: uppercase;
  text-align: center;
  font-size: 5rem;
  font-weight: 500;
  letter-spacing: 5px;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
.drone-section {
  display: flex;
  justify-content: space-evenly; 
  flex-direction: column;   
  align-items: center;            
  flex-wrap: wrap;           
  margin: rem 0;            
  padding: 0 1rem;            
}
}

@media (min-width: 769px) {
.drone-section {
  display: flex;
  justify-content: space-evenly; 
  flex-direction: row;   
  align-items: flex-start;            
  flex-wrap: wrap;           
  margin: rem 0;            
  padding: 0 1rem;            
}
}



.drone-item {
  display: flex;
  flex-direction: column;    
  align-items: center;
  text-align: center;
  max-width: 300px;
}


.drone-title {
  margin: 1rem 0 0.5rem;
  justify-content: center; 
  font-family: 'Lalezar', cursive;
  font-size: 2rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.drone-btn {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.75rem 2rem;
  background-color: #726561;   
  color: #fff;
  border: none;
  border-radius: 8px;
  font-family: 'Lalezar', cursive;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.drone-btn:hover {
  background-color: #5a4c45;   /* litt mørkere på hover */
}



model-viewer {
  border: 2px solid #fff;
  border-radius: 8px;
}