@font-face {
  font-family: 'Agatho';
  src: url('fonts/Agatho_Regular.otf') format('truetype');
  font-weight: normal;
  font-style: normal;
}


/* Yleinen tyyli */
body {
  margin: 0;
  padding: 0;
  background: #000000; /* KOKO SIVU MUSTA */
  color: #e0e0e0;
  font-family: Arial, sans-serif;
}

/* Osiot tummissa laatikoissa */
section {
  padding: 60px 20px;
  text-align: center;
  max-width: 900px;
  margin: 40px auto;
  background: #1e1e1e; /* Windows dark mode laatikko */
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0,0,0,0.6);
  border: 1px solid #2a2a2a;
}

h1, h2, h3 {
  color: #D4AF37;
  margin-bottom: 20px;
}

p {
  max-width: 700px;
  margin: 0 auto 20px auto;
  line-height: 1.6;
  color: #dcdcdc;
}

/* Painikkeet */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid #D4AF37;
  color: #D4AF37;
  text-decoration: none;
  margin-top: 20px;
  transition: 0.3s;
  font-size: 18px;
  letter-spacing: 1px;
  border-radius: 4px;
}

.btn:hover {
  background: #D4AF37;
  color: #000000;
}

/* Header – musta/kulta premium */
.header {
  padding: 20px;
  text-align: center;
  border-bottom: 1px solid #333;
  background: #000000;
}

/* Footer */
.footer {
  padding: 30px;
  text-align: center;
  border-top: 1px solid #333;
  margin-top: 40px;
  font-size: 14px;
  color: #888;
  background: #000000;
}

/* Palveluboxit */
.service-box {
  border: 1px solid #333;
  padding: 30px;
  margin: 20px auto;
  max-width: 700px;
  border-radius: 6px;
  background: #2a2a2a;
  color: #e0e0e0;
  box-shadow: 0 0 15px rgba(0,0,0,0.5);
}

/* Hero-osio */
#hero {
  background: #1e1e1e;
  padding: 100px 20px;
  border-radius: 10px;
  margin-top: 40px;
  box-shadow: 0 0 25px rgba(0,0,0,0.6);
}

/* Yhteystiedot */
#contact p {
  font-size: 18px;
  margin-bottom: 10px;
}

/* Logo fontti */
@font-face {
  font-family: "Agatho";
  src: local("Agatho");
}

.logo-text {
  font-family: "Agatho", sans-serif;
  font-size: 126px;
  letter-spacing: 6px;
  font-weight: 400;
  color: #D4AF37;
  text-transform: uppercase;
}

/* Alaotsikko */
.subtitle {
  font-family: "Agatho", sans-serif;
  font-size: 28px;
  letter-spacing: 4px;
  color: #D4AF37;
  margin-top: -10px;
  text-align: center;
  font-weight: 300;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.35);
}

/* Before/After slider */
.ba-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 40px auto;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0,0,0,0.6);
}

.ba-img {
  width: 100%;
  display: block;
  user-select: none;
  pointer-events: none;
}

.ba-after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  clip-path: inset(0 50% 0 0); /* Alkuasento: puolet näkyy */
}

.ba-slider {
  position: absolute;
  top: 0;
  left: 50%;
  width: 6px;
  height: 100%;
  background: linear-gradient(to bottom, #d4af37, #b8922a);
  box-shadow: 0 0 15px rgba(212,175,55,0.8);
  cursor: ew-resize;
  transition: background 0.2s ease;
}

/* Premium kahva */
.ba-slider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 36px;
  height: 36px;
  background: radial-gradient(circle, #f5d77a, #d4af37, #b8922a);
  border: 2px solid #fff3c4;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 10px rgba(212,175,55,0.9),
    0 0 25px rgba(212,175,55,0.6),
    inset 0 0 10px rgba(255,255,255,0.4);
}
.ba-slider {
  touch-action: none; /* estää selaimen sivuttaisvierityksen sliderissä */
}
}

#front-image {
  padding-top: 0; /* ettei tule liikaa väliä slideriin */
}

.front-wrapper {
  max-width: 900px;
  margin: 0 auto 40px auto;
}

.front-img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0,0,0,0.6);
}

.header-van {
  width: 100%;
  max-width: 900px;
  display: block;
  margin: 0 auto 20px auto;
  border-radius: 10px;
  box-shadow: 0 0 25px rgba(0,0,0,0.6);
}

.ig-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.ig-logo:hover {
  transform: scale(1.1);
}

.ig-link {
  display: inline-block;
}

.wa-logo {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  transition: transform 0.2s ease;
}

.wa-logo:hover {
  transform: scale(1.1);
}

.wa-link {
  display: inline-block;
  margin-left: 10px; /* pieni väli IG-logoon */
}