/* --- RAUKKA-ASETUKSET & BRÄNDIVÄRIT --- */
:root {
  --black: #0f0f0f;
  --white: #ffffff;
  --light-gray: #f8f9fa;
  --mid-gray: #e5e5e5;
  --accent-blue: #004bff;
  --font-primary: "Montserrat", sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: var(--font-primary);
  color: var(--black);
  background-color: var(--white);
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

body a {
  color: inherit;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 5%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 1px solid var(--mid-gray);
}

.nav-logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--black);
}

.nav-links {
  display: flex;
  align-items: center;
}

.nav-links a {
  text-transform: uppercase;
  text-decoration: none;
  color: var(--black);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-left: 30px;
  transition: opacity 0.3s;
}

.nav-links a:hover {
  opacity: 0.6;
}

.nav-links .btn-nav {
  background-color: var(--black);
  color: var(--white);
  padding: 10px 20px;
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 10%;
  background-color: var(--white);
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.82)),
    url("img/BG.JPG");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 120px;
  position: relative;
}

.subpage-hero {
  min-height: 72vh;
  align-items: flex-start;
  justify-content: center;
  padding-top: 100px;
  padding-bottom: 60px;
  background: linear-gradient(135deg, #f6f7fb 0%, var(--white) 100%);
  border-bottom: 1px solid var(--mid-gray);
}

.subpage-hero .hero-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 320px;
  align-items: flex-start;
  text-align: left;
}

.subpage-hero .hero-content {
  max-width: 700px;
}

.subpage-hero .hero-tagline {
  color: var(--accent-blue);
  font-size: 12px;
  letter-spacing: 4px;
  margin-bottom: 12px;
}

.subpage-hero h1 {
  font-size: clamp(32px, 3.2vw, 44px);
  margin-bottom: 18px;
  max-width: 620px;
}

.subpage-hero .hero-subtext {
  max-width: 600px;
  margin-bottom: 28px;
}

.hero-content {
  max-width: 760px;
  width: 100%;
}

.scroll-indicator {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  opacity: 0.8;
  animation: bob 1.5s ease-in-out infinite;
}

.scroll-arrow {
  width: 18px;
  height: 18px;
  border-right: 2px solid var(--black);
  border-bottom: 2px solid var(--black);
  transform: rotate(45deg);
}

@keyframes bob {
  0%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(6px);
  }
}

.reveal-section {
  overflow: hidden;
}

.reveal-item {
  opacity: 0;
  transform: translateY(36px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease;
}

.reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-tagline {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 6px;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 15px;
  animation: heroGlow 0.9s ease both;
}

.hero-section h1 {
  font-size: 56px;
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 25px;
  animation: fadeUp 0.9s ease both;
}

.hero-subtext {
  font-size: 16px;
  font-weight: 300;
  color: #555;
  margin-bottom: 40px;
  animation: fadeUp 1.1s ease both;
  animation-delay: 0.15s;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(36px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes heroGlow {
  0% {
    opacity: 0;
    transform: translateY(18px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.btn-primary,
.btn-secondary {
  display: inline-block;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  padding: 16px 35px;
  transition: all 0.3s ease;
  margin-top: 12px;
  animation: heroGlow 1s ease both;
  animation-delay: 0.3s;
}

.btn-primary {
  background-color: var(--black);
  color: var(--white);
  margin-right: 15px;
}

.btn-primary:hover {
  background-color: #333;
}

.btn-secondary {
  border: 1px solid var(--black);
  color: var(--black);
}

.btn-secondary:hover {
  background-color: var(--black);
  color: var(--white);
}

.section-padding {
  padding: 120px 0;
}

.bg-light {
  background-color: var(--light-gray);
}

.bg-dark {
  background-color: var(--black);
  color: var(--white);
}

.bg-white {
  background-color: var(--white);
}

.section-header h2 {
  font-size: 32px;
  font-weight: 300;
  letter-spacing: -0.5px;
  text-transform: uppercase;
}

.line {
  width: 60px;
  height: 1px;
  background-color: var(--black);
  margin: 20px 0 60px 0;
}

.bg-dark .line {
  background-color: var(--white);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.card,
.info-card,
.highlight-box {
  background: var(--white);
  padding: 40px;
  border: 1px solid var(--mid-gray);
}

.bg-light .card,
.bg-light .info-card {
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
}

.bg-dark .info-card {
  background: #111;
  border-color: #222;
}

.card h3,
.info-card h3,
.highlight-box h3 {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.card p,
.info-card p,
.highlight-box p {
  font-size: 14px;
  font-weight: 300;
  color: #555;
}

.bg-dark .info-card p,
.bg-dark .info-card li,
.bg-dark .highlight-box p,
.bg-dark .split-text p {
  color: rgba(255, 255, 255, 0.8);
}

.check-list {
  list-style: none;
  display: grid;
  gap: 12px;
}

.check-list li {
  position: relative;
  padding-left: 22px;
  font-size: 14px;
  font-weight: 300;
}

.check-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent-blue);
}

.split-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 80px;
}

.split-text,
.split-visual {
  flex: 1;
}

.accent-text {
  color: var(--accent-blue);
  text-transform: uppercase;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 3px;
  margin-bottom: 15px;
}

.split-text h2 {
  font-size: 36px;
  font-weight: 300;
  margin-bottom: 25px;
}

.visual-placeholder {
  background-color: #222;
  height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 300;
  opacity: 0.5;
}

.highlight-box {
  margin-bottom: 40px;
  background: linear-gradient(135deg, #f7f7f7, #ffffff);
  border-color: var(--mid-gray);
}

.space-top {
  margin-top: 40px;
}

.space-bottom {
  margin-bottom: 30px;
}

.footer-brand-side {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

.footer-logo {
  height: 120px;
  width: auto;
  object-fit: contain;
  margin-bottom: 10px;
}

.footer-tagline-text {
  font-size: 12px;
  letter-spacing: 3px;
  color: var(--accent-blue);
  font-weight: 400;
}

.contact-info p {
  margin-bottom: 12px;
  font-weight: 300;
}

.main-footer {
  background-color: var(--black);
  color: #666;
  padding: 30px 5%;
  text-align: center;
  font-size: 11px;
  letter-spacing: 1px;
  border-top: 1px solid #222;
}

@media (max-width: 768px) {
  .navbar {
    padding: 15px 5%;
    flex-wrap: wrap;
  }

  .menu-toggle {
    display: flex;
  }

  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-top: 12px;
    gap: 12px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    margin-left: 0;
    padding: 4px 0;
  }

  .hero-section {
    padding: 0 5%;
    padding-top: 130px;
  }

  .scroll-indicator {
    bottom: 24px;
  }

  .hero-section h1 {
    font-size: 38px;
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: 24px;
  }

  .btn-primary,
  .btn-secondary {
    margin-right: 0;
    text-align: center;
  }

  .split-layout,
  .grid-2 {
    grid-template-columns: 1fr;
    flex-direction: column;
    gap: 40px;
  }

  .section-padding {
    padding: 90px 0;
  }

  .footer-brand-side {
    align-items: flex-start;
  }
}
