/* ==================== */
/* Yleiset tyylit       */
/* ==================== */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f9f9f9;
    color: #333;
  }
  
  h1, h3 {
    margin: 0.5em 0;
  }
  
  /* ==================== */
  /* Header & Footer      */
  /* ==================== */
  header, footer {
    background-color: #004080;
    color: white;
    padding: 0.75rem;
    text-align: center;
  }
  
  header p {
    margin: 0;
    font-size: 1rem;
    opacity: 0.9;
  }
  
  nav a, footer a {
    color: #cce0ff;
    text-decoration: none;
    margin: 0 10px;
  }
  
  nav a:hover, footer a:hover {
    text-decoration: underline;
  }
  
  /* ==================== */
  /* Sisältöosiot         */
  /* ==================== */
  section {
    padding: 1rem;
    max-width: 600px;
    width: 100%;
    margin: 1rem auto;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
  }
  
  /* ==================== */
  /* Lomakkeet            */
  /* ==================== */
  #tarjousForm {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
  }
  
  .form-group {
    margin-bottom: 1rem;
  }
  
  form label {
    display: block;
    margin-top: 0.75rem;
    font-weight: bold;
  }
  
  input[type="number"],
  input[type="checkbox"],
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  .form-group input,
  .form-group textarea {
    margin-top: 0.25rem;
    padding: 0.5rem;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
  }
  
  .form-group textarea {
    min-height: 120px;
    resize: vertical;
  }
  
  /* ==================== */
  /* Painikkeet          */
  /* ==================== */
  button {
    margin-top: 1rem;
    padding: 0.75rem 1.5rem;
    background-color: #004080;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
  }
  
  button:hover {
    background-color: #003060;
  }
  
  .button-group {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
  }
  
  .button-group button {
    flex: 1;
  }
  
  /* ==================== */
  /* Erityiselementit     */
  /* ==================== */
  #tulos {
    margin-top: 1rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #004080;
  }
  
  #kiitosViesti {
    background-color: #e8f5e9;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
  }
  
  .video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    margin-top: 1rem;
  }
  
  .video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }
  
  /* ==================== */
  /* Mobiiliresponsiivisuus */
  /* ==================== */
  @media (max-width: 600px) {
    section {
      padding: 0.75rem;
      margin: 0.75rem;
      width: auto;
    }
  
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    textarea {
      padding: 0.6rem;
      font-size: 0.95rem;
    }
  
    textarea {
      min-height: 100px;
    }
  
    button {
      padding: 0.75rem 1.25rem;
    }
  
    .button-group {
      flex-direction: column;
    }
  }
  