/* ================================================
   U Rozcestí — Modern Stylesheet
   ================================================ */

/* --- Reset & Base -------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream:      #FAF7F2;
  --cream-dark: #EDE4D6;
  --dark:       #1C110A;
  --brown:      #6B3D1E;
  --brown-light:#8B5A35;
  --gold:       #C9912A;
  --gold-light: #E5B96E;
  --warm-gray:  #7A6B5D;
  --border:     #D9CFC3;

  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'Inter', system-ui, sans-serif;

  --nav-h: 70px;
  --max-w: 1160px;
  --section-pad: 90px;
  --hours-h: 140px;
}

html { scroll-behavior: smooth; scroll-padding-top: var(--nav-h); }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--dark);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a   { color: inherit; text-decoration: none; }

/* --- Utility ------------------------------------ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}

.section-label {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 10px;
}

.section-title + .divider {
  margin-top: 6px;
  margin-bottom: 32px;
}

.subsection-title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.subsection-title::before {
  content: '';
  width: 32px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.section-subtitle {
  font-size: 17px;
  color: var(--warm-gray);
  max-width: 520px;
  line-height: 1.7;
}

.btn {
  display: inline-block;
  padding: 14px 34px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: background .25s, color .25s, transform .15s;
}

.btn-primary {
  background: var(--gold);
  color: #fff;
}
.btn-primary:hover { background: var(--brown); transform: translateY(-1px); }

.btn-outline {
  border: 1.5px solid var(--dark);
  color: var(--dark);
}
.btn-outline:hover { background: var(--dark); color: #fff; transform: translateY(-1px); }

.divider {
  width: 50px;
  height: 2px;
  background: var(--gold);
  margin-bottom: 28px;
}

/* --- Navigation --------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: rgba(28, 17, 10, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(201,145,42,0.2);
  transition: background .3s;
}

.site-header .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo img {
  height: 42px;
  width: auto;
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 18px;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1.2;
}
.logo-text small {
  display: block;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold-light);
  font-style: normal;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-links a {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  padding: 8px 14px;
  border-radius: 2px;
  transition: color .2s, background .2s;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 1px;
  background: var(--gold);
}

/* Dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown > a::after {
  content: ' ▾' !important;
  position: static !important;
  display: inline !important;
  font-size: 9px;
  opacity: 0.5;
  width: auto !important;
  height: auto !important;
  background: none !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
}
.nav-links .dropdown-menu {
  display: none !important;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: rgba(28, 17, 10, 0.98);
  border: 1px solid rgba(201,145,42,0.15);
  border-radius: 3px;
  padding: 8px 0;
  list-style: none;
  box-shadow: 0 12px 36px rgba(0,0,0,0.3);
  z-index: 200;
  flex-direction: column;
}
.nav-links .nav-dropdown:hover > .dropdown-menu { display: flex !important; }
.nav-links .dropdown-menu li { width: 100%; }
.nav-links .dropdown-menu a {
  display: block;
  padding: 9px 20px;
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.8px;
  text-transform: none;
  color: rgba(255,255,255,0.7);
  white-space: nowrap;
}
.nav-links .dropdown-menu a:hover { color: #fff; background: rgba(201,145,42,0.12); }
.nav-links .dropdown-menu a::after { display: none !important; }

/* Mobile dropdown */
.mobile-nav .mobile-dropdown-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}
.mobile-nav .mobile-dropdown-toggle::after {
  content: '▾';
  font-size: 10px;
  opacity: 0.5;
  transition: transform .2s;
}
.mobile-nav .mobile-dropdown-toggle.open::after { transform: rotate(180deg); }
.mobile-nav .mobile-sub { display: none; list-style: none; padding-left: 20px; }
.mobile-nav .mobile-sub.open { display: block; }
.mobile-nav .mobile-sub a {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: none;
  padding: 10px 0;
  color: rgba(255,255,255,0.6);
}
.mobile-nav .mobile-sub a:hover { color: var(--gold-light); }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: #fff;
  transition: transform .3s, opacity .3s;
}

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--dark);
  padding: 28px 24px 36px;
  z-index: 99;
  border-top: 1px solid rgba(201,145,42,0.2);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.mobile-nav.open { display: block; }
body:has(.mobile-nav.open) { overflow: hidden; }
.mobile-nav ul { list-style: none; }
.mobile-nav ul li { border-bottom: 1px solid rgba(255,255,255,0.07); }
.mobile-nav ul a {
  display: block;
  padding: 14px 0;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.8);
}
.mobile-nav ul a:hover { color: var(--gold-light); }

