/* ============================
   WUKO KOŹLAREK — Design System
   Kolory: #3f5479, #cf4c32, #d4b784, #e0d5d3
   ============================ */

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

:root {
  --primary: #3f5479;
  --accent: #cf4c32;
  --gold: #d4b784;
  --warm: #e0d5d3;
  --warm-light: #f2edeb;
  --white: #ffffff;
  --text: #2a3a52;
  --text-light: #6b7a8d;
  --border: #c8ced8;
  --font-display: "Oswald", sans-serif;
  --font-body: "Poppins", sans-serif;
  --radius: 1px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--warm);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
}

h2 {
  font-size: 3em;
  font-weight: 300;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 1rem;
}

.active {
  color: var(--gold) !important;
}

/* ============================
   GOLD DIVIDER
   ============================ */
.gold-divider {
  width: 64px;
  height: 4px;
  background: var(--gold);
  border-radius: 2px;
  margin: 2rem auto 1rem;
}

/* ============================
   NAWIGACJA
   ============================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  /* background: rgba(63, 84, 121, 0.95); */
  background: var(--white);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--warm-light);
  padding: 0 1rem;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100px;
}

.nav-logo {
  max-width: 150px;
}

.nav-logo span {
  color: var(--gold);
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.9);
  color: var(--primary);
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  /* text-transform: uppercase; */
  transition: color 0.2s;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  transition: background 0.2s;
  padding: 0.35rem 2.2rem;
}

.nav-cta:hover {
  background: #b8422b;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #3f5479;
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 101px;
    left: 0;
    right: 0;
    background: var(--primary);
    padding: 1rem;
    gap: 0;
    border-top: 3px solid var(--accent);
  }

  .nav-menu.active {
    display: flex;
  }

  .nav-menu a {
    padding: 0.75rem 0;
    color: #ffffff;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}

/* ============================
   HERO
   ============================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  overflow: hidden;
  background: url("img/wuko-kozlarek-bg.jpg") no-repeat;
  background-size: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(63, 84, 121, 0.8);
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 2rem 1rem;
}

.hero-content h1 {
  font-weight: 900;
  font-size: clamp(2.5rem, 7vw, 6rem);
  color: #fff;
  line-height: 1.1;
  margin-bottom: 1rem;
}

.hero-content h1 span {
  color: var(--gold);
}

.hero-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1rem, 2.5vw, 1.5rem);
  margin-bottom: 1.5rem;
}

.hero-tagline {
  color: var(--gold);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-buttons img {
  width: 20px;
}

.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, 0.4);
  font-size: 1.5rem;
  animation: bounce 2s infinite;
  z-index: 2;
}

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

/* ============================
   BUTTONS
   ============================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 3.2rem;
  border-radius: var(--radius);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-accent {
  background: var(--accent);
  color: #fff;
}

.btn-accent:hover {
  background: #b8422b;
}

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

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

.btn-full {
  width: 100%;
}

/* ============================
   SECTIONS
   ============================ */
.section {
  padding: 5rem 1rem;
}

.section-white {
  background: var(--white);
}

.section-dark {
  background: var(--primary);
  color: #fff;
}

.section-light {
  background: var(--warm-light);
}

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

.section-header p {
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto;
}

.section-header-light h2 {
  color: #fff;
}

.section-header-light p {
  color: rgba(255, 255, 255, 0.55);
}

/* ============================
   O NAS
   ============================ */
.about-text {
  max-width: 720px;
  margin: 0 auto 2.5rem;
  padding: 60px;
  text-align: center;
}

@media (max-width: 640px) {
  .about-text {
    padding: 60px 30px;
  }
}

.about-text p {
  color: rgba(42, 58, 82, 0.8);
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  margin-top: 1.5rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
  margin-top: 3rem;
}

.about-flex {
  display: flex;
}

@media (max-width: 640px) {
  .about-flex {
    display: block;
  }
}

.image-wrapper {
  position: relative;
  display: inline-block;
}

.image-wrapper span {
  position: absolute;
  bottom: 60px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  font-weight: 300;
  color: var(--white);
  background-color: var(--accent);
  padding: 5px 50px;
  width: 80%;
  text-align: center;
  opacity: 0.9;
}

@media (max-width: 640px) {
  .image-wrapper span {
    width: 60%;
    padding: 5px 30px;
    font-size: 1.5rem;
  }
}

.image-wrapper img {
  max-width: auto;
  margin: auto;
}

@media (max-width: 640px) {
  .image-wrapper img {
    max-width: 100%;
    margin: 0 auto;
  }
}

.image-wrapper strong {
  color: var(--white);
  font-weight: 700;
}

@media (max-width: 640px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.about-card {
  background: rgba(218, 214, 214, 0.15);
  padding: 3rem;
  border: 1px solid rgba(218, 214, 214, 0.7);
  transition: 200ms ease-in-out;
}
.about-card:hover {
  background: rgba(218, 214, 214, 0.35);
}

.about-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--accent);
}

