/* =========================
   FONT - INTER LOCAL
========================= */
@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.woff2') format('woff2'),
         url('../fonts/Inter-Regular.woff') format('woff');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Italic.woff2') format('woff2'),
         url('../fonts/Inter-Italic.woff') format('woff');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

body {
    font-family: 'Inter', sans-serif;
}



/* =========================
   NAVBAR FIX
========================= */
.navbar {
    padding: 1.5rem 2rem;
    background: #fff;
    transition: background 0.4s ease, box-shadow 0.4s ease;
}
.nav-logo {
    visibility: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}
.navbar.scrolled .nav-logo {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
}

.burger {
    width: 30px;
    height: 22px;
    position: relative;
    border: none;
    background: transparent;
    cursor: pointer;
    padding: 0;
}

.burger span {
    display: block;
    height: 2px;
    width: 100%;
    background: #000;
    position: absolute;
    left: 0;
    transition: 0.3s ease;
}

.burger span:nth-child(1) { top: 0; }
.burger span:nth-child(2) { top: 10px; }
.burger span:nth-child(3) { bottom: 0; }

/* Animacja do X */
.burger.active span:nth-child(1) {
    transform: rotate(45deg);
    top: 10px;
}

.burger.active span:nth-child(2) {
    opacity: 0;
}

.burger.active span:nth-child(3) {
    transform: rotate(-45deg);
    bottom: 10px;
}
.fullscreen-menu {
    position: fixed;
    inset: 0;
    background: white;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateY(-100%);
    transition: transform 0.5s ease;
    z-index: 999;
}

.fullscreen-menu.active {
    transform: translateY(0);
}

.menu-links {
    list-style: none;
    padding: 0;
    text-align: center;
}

.menu-links li {
    margin: 2rem 0;
}

.menu-links a {
    text-decoration: none;
    font-size: 2rem;
    color: black;
    font-weight: 500;
    transition: opacity 0.3s;
}

.menu-links a:hover {
    opacity: 0.6;
}
.no-scroll {
    overflow: hidden;
}
.nav-logo-img {
    height: 40px;
    width: auto;
    display: block;
}

/* =========================
   HERO
========================= */
.hero {
    height: 100vh;
    min-height: 100vh;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px; /* miejsce na navbar */
    position: relative;
    z-index: 1;
}


/* Animacja SVG */
.animated-logo {
    stroke-dasharray: 500;
    stroke-dashoffset: 500;
    animation: draw 3s ease forwards;
}

@keyframes draw {
    to {
        stroke-dashoffset: 0;
    }
}

/* =========================
   PARALLAX
========================= */
.parallax-section {
    height: auto; /* zamiast 80vh - pozwala tekstowi rosnąć */
    min-height: 80vh;
    padding: 140px 20px; /* przestrzeń od góry i dołu */
    background-image: url('../img/parallax.jpg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    box-sizing: border-box;
}

/* lekki overlay */
.parallax-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.35);
    z-index: 1;
}

/* Tekst parallax */
.parallax-section > div {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    color: #fff;
}

.premium-text {
    padding-top: 40px;
}

.premium-text h2 {
    font-size: 2.8rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.premium-text p {
    font-size: 1.15rem;
    line-height: 1.9;
    margin-bottom: 1.8rem;
    font-weight: 300;
    opacity: 0.95;
}

.premium-text p + p {
    margin-top: 1.5rem;
}

/* duże ekrany */
@media (min-width: 1200px) {
    .premium-text h2 {
        font-size: 3.2rem;
        margin-bottom: 3rem;
    }

    .premium-text p {
        font-size: 1.2rem;
    }
}

/* =========================
   PARALLAX 2
========================= */
.parallax-premium {
    height: auto;
    min-height: 80vh;
    padding: 140px 20px;
    background-image: url('../img/parallax2.jpg');
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}

/* Gradient overlay premium */
.parallax-premium::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(0,0,0,0.5), rgba(0,0,0,0.2));
    z-index: 1;
}

/* Tekst nad overlay */
.parallax-premium > .premium-text {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    color: #fff;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Klasa aktywna po scrollu */
.parallax-premium.visible > .premium-text {
    opacity: 1;
    transform: translateY(0);
}
/* =========================
   ÜBER UNS PARALLAX PREMIUM
========================= */
/* =========================
   ÜBER UNS PARALLAX
========================= */
.uber-uns-parallax {
  position: relative;
  padding: 140px 20px;
  min-height: 100vh;
  color: #fff;
  background-image: url('../img/parallax-uberuns.jpg'); /* Twoje tło */
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}

/* overlay dla lepszej czytelności tekstu */
.uber-uns-parallax::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 1;
}

.uber-uns-parallax .container {
  position: relative;
  z-index: 2;
}

/* Tabs Buttons */
.uber-tabs {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
  flex-wrap: wrap;
  z-index: 2;
}

.tab-btn {
  padding: 10px 25px;
  background: rgba(255,255,255,0.1);
  border: none;
  border-radius: 50px;
  color: #fff;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
}

.tab-btn:hover {
  background: rgba(255,255,255,0.25);
  transform: translateY(-2px);
}

.tab-btn.active {
  background: #fff;
  color: #1C1D1B;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Tabs Content */
.tab-content {
  display: none;
  opacity: 0;
  transition: opacity 0.6s ease;
  max-width: 900px;
  margin: 0 auto;
  text-align: left;
  font-size: 1.15rem;
  line-height: 1.8;
}

.tab-content.active {
  display: block;
  opacity: 1;
}

/* responsive */
@media (max-width: 768px){
  .uber-tabs { gap: 10px; }
  .tab-btn { padding: 8px 15px; font-size: 0.95rem; }
}

/************************
Kontakt
***********************/
.parallax-contact {
    background-image: url('../img/parallax-contact.jpg'); /* wstaw własne tło */
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    padding: 140px 20px;
    position: relative;
    overflow: hidden;
}

.parallax-contact::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45); /* lekki overlay, żeby tekst był czytelny */
    z-index: 1;
}

.parallax-contact > .premium-text {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    color: #fff;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    line-height: 1.8;
}

.parallax-contact.visible > .premium-text {
    opacity: 1;
    transform: translateY(0);
}

.parallax-contact h2 {
    font-size: 2.8rem;
    font-weight: 400;
    margin-bottom: 2rem;
    letter-spacing: -0.5px;
}

.parallax-contact p {
    font-size: 1.15rem;
    margin-bottom: 1.5rem;
    opacity: 0.95;
}

.parallax-contact .btn {
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    border: 2px solid #fff;
    transition: all 0.3s ease;
}

.parallax-contact .btn:hover {
    background: #fff;
    color: #000;
}
/************************
Stopka
***********************/

/* Modal Imprint */
.modal-overlay {
    display: none;
    position: fixed;
    top:0; left:0;
    width:100%; height:100%;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background: #fff;
    color: #000;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    border-radius: 12px;
    position: relative;
    text-align: left;
}

.close-modal {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
}
/* =========================================
   iOS / MOBILE PARALLAX FIX
   ========================================= */



/* Dodatkowy fix dla Safari iOS */
@supports (-webkit-touch-callout: none) {

  .parallax-section,
  .parallax-premium,
  .uber-uns-parallax,
  .parallax-contact {
    background-attachment: scroll !important;
    background-position: center center;
    background-size: cover;
  }

}