/* --- Hero --------------------------------------- */
.hero {
  position: relative;
  height: calc(100svh - var(--hours-h));
  min-height: 460px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('wp-content/uploads/galerie/zahradka-3.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.45);
  transform: scale(1.04);
  transition: transform 8s ease;
}
.hero:hover .hero-bg { transform: scale(1); }

.hero-content {
  position: relative;
  text-align: center;
  color: #fff;
  padding: 0 24px;
  max-width: 760px;
}

.hero-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 18px;
  display: block;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(40px, 7vw, 80px);
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  margin-bottom: 24px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-title em { font-style: italic; color: var(--gold-light); }

.hero-desc {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  margin-bottom: 42px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.5);
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* --- Hours Banner ------------------------------- */
.hours-banner {
  background: var(--dark);
  padding: 20px 0;
  border-top: 1px solid rgba(201,145,42,0.18);
  min-height: var(--hours-h);
  display: flex;
  align-items: center;
}

.hours-banner > .container { width: 100%; }

.hours-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.hours-block { min-width: 0; }

.hours-heading {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}
.hours-heading i { font-size: 13px; opacity: 0.85; }

.hours-grid {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hours-item {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding-left: 18px;
  border-left: 1px solid rgba(201,145,42,0.18);
}
.hours-item:first-child {
  padding-left: 0;
  border-left: none;
}

.hours-day {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-light);
}

.hours-time {
  font-family: var(--font-serif);
  font-size: 20px;
  color: #fff;
  font-weight: 400;
  line-height: 1.2;
}

.hours-note {
  font-size: 11px;
  color: rgba(255,255,255,0.5);
  margin-top: 2px;
}

.hours-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex-shrink: 0;
}
.hours-cta .btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
}
.hours-cta .btn i { font-size: 12px; }

/* --- About / Intro ------------------------------ */
.section {
  padding: var(--section-pad) 0;
}

.section-dark {
  background: var(--cream-dark);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-images {
  position: relative;
  height: 520px;
}

.about-img-main {
  width: 78%;
  height: 400px;
  object-fit: cover;
  border-radius: 3px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.about-img-accent {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 52%;
  height: 260px;
  object-fit: cover;
  border-radius: 3px;
  border: 6px solid var(--cream);
  box-shadow: 0 16px 40px rgba(0,0,0,0.12);
}

.about-text p {
  color: var(--warm-gray);
  margin-bottom: 20px;
  font-size: 15.5px;
}

/* --- Gallery ------------------------------------ */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.gallery-item {
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 3/4;
  position: relative;
}

.gallery-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-footer {
  text-align: center;
  margin-top: 40px;
}

/* --- Menu Preview ------------------------------- */
.menu-section {
  background: var(--dark);
  padding: var(--section-pad) 0;
}

.menu-section .section-title { color: #fff; }
.menu-section .section-subtitle { color: rgba(255,255,255,0.5); }

.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 3px;
  overflow: hidden;
  margin-top: 50px;
}

.menu-card {
  padding: 36px 30px;
  background: rgba(255,255,255,0.02);
  transition: background .2s;
}
.menu-card:hover { background: rgba(255,255,255,0.05); }

.menu-card-icon {
  font-size: 26px;
  margin-bottom: 18px;
}

.menu-card-title {
  font-family: var(--font-serif);
  font-size: 20px;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 600;
}

.menu-card-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.45);
  line-height: 1.65;
}

.menu-section-footer {
  text-align: center;
  margin-top: 50px;
}