.about-card p {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.about-card ul {
  margin-top: 0.5rem;
}

.about-card li {
  color: var(--text);
  font-size: 1rem;
  padding: 0.25rem 0;
  padding-left: 1rem;
  position: relative;
}

.about-card li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}

@media (max-width: 640px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-heading {
  width: 45%;
  margin: 3rem auto 0;
  text-align: center;
}

@media (max-width: 640px) {
  .feature-heading {
    width: 75%;
  }
}

.feature-card {
  background-color: var(--accent);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  text-align: center;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: 200ms ease-in-out;
}
.feature-card:hover {
  opacity: 0.85;
}

/* ============================
   USŁUGI
   ============================ */
.services-container {
  padding-top: 6rem;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-top: 4rem;
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.services-icon {
  width: 55px;
}

.service-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 2rem 1rem;
  text-align: center;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-card:hover {
  background: rgba(255, 255, 255, 0.1);
}

.service-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  color: #fff;
}

.services-details {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

@media (max-width: 640px) {
  .services-details {
    grid-template-columns: 1fr;
  }
}

.detail-card {
  background-color: var(--white);
  padding: 3rem;
}

.detail-card h3 {
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.detail-card p {
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

.detail-card ul {
  margin-top: 0.25rem;
}

.detail-card li {
  color: var(--text);
  font-size: 0.9rem;
  padding: 0.15rem 0 0.15rem 1rem;
  position: relative;
}

.detail-card li::before {
  content: "▸";
  position: absolute;
  left: 0;
}

/* ============================
   GALERIA
   ============================ */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 20px;
}

.gallery-item {
  width: 100%;
  height: 300px;
  object-fit: cover;
  cursor: pointer;
  transition: 0.3s;
}

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

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  max-width: 90%;
  max-height: 80%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 40px;
  color: white;
  cursor: pointer;
}

.nav {
  position: absolute;
  top: 50%;
  font-size: 50px;
  color: white;
  cursor: pointer;
  user-select: none;
  transform: translateY(-50%);
}

.prev {
  left: 30px;
}

.next {
  right: 30px;
}

/* ============================
   PRACUJ Z NAMI
   ============================ */
.job-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--border);
}

.job-header {
  background: var(--primary);
  padding: 1.5rem;
}

.job-header h3 {
  color: #fff;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.job-location {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.85rem;
}

.job-body {
  padding: 1.5rem;
}

.job-intro {
  color: rgba(42, 58, 82, 0.8);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

.job-section {
  margin-bottom: 1.5rem;
}

.job-section h4 {
  font-family: var(--font-display);
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--gold);
}

.job-section li {
  color: rgba(42, 58, 82, 0.7);
  font-size: 0.9rem;
  padding: 0.2rem 0 0.2rem 1rem;
  position: relative;
}

.job-section li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.job-cta {
  background: var(--warm-light);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.job-cta-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--gold);
}

.job-cta-address {
  color: var(--text-light);
  font-size: 0.8rem;
}

/* ============================
   KONTAKT
   ============================ */
.contact-grid {
  max-width: 800px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.65rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  resize: none;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(207, 76, 50, 0.15);
}

/* ============================
   FOOTER
   ============================ */
.footer {
  background: var(--white);
  border-top: 5px solid var(--accent);
  padding: 1rem;
}

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

.footer-logo {
  max-width: 150px;
  margin-bottom: 1rem;
}

.footer a {
  color: var(--primary);
  text-decoration: none;
  transition: 200ms ease-in-out;
}
.footer a:hover {
  color: var(--accent);
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: auto;
  padding: 3rem 0rem;
}

.footer-col h3,
.footer-col h4 {
  margin-bottom: 15px;
}

.footer-col p {
  margin: 8px 0;
  line-height: 1.6;
}

.hours {
  margin-top: 15px;
}

.map-container iframe {
  border-radius: 10px;
  width: 100%;
  height: 200px;
}

/* Dolny pasek */
.footer-bottom {
  border-top: 1px solid var(--warm-light);
  margin-top: 30px;
  padding-top: 15px;
  text-align: center;
  font-size: 14px;
  color: #aaa;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .map-container iframe {
    height: 250px;
  }
}
