/* ===== Base reset ===== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  /* ===== General page styles ===== */
  html {
    min-height: 100%;
  }

  body {
    font-family: Arial, Helvetica, sans-serif;
    line-height: 1.6;
    background-color: #f5f2ed;
    color: #222222;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
  }

  main {
    flex: 1;
  }
  
  img {
    max-width: 100%;
    height: auto;
    display: block;
  }
  
  .container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
  }
  
  /* ===== Skip link ===== */
  .skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    background: #ffffff;
    color: #000000;
    padding: 10px 14px;
    border: 2px solid #000000;
    z-index: 1000;
  }
  
  .skip-link:focus {
    left: 10px;
    top: 10px;
  }
  
  /* ===== Header ===== */
  .site-header {
    background-color: #1f1f1f;
    color: #ffffff;
    padding: 30px 0;
    text-align: center;
  }
  
  .site-header h1 {
    font-size: 2rem;
    margin-bottom: 10px;
  }
  
  .tagline {
    font-size: 1rem;
  }
  
  /* ===== Navigation ===== */
  .site-nav {
    background-color: #7a1f1f;
  }
  
  .site-nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .site-nav li {
    margin: 0;
  }
  
  .site-nav a {
    display: block;
    padding: 15px 20px;
    color: #ffffff;
    text-decoration: none;
    font-weight: bold;
  }
  
  .site-nav a:hover,
  .site-nav a:focus,
  .site-nav a.active {
    background-color: #2b0909;
  }
  
  /* ===== Hero ===== */
  .hero {
    padding: 40px 0;
    background-color: #e8e0d6;
  }
  
  .hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
  }
  
  .hero-text h2 {
    font-size: 1.8rem;
    margin-bottom: 15px;
  }
  
  .hero-text p {
    margin-bottom: 20px;
  }
  
  .button {
    display: inline-block;
    background-color: #7a1f1f;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 18px;
    border-radius: 4px;
  }
  
  .button:hover,
  .button:focus {
    background-color: #2b0909;
  }
  .contact-form-box form .form-group {
    display: grid;
    grid-template-columns: 110px 1fr;
    gap: 10px;
    align-items: start;
  }
  
  .contact-form-box form .form-group label {
    display: block;
    margin-bottom: 0;
    text-align: left;
  }
  
  .contact-form-box form .form-group input,
  .contact-form-box form .form-group select,
  .contact-form-box form .form-group textarea {
    width: 20%;
    min-width: 200px;
  }
  .form-group textarea{
    min-height: 100px;
  }
  
  .contact-form-box form button {
    margin-left: 120px; /* 140px + gap */
    margin-top: 10px;
  }
  
  /* ===== Intro ===== */
  .intro,
  .highlights,
  .facts {
    padding: 40px 0;
  }
  
  .intro h2,
  .highlights h2,
  .facts h2 {
    margin-bottom: 15px;
    font-size: 1.6rem;
  }
  
  /* ===== Cards ===== */
  .card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
  }
  
  .card {
    background-color: #ffffff;
    border: 1px solid #d6d0c9;
    padding: 20px;
    border-radius: 6px;
  }
  
  .card h3 {
    margin-bottom: 10px;
  }
  
  .card p {
    margin-bottom: 15px;
  }
  
  .card a {
    color: #7a1f1f;
    font-weight: bold;
    text-decoration: none;
  }
  
  .card a:hover,
  .card a:focus {
    text-decoration: underline;
  }
  
  /* ===== Facts section ===== */
  .facts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center;
  }
  
  .facts ul {
    padding-left: 20px;
  }
  
  .facts li {
    margin-bottom: 10px;
  }

  /* ===== Tables ===== */
  .table-wrapper {
    overflow-x: auto;
    margin-top: 1.5rem;
  }

  .info-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border: 1px solid #d6d6d6;
  }

  .info-table th,
  .info-table td {
    padding: 0.9rem;
    text-align: left;
    border: 1px solid #d6d6d6;
    vertical-align: top;
  }

  .info-table th {
    background: #1f4f63;
    color: #ffffff;
  }

  .info-table tr:nth-child(even) {
    background: #f4f7f8;
  }

  .info-table td:first-child {
    font-weight: bold;
  }
  
  /* ===== Footer ===== */
  .site-footer {
    background-color: #1f1f1f;
    color: #ffffff;
    padding: 25px 0;
    margin-top: 20px;
  }

  .site-footer a {
    color: #ffffff;
    text-decoration: underline;
  }

  .site-footer a:hover,
  .site-footer a:focus {
    color: #f5d6a2;
    text-decoration-thickness: 2px;
  }
  
  .credits-title {
    margin-top: 15px;
    margin-bottom: 8px;
    font-weight: bold;
  }
  
  .credits-list {
    padding-left: 20px;
  }
  
  /* ===== Responsive layout ===== */
  @media (max-width: 768px) {
    .hero-grid,
    .facts-grid,
    .card-grid {
      grid-template-columns: 1fr;
    }
  
    .site-header h1 {
      font-size: 1.6rem;
    }
  
    .hero-text h2 {
      font-size: 1.5rem;
    }
  
    .site-nav ul {
      flex-direction: column;
      align-items: center;
    }
  
    .site-nav a {
      width: 100%;
      text-align: center;
    }
  }
