/* ========================================
   KOODE STYLES - MINIMALISTINEN VERSIO 1
   
   VERSIO 1: Perus-CSS ilman mitään turhaa
   - Ei animaatioita
   - Ei transitioneja  
   - Ei backdrop-filteriä
   - Ei hover-efektejä
   - Vain staattiset tyylit
   ======================================== */

/* FONTTI */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

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

*, *::before, *::after {
  box-sizing: border-box;
}


html, body {
  height: 100%;
  margin: 0;
  background: none;
  font-family: 'Poppins', sans-serif;
  color: #222;
}

/* ===== Base gradient system ===== */

body {
  --c1: #ff6ec7;
  --c2: #fcb045;
  --c3: #24c6dc;
  --c4: #5433ff;
  --c5: #ff0099;

  background:
    radial-gradient(circle at 20% 30%, var(--c1) 0%, transparent 45%),
    radial-gradient(circle at 80% 20%, var(--c2) 0%, transparent 45%),
    radial-gradient(circle at 30% 80%, var(--c3) 0%, transparent 45%),
    radial-gradient(circle at 70% 70%, var(--c4) 0%, transparent 45%),
    linear-gradient(135deg, var(--c1), var(--c2), var(--c3), var(--c4), var(--c5));

  background-attachment: fixed;
  background-size: cover;
  padding-top: 120px;
}

/* Iso K käyttää samoja värejä 
body::after{
  content:"K";
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;

  font-size: 65vw;
  font-weight: 900;
  line-height: 1;

  background: linear-gradient(
    135deg,
    var(--c1),
    var(--c2),
    var(--c3),
    var(--c4),
    var(--c5)
  );

  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;

  opacity: .18;
  pointer-events: none;
  z-index: -1;
}*/

.bg-domain{
  --c1:#E0F7FF;  /* vaalea jääcyan */
  --c2:#7FE3FF;  /* pehmeä cyan */
  --c3:#00C6FF;  /* alkuperäinen */
  --c4:#0072FF;  /* alkuperäinen */
  --c5:#0B3D91;  /* syvä sininen ankkuri */
}

.bg-kotisivukone{
  --c1:#FFE6E1;  /* vaalea persikka */
  --c2:#FF9A8B;  /* alkuperäinen */
  --c3:#FF6A00;  /* alkuperäinen */
  --c4:#FFD93D;  /* alkuperäinen */
  --c5:#B45309;  /* lämmin ruskea ankkuri */
}

.bg-wordpress{
  --c1:#F3E8FF;  /* vaalea lila */
  --c2:#C471ED;  /* alkuperäinen */
  --c3:#8E2DE2;  /* alkuperäinen */
  --c4:#4FACFE;  /* alkuperäinen */
  --c5:#1E3A8A;  /* syvä sininen ankkuri */
}

.bg-helahoito{
  --c1:#ECFDF5;  /* vaalea minttu */
  --c2:#16A34A;  /* alkuperäinen */
  --c3:#FACC15;  /* alkuperäinen */
  --c4:#FB923C;  /* alkuperäinen */
  --c5:#9A3412;  /* lämmin terrakotta-ankkuri */
}

.bg-tietopankki{
  --c1:#F7FEFF;  /* lähes valkoinen sinertävä */
  --c2:#A8EDEA;  /* alkuperäinen */
  --c3:#FED6E3;  /* alkuperäinen */
  --c4:#D4FC79;  /* alkuperäinen */
  --c5:#2F855A;  /* pehmeä vihreä ankkuri */
}

.bg-yhteys{
  --c1:#F5FAFF;  /* lähes valkoinen */
  --c2:#DBEAFE;  /* alkuperäinen */
  --c3:#93C5FD;  /* alkuperäinen */
  --c4:#38BDF8;  /* alkuperäinen */
  --c5:#1D4ED8;  /* sininen ankkuri */
}


/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar-brand img {
    height: 50px;
}

.nav-link {
    color: #222;
    padding: 0.5rem 1rem;
    text-decoration: none;
}

/* GLASS BOXES */
.glass-box {
    background: rgba(255, 255, 255, 0.9);
    border: 15px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 6px 20px rgba(0,0,0,0.10);
}

