:root {
  --bg: #FAF8F4;
  --text: #1F2933;
  --primary: #2F3E3A;
  --accent: #C2A14D;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Georgia", serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.hero {
  height: 70vh;
  background: url("images/hero.jpg") center 50% / cover no-repeat;
  position: relative;   /* ✅ PRIDAŤ */
}


.overlay {
  position: absolute;   /* ✅ aby sedel na obrázku */
  inset: 0;             /* ✅ roztiahne na celý hero */
  
  background: rgba(0, 0, 0, 0.35); /* ✅ stmavenie */
  
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  
  text-align: center;
  padding: 2rem;
  color: white;
}
``


h1 {
  font-size: 7rem;             /* väčší */
  margin-bottom: 0.5rem;
  position: relative;
  top: -40px;                  /* ⬆️ hore */
  text-shadow: 0 4px 15px rgba(0,0,0,0.9);
}

.subtitle {
  max-width: 700px;
  font-size: clamp(1rem, 2.5vw, 1.4rem);
  margin-top: 80px;
  line-height: 1.6;   /* ✅ NECHAŤ */
  color: rgba(255,255,255,0.9);
  text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}

nav {
  background: var(--primary);
}

nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
}

nav a {
  color: #fff;              /* ✅ toto je kľúč */
  text-decoration: none;
  padding: 1rem;
  display: block;
}

nav a:hover {
  background: var(--accent);
  color: #000;
}

main {
  max-width: 750px;
  margin: 3rem auto;
  padding: 0 1rem;
}

section {
  margin-bottom: 4rem;
}

h2 {
  color: var(--primary);
  margin-bottom: 1rem;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 0.3rem;
}

blockquote {
  margin-top: 1rem;
  font-style: italic;
  color: var(--primary);
}

img {
  max-width: 100%;
  margin: 1rem 0;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th, td {
  border-bottom: 1px solid #ccc;
  padding: 0.5rem;
}

footer {
  text-align: center;
  padding: 3rem 1rem;
  background: #e5e1d8;
  margin-top: 4rem;

}

.tricolor {
  height: 4px;
  background: linear-gradient(
    to right,
    #7A2E2E,
    #ffffff,
    #3A5F8A
  );
  margin-bottom: 1rem;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
}

#dirigentka img,
#dirigentka video {
  display: block;
  max-width: 400px;
  margin: 1rem auto;
}
video {
  width: 100%;
  max-width: 600px;
  display: block;
  margin: 1rem 0;
  border-radius: 8px;
}
/* Dirigentka – dve fotky vedľa seba */
.dirigentka-galeria {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.dirigentka-galeria img {
  height: 250px;
  width: auto;
  object-fit: cover;
  border-radius: 8px;
}

/* video zarovnanie */
#dirigentka video {
  display: block;
  max-width: 500px;
  margin: 1.5rem auto;
  border-radius: 8px;
}
.inline-foto {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  vertical-align: middle;
  margin-left: 0.5rem;
  position: relative;
  top: 8px;   /* toto je kľúč */
}
section {
  margin-bottom: 5rem;
}
html {
  scroll-behavior: smooth;
}
/* vylepšenie menu */

nav a {
  transition: 0.3s;
}

nav a:hover {
  background: var(--accent);
  color: #000;
}
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
}
img {
  box-shadow: 0 4px 10px rgba(109, 54, 54, 0.425);
}
 
@media (max-width: 768px) {

  .overlay h1 {
    font-size: 2rem;   /* menší title len na mobile */
    top: 0;
  }

  .subtitle {
    margin-top: 30px;
  }

  .hero {
    height: 90vh;
  }
}
.inline-foto {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 50%;
  vertical-align: middle;
  margin-right: 10px;
}
.logo-stred {
  display: block;
  margin: 20px auto;
  width: 250px;
  opacity: 0.9;
}
.lang-switch {
  text-align: right;
  padding: 10px 20px;
  font-size: 0.9rem;
}

.lang-switch a {
  text-decoration: none;
  margin: 0 5px;
  color: var(--primary);
}

.lang-switch a.active {
  font-weight: bold;
  text-decoration: underline;
}