/* Trnka Creative – Editorial / Luxury Magazine Style */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,400;1,500&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --bg: #f7f4ef;          /* warm cream paper */
  --bg-soft: #f0ebe3;
  --ink: #1c1917;         /* deep almost-black */
  --muted: #6b6560;
  --accent: #8b4513;      /* refined warm brown */
  --accent-light: #c4a484;
  --line: rgba(28,25,23,0.12);
  --white: #ffffff;
  --font-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  font-weight: 400;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

/* ========== NAV ========== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.4rem 3.5rem;
  background: rgba(247,244,239,0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 2.4rem;
  list-style: none;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.nav-links a {
  opacity: 0.55;
  transition: opacity 0.25s;
}
.nav-links a:hover,
.nav-links a.active { opacity: 1; }
.nav-cta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid var(--ink);
  padding: 0.55rem 1.3rem;
  transition: all 0.25s;
}
.nav-cta:hover {
  background: var(--ink);
  color: var(--bg);
}

/* ========== HERO ========== */
.hero {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  min-height: 88vh;
  align-items: center;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 3.5rem;
  gap: 4rem;
}
.hero-content { max-width: 480px; }
.hero-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1.4rem;
  font-weight: 500;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3.2rem, 6vw, 5.2rem);
  font-weight: 400;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 1.6rem;
}
.hero h1 em {
  font-style: italic;
  font-weight: 400;
}
.hero p {
  font-size: 1.05rem;
  color: var(--muted);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2.4rem;
  max-width: 380px;
}
.hero-btns { display: flex; gap: 1.2rem; align-items: center; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.9rem;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.3s;
  border: none;
  cursor: pointer;
}
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { background: var(--accent); }
.btn-ghost {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--ink);
}
.btn-ghost:hover { border-color: var(--ink); }

.hero-visual {
  position: relative;
  height: 78vh;
  min-height: 520px;
}
.hero-main {
  position: absolute;
  inset: 0 6% 6% 0;
  overflow: hidden;
}
.hero-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-float {
  position: absolute;
  width: 36%;
  bottom: 0;
  right: 0;
  overflow: hidden;
  border: 8px solid var(--bg);
  box-shadow: 0 25px 60px rgba(0,0,0,0.12);
}
.hero-float img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: 78% 30%;
}

/* ========== SECTIONS ========== */
section { padding: 6.5rem 3.5rem; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 1rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 1.2rem;
  letter-spacing: -0.01em;
}
.section-lead {
  color: var(--muted);
  font-weight: 300;
  max-width: 480px;
  margin-bottom: 3rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ========== SERVICES (professional icons) ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px; /* thin lines like magazine */
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;

  background: var(--bg);
  padding: 2.8rem 2.2rem;
  transition: background 0.3s;
}
.service-card:hover { background: var(--bg-soft); }
.service-icon {
  width: 36px;
  height: 36px;
  margin-bottom: 1.6rem;
  opacity: 0.85;
}
.service-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--ink);
  fill: none;
  stroke-width: 1.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.55rem;
  font-weight: 500;
  margin-bottom: 0.7rem;
  letter-spacing: -0.01em;
}
.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.65;
}

/* ========== GALLERY ========== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/5;
  cursor: pointer;
  background: #e8e4de;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.gallery-item:hover img { transform: scale(1.04); }
/* keep old size classes but force equal size */
.g-large, .g-tall, .g-mid, .g-wide {
  grid-column: span 1;
  aspect-ratio: 4/5;
}

.gallery-landscape {
  grid-template-columns: repeat(2, 1fr);
}
.gallery-landscape .gallery-item {
  aspect-ratio: 3 / 2;
}

.gallery-mixed {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  grid-auto-flow: dense;
}
.gallery-mixed .is-portrait { aspect-ratio: 3/4; }
.gallery-mixed .is-landscape {
  grid-column: span 2;
  aspect-ratio: 3/2;
}
@media (max-width: 800px) {
  .gallery-mixed { grid-template-columns: 1fr 1fr; }
  .gallery-mixed .is-landscape { grid-column: span 2; }
}
@media (max-width: 500px) {
  .gallery-mixed { grid-template-columns: 1fr; }
  .gallery-mixed .is-landscape { grid-column: span 1; aspect-ratio: 4/3; }
}

/* Lightbox */

.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(20, 18, 16, 0.92);
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: zoom-out;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: min(96vw, 1100px);
  max-height: 90vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}
.lightbox-close {
  position: absolute;
  top: 1.2rem;
  right: 1.5rem;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  opacity: 0.8;
}
.lightbox-close:hover { opacity: 1; }

/* ========== VIDEO SECTION ========== */
.video-section {
  background: var(--ink);
  color: var(--bg);
}
.video-section .section-label { color: rgba(247,244,239,0.5); }
.video-section .section-lead { color: rgba(247,244,239,0.65); }
.video-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1.5rem;
}
.video-main {
  position: relative;
  aspect-ratio: 16/9;
  background: #111;
  overflow: hidden;
}
.video-main iframe,
.video-main video {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}
.video-side {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.video-card {
  position: relative;
  aspect-ratio: 16/10;
  background: #111;
  overflow: hidden;
}
.video-card iframe,
.video-card video {
  width: 100%;
  height: 100%;
  border: none;
  object-fit: cover;
}
.video-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.2rem 1.4rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.75));
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.04em;
}

