/* ======================================================
   1. ZÁKLAD
====================================================== */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Georgia, serif;
  color: #222;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2 {
  font-family: "Times New Roman", serif;
}


/* ======================================================
   2. HERO / HEADER
====================================================== */
.hero {
  min-height: 70vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.55),
      rgba(0, 0, 0, 0.55)),
    url("../obrazky/kulturak.png") center / cover no-repeat;
  position: relative;
}

/* TITULEK */
.hero-text {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  pointer-events: none;
}

.hero-text h1 {
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.5rem);
  text-shadow: 0 8px 22px rgba(0, 0, 0, 0.75);
}


/* ======================================================
   3. NAVBAR – MLÉČNÉ SKLO
====================================================== */
.hero-nav {
  padding-top: 20px;
}

.hero-nav .container {
  width: fit-content;
  margin: 0 auto;

  background: rgba(20, 20, 20, 0.55);
  backdrop-filter: blur(16px);

  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;

  padding: 10px 24px;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.55),
    inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.hero-nav .nav-link {
  color: #ffffff;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  padding: 6px 10px;
  white-space: nowrap;
  transition: color 0.25s, text-shadow 0.25s;
}

.hero-nav .nav-link:hover {
  color: #fbfc01;
  text-shadow: 0 0 8px rgba(251, 252, 1, 0.6);
}

.hero-nav .dropdown-menu {
  background: rgba(15, 15, 15, 0.92);
  backdrop-filter: blur(12px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.navbar-toggler {
  border: none;
  margin: 0 auto;
}

.navbar-toggler-icon {
  filter: invert(1);
}


/* ======================================================
   4. MAIN
====================================================== */
.content {
  background: url("../obrazky/old_vintage_paper.jpg") center / cover;
  padding: 70px 0;
}

.intro {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.intro p {
  line-height: 1.6;
}


/* ======================================================
   5. KARTY
====================================================== */
.tiles {
  margin-top: 50px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.tile {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.tile:hover img {
  transform: scale(1.06);
}

.tile-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 22px;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.tile:hover .tile-overlay {
  opacity: 1;
}


/* ======================================================
   6. KONTAKT
====================================================== */
.contact {
  background: #111;
  color: #ffffff;
  padding: 70px 0;
}

.contact-grid {
  max-width: 1100px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.contact-form {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 18px;
  padding: 30px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 14px;
}

.contact-form input,
.contact-form textarea {
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
}

.contact-form button {
  margin-top: 8px;
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(251, 252, 1, 0.15);
  color: #ffffff;
  cursor: pointer;
}

.contact-map {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-map iframe {
  width: 100%;
  max-width: 520px;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  border: none;
}

.contact-map p {
  margin-top: 10px;
  text-align: center;
  opacity: 0.85;
}


/* ======================================================
   7. RESPONZIVITA – OPRAVENÁ
====================================================== */

/* TABLET */
@media (max-width: 992px) {
  .hero-text {
    display: none;
  }

  .hero-nav .container {
    max-width: 90%;
    padding: 10px 16px;
  }

  .navbar-nav {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding-top: 10px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    justify-items: center;
  }
}

/* MALÉ TELEFONY */
@media (max-width: 576px) {
  .contact {
    padding: 50px 16px;
  }

  .contact-form,
  .contact-map {
    width: 100%;
    max-width: 420px;
  }

  .contact-map iframe {
    max-width: 100%;
  }

  .tiles {
    gap: 20px;
  }
}