@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================
   RESET
   ========================================================== */

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

/* ==========================================================
   USTAWIENIA GLOBALNE
   ========================================================== */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Montserrat', sans-serif;
  background: #0a0a0a;
  color: #fff;
  line-height: 1.6;
}

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

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

.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

.section {
  padding: 50px 0;
}

.section-label,
.eyebrow {
  color: #c7a17a;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 18px;
}

h1,
h2,
h3 {
  line-height: 1.12;
}

h1 {
  font-size: clamp(42px, 4.8vw, 72px);
  margin-bottom: 28px;
  letter-spacing: -2px;
}

h2 {
  font-size: clamp(34px, 3.6vw, 56px);
  margin-bottom: 24px;
  letter-spacing: -1.5px;
}

h3 {
  font-size: 20px;
}

p {
  color: #bdbdbd;
  font-size: 16px;
}

/* ==========================================================
   HEADER / MENU
   ========================================================== */

.header {
  position: fixed;
  inset: 0 0 auto 0;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.nav {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 82px;
}

.nav-list {
  display: flex;
  gap: 42px;
  list-style: none;
  font-size: 16px;
  font-weight: 500;
}

.nav-list a {
  transition: 0.3s;
}

.nav-list a:hover {
  color: #c7a17a;
}

.nav-phone {
  background: #c7a17a;
  color: #000;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 16px;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 32px;
  cursor: pointer;
}

/* ==========================================================
   STRONA GŁÓWNA - HERO
   ========================================================== */

.hero {
  padding-top: 200px;
  padding-bottom: 50px;
  min-height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-content {
  position: relative;
}

.hero-text {
  position: relative;
  z-index: 3;
  max-width: 820px;
}

.hero-text h1 {
  margin-right: -120px;
}

.hero-description {
  max-width: 620px;
  margin-bottom: 0;
}

.hero-photo {
  position: absolute;
  right: 0;
  top: 50%;
  width: 58%;
  transform: translateY(-50%);
  z-index: 1;
  overflow: hidden;
  border-radius: 34px;
}

.hero-photo::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    #0a0a0a 0%,
    rgba(10,10,10,0.96) 22%,
    rgba(10,10,10,0.75) 42%,
    rgba(10,10,10,0.35) 68%,
    rgba(10,10,10,0) 100%
  );
}

.hero-photo img {
  aspect-ratio: 690 / 460;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  border: 8px solid #0a0a0a;
  box-shadow: 0 35px 100px rgba(0,0,0,0.65);
}

/* ==========================================================
   STRONA GŁÓWNA - SEKCJE ZE ZDJĘCIEM
   ========================================================== */

.split-section {
  padding: 50px 0;
  min-height: auto;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.split-content {
  position: relative;
}

.split-text {
  position: relative;
  z-index: 3;
  max-width: 760px;
}

.split-text h2 {
  margin-right: -80px;
}

.split-text p {
  max-width: 620px;
  margin-bottom: 16px;
  text-align: left;
}

.split-text p:last-child {
  margin-bottom: 0;
}

.split-image {
  position: absolute;
  right: 0;
  top: 50%;
  width: 56%;
  transform: translateY(-50%);
  z-index: 1;
  overflow: hidden;
  border-radius: 34px;
}

.split-image::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 2;
  border-radius: inherit;
  background: linear-gradient(
    90deg,
    #0a0a0a 0%,
    rgba(10,10,10,0.96) 22%,
    rgba(10,10,10,0.75) 42%,
    rgba(10,10,10,0.35) 68%,
    rgba(10,10,10,0) 100%
  );
}

.split-image img {
  aspect-ratio: 690 / 460;
  object-fit: cover;
  object-position: center;
  border-radius: inherit;
  border: 8px solid #0a0a0a;
  box-shadow: 0 35px 100px rgba(0,0,0,0.6);
}

/* Odwrócona sekcja: zdjęcie po lewej, tekst po prawej */
.split-content.reverse {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 0;
}

.split-content.reverse .split-image {
  position: relative;
  left: auto;
  right: auto;
  top: auto;
  width: 100%;
  transform: none;
}

