/* ===== VARIABLES ===== */
:root {
  --gold: #B8860B;
  --gold-light: #d4a017;
  --dark: #1a1a1a;
  --gray: #555555;
  --gray-light: #f9f9f7;
  --border: #e8e8e4;
  --white: #ffffff;
  --font: 'Inter', sans-serif;
  --transition: 0.3s ease;
}

/* ===== RESET ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
#o-nas { scroll-margin-top: 72px; }
body { font-family: var(--font); color: var(--dark); background: var(--white); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===== NAVIGATION ===== */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 72px;
  background: var(--white);
  box-shadow: 0 1px 0 var(--border);
}

.nav-logo {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-size: 15px;
  color: var(--dark);
  transition: color var(--transition);
}

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


.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}

.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--dark);
  transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
  position: relative;
  height: 90vh;
  min-height: 550px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  display: flex;
}

.hero-bg div {
  flex: 1;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.65) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0.1) 100%);
}

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

.hero-content h1 {
  font-size: clamp(38px, 5.5vw, 72px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  letter-spacing: -2px;
  margin-bottom: 20px;
}


.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--white);
  color: var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

.btn-gold {
  background: var(--gold);
  color: var(--white);
}

.btn-gold:hover {
  background: var(--gold-light);
}

/* ===== SECTIONS ===== */
section { padding: 96px 48px; }

.section-label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(30px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 17px;
  color: var(--gray);
  line-height: 1.8;
}

/* ===== OFERTA ===== */
.oferta { background: var(--white); padding-bottom: 48px; }

.oferta-header { margin-bottom: 56px; }

.oferta-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
}

.oferta-card:nth-child(1),
.oferta-card:nth-child(2),
.oferta-card:nth-child(3) { grid-column: span 2; }

.oferta-card:nth-child(4) { grid-column: 2 / span 2; }
.oferta-card:nth-child(5) { grid-column: 4 / span 2; }

.oferta-card {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
}

.oferta-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: grayscale(20%);
}

.oferta-card:hover img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.oferta-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
}

.oferta-card-overlay h3 {
  font-size: 28px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.5px;
}

.oferta-card-overlay p {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.5;
}

.oferta-card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gold);
  opacity: 0;
  transform: translateY(8px);
  transition: var(--transition);
}

.oferta-card:hover .oferta-card-link {
  opacity: 1;
  transform: translateY(0);
}

/* ===== REALIZACJE PREVIEW ===== */
.realizacje-preview {
  background: var(--gray-light);
  padding: 96px 48px;
}

.realizacje-preview-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px;
}

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

.realizacja-card {
  background: var(--white);
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.realizacja-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.realizacja-card-img {
  aspect-ratio: 4/3;
  overflow: hidden;
}

.realizacja-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.realizacja-card:hover .realizacja-card-img img {
  transform: scale(1.05);
}

.realizacja-card-body {
  padding: 20px;
}

.realizacja-card-cat {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.realizacja-card-body h3 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
}

.realizacja-card-body p {
  font-size: 14px;
  color: var(--gray);
  line-height: 1.6;
}

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

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

.o-nas-text .section-title span { color: var(--gold); }

.o-nas-text p {
  font-size: 16px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 16px;
}

.o-nas-img img {
  width: 100%;
  height: 500px;
  object-fit: cover;
}

.o-nas-preview {
  padding: 96px 48px;
  background: var(--gray-light);
}

.o-nas-preview-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.o-nas-preview-inner p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.8;
  margin-bottom: 8px;
}

.o-nas-preview-features {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.o-nas-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  padding: 64px 48px;
  background: var(--gray-light);
}

.o-nas-feature h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.o-nas-feature p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
}

/* ===== KONTAKT CTA ===== */
.kontakt-cta {
  background: var(--dark);
  text-align: center;
  padding: 96px 48px;
}

.kontakt-cta .section-title { color: var(--white); }
.kontakt-cta .section-subtitle { color: rgba(255,255,255,0.6); margin: 0 auto 40px; }

/* ===== FOOTER ===== */
footer {
  background: var(--gray-light);
  padding: 64px 48px 32px;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand .nav-logo {
  color: var(--dark);
  font-size: 20px;
  display: block;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--gray);
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul li a {
  font-size: 14px;
  color: var(--gray);
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--gold); }

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  color: var(--gray);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-bottom p { font-size: 12px; color: var(--gray); }

.footer-social { display: flex; gap: 16px; }
.footer-social a { font-size: 13px; color: var(--gray); transition: color var(--transition); }
.footer-social a:hover { color: var(--gold); }

/* ===== MOBILE ===== */
@media (max-width: 768px) {
  nav { padding: 0 24px; }
  .nav-links { display: none; flex-direction: column; position: fixed; inset: 0; background: var(--white); justify-content: center; align-items: center; gap: 32px; }
  .nav-links.open { display: flex; }
  .nav-links a { color: var(--dark); font-size: 20px; }
  .nav-hamburger { display: flex; }
  section { padding: 64px 24px; }
  .hero-content { padding: 0 24px; }
  .hero-content h1 { letter-spacing: -1px; }
  .hero-bg div:first-child,
  .hero-bg div:last-child { display: none; }
  .hero-bg div:nth-child(2) { flex: 1; }
.oferta-grid { grid-template-columns: 1fr; }
  .oferta-card:nth-child(1),
  .oferta-card:nth-child(2),
  .oferta-card:nth-child(3),
  .oferta-card:nth-child(4),
  .oferta-card:nth-child(5) { grid-column: span 1; }
  .realizacje-grid { grid-template-columns: 1fr; }
  .o-nas-inner { grid-template-columns: 1fr; gap: 40px; }
  .o-nas-features { grid-template-columns: 1fr; padding: 48px 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .realizacje-preview-header { flex-direction: column; align-items: flex-start; gap: 20px; }
  .realizacje-preview { padding: 64px 24px; }
}
