
body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f4f4f4;
}

h1, h2 {
  color: #2c3e50;
}

h1 {
  font-size: 2em;
}

h2 {
  font-size: 1.5em; 
}

.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 {
  text-decoration: none;
  color: #2c3e50;
  font-weight: bold;
  padding: 8px 12px;
  border-radius: 5px;
  transition: background-color 0.3s, color 0.3s;
}

.main-nav a:hover {
  background-color: #0066cc;
  color: white;
}

/* Hero Section */
.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; 
}



.cave-block,
.park-block,
.castle-block {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  margin-bottom: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background-color: #004990; 
}



.cave-text,
.park-text,
.castle-text {
  flex: 2;
  min-width: 300px;
  background-color: white; 
  padding: 15px;
  border-radius: 10px; 
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
  color: #2c3e50; 
}



.cave-image,
.park-image,
.castle-image {
  flex: 1;
  min-width: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white; 
  padding: 15px;
  border-radius: 10px; 
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
}

.cave-image img {
  max-height: 300px; 
  width: auto;
  object-fit: contain;
}


.content {
  display: flex;
  flex-direction: column;
  gap: 2em;
  padding: 2em;
  max-width: 1200px;
  margin: 2em auto;
  background-color: white; 
  border-radius: 10px; 
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); 
}

.main-nav a.active {
  background-color: #0066cc; 
  color: white; 
}



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;
}


.anchor-menu {
  display: flex;
  gap: 20px;
  justify-content: flex-start; 
  background-color: #0066cc;   
  padding: 12px 0;
  border-radius: 8px;
  margin-bottom: 2em;
}

.anchor-menu a {
  color: white;
  background: none;
  font-weight: bold;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 5px;
  transition: background 0.3s, color 0.3s;
}

.anchor-menu a:hover,
.anchor-menu a:focus {
  background-color: #004990;
  color: #ffcc00;
  text-decoration: none;
  outline: none;
}

.anchor-menu-wrapper {
  background: none !important;
}