:root {
  --green: #69ff97;
  --dark: #090c0a;
  --dark2: #121714;
  --white: #ffffff;
  --gray: #c5cec8;
}

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

html {
  scroll-behavior: smooth;
}

/* Ustawienia globalne - Arial dla całej strony */
body {
  font-family: Arial, sans-serif;
  background: var(--dark);
  color: var(--white);
  overflow-x: hidden;
}

/* --- Sekcja Hero --- */

.hero-title {
  font-family: 'Open Sans', sans-serif;
  font-weight: 800; /* Open Sans wygląda świetnie w wersji Extra Bold */
  font-size: 88px;
  line-height: .95;
  letter-spacing: -2px; /* Przy Open Sans warto lekko zbliżyć litery */
}

.hero-text {
  font-family: 'Open Sans', sans-serif;
  font-weight: 400;
  font-size: 22px;
}
/* HEADER */
header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  padding: 22px 70px;
  background: rgba(0, 0, 0, .45);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, .05);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: var(--green);
  font-size: 30px;
  font-weight: 700;
  letter-spacing: 2px;
}

.menu a {
  color: white;
  text-decoration: none;
  margin-left: 32px;
  transition: .3s;
  font-size: 15px;
  letter-spacing: 1px;
}

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

/* HERO */
.hero {
  min-height: 100svh;
  background-image: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.82)), 
                    url('http://kortromanowka.com.pl/wp-content/uploads/2026/05/DJI_0976-scaled.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  padding: 0 8%;
}

.hero h1 { font-size: 88px; line-height: .95; margin-bottom: 28px; }
.hero p { color: var(--gray); font-size: 22px; margin-bottom: 42px; max-width: 620px; }

/* BUTTON */
.btn {
  display: inline-flex;
  background: var(--green);
  color: black;
  padding: 18px 38px;
  border-radius: 100px;
  font-weight: 700;
  text-decoration: none;
  transition: .35s ease;
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(105, 255, 151, .2);
}

/* GALLERY SECTION */
section { padding: 120px 8%; }
.section-title { font-size: 46px; margin-bottom: 60px; }

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  cursor: pointer;
  height: 340px;
  background: var(--dark2);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none; /* Pozwala gallery-item obsługiwać hover w JS */
}

/* LIGHTBOX */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .95);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  opacity: 0;
}

.lightbox img {
  max-width: 90%;
  max-height: 80vh;
  border-radius: 20px;
  box-shadow: 0 0 50px rgba(0,0,0,0.5);
}

/* RESPONSIVE */
@media(max-width: 768px) {
  header { 
    padding: 18px 22px; 
  }

  .menu { 
    display: none; 
  }

  .hero {
    /* Tu ustawiamy przesunięcie - spróbuj 80% lub nawet 90%, aby zobaczyć różnicę */
    background-position: 85% center !important; 
    background-attachment: scroll; 
    padding: 0 24px;
  }

  .hero h1 { 
    font-size: 42px; /* Mniejszy napis lepiej odsłania tło */
    line-height: 1.1;
  }

  .hero p {
    font-size: 18px;
  }

  .gallery { 
    grid-template-columns: 1fr; 
  }
  
  .cards {
    grid-template-columns: 1fr; /* Kostki jedna pod drugą na telefonie */
  }

  .contact-box p {
    font-size: 20px !important;
  }
  
  .contact-box p:last-child a {
    font-size: 28px !important;
  }
}


/* Opcjonalnie: zdjęcie lekko rozbłyska, gdy na nie najedziesz */
.gallery-item:hover img {
    filter: brightness(1.1);
}
/* Powiększenie nagłówka Kontakt */
.contact-box .section-title {
    font-size: 54px;
    margin-bottom: 30px;
}

/* Podstawowy tekst kontaktu */
.contact-box p {
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--gray);
}

/* Styl dla maila i telefonu (linki) */
.contact-box p a {
    text-decoration: none;
    transition: 0.3s;
}

/* Specjalne wyróżnienie dla numeru telefonu (ostatni akapit) */
.contact-box p:last-child a {
    font-size: 30px;
    font-weight: 600;
    color: var(--green) !important;
}

.contact-box p a:hover {
    opacity: 0.8;
}
/* UKŁAD KART - 3 KOSTKI */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); /* To tworzy kolumny obok siebie */
  gap: 30px; /* Odstęp między kostkami */
  margin-top: 40px;
}

.card {
  background: var(--dark2);
  padding: 40px;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, .05);
  transition: transform .4s ease, border-color .4s ease;
}

.card:hover {
  transform: translateY(-10px);
  border-color: var(--green);
}

.card h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--green);
}

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