/* ========== ABOUT ========== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.about-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}
.about-photos img {
  aspect-ratio: 3/4;
  object-fit: cover;
}
.about-photos img:first-child { margin-top: 2.8rem; }
.about-text p {
  color: var(--muted);
  font-weight: 300;
  margin-bottom: 1.2rem;
  font-size: 1.05rem;
  line-height: 1.75;
}
.about-text h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
  margin: 2rem 0 0.6rem;
}

/* ========== PACKAGES ========== */
.packages {
  background: var(--ink);
  color: var(--bg);
}
.packages .section-label { color: rgba(247,244,239,0.45); }
.packages .section-lead { color: rgba(247,244,239,0.6); }
.pkg-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.pkg-card {
  border: 1px solid rgba(247,244,239,0.15);
  padding: 2.6rem 2.2rem;
  transition: border-color 0.3s;
}
.pkg-card:hover { border-color: rgba(247,244,239,0.4); }
.pkg-card.featured {
  background: var(--bg);
  color: var(--ink);
  border-color: transparent;
}
.pkg-card h3 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}
.pkg-price {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 400;
  margin: 1.3rem 0 1.5rem;
}
.pkg-card ul {
  list-style: none;
  font-size: 0.92rem;
  font-weight: 300;
  opacity: 0.85;
}
.pkg-card li {
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.pkg-card.featured li { border-bottom-color: rgba(0,0,0,0.08); }
.pkg-card .btn {
  margin-top: 1.8rem;
  width: 100%;
}
.pkg-card.featured .btn-primary {
  background: var(--ink);
  color: var(--bg);
}

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-top: 2rem;
}
.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.contact-item span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}
.contact-item a,
.contact-item strong {
  font-size: 1.15rem;
  font-weight: 400;
}
.contact-form {
  background: var(--white);
  padding: 2.8rem;
  border: 1px solid var(--line);
}
.form-row { margin-bottom: 1.4rem; }
.form-row label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.45rem;
  font-weight: 500;
}
.form-row input,
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 0.9rem 0;
  border: none;
  border-bottom: 1px solid var(--line);
  font-family: inherit;
  font-size: 1rem;
  background: transparent;
  color: var(--ink);
  border-radius: 0;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-bottom-color: var(--ink);
}
.form-row textarea {
  min-height: 110px;
  resize: vertical;
}

/* ========== PAGE HEADER ========== */
.page-header {
  padding: 5rem 3.5rem 3rem;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}
.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}
.page-header p {
  color: var(--muted);
  font-weight: 300;
  font-size: 1.1rem;
}

/* ========== FOOTER ========== */
footer {
  background: var(--ink);
  color: rgba(247,244,239,0.6);
  padding: 4.5rem 3.5rem 2.5rem;
  text-align: center;
}
footer .logo {
  color: var(--bg);
  margin-bottom: 1.2rem;
  display: inline-block;
  font-size: 1.1rem;
}
footer p {
  font-size: 0.9rem;
  font-weight: 300;
  max-width: 380px;
  margin: 0 auto 2rem;
  line-height: 1.6;
}
.socials {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2.5rem;
}
.socials a {
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  opacity: 0.6;
  transition: opacity 0.25s;
}
.socials a:hover { opacity: 1; }
.copy {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  opacity: 0.4;
}

/* ========== MOBILE ========== */
@media (max-width: 980px) {
  .nav { padding: 1.1rem 1.5rem; }
  .nav-cta { font-size: 0.72rem; padding: 0.55rem 0.9rem; }
  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem 4rem;
    min-height: auto;
    text-align: center;
  }
  .hero-content { max-width: 100%; }
  .hero p { margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-visual { height: 55vh; min-height: 360px; order: -1; }
  .hero-float { display: none; }
  section { padding: 4.5rem 1.5rem; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.8rem; }
  .g-large, .g-tall, .g-mid, .g-wide { grid-column: span 1; aspect-ratio: 4/5; }
  .video-grid { grid-template-columns: 1fr; }
  .about-grid, .contact-grid, .pkg-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .page-header { padding: 3.5rem 1.5rem 2rem; }
  footer { padding: 3.5rem 1.5rem 2rem; }
}



/* ===== Mobile navigation (must be last) ===== */
.nav-toggle {
  display: none;
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  margin-left: auto;
  margin-right: 0.5rem;
  padding: 0;
  border: 2px solid #1c1917;
  border-radius: 4px;
  background: #f7f4ef;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-shrink: 0;
  z-index: 200;
  -webkit-appearance: none;
  appearance: none;
}
.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: #1c1917;
  border-radius: 1px;
}
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-links.open {
  display: flex !important;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: #f7f4ef;
  padding: 1.25rem 1.5rem 1.75rem;
  gap: 1.1rem;
  border-bottom: 1px solid rgba(28,25,23,0.1);
  box-shadow: 0 16px 40px rgba(0,0,0,0.08);
  z-index: 150;
}
.nav-links.open li a {
  display: block;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  opacity: 1;
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: -webkit-flex !important;
    display: flex !important;
  }
  .nav-links {
    display: none !important;
  }
  .nav-links.open {
    display: flex !important;
  }
  .nav-cta {
    font-size: 0.7rem;
    padding: 0.5rem 0.75rem;
  }
}