/* --- Offer Grid --------------------------------- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 50px;
}

.offer-grid .menu-card {
  background: rgba(255,255,255,0.05);
  border-radius: 3px;
}

/* --- Contact ------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 0;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,0.08);
}

.contact-info {
  background: var(--dark);
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.contact-info-title {
  font-family: var(--font-serif);
  font-size: 32px;
  color: #fff;
  font-weight: 600;
}

.contact-detail {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: rgba(201,145,42,0.15);
  border: 1px solid rgba(201,145,42,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 15px;
}

.contact-detail-label {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 5px;
}

.contact-detail-value {
  color: rgba(255,255,255,0.85);
  font-size: 15px;
  line-height: 1.6;
}

.contact-map {
  background: var(--cream-dark);
  min-height: 400px;
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  display: block;
  border: none;
  filter: grayscale(20%);
}

/* --- Footer ------------------------------------- */
.site-footer {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-copy {
  font-size: 13px;
  color: rgba(255,255,255,0.35);
}

.footer-copy strong {
  color: rgba(255,255,255,0.6);
  font-weight: 500;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

.footer-links a {
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  transition: color .2s;
}
.footer-links a:hover { color: var(--gold-light); }

/* --- Page header (inner pages) ------------------ */
.page-hero {
  height: 320px;
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  margin-top: var(--nav-h);
}

.page-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: brightness(0.4);
}

.page-hero-content {
  position: relative;
  padding: 0 0 50px;
  width: 100%;
}

.page-hero-content .container {
  display: flex;
  flex-direction: column;
}

.page-hero-content .section-label { color: var(--gold-light); }
.page-hero-content .section-title { color: #fff; margin-bottom: 0; }

/* --- Menu page ---------------------------------- */
.menu-page {
  padding: 70px 0 var(--section-pad);
}

.menu-intro {
  max-width: 620px;
  margin-bottom: 60px;
}

.menu-category {
  margin-bottom: 64px;
}

.menu-category-header {
  display: flex;
  align-items: baseline;
  gap: 20px;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.menu-category-title {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 600;
  color: var(--dark);
}

.menu-category-note {
  font-size: 13px;
  color: var(--warm-gray);
}

.menu-items {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.menu-item-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 13px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  gap: 20px;
}

.menu-item-row:last-child { border-bottom: none; }

.menu-item-name {
  font-size: 15px;
  color: var(--dark);
  flex: 1;
  line-height: 1.5;
}

.menu-item-weight {
  font-size: 12px;
  color: var(--warm-gray);
  margin-right: 6px;
}

.menu-item-price {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 600;
  color: var(--brown);
  white-space: nowrap;
  flex-shrink: 0;
}

.daily-menus {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 64px;
}

.daily-menu-card {
  background: var(--cream-dark);
  border: 1px solid var(--border);
  padding: 28px 24px;
  border-radius: 3px;
}

.daily-menu-num {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.daily-menu-desc {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--dark);
  margin-bottom: 16px;
}

.daily-menu-price {
  font-family: var(--font-serif);
  font-size: 22px;
  color: var(--brown);
}

/* --- Gallery page ------------------------------- */
.gallery-page {
  padding: 70px 0 var(--section-pad);
}

.gallery-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.gallery-page-item {
  overflow: hidden;
  border-radius: 2px;
  aspect-ratio: 4/3;
}

.gallery-page-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery-page-item:hover img { transform: scale(1.04); }

/* --- Responsive --------------------------------- */
@media (max-width: 960px) {
  :root { --section-pad: 64px; --hours-h: 230px; }

  .offer-grid { grid-template-columns: 1fr; }
  .novinky-grid { grid-template-columns: 1fr !important; }
  .platby-grid { grid-template-columns: 1fr !important; }

  .nav-links { display: none; }
  .nav-toggle { display: flex; }

  .about-grid    { grid-template-columns: 1fr; gap: 40px; }
  .about-images  { height: 360px; }
  .about-img-main { width: 85%; height: 300px; }
  .about-img-accent { height: 200px; }

  .gallery-grid  { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:first-child { grid-column: span 2; }

  .menu-grid     { grid-template-columns: 1fr; }
  .menu-section .menu-grid { background: transparent; border: none; }
  .menu-card     { border-bottom: 1px solid rgba(255,255,255,0.06); }

  .contact-grid  { grid-template-columns: 1fr; }
  .contact-info  { padding: 40px 28px; }

  .daily-menus   { grid-template-columns: 1fr; }

  .gallery-page-grid { grid-template-columns: repeat(2, 1fr); }

  .hours-banner { padding: 26px 0; }
  .hours-inner { flex-direction: column; align-items: stretch; gap: 18px; }
  .hours-cta { width: 100%; }
  .hours-cta .btn { flex: 1; justify-content: center; min-width: 140px; }
}

@media (max-width: 768px) {
  .getting-there { grid-template-columns: 1fr !important; }
}

@media (max-width: 600px) {
  :root { --section-pad: 52px; --hours-h: 240px; }

  .hero {
    height: 100svh;
    min-height: 0;
  }
  .hero-cta     { flex-direction: column; align-items: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item:first-child { grid-column: span 1; }

  .hours-heading { margin-bottom: 12px; }
  .hours-grid {
    flex-direction: column;
    gap: 10px;
  }
  .hours-item {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 0 14px;
    padding: 0;
    border: none;
  }
  .hours-day { flex: 1; }
  .hours-time { font-size: 18px; }
  .hours-note {
    flex-basis: 100%;
    margin-top: 2px;
    text-align: right;
  }
  .hours-cta .btn {
    min-width: 0;
    padding: 14px 10px;
    letter-spacing: 1px;
  }

  .footer-inner { flex-direction: column; }
  .footer-links { flex-wrap: wrap; gap: 14px; }

  .page-hero    { height: 240px; }

  .gallery-page-grid { grid-template-columns: 1fr; }
}
