
body {
  margin: 0;
  font-family: 'Roboto', sans-serif;
  color: #222;
  background-color: #f8f8f8;
}

html {
  scroll-behavior: smooth;
}

:root {
  --blue: #00393e;
  --light-blue: #65ada783;
  --white: #ffffff;
  --black: #000000;
}


.hero-video-wrapper {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background-color: black; 
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-overlay {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  padding-top: 8vh;
  text-align: center;
  padding-left: 1rem;
  padding-right: 1rem;
  background: rgba(0, 0, 0, 0.5);
}

@media (max-width: 767px) {
  .hero {
    justify-content: center; /* mobiilissa keskelle */
  }
}

.logo-wrapper {
  margin-bottom: 1rem;
}

.logo {
  max-height: 140px;
}

nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 1rem;
  padding: 0;
  margin: 1rem 0;
  flex-wrap: wrap;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1rem;
  background: rgba(0, 0, 0, 0.7);
  padding: 0.6rem 1.2rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  background: black;
  border: 1px solid white;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
  cursor: pointer;
}

.nav-menu {
  display: flex;
  justify-content: center;
}

@media (max-width: 767px) {
  .hamburger {
    display: block;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 2rem;
    padding: 0;
    margin: 0;
  }

  .nav-links a {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: opacity 0.3s;
  }

  .nav-links a:hover {
    text-decoration: underline;
    opacity: 0.8;
  }
}

.hero-text {
  max-width: 800px;
  margin-top: 2rem;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin: 0.5rem 0 0;
  font-weight: 700;
  color: white;
}

.hero-text p {
  font-size: 1.2rem;
  margin: 1rem 0 2rem;
  font-weight: 300;
  color: white;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--white);
  color: var(--black);
  padding: 0.8rem 1.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.2s ease;
  box-shadow: 0 0 0 transparent;
}

.cta-button:hover {
  background-color: var(--light-blue);
  transform: scale(1.03);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.cta-button.secondary {
  background-color: var(--blue);
  color: var(--white);
  border: 2px solid var(--white);
}

.cta-button.secondary:hover {
  background-color: #00393e;
}

.cta-button.whatsapp {
  background-color: #25D366;
  color: white;
  border: none;
}

.cta-button.whatsapp:hover {
  background-color: #1DA851;
  transform: scale(1.05);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
}

.cta-button svg.icon {
  width: 1.2em;
  height: 1.2em;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.scroll-down {
  position: absolute;
  bottom: 4rem;
  animation: pulse 2s infinite;
  z-index: 3;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.scroll-down svg {
  height: 72px;
  width: 72px;
  fill: white;
}

.scroll-down.hidden {
  opacity: 0;
  pointer-events: none;
}

@keyframes pulse {
  0%, 100% {
    transform: translateY(0);
    opacity: 1;
  }
  50% {
    transform: translateY(8px);
    opacity: 0.8;
  }
}

@media (max-width: 768px) {
  .scroll-down {
    display: none;
  }
}

@media (max-width: 600px) {
  .feature-links a {
    width: 90%;
    margin: 0 auto;
  }
}

.feature-links {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
}

.feature-links a {
  display: block;
  text-align: center;
  text-decoration: none;
  color: inherit;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.2s ease;
}

.feature-links a:hover {
  transform: scale(1.02);
}

.feature-links img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-links h2 {
  margin: 1rem;
  font-size: 1.2rem;
}

.cta-section {
  background-color: var(--light-blue);
  text-align: center;
  padding: 4rem 1rem;
}

.cta-section h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.local-note {
  font-size: 1.1rem;
  font-weight: 400;
  color: #333;
  margin-bottom: 1rem;
}

.contact-info {
  margin-bottom: 2rem;
  line-height: 1.8;
  font-size: 1.1rem;
}

.contact-info a {
  color: var(--blue);
  text-decoration: none;
}

.contact-info a:hover {
  text-decoration: underline;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.cta-buttons .cta-button {
  width: 250px;
  text-align: center;
}

@media (min-width: 600px) {
  .cta-buttons {
    flex-direction: row;
  }
}

footer {
  background-color: #1a1a1a;
  color: #ddd;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 1rem;
}


@media (min-width: 768px) {
  .feature-links {
    flex-direction: row;
    justify-content: center;
  }

  .feature-links a {
    width: 30%;
  }

  .hero-text h1 {
    font-size: 3.5rem;
  }

  .hero-text p {
    font-size: 1.5rem;
  }

  .nav-links {
    gap: 1.5rem;
  }

  .page-header h1 {
    font-size: 3rem;
  }

  .service-text h2 {
    font-size: 1.8rem;
  }

  .page-header p {
    font-size: 1.3rem;
  }
}

.page-header {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 350px; 
  background: url("../images/background.png") no-repeat center center / cover;
  color: white;
}

.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.5); 
  z-index: 0;
}

.page-header .header-content {
  position: relative;
  z-index: 1;
  padding: 1rem;
}

.page-header h1 {
  font-size: 2.8rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.3;
  color: white;
}

.page-header p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto;
  color: #ddd;
}


.service-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  padding: 3rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.service-row {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.service-row.reverse {
  flex-direction: row-reverse;
}

.service-text {
  flex: 1 1 400px;
}

.service-text h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.service-text ul {
  list-style-type: disc;
  padding-left: 1.5rem;
  line-height: 1.7;
}

.service-image {
  flex: 1 1 400px;
  text-align: center;
}

.service-image img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.subpage-nav {
  background-color: #000000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 1.5rem;
}

.subpage-nav .logo {
  max-height: 60px;
}

.subpage-nav .nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  margin: 0;
  padding: 0;
}

.subpage-nav .nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.5rem 1rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.subpage-nav .nav-links a:hover {
  background: black;
  border: 1px solid white;
}

.back-to-home {
  background-color: var(--light-blue);
  padding: 3rem 1rem;
  text-align: center;
}

.back-to-home h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}
footer .privacy-inline {
  display: block;
  font-size: 0.85rem;
  color: #999;
  margin-top: 0.5rem;
}

