/* ----------------------------- */
/*        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;
}

/* ----------------------------- */
/*            MODAALI            */
/* ----------------------------- */

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  backdrop-filter: blur(2px);
  padding: 20px;
  box-sizing: border-box;
}

.modal-content {
  background-color: #fff;
  margin: auto;
  padding: 20px;
  border-radius: 12px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.25);
  position: relative;
  font-size: 1.1rem;
  line-height: 1.5;
}

.close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  font-weight: bold;
  color: #444;
  cursor: pointer;
  transition: 0.2s;
}

.close:hover {
  color: #000;
  transform: scale(1.15);
}

@media screen and (max-width: 400px) {
  .modal-content {
    font-size: 1rem;
    padding: 15px;
  }
}

/* ----------------------------- */
/*          NAVIGAATIO          */
/* ----------------------------- */

.navbar {
  background: #fcfcfc;
  padding: 15px 0;
  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: #b85c8e;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: #000;
  font-size: 16px;
  transition: 0.2s;
}

.nav-links a:hover {
  color: #b85c8e;
}

.cta-btn {
  padding: 10px 20px;
  background:#b85c8e;
  color: white;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.2s;
}

.cta-btn:hover {
  opacity: 0.9;
}

/* ----------------------------- */
/*            HERO               */
/* ----------------------------- */
.hero-services-wrapper {
  background: url('tausta_2.jpg') center/cover no-repeat;
}

.hero-section {
  position: relative;
  padding: 100px 0;
  color: white;
  max-height: 1000;
}


.hero-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text h1 {
  font-size: 52px;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 18px;
  max-width: 450px;
  line-height: 1.6;
}

.hero-image img {
  width: 350px;

}

/* ----------------------------- */
/*          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-top: 5px solid #b85c8e;
  transition: 0.3s;
}

.service-box:hover {
  border-color: #b85c8e;
  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               */
/* ----------------------------- */

.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: #b85c8e;
}

.about-text p {
  line-height: 1.6;
  color: #333;
}

.about-image img {
  width: 350px;
  margin-top: 80px;
  border-radius: 12px;
  border: 4px solid #b85c8e;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

/* ----------------------------- */
/*            FOOTER             */
/* ----------------------------- */

.footer {
  background: #b85c8e;
  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;
}

.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: #b85c8e;
  outline: none;
}

.contact-form button {
  background-color: #b85c8e;
  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: #b85c8e;
}

/* ----------------------------- */
/*            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.1);
  z-index: 0;
}

.pricing-grid,
.pricing-highlight,
.unified-services {
  position: relative;
  z-index: 1;
}

.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;
   border-top: 5px solid #b85c8e;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.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: #b85c8e;
}

.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-top: 5px solid #b85c8e;
  font-size: 16px;
  color: #333;
  text-align: center;
  border-radius: 8px;
}

/* Yhdistetty palvelukuvaus */
.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);
}

.service-columns {
  display: flex;
  gap: 40px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.service-col {
  flex: 1;
  min-width: 260px;
}

.it-col h3 {
  color: #b85c8e;
}

.cleaning-col h3,
.cleaning-col h4 {
  color: #b85c8e;
}

.unified-services ul {
  list-style-type: disc;
  padding-left: 20px;
  margin-bottom: 20px;
}

/* ----------------------------- */
/*        RESPONSIIVISUUS        */
/* ----------------------------- */
@media (max-width: 768px) {
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-links li {
    margin-bottom: 10px;
  }
}
* {
  box-sizing: border-box;
}

@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;
  }
}

@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;
  }
}

@media (max-width: 480px) {
  .modal-content {
    width: 90%;
    max-width: 300px;
    margin-top: 40%;
    padding: 20px;
  }

  .close {
    right: 10px;
    top: 8px;
    font-size: 22px;
  }
}
/* ----------------------------- */
/*        Markkinointi       */
/* ----------------------------- */

#markkinointi {
  background-image: url('tausta_3.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 80px 0;
}

.markkinointi-content {
  background: #ffffff;
  padding: 40px;
  max-width: 1000px;
  margin: 0 auto;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.insta-link {
  color: #b85c8e;   /* valitse väri */
  text-decoration: none;
  font-weight: 600; /* halutessasi */
}

.insta-link:hover {
  color: #b85c8e;
}
.colored-heading {
  color: #b85c8e; 
}



