/* ----------------------------- */
/*        PERUSTYYLIT           */
/* ----------------------------- */
body {
  margin: 0;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  background: #f5f6ff;
  color: #1a1a1a;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ----------------------------- */
/*          NAVIGAATIO          */
/* ----------------------------- */
.navbar {
  background: #fcfcfc;
  padding: 15px 0;
  color: white;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  color: #ff8c3d;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  font-size: 16px;
  transition: 0.2s;
}

.nav-links a:hover {
  color: #ffb46a;
}

.cta-btn {
  padding: 10px 20px;
  background: linear-gradient(45deg, #ff3d7a, #ff8c3d);
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s;
}

.cta-btn:hover {
  opacity: 0.9;
}

/* ----------------------------- */
/*            HERO               */
/* ----------------------------- */

.hero-section {
  position: relative;
  background: url('taustakuva2.jpg') center/cover no-repeat;
  padding: 100px 0;
  color: white;
}

/* Tumma läpinäkyvä kerros kuvan päällä */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0; 
  left: 0;
  width: 100%; 
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 0;
}

/* Hero-sisältö */
.hero-content {
  position: relative;
  z-index: 1; /* pitää tekstin kuvan päällä */
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

/* Tekstit */
.hero-text h1 {
  font-size: 52px;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 18px;
  max-width: 450px;
  line-height: 1.6;
}

/* Kuva */
.hero-image img {
  width: 350px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3); /* pieni varjo, näyttää tyylikkäämmältä */
}
/* ----------------------------- */
/*          PALVELUT             */
/* ----------------------------- */
.services-section {
  padding: 80px 0;
  background: #e9eaff;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.service-box {
  background: white;
  padding: 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 50, 0.1);
  border: 2px solid transparent;
  border-top: 5px solid #ff8c3d;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.service-box:hover {
  border-color: orange;
  box-shadow: 0 8px 24px rgba(255, 165, 0, 0.3);
}

.service-box h3 {
  font-size: 22px;
  margin-bottom: 15px;
}

.service-box p {
  color: #333;
  line-height: 1.5;
}

/* ----------------------------- */
/*           ABOUT / TARINA      */
/* ----------------------------- */
.about-section {
  padding: 80px 0;
}

.about-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.about-text {
  flex: 1;
}

.about-text h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #14166b;
}

.about-text p {
  line-height: 1.6;
  color: #333;
}

.about-image img {
  width: 350px;
  margin-top: 80px;
  border-radius: 12px;
  border: 4px solid #2e3465;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}


/* ----------------------------- */
/*            FOOTER             */
/* ----------------------------- */
.footer {
  background: #3d130b;
  color: white;
  text-align: center;
  padding: 40px 0;
  margin-top: 50px;
}

.footer p {
  margin: 5px 0;
  font-size: 15px;
}

/* ----------------------------- */
/*        YHTEYDENOTTO           */
/* ----------------------------- */
.contact-section {
  background-color: #f9f9f9;
  padding: 60px 20px;
  font-family: 'Open Sans', sans-serif;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-content h2 {
  text-align: center;
  margin-bottom: 30px;
  font-size: 28px;
  color: #333;
}

.contact-form label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #555;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 20px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #0078d7;
  outline: none;
}

.contact-form button {
  background-color: #0078d7;
  color: white;
  padding: 14px 24px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #005fa3;
}

/* ----------------------------- */
/*            HINNASTO           */
/* ----------------------------- */
.pricing-section {
  padding: 80px 20px;
  background: url('hinnasto.jpg') center/cover no-repeat;
  position: relative;
  color: #fff;
  overflow: hidden;
}

.pricing-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 0;
}

.pricing-section h2,
.pricing-grid,
.pricing-highlight,
.pricing-note,
.unified-services {
  position: relative;
  z-index: 1;
}

.pricing-section {
  position: relative;       /* rajaa ::before tähän osioon */
  padding: 80px 20px;
  background: url('hinnasto.jpg') center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.pricing-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 0;
}

.pricing-section h2,
.pricing-grid,
.pricing-highlight,
.pricing-note,
.unified-services {
  position: relative;
  z-index: 1;   /* nostaa tekstin kuvan päälle */
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.pricing-box {
  background: rgba(255,255,255,0.9);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 24px rgba(255,140,61,0.3);
}

.pricing-box h3 {
  font-size: 22px;
  margin-bottom: 15px;
  color: #ff8c3d;
}

.pricing-box p {
  margin: 10px 0;
  color: #333;
}

.price {
  font-size: 24px;
  font-weight: bold;
  color: #333;
}

.pricing-highlight {
  margin-top: 30px;
  padding: 20px;
  background-color: rgba(255,240,229,0.95);
  border-left: 6px solid #ff8c3d;
  font-size: 16px;
  color: #333;
  text-align: center;
  border-radius: 8px;
}

/* Yhdistetty palvelukuvaus: siivous + IT */
.unified-services {
  margin-top: 40px;
  background-color: rgba(255,255,255,0.85);
  padding: 30px;
  border-radius: 12px;
  font-size: 16px;
  color: #333;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* Palstajako */
.service-columns {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap; /* mobiilissa allekkain */
}

.service-col {
  flex: 1;
  min-width: 260px;
}

.it-col h3 {
  color: #ff8c3d; /* IT-otsikko sininen */
}

.cleaning-col h3,
.cleaning-col h4 {
  color: #ff8c3d; /* Siivous-otsikot oranssi */
}

.unified-services ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

/* Mobiilissa allekkain */
@media (max-width: 768px) {
  .service-columns {
    flex-direction: column;
  }
}
  /* ----------------------------- */
/*        RESPONSIIVISUUS        */
/* ----------------------------- */

/* Tabletit ja pienemmät näytöt */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero-image img {
    width: 250px;
    margin-top: 20px;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-image img {
    margin-top: 40px;
    width: 250px;
  }

  .nav-links {
    gap: 15px;
  }
}

/* Puhelimet */
@media (max-width: 576px) {
  .hero-text h1 {
    font-size: 28px;
  }

  .hero-text p {
    font-size: 16px;
    max-width: 100%;
  }

  .hero-image img {
    width: 180px;
  }

  .service-box, .pricing-box {
    padding: 20px;
  }

  .pricing-section h2,
  .about-text h2,
  .contact-content h2 {
    font-size: 22px;
  }

  .cta-btn {
    padding: 8px 16px;
    font-size: 14px;
  }

  .nav-links {
    flex-direction: column;
    gap: 10px;
  }
}