.split-content.reverse .split-image::before {
  background: linear-gradient(
    90deg,
    rgba(10,10,10,0) 0%,
    rgba(10,10,10,0.15) 25%,
    rgba(10,10,10,0.45) 45%,
    rgba(10,10,10,0.78) 65%,
    rgba(10,10,10,0.95) 82%,
    #0a0a0a 100%
  );
}

.split-content.reverse .split-image img {
  height: 560px;
}

.split-content.reverse .split-text {
  margin-left: -140px;
  padding-left: 70px;
  max-width: 760px;
  justify-self: start;
}

.split-content.reverse .split-text h2 {
  margin: 0 0 28px 0;
  max-width: 760px;
  text-align: left;
}

.split-content.reverse .split-text p {
  max-width: 680px;
}

/* ==========================================================
   STRONA GŁÓWNA - ZAKRES USŁUG
   ========================================================== */

.services-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  max-width: 460px;
}

.service-card {
  background: rgba(20,20,20,0.92);
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 16px;
  transition: 0.3s;
  display: flex;
  align-items: center;
  gap: 14px;
}

.service-card:hover {
  transform: translateX(6px);
  border-color: #c7a17a;
}

.service-card span {
  color: #c7a17a;
  font-size: 12px;
  min-width: 24px;
}

.service-card h3 {
  font-size: 16px;
  font-weight: 700;
}

/* ==========================================================
   STRONA GŁÓWNA - CTA GALERIA
   ========================================================== */

