/* 
 * undressaipornNO.pw - CSS Styles
 * Designet for det norske markedet
 * Responsivt design for mobil og desktop
 */

:root {
  --primary-color: #002868;    /* Blå fra det norske flagget */
  --secondary-color: #ba0c2f;  /* Rød fra det norske flagget */
  --tertiary-color: #034694;   /* Mørkere blå */
  --light-color: #ffffff;      /* Hvit */
  --dark-color: #333333;       /* Mørk grå for tekst */
  --bg-color: #f0f3f5;         /* Lysegrå bakgrunn */
  --gradient-primary: linear-gradient(120deg, var(--primary-color), var(--tertiary-color));
  --gradient-secondary: linear-gradient(120deg, var(--secondary-color), #c93f55);
  --box-shadow: 0 10px 25px rgba(0, 0, 40, 0.1);
  --border-radius: 8px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', 'Arial', sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--dark-color);
  background-color: var(--bg-color);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Typografi */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
  color: var(--dark-color);
}

h1 {
  font-size: 3rem;
  font-weight: 800;
}

h2 {
  font-size: 2.4rem;
}

h3 {
  font-size: 1.8rem;
}

p {
  margin-bottom: 16px;
}

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

.text-center {
  text-align: center;
}

/* Knapper */
.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--primary-color);
  color: var(--light-color);
  font-weight: 600;
  border-radius: var(--border-radius);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
  box-shadow: var(--box-shadow);
}

.btn:hover {
  transform: translateY(-3px);
  background: var(--tertiary-color);
  color: var(--light-color);
  box-shadow: 0 15px 30px rgba(0, 0, 40, 0.15);
}

.btn-secondary {
  background: var(--secondary-color);
}

.btn-secondary:hover {
  background: #d42142;
}

.btn-outline {
  background: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-outline:hover {
  background: var(--primary-color);
  color: var(--light-color);
}

/* Header */
.header {
  background: var(--light-color);
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 100;
  box-shadow: 0 2px 15px rgba(0, 0, 0, 0.08);
  padding: 20px 0;
  transition: all 0.3s ease;
}

.header.scrolled {
  padding: 12px 0;
}

.nav-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--dark-color);
  display: flex;
  align-items: center;
}

.logo span {
  color: var(--secondary-color);
  margin-left: 3px;
}

.nav-menu {
  display: flex;
  list-style: none;
}

.nav-menu li {
  margin-left: 35px;
}

.nav-menu a {
  color: var(--dark-color);
  font-weight: 500;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.menu-toggle {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: var(--gradient-primary);
  color: var(--light-color);
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cpath d='M0 0h40v40H0V0zm40 40h40v40H40V40z' fill='%23ffffff' fill-opacity='0.05'/%3E%3C/svg%3E");
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
}

.hero h1 {
  color: var(--light-color);
  margin-bottom: 25px;
  line-height: 1.2;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

/* Features Section */
.features {
  padding: 120px 0;
  background: var(--light-color);
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  position: relative;
  margin-bottom: 20px;
  display: inline-block;
}

.section-title h2::after {
  content: '';
  position: absolute;
  width: 70px;
  height: 3px;
  background: var(--secondary-color);
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.features-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.feature-box {
  background: var(--light-color);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
  text-align: center;
  border-bottom: 3px solid transparent;
}

.feature-box:hover {
  transform: translateY(-10px);
  border-bottom: 3px solid var(--primary-color);
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-box h3 {
  margin-bottom: 15px;
}

.feature-box p {
  color: #666;
}

/* Process Section */
.process {
  padding: 120px 0;
  background: var(--bg-color);
}

.steps-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.step-box {
  background: var(--light-color);
  border-radius: var(--border-radius);
  padding: 40px 30px;
  position: relative;
  box-shadow: var(--box-shadow);
  text-align: center;
}

.step-number {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-color);
  font-weight: 700;
  font-size: 1.5rem;
}

.step-box h3 {
  margin-top: 15px;
  margin-bottom: 15px;
}

/* About Section */
.about {
  padding: 120px 0;
  background: var(--light-color);
}

.about-wrap {
  display: flex;
  align-items: center;
  gap: 50px;
}

.about-content {
  flex: 1;
}

.about-image {
  flex: 1;
  position: relative;
}

.about-content h2 {
  margin-bottom: 25px;
}

.about-content p {
  margin-bottom: 20px;
}

.ratings {
  margin-bottom: 25px;
  display: flex;
  align-items: center;
}

.star {
  color: #ffb100;
  font-size: 22px;
  margin-right: 5px;
}

/* CTA Section */
.cta {
  padding: 100px 0;
  background: var(--gradient-secondary);
  color: var(--light-color);
  text-align: center;
}

.cta h2 {
  color: var(--light-color);
  margin-bottom: 20px;
}

.cta p {
  max-width: 700px;
  margin: 0 auto 30px;
}

/* Footer */
.footer {
  background: #1a1a1a;
  color: #888;
  padding: 80px 0 30px;
}

.footer-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 50px;
}

.footer-col h4 {
  color: var(--light-color);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
  font-size: 1.4rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 2px;
  background: var(--secondary-color);
}

.footer-col p {
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #888;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--light-color);
  padding-left: 5px;
}

.footer-logo {
  display: inline-block;
  margin-top: 20px;
}

.copyright {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 992px) {
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .features-wrap, 
  .steps-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-wrap {
    flex-direction: column;
  }
  
  .about-image {
    order: -1;
    margin-bottom: 30px;
  }
}

@media (max-width: 768px) {
  h1 {
    font-size: 2.2rem;
  }
  
  .menu-toggle {
    display: block;
  }
  
  .nav-menu {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--light-color);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 50px;
    transition: all 0.4s ease;
    z-index: 100;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  }
  
  .nav-menu.active {
    left: 0;
  }
  
  .nav-menu li {
    margin: 15px 0;
  }
  
  .features-wrap,
  .steps-wrap {
    grid-template-columns: 1fr;
  }
  
  .hero {
    text-align: center;
    padding: 150px 0 100px;
  }
  
  .hero-content {
    margin: 0 auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .footer-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .container {
    width: 100%;
    padding: 0 20px;
  }
  
  h1 {
    font-size: 1.8rem;
  }
  
  h2 {
    font-size: 1.6rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .btn {
    width: 100%;
    text-align: center;
  }
}