.background-video {
  position: absolute;
  top: 0;
  left: 0;
  min-width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
  opacity: 1;
  background-color: black;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); 
  z-index: 1;
}

.page-header .header-content {
  position: relative;
  z-index: 2;
}

.mobile-only {
  display: none;
}

@media (max-width: 767px) {
  .mobile-only {
    display: inline-block;
  }

  .hero-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .cta-button {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }
}
@media (max-width: 767px) {
  .hamburger {
    display: block;
    background: none;
    border: none;
    font-size: 2rem;
    color: white;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1000;
    cursor: pointer;
  }

  .nav-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center; /* Pystykeskitys */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    z-index: 999;
    text-align: center;
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    gap: 2rem;
    padding: 0;
    margin: 0;
  }

  .nav-links a {
    font-size: 1.5rem;
    color: white;
    background: none;
    border: none;
    text-decoration: none;
    transition: opacity 0.3s ease;
  }

  .nav-links a:hover {
    text-decoration: underline;
    opacity: 0.8;
  }
}
#scroll-down-mobile {
  display: none;
}

@media (max-width: 767px) {
  #scroll-down-mobile {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 15vh; 
    left: 0;
    width: 100%;
    animation: pulse 2s infinite;
    z-index: 3;
  }

  #scroll-down-mobile svg {
    height: 48px;
    width: 48px;
    fill: white;
  }
}

@keyframes pulse {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(6px);
  }
}

.about-preview {
  padding: 4rem 1.5rem;
  background-color: var(--light-blue);
  text-align: center;
}

.about-preview h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.about-preview p {
  max-width: 800px;
  margin: 0 auto 1.5rem;
  font-size: 1.1rem;
  color: #222;
}

.about-preview .cta-button {
  font-size: 1rem;
}


.about-columns-3 {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 1.5rem;
  max-width: 1200px;
  margin: 0 auto;
}

.about-box {
  flex: 1 1 30%;
  padding: 3rem 2rem;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease;
  text-align: left;
}

.about-box:hover {
  transform: scale(1.02);
}

.about-box h2 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.about-box p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #222;
}

.about-box.light {
  background-color: #ffffff;
}

.about-box.mid {
  background-color: var(--light-blue);
}

.about-box.dark {
  background-color: #00393e;
  color: white;
}

.about-box.dark p {
  color: #e6e6e6;
}


.about-cta {
  text-align: center;
  padding: 4rem 1.5rem;
  background-color: var(--light-blue);
  border-radius: 12px;
  margin-top: 3rem;
}

.about-cta h3 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
}

.about-cta .cta-button {
  font-size: 1rem;
  padding: 0.75rem 1.5rem;
}


@media (max-width: 1024px) {
  .about-box {
    flex: 1 1 100%;
    text-align: center;
  }

  .about-box h2 {
    font-size: 1.6rem;
  }

  .about-box p {
    font-size: 1rem;
  }

  .about-cta h3 {
    font-size: 1.5rem;
  }
}


/* --- KIINNOSTUITKO-SIVUN ULKOASU --- */

.simple-header {
  background-color: #2b4c4c;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
}

.simple-header .logo {
  max-height: 140px;
}

.kiinnostuitko-wrapper {
  font-family: 'Roboto', sans-serif;
  background-color: #f1faf5;
  color: #222;
}

.kiinnostuitko-hero {
  text-align: center;
  padding: 0.25rem 1rem 2rem;
  background-color: #2b4c4c;
  color: white;
}

.kiinnostuitko-hero h1 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.kiinnostuitko-hero p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 0 auto 1rem;
}

.kiinnostuitko-features {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 4rem 1.5rem;
  background-color: #f1faf5;
}

.feature-card {
  background-color: #fff;
  padding: 1.5rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  flex: 1 1 320px;
  max-width: 500px;
  text-align: center;
}

.feature-card h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: #2b4c4c;
}

.feature-card p {
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

.kiinnostuitko-end {
  text-align: center;
  padding: 1rem 1.5rem 2rem;
  background-color: #f1faf5;
  font-size: 1rem;
}

.kiinnostuitko-end a {
  color: #2b4c4c;
  text-decoration: underline;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.cta-button.secondary {
  background-color: #00393e;
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.cta-button.secondary:hover {
  background-color: #002a2e;
}

.cta-button.whatsapp {
  background-color: #25D366;
  color: white;
}

.cta-button.whatsapp:hover {
  background-color: #1da851;
}

@media (max-width: 768px) {
  .feature-card {
    max-width: 100%;
  }

  .kiinnostuitko-hero h1 {
    font-size: 1.8rem;
  }
}