.final-cta {
  background: #141414;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 28px;
  padding: 42px 56px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.final-cta img {
  width: 180px;
}

.big-gallery-btn {
  background: #c7a17a;
  color: #000;
  padding: 18px 34px;
  border-radius: 999px;
  font-size: 18px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  gap: 16px;
}

.big-gallery-btn span {
  font-size: 24px;
}

/* ==========================================================
   PODSTRONY - HERO
   ========================================================== */

.page-hero {
  padding: 180px 0 80px;
  background: radial-gradient(circle at top right, rgba(199, 161, 122, 0.18), transparent 35%);
}

.page-hero p {
  max-width: 700px;
}

/* ==========================================================
   GALERIA
   ========================================================== */

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

.gallery-grid img,
.gallery-more img {
  height: 300px;
  object-fit: cover;
  border-radius: 22px;
  transition: 0.3s;
  cursor: pointer;
}

.gallery-grid img:hover,
.gallery-more:hover img {
  transform: scale(1.03);
}

.gallery-more {
  position: relative;
  overflow: hidden;
  border-radius: 22px;
  cursor: pointer;
}

.gallery-more span {
  display: none;
}

/* ==========================================================
   GALERIA - LIGHTBOX
   ========================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 2000;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox img {
  max-width: 78%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 22px;
}

.lightbox-btn,
.lightbox-close {
  background: #c7a17a;
  color: #000;
  border: none;
  border-radius: 50%;
  font-weight: 700;
  cursor: pointer;
  z-index: 2100;
}

.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 36px;
}

.lightbox-prev {
  left: 40px;
}

.lightbox-next {
  right: 40px;
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 35px;
  width: 48px;
  height: 48px;
  font-size: 34px;
}

/* ==========================================================
   KONTAKT
   ========================================================== */

.contact-hero {
  padding-bottom: 40px;
}

.contact-section {
  padding-top: 40px;
}

.contact-box {
  background: #141414;
  padding: 48px 56px;
  border-radius: 28px;
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
}

.premium-contact-box {
  background: linear-gradient(135deg, #141414, #0f0f0f);
  border: 1px solid rgba(255,255,255,0.07);
  box-shadow: 0 30px 90px rgba(0,0,0,0.35);
}

.contact-main {
  max-width: 560px;
}

.contact-main h2 {
  font-size: clamp(24px, 2.4vw, 40px);
  line-height: 1.12;
  letter-spacing: -1px;
  margin-bottom: 18px;
}

.contact-main p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 520px;
}

.contact-details {
  display: flex;
  gap: 18px;
}

.social-row {
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap;
}

.contact-link {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  transition: 0.3s;
}

.contact-link:hover {
  border-color: #c7a17a;
  transform: translateY(-2px);
}

.primary-contact {
  min-width: 360px;
  padding: 22px 34px;
  background: #c7a17a;
  color: #000;
  font-size: 22px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.facebook-square {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.3s;
  flex-shrink: 0;
}

.facebook-square:hover {
  border-color: #1877f2;
  transform: translateY(-2px);
}

.facebook-square img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

/* ==========================================================
   POLITYKA PRYWATNOŚCI
   ========================================================== */

.privacy-content {
  max-width: 900px;
  margin: 0 auto;
  background: #141414;
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 28px;
  padding: 48px 56px;
  box-shadow: 0 30px 90px rgba(0,0,0,0.25);
}

.privacy-content h1,
.privacy-content h2,
.privacy-content h3 {
  margin-top: 32px;
  margin-bottom: 16px;
}

.privacy-content h1:first-child,
.privacy-content h2:first-child,
.privacy-content h3:first-child {
  margin-top: 0;
}

.privacy-content p,
.privacy-content li {
  color: #bdbdbd;
  font-size: 16px;
  line-height: 1.8;
}

.privacy-content ul {
  margin: 16px 0 16px 24px;
}

.privacy-content strong {
  color: #fff;
}

/* ==========================================================
   STOPKA
   ========================================================== */

.footer {
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
}

.footer a {
  color: #c7a17a;
}

/* ==========================================================
   ANIMACJE
   ========================================================== */

.reveal {
  opacity: 0;
  transform: translateY(70px);
  transition: all 1s ease;
}

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

/* ==========================================================
   RESPONSYWNOŚĆ - TABLET
   ========================================================== */

@media (max-width: 992px) {
  .nav-list {
    position: absolute;
    top: 90px;
    left: 0;
    width: 100%;
    background: #0a0a0a;
    flex-direction: column;
    align-items: center;
    padding: 30px 0;
    gap: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    display: none;
  }

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

  .menu-toggle {
    display: block;
  }

  .nav-phone {
    display: none;
  }

  .hero {
    padding-top: 110px;
    padding-bottom: 25px;
  }

  .split-section,
  .section {
    padding-top: 25px;
    padding-bottom: 25px;
  }

  .hero-content,
  .split-content,
  .split-content.reverse {
    display: flex;
    flex-direction: column;
    gap: 30px;
  }

  .hero-text,
  .split-text,
  .split-content.reverse .split-text {
    max-width: 100%;
    margin-left: 0;
    padding-left: 0;
  }

  .hero-text h1,
  .split-text h2,
  .split-content.reverse .split-text h2 {
    margin: 0 0 22px;
  }

  .hero-photo,
  .split-image,
  .split-content.reverse .split-image {
    position: relative;
    width: 100%;
    top: auto;
    right: auto;
    left: auto;
    transform: none;
    margin-top: 10px;
  }

  .hero-photo::before,
  .split-image::before,
  .split-content.reverse .split-image::before {
    background: linear-gradient(180deg, rgba(10,10,10,0), rgba(10,10,10,0.35));
  }

  .split-content.reverse .split-image img {
    height: 320px;
    border-width: 4px;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .contact-box,
  .final-cta {
    flex-direction: column;
    text-align: center;
  }

  .social-row {
    justify-content: center;
  }
}

/* ==========================================================
   RESPONSYWNOŚĆ - MOBILE
   ========================================================== */

@media (max-width: 768px) {
  .container {
    width: 92%;
  }

  .nav {
    height: 82px;
  }

  .logo img {
    width: 72px;
  }

  h1 {
    font-size: clamp(36px, 11vw, 48px);
  }

  h2 {
    font-size: clamp(30px, 9vw, 40px);
  }

  p {
    font-size: 15px;
  }

  .section-label,
  .eyebrow {
    font-size: 11px;
    letter-spacing: 2px;
  }

  .hero {
    padding-top: 120px;
    padding-bottom: 45px;
  }

  .split-section,
  .section {
    padding-top: 45px;
    padding-bottom: 45px;
  }

  .hero-photo,
  .split-image {
    display: none;
  }

  .mobile-board-gallery {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .mobile-board-gallery img,
  .gallery-more img {
    height: 150px;
    border-radius: 16px;
  }

  .mobile-board-gallery > img:nth-of-type(n+4) {
    display: none;
  }

  .gallery-more span {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.65);
    color: #fff;
    font-size: 34px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
  }

  .lightbox-btn {
    width: 44px;
    height: 44px;
    font-size: 30px;
  }

  .lightbox-prev {
    left: 15px;
  }

  .lightbox-next {
    right: 15px;
  }

  .lightbox-close {
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    font-size: 30px;
  }

  .services-grid {
    max-width: 100%;
    gap: 8px;
  }

  .service-card {
    padding: 11px 16px;
  }

  .service-card h3 {
    font-size: 15px;
  }

  .final-cta {
    padding: 32px 24px;
    gap: 24px;
    border-radius: 24px;
  }

  .final-cta img {
    width: 140px;
  }

  .big-gallery-btn {
    padding: 16px 24px;
    font-size: 16px;
    gap: 12px;
  }

  .big-gallery-btn span {
    font-size: 20px;
  }

  .premium-contact-box {
    padding: 32px 24px;
    gap: 28px;
    border-radius: 24px;
  }

  .contact-main h2 {
    font-size: clamp(24px, 7vw, 34px);
  }

  .social-row {
    width: 100%;
    flex-wrap: nowrap;
  }

  .primary-contact {
    min-width: auto;
    flex: 1;
    font-size: 18px;
    padding: 18px 22px;
  }

  .facebook-square {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }

  .facebook-square img {
    width: 28px;
    height: 28px;
  }

  .lightbox img {
    max-width: 92%;
    max-height: 80vh;
  }

  .privacy-content {
    padding: 32px 24px;
    border-radius: 24px;
  }

  .privacy-content p,
  .privacy-content li {
    font-size: 15px;
  }
}
/* =========================================
   FINALNA POPRAWKA RESPONSYWNOŚCI
   Tablet / mobile / małe ekrany
========================================= */

@media (max-width: 1200px) {
  .container {
    width: 88%;
    max-width: 900px;
  }

  .nav {
    height: 82px;
  }

  .logo img {
    width: 68px;
  }

  .nav-list,
  .nav-phone {
    display: none !important;
  }

  .menu-toggle {
    display: block !important;
  }

  .nav-list.active {
    display: flex !important;
  }

  .hero {
    padding-top: 130px !important;
    padding-bottom: 55px !important;
    min-height: auto !important;
    display: block !important;
    overflow: visible !important;
  }

  .hero-content {
    display: block !important;
  }

  .hero-text {
    max-width: 100% !important;
  }

  .hero-text h1 {
    margin-right: 0 !important;
    font-size: clamp(34px, 6vw, 56px) !important;
    line-height: 1.08 !important;
    letter-spacing: -1.4px !important;
  }

  .hero-description {
    max-width: 760px !important;
    font-size: 17px !important;
    line-height: 1.65 !important;
  }

  .hero-photo,
  .split-image {
    display: none !important;
  }

  .split-section,
  .section {
    padding-top: 55px !important;
    padding-bottom: 55px !important;
    display: block !important;
    min-height: auto !important;
    overflow: visible !important;
  }

  .split-content,
  .split-content.reverse {
    display: block !important;
  }

  .split-text,
  .split-content.reverse .split-text {
    max-width: 100% !important;
    margin-left: 0 !important;
    padding-left: 0 !important;
  }

  .split-text h2,
  .split-content.reverse .split-text h2 {
    margin-right: 0 !important;
    font-size: clamp(30px, 5.5vw, 48px) !important;
  }

  .services-grid {
    max-width: 520px !important;
  }
}

/* =========================================
   TELEFON POZIOMO / NISKA WYSOKOŚĆ
========================================= */

@media (max-height: 540px) and (orientation: landscape) {
  .nav {
    height: 68px;
  }

  .logo img {
    width: 54px;
  }

  .hero {
    padding-top: 95px !important;
    padding-bottom: 35px !important;
  }

  .hero-text h1 {
    font-size: clamp(28px, 5vw, 42px) !important;
  }

  .hero-description {
    font-size: 14px !important;
    line-height: 1.55 !important;
  }

  .eyebrow,
  .section-label {
    font-size: 10px !important;
    margin-bottom: 12px !important;
  }
}