/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --forest:    #1B3A28;
  --forest-mid:#2A5238;
  --forest-lt: #3D6E50;
  --cream:     #F5F0E8;
  --cream-mid: #E8E0D0;
  --cream-dk:  #D4C8B4;
  --gold:      #C8A96E;
  --gold-lt:   #E8C98A;
  --dark:      #0F2018;
  --white:     #FFFFFF;
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans:  'DM Sans', system-ui, sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--dark);
  line-height: 1.65;
  overflow-x: hidden;
}

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

/* === NAV === */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition), box-shadow var(--transition);
}

nav.scrolled {
  background: rgba(27, 58, 40, 0.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}

.nav-logo img {
  height: 44px;
  width: 44px;
  object-fit: contain;
  border-radius: 50%;
  background: var(--white);
  padding: 3px;
}

.nav-logo-text {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.nav-logo-text span {
  display: block;
  font-size: 0.6rem;
  font-family: var(--font-sans);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 1px;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.nav-links a:hover { color: var(--gold-lt); }

.nav-cta {
  background: var(--gold) !important;
  color: var(--forest) !important;
  padding: 0.5rem 1.35rem;
  border-radius: 2rem;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}

.nav-cta:hover { background: var(--gold-lt) !important; transform: translateY(-1px); color: var(--forest) !important; }

/* === HERO === */
.hero {
  position: relative;
  height: 100vh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: var(--forest);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1487530811176-3780de880c2d?w=1800&q=85&auto=format&fit=crop');
  background-size: cover;
  background-position: center 40%;
  transform: scale(1.04);
  opacity: 0.35;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(15, 32, 24, 0.4) 0%,
    rgba(27, 58, 40, 0.2) 40%,
    rgba(15, 32, 24, 0.85) 100%
  );
}

/* Dekoracyjne kółko za logo w hero */
.hero-emblem {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 2rem;
}

.hero-emblem img {
  width: 130px;
  height: 130px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 12px;
  backdrop-filter: blur(4px);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 0 1.5rem;
  animation: fadeUp 1s ease both;
}

.hero-eyebrow {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 0.95;
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.hero h1 span {
  display: block;
  font-style: italic;
  color: var(--gold-lt);
}

.hero-tagline {
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2.75rem;
}

.hero-tagline strong {
  color: rgba(255,255,255,0.75);
  font-weight: 600;
}

.btn {
  display: inline-block;
  padding: 0.9rem 2.4rem;
  border-radius: 3rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gold);
  color: var(--forest);
  box-shadow: 0 4px 24px rgba(200, 169, 110, 0.35);
}

.btn-primary:hover {
  background: var(--gold-lt);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(200, 169, 110, 0.45);
}

.btn-outline {
  background: transparent;
  color: rgba(255,255,255,0.75);
  border: 1.5px solid rgba(255,255,255,0.25);
  margin-left: 1rem;
}

.btn-outline:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.35);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: bounce 2.2s infinite;
}

.hero-scroll svg { width: 16px; }

/* === SECTIONS === */
section { padding: 6rem 1.5rem; }

.container {
  max-width: 1140px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.1;
  margin-bottom: 1.25rem;
}

.section-title em {
  font-style: italic;
  color: var(--forest-mid);
}

.section-title.light { color: var(--cream); }
.section-title.light em { color: var(--gold-lt); }

.section-lead {
  font-size: 1.05rem;
  color: #5A5040;
  max-width: 520px;
  line-height: 1.8;
}

/* === O NAS === */
.about { background: var(--white); }

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

.about-image-wrap { position: relative; }

.about-image-wrap img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: center top;
  border-radius: 2px;
}

.about-image-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--forest);
  color: var(--white);
  padding: 1.5rem 2rem;
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.3;
  max-width: 180px;
  text-align: center;
}

.about-image-badge strong {
  display: block;
  font-size: 2.2rem;
  margin-bottom: 0.25rem;
  color: var(--gold-lt);
}

.about-text { padding-left: 1rem; }
.about-text p { margin-bottom: 1.25rem; color: #5A5040; line-height: 1.85; }

.about-values {
  display: flex;
  gap: 2rem;
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--cream-mid);
}

.value-item { flex: 1; text-align: center; }
.value-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.value-label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--forest-mid);
}

/* === OFERTA === */
.oferta { background: var(--cream); }

.oferta-header {
  text-align: center;
  margin-bottom: 4rem;
}

.oferta-header .section-lead { margin: 0 auto; }