.glass-box-thin {
    background: rgba(255, 255, 255, 0.9);
    border: 10px solid rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 1rem;
      box-shadow: 0 4px 12px rgba(0,0,0,0.10);
}

/* HERO FRAME */
.hero-frame {
    border: 15px solid rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.carousel-item {
  min-height: 400px;
  height: auto;
}

.carousel-item-hela {
  min-height: 200px;
  height: auto;
}

.carousel-caption {
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 10;
}

.carousel-caption h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.carousel-caption p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

/* HERO BACKGROUNDS */
.hero-bg-kotisivukone {
    background: linear-gradient(135deg, #ff9a8b, #ff6a00);
}

.hero-bg-wordpress {
    background: linear-gradient(135deg, #8e2de2, #4facfe);
}

.hero-bg-domain {
    background: linear-gradient(90deg, #00C6FF, #0072FF);
}

.hero-bg-helahoito {
    background: linear-gradient(135deg, #16a34a, #facc15);
}

/* BUTTONS */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.btn-gradient {
    background: linear-gradient(90deg, #00C6FF, #0072FF);
    color: white;
}

.btn-primary {
    background: #0072FF;
    color: white;
}

.btn-outline-light {
    background: transparent;
    border: 2px solid white;
    color: white;
}

.btn-success {
    background: #16a34a;
    color: white;
}

/* FOOTER */
.footer {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 3rem 0;
    margin-top: 4rem;
}

.footer a {
    color: white;
    text-decoration: none;
}

/* CAROUSEL (FAQ) */
.accordion-item {
    border: none;
    background: transparent;
    margin-bottom: 0.5rem;
}

.accordion-button {
    background: rgba(255, 255, 255, 0.5);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    color: #222;
    padding: 1rem 1.25rem;
}

.accordion-button:not(.collapsed) {
    background: rgba(0, 114, 255, 0.1);
    color: #0072FF;
}

.accordion-button:focus-visible,
.btn:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(0, 114, 255, 0.5);
  outline-offset: 2px;
}

.accordion-body {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 0 0 10px 10px;
    padding: 1.25rem;
    margin-top: -10px;
}

/* SLIDESHOW - FADE ANIMAATIO (CSS) */
.hela-slide {
    opacity: 1;
}

.hela-slide.d-none {
    display: none !important;
}

/* HELAHOITO CAROUSEL - KORKEUSRAJOITUKSET */
.hela-carousel-container .carousel-inner {
  min-height: 250px;
  height: auto;
}

.hela-carousel-container .carousel-item {
    padding: 1rem 0;
}

/* Mobiili: korkeampi että kaikki näkyy */
@media (max-width: 768px) {
  .hela-carousel-container .carousel-inner { min-height: 600px; height: auto; }
}
    
    .hela-carousel-container .carousel-item {
        padding: 1.5rem 0;
    }
}

/* FULL GLASS BLOCK */
.full-glass-block {
    background: rgba(255, 255, 255, 0.3);
    padding: 4rem 0;
    margin: 2rem 0;
}

/* TEKSTI */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

img {
    max-width: 100%;
    height: auto;
}

/* GRID SYSTEM */
.domain-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.col-8ths {
    /* Mobile: 2 per rivi (50%) */
    flex: 0 0 calc(50% - 0.5rem);
    max-width: calc(50% - 0.5rem);
}

/* Tablet: 4 per rivi (25%) */
@media (min-width: 576px) {
    .col-8ths {
        flex: 0 0 calc(25% - 0.75rem);
        max-width: calc(25% - 0.75rem);
    }
}

/* Desktop: 8 per rivi (12.5%) */
@media (min-width: 992px) {
    .col-8ths {
        flex: 0 0 calc(12.5% - 0.875rem);
        max-width: calc(12.5% - 0.875rem);
    }
}

/* RESPONSIVE */
@media (max-width: 768px) {
    body {
        padding-top: 60px;
    }
    
    .navbar-brand img {
        height: 40px;
    }
    
    .carousel-item {
        height: 300px;
        min-height: 300px;
    }
    
    .carousel-caption h2 {
        font-size: 1.5rem;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
    }
}