nav {
  background: #FFF9E5;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
  margin: 24px auto 32px auto;
  max-width: 950px;
  padding: 0 16px;
  position: relative;
  z-index: 10;
  transition: box-shadow 0.3s;
}

/* Išvalo sąrašo numatytus taškus ir tarpus */
nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  align-items: center;
  font-size: 1.15rem;
}

/* Nuorodų stilius */
nav ul li a {
  color: #222;
  padding: 10px 22px;
  text-decoration: none;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
  font-weight: 500;
  letter-spacing: 0.5px;
  position: relative;
  z-index: 1;
}

/* Nuorodos hover efektas */
nav ul li a:hover,
nav ul li a.active {
  background: #ffeeba;
  color: #b85c5c;
  box-shadow: 0 2px 8px rgba(0,0,0,0.07);
}

.gallery {
display: flex;
gap: 10px;
overflow-x: auto;
}

/* Responsive navigation */
@media (max-width: 700px) {
  nav {
    max-width: 100%;
    border-radius: 0 0 14px 14px;
    margin: 0 0 24px 0;
    padding: 0 4px;
  }
  nav ul {
    flex-direction: column;
    gap: 0;
    align-items: stretch;
  }
  nav ul li {
    width: 100%;
  }
  nav ul li a {
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 0;
    border-radius: 0;
    margin: 0;
  }
}
html, body {
  height: 100%;
  width: 100%;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Didelis pusiau permatomas fonas pagrindiniam turiniui */
.content-bg {
  background: rgba(255, 255, 255, 0.85);
  border-radius: 18px;
  padding: 40px 56px;
  margin: 48px auto;
  max-width: 950px;
  box-shadow: 0 6px 32px rgba(0,0,0,0.12);
  backdrop-filter: blur(2px);
  font-size: 1.15rem;
  transition: box-shadow 0.3s;
}
.content-bg:hover {
  box-shadow: 0 12px 48px rgba(0,0,0,0.18);
}

body {
  background-image: url("1044851.jpg");
  background-color: #cccccc;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
  min-width: 100vw;
  position: relative;
  overflow-x: hidden;
}

/* Background overlay for better readability */
/* body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(30, 30, 30, 0.68);
  backdrop-filter: blur(4px);
  z-index: 0;
  pointer-events: none;
} */

/* Logo styling */
header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 32px;
  margin-bottom: 24px;
  z-index: 2;
  position: relative;
}

header img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  background: #fff;
  padding: 10px;
  margin-bottom: 16px;
}

header h1 {
  margin: 0;
  font-size: 2.2rem;
  font-weight: 700;
  color: #2c3e50;
  text-align: center;
  letter-spacing: 1px;
  background: none;
  box-shadow: none;
}
