body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f7f7f7;
  color: #333;
}

h1, h2 {
  color: #2c3e50;
}

h1 {
  font-size: 2em; /* Adjust font size for h1 */
}

h2 {
  font-size: 1.5em; /* Adjust font size for h2 */
}

.skip-link {
  position: absolute;
  left: -999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 100;
}

.skip-link:focus {
  position: absolute;
  left: 10px;
  top: 10px;
  width: auto;
  height: auto;
  padding: 8px 16px;
  background: #0066cc;
  color: white;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  z-index: 1000;
}


img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: white;
  border-bottom: 1px solid #ccc;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: auto;
  padding: 10px 20px;
}

.logo img {
  height: 100px;
}

.main-nav {
  display: flex;
  gap: 20px;
}

.main-nav a {
  font-family: Arial, sans-serif; 
  font-size: 1em;                 
  font-weight: bold;
  text-decoration: none;
  color: #2c3e50;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.main-nav a:hover {
  background-color: #0066cc;
  color: white;
}



.main-nav a.active {
  background-color: #0066cc; 
  color: white; 
}

.hero {
  position: relative;
  width: 100%;
  height: 60vh;
  background: url('fooldal4uj.jpeg') center/cover no-repeat;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0;
  padding: 0;
  overflow: hidden;
  image-rendering: auto;
}

.hero h1 {
  font-size: 3em;
  margin: 0;
  padding: 1em;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
  color: white; /* Ensure the text is white */
}

.content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2em;
  padding: 2em;
  background-color: #ffffff;
  max-width: 1400px; 
  margin: 0 auto;    
}

.text, .video {
  flex: 1 1 40%;
  min-width: 300px;
}

.text h1, .video h1 {
  color: #004990;
}

.text p {
  width: 100%;
  max-width: 100%;
}

.video video {
  width: 100%;
  height: auto; 
  display: block; 
}

.gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5em;
  padding: 2em 1em;
  background-color: #f0f0f0;
  max-width: 1430px; 
  margin: 0 auto;   
}

.gallery-item {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 400px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.gallery-item p {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  margin: 0;
  padding: 0.5em;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  font-weight: bold;
  text-align: center;
}

.gallery-heading {
  text-align: center;
  font-size: 1.8em;
  margin-bottom: 1em;
  color: white;
}



@media (max-width: 480px) {
  header {
    flex-direction: column;
    align-items: center;
  }

  nav {
    justify-content: center;
  }

  .content {
    flex-direction: column;
    align-items: center;
  }

  .text, .video {
    flex: 1 1 100%;
  }

  .hero h1 {
    font-size: 2em;
    padding: 0.5em;
  }

  .gallery {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 481px) and (max-width: 1024px) {
  .content {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .text, .video {
    flex: 1 1 48%;
  }

  .gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1025px) {
  .content {
    flex-direction: row;
  }

  .text, .video {
    flex: 1 1 45%;
  }

  .gallery {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item {
    height: 100%;
  }
}

footer {
  background-color: #004990;
  color: white;
  text-align: left; 
  padding: 1em;
  margin-top: 2em;
}

footer h2 {
  color: white;
}



footer a {
  color: white;
  text-decoration: underline;
}

footer a:visited {
  color: #e0e0e0; 
}

footer a:hover,
footer a:focus {
  color: orange;
  text-decoration: underline;
  outline: 2px dashed orange;
  outline-offset: 2px;
}







