/* ============================================
   TABLET (≤ 1024 px)
   ============================================ */
@media (max-width: 1024px) {

  /* TYPOGRAFIA */
  body {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  h1 { font-size: 2rem; }
  h2 { font-size: 1.6rem; }
  h3 { font-size: 1.35rem; }
  h4 { font-size: 1.2rem; }

  /* FOOTER */
  footer.site-footer {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 2.4rem 2rem;
  }

  footer.site-footer .footer-section {
    margin-bottom: 1.2rem;
  }

  footer.site-footer p,
  footer.site-footer a {
    font-size: 1rem;
  }
}

/* ============================================
   MOBIL (≤ 768 px)
   ============================================ */
@media (max-width: 768px) {

  /* TYPOGRAFIA – sakrálna, jemnejšia */
  body {
    font-size: 0.85rem;       /* jemnejšie */
    line-height: 1.55;
  }

  h1 {
    font-size: 1.5rem;       /* jemnejšie */
    line-height: 1.25;
  }

  h2 {
    font-size: 1.3rem;       /* jemnejšie */
    line-height: 1.3;
  }

  h3 {
    font-size: 1.15rem;      /* jemnejšie */
    line-height: 1.3;
  }

  h4 {
    font-size: 1.05rem;      /* jemnejšie */
  }

  /* HEADER */
  .header-modern {
    padding: 1rem 0 0.5rem;
  }

  .site-title {
    font-size: 2.1rem;       /* jemné zmenšenie */
    line-height: 1.15;
  }

  /* Hamburger */
  .hamburger {
    display: block;
    width: 34px;
    height: 26px;
    margin: 0.75rem auto 0;
    cursor: pointer;
    position: relative;
  }

  .hamburger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--accent);
    border-radius: 3px;
    transition: 0.3s ease;
  }

  .hamburger span:nth-child(1) { top: 0; }
  .hamburger span:nth-child(2) { top: 10px; }
  .hamburger span:nth-child(3) { top: 20px; }

  .hamburger.active span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }

  /* MOBILNÉ MENU – jemnejšie */
  .light-nav {
    display: none;
    background: none;
    border: none;
    box-shadow: none;
    margin-top: 0;
  }

  .light-nav.open {
    display: block;
    background: var(--bg-nav);
    border-radius: 0.75rem;
    box-shadow: var(--shadow-sm);
    margin-top: 0.75rem;
    overflow: hidden;
    animation: fadeInMenu 0.3s ease-out;
  }

  .light-nav ul {
    display: block;
    padding: 0;
    margin: 0;
  }

  .light-nav a {
    display: block;
    padding: 0.85rem 1rem;   /* jemnejšie */
    font-size: 1.1rem;       /* jemnejšie */
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    color: #2f2a26;
    font-family: "Cormorant Garamond", serif;
    font-weight: 500;
    transition: background 0.25s ease, color 0.25s ease;
  }

  .light-nav a:hover {
    background: var(--accent-gold);
    color: var(--accent);
  }

  /* DROPDOWN – jemnejšie */
  .has-dropdown .dropdown {
    display: none;
    position: static;
    padding: 0;
    margin: 0;
    background: var(--bg-wrapper);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-xs);
    border-radius: 0.5rem;
    overflow: hidden;
  }

  .has-dropdown.open .dropdown {
    display: block;
    animation: dropdownFade 0.25s ease-out;
  }

  .has-dropdown .dropdown a {
    display: block;
    padding: 0.75rem 1rem;   /* jemnejšie */
    font-size: 1.05rem;      /* jemnejšie */
    font-family: "Cormorant Garamond", serif;
    color: #2f2a26;
    text-align: center;
    border-bottom: 1px solid var(--border-light);
    position: relative;
    transition: color 0.25s ease, background 0.25s ease;
  }

  .has-dropdown .dropdown a:last-child {
    border-bottom: none;
  }

  .has-dropdown .dropdown a:hover {
    background: var(--accent-gold);
    color: var(--accent);
  }

  .has-dropdown .dropdown a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 6px;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, #d4a85c, var(--accent), #d4a85c);
    transform: translateX(-50%);
    transition: width 0.3s ease, box-shadow 0.3s ease;
    opacity: 0.9;
  }

  .has-dropdown .dropdown a:hover::after {
    width: 70%;
    box-shadow: 0 0 6px rgba(196,154,82,0.45);
  }

  /* HERO */
  .hero {
    position: relative;
    width: 100%;
    margin: 1rem 0;
    border-radius: 0.5rem;
    overflow: hidden;
    background: transparent;
    min-height: 260px;
  }

  .hero picture,
  .hero img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: inherit;
    z-index: 1;
  }

  .hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,0.28),
      rgba(0,0,0,0.12),
      rgba(0,0,0,0.05)
    );
    border-radius: inherit;
    z-index: 2;
    pointer-events: none;
  }

  .hero-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #ffffff;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.3rem;       /* jemnejšie */
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: 0.4px;
    z-index: 3;
    pointer-events: none;
    text-shadow:
      0 2px 8px rgba(0,0,0,0.45),
      0 3px 12px rgba(0,0,0,0.35),
      0 0 22px rgba(255,255,255,0.35);
  }

  .hero-text span {
    display: block;
    font-size: 1.8rem;       /* jemnejšie */
    margin-top: 0.35rem;
    font-weight: 600;
    color: #ffffff;
    text-shadow:
      0 2px 6px rgba(0,0,0,0.35),
      0 0 18px rgba(255,255,255,0.28);
  }

  /* OBSAH */
  main {
    padding: 1rem 1.25rem;
  }

  /* FOOTER */
  footer.site-footer {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.75rem 1.25rem;
  }

  footer.site-footer .footer-section {
    min-width: 100%;
    border-left-width: 2px;
    padding-left: 0.75rem;
  }

  .credits {
    margin-top: 1rem;
  }
}

/* ============================================
   EXTRA MALÉ MOBILY (≤ 480 px)
   ============================================ */
@media (max-width: 480px) {

  /* TYPOGRAFIA */
  body {
    font-size: 0.88rem;
    line-height: 1.5;
  }

  h1 { font-size: 1.4rem; }
  h2 { font-size: 1.22rem; }
  h3 { font-size: 1.08rem; }
  h4 { font-size: 0.98rem; }

  .hero-text {
    font-size: 1.22rem;
  }

  .hero-text span {
    font-size: 1.7rem;
  }

  /* FOOTER */
  footer.site-footer {
    padding: 1.6rem 1.2rem;
    gap: 1.2rem;
  }

  footer.site-footer h4 {
    font-size: 1.05rem;
  }

  footer.site-footer p,
  footer.site-footer a {
    font-size: 0.88rem;
  }
}