.oferta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.oferta-card {
  background: var(--white);
  border-radius: 2px;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.oferta-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(15, 32, 24, 0.1);
}

.oferta-card-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
}

.oferta-card-body { padding: 1.75rem; }

.oferta-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.oferta-card-body p {
  font-size: 0.9rem;
  color: #7A6850;
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.oferta-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--forest-mid);
  background: rgba(61, 110, 80, 0.09);
  padding: 0.3rem 0.8rem;
  border-radius: 2rem;
}

/* === GALERIA === */
.galeria {
  background: var(--forest);
  padding: 6rem 0;
}

.galeria .container { padding: 0 1.5rem; }

.galeria-header {
  text-align: center;
  margin-bottom: 3rem;
}

.galeria-header .section-label { color: var(--gold); }

.galeria-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 5px;
}

.galeria-item {
  overflow: hidden;
  position: relative;
}

.galeria-item:first-child {
  grid-column: span 2;
  grid-row: span 2;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 240px;
  transition: transform 0.6s ease;
}

.galeria-item:first-child img { min-height: 480px; }
.galeria-item:hover img { transform: scale(1.05); }

.galeria-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(15, 32, 24, 0);
  transition: background 0.4s ease;
}

.galeria-item:hover::after { background: rgba(15, 32, 24, 0.15); }

.galeria-note {
  text-align: center;
  margin-top: 2rem;
  font-size: 0.82rem;
  color: rgba(245,240,232,0.35);
  letter-spacing: 0.05em;
}

/* === KONTAKT === */
.kontakt { background: var(--cream); }

.kontakt-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 5rem;
  align-items: start;
}

.kontakt-info h2 { margin-bottom: 1.75rem; }

.contact-block { margin-bottom: 1.75rem; }

.contact-block-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.4rem;
}

.contact-block-value {
  font-size: 1rem;
  color: var(--dark);
  font-weight: 500;
}

.contact-block-value a {
  color: var(--dark);
  text-decoration: none;
  transition: color var(--transition);
}

.contact-block-value a:hover { color: var(--forest-mid); }

.contact-divider {
  width: 40px;
  height: 2px;
  background: var(--cream-dk);
  margin: 2rem 0;
}

.hours-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1.5rem;
  font-size: 0.9rem;
}

.hours-day { color: #7A6850; }
.hours-time { color: var(--dark); font-weight: 500; text-align: right; }

.kontakt-map iframe {
  width: 100%;
  height: 440px;
  border: none;
  border-radius: 2px;
  filter: sepia(15%) contrast(0.95);
}

.kontakt-map .map-note {
  margin-top: 1rem;
  font-size: 0.82rem;
  color: #9A8870;
}

/* === FOOTER === */
footer {
  background: var(--dark);
  padding: 2.25rem 1.5rem;
}

footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.footer-logo img {
  height: 36px;
  width: 36px;
  object-fit: contain;
  border-radius: 50%;
  background: rgba(255,255,255,0.07);
  padding: 3px;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--cream);
  font-weight: 700;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(245,240,232,0.3);
}

.footer-studio {
  font-size: 0.78rem;
  color: rgba(245,240,232,0.3);
}

.footer-studio a {
  color: var(--gold);
  text-decoration: none;
  opacity: 0.7;
  transition: opacity var(--transition);
}

.footer-studio a:hover { opacity: 1; }

/* === ANIMATIONS === */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* === RESPONSIVE === */
@media (max-width: 900px) {
  .about-grid,
  .kontakt-grid { grid-template-columns: 1fr; gap: 3rem; }
  .about-image-badge { right: 0; bottom: -1rem; }
  .oferta-grid { grid-template-columns: 1fr; }
  .galeria-grid { grid-template-columns: 1fr 1fr; }
  .galeria-item:first-child { grid-column: span 2; }
  footer .container { justify-content: center; text-align: center; }
  .nav-links { display: none; }
}

@media (max-width: 600px) {
  nav { padding: 0.9rem 1.25rem; }
  .hero-emblem img { width: 100px; height: 100px; }
  .hero h1 { font-size: clamp(2.8rem, 12vw, 4.5rem); }
  .btn-outline { display: none; }
  section { padding: 4rem 1.25rem; }
  .galeria-grid { grid-template-columns: 1fr; }
  .galeria-item:first-child { grid-column: span 1; }
  .about-values { flex-direction: column; gap: 1.25rem; }
  .hours-grid { grid-template-columns: 1fr; }
  .hours-time { text-align: left; }
}
