/* ==========================================================================
   David Lauer Photography — Dark Luxury Theme
   Domena: https://davidlauer.cz
   ========================================================================== */

:root {
  --bg: #09090b;
  --bg-elevated: #111114;
  --bg-card: #151519;
  --surface-hover: #1c1c22;
  --border: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(201, 168, 106, 0.35);

  --text: #f4f4f6;
  --text-muted: #a1a1aa;
  --text-subtle: #71717a;

  --gold: #c9a86a;
  --gold-light: #e2c792;
  --gold-dim: rgba(201, 168, 106, 0.12);

  --success: #4ade80;
  --warning: #fbbf24;
  --danger: #f87171;

  --font-serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --radius-sm: 4px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --container: 1240px;
  --header-h: 76px;
  --transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition), border-color var(--transition), background-color var(--transition);
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: 0.01em;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--gold);
}

.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-header {
  max-width: 680px;
  margin-bottom: 52px;
}

.section-header h2 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  margin-bottom: 16px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform var(--transition), background-color var(--transition), border-color var(--transition), color var(--transition), box-shadow var(--transition);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: #09090b;
}

.btn-primary:hover {
  background: var(--gold-light);
  box-shadow: 0 10px 30px rgba(201, 168, 106, 0.22);
}

.btn-outline {
  background: transparent;
  border-color: var(--border-gold);
  color: var(--text);
}

.btn-outline:hover {
  border-color: var(--gold);
  background: var(--gold-dim);
  color: var(--gold-light);
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.78rem;
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(9, 9, 11, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.45rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.brand-sub {
  font-size: 0.65rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

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

.nav-links a {
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  padding: 4px 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 1px;
  background: var(--gold);
}

.nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.nav-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px var(--gold);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text);
  position: relative;
  transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

/* Hero */
.hero {
  position: relative;
  min-height: 92vh;
  padding-top: var(--header-h);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.42) contrast(1.06);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 9, 11, 0.5) 0%, rgba(9, 9, 11, 0.25) 45%, var(--bg) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  padding: 64px 0;
}

.hero h1 {
  font-size: clamp(2.8rem, 6.2vw, 4.8rem);
  margin-bottom: 22px;
  font-weight: 500;
}

.hero h1 em {
  font-style: italic;
  color: var(--gold-light);
}

.hero-lead {
  font-size: clamp(1.02rem, 1.8vw, 1.18rem);
  color: #d4d4d8;
  max-width: 600px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-top: 52px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.hero-meta strong {
  display: block;
  color: var(--text);
  font-weight: 500;
  margin-bottom: 2px;
}

/* Promo Banner */
.promo-strip {
  background: linear-gradient(90deg, rgba(201, 168, 106, 0.14), rgba(201, 168, 106, 0.04));
  border-top: 1px solid var(--border-gold);
  border-bottom: 1px solid var(--border-gold);
  padding: 20px 0;
}

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

.promo-text {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.pill {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  background: var(--gold);
  color: #09090b;
}

/* Portfolio Filters & Grid */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 36px;
}

.filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.84rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: all var(--transition);
}

.filter-btn:hover {
  border-color: var(--border-gold);
  color: var(--text);
}

.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: #09090b;
  font-weight: 500;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.portfolio-item.tall {
  aspect-ratio: 4 / 5;
}

.portfolio-item.hidden {
  display: none;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

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

.portfolio-overlay {
  position: absolute;
  inset: 0;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(180deg, transparent 45%, rgba(9, 9, 11, 0.88) 100%);
  opacity: 0;
  transition: opacity var(--transition);
}

.portfolio-item:hover .portfolio-overlay,
.portfolio-item:focus-within .portfolio-overlay {
  opacity: 1;
}

.portfolio-cat {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.portfolio-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  color: var(--text);
}

/* About Section */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 56px;
  align-items: center;
}

.about-media {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 5;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-copy p {
  color: #d4d4d8;
  font-size: 1.06rem;
  margin-bottom: 18px;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.highlight-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px;
}

.highlight-box strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.45rem;
  color: var(--gold-light);
  margin-bottom: 4px;
}

.highlight-box span {
  font-size: 0.84rem;
  color: var(--text-muted);
}

/* Services Cards */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition), transform var(--transition);
}

.service-card:hover {
  border-color: var(--border-gold);
  transform: translateY(-4px);
}

.service-num {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--gold);
  margin-bottom: 14px;
}

.service-card h3 {
  font-size: 1.7rem;
  margin-bottom: 12px;
}

.service-card p {
  color: var(--text-muted);
  margin-bottom: 20px;
  font-size: 0.96rem;
}

.service-list {
  list-style: none;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  font-size: 0.9rem;
  color: #d4d4d8;
}

.service-list li::before {
  content: "—";
  color: var(--gold);
  margin-right: 10px;
}

.service-card .btn {
  margin-top: auto;
  width: 100%;
}

/* Contact Form */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 52px;
  align-items: start;
}

.contact-info-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 28px;
}

.contact-info-list li {
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.contact-label {
  display: block;
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 4px;
}

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin-bottom: 7px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group textarea {
  min-height: 125px;
  resize: vertical;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-legal {
  font-size: 0.82rem;
  color: var(--text-subtle);
  margin-top: 14px;
}

.form-legal a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-status {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  display: none;
}

.form-status.show {
  display: block;
}

.form-status.success {
  background: rgba(74, 222, 128, 0.1);
  border: 1px solid rgba(74, 222, 128, 0.35);
  color: #bbf7d0;
}

.form-status.error {
  background: rgba(248, 113, 113, 0.1);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

/* Subpages Hero (Akce & GDPR) */
.page-hero {
  padding: calc(var(--header-h) + 64px) 0 56px;
  border-bottom: 1px solid var(--border);
  background: radial-gradient(circle at 20% 0%, rgba(201, 168, 106, 0.12), transparent 55%);
}

.page-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  margin-bottom: 16px;
}

.page-hero p {
  max-width: 680px;
  color: var(--text-muted);
  font-size: 1.06rem;
}

/* Akce (Events) Page */
.featured-event {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  background: var(--bg-card);
  border: 1px solid var(--border-gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.featured-event-media {
  min-height: 360px;
}

.featured-event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-event-body {
  padding: 40px 40px 40px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-event-body h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
  margin: 14px 0;
}

.event-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 18px 0 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.slots-heading {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 24px;
}

.slot-btn {
  text-align: left;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  cursor: pointer;
  transition: all var(--transition);
}

.slot-btn:hover:not(:disabled) {
  border-color: var(--gold);
}

.slot-btn.selected {
  border-color: var(--gold);
  background: var(--gold-dim);
}

.slot-btn:disabled {
  opacity: 0.42;
  cursor: not-allowed;
}

.slot-date {
  display: block;
  font-weight: 500;
  font-size: 0.92rem;
}

.slot-state {
  font-size: 0.78rem;
  color: var(--success);
}

.slot-state.limited { color: var(--warning); }
.slot-state.full { color: var(--text-subtle); }

/* Legal / Prose */
.prose {
  max-width: 820px;
}

.prose h2 {
  font-size: 1.85rem;
  margin: 38px 0 12px;
  color: var(--gold-light);
}

.prose h2:first-child {
  margin-top: 0;
}

.prose p,
.prose li {
  color: #d4d4d8;
  margin-bottom: 12px;
}

.prose ul {
  padding-left: 22px;
  margin-bottom: 16px;
}

.legal-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  margin: 24px 0;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(5, 5, 7, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-figure {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: var(--radius-sm);
}

.lightbox-caption {
  margin-top: 14px;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  color: var(--text);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color var(--transition), border-color var(--transition);
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
}

.lightbox-close { top: 22px; right: 24px; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 56px 0 36px;
  background: #060608;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}

.footer-heading {
  font-family: var(--font-sans);
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--gold-light);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  padding-top: 24px;
  font-size: 0.82rem;
  color: var(--text-subtle);
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .portfolio-grid,
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-grid,
  .contact-grid,
  .featured-event {
    grid-template-columns: 1fr;
  }
  .featured-event-body {
    padding: 0 28px 32px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 68px 0;
  }
  .menu-toggle {
    display: inline-flex;
  }
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: rgba(9, 9, 11, 0.98);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    padding: 28px 24px;
    gap: 20px;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--transition), opacity var(--transition);
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .portfolio-grid,
  .cards-grid,
  .about-highlights,
  .form-row,
  .slots-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-card {
    padding: 24px;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
}
