/*
Theme Name: Neve Child
Template: neve
Version: 1.0
*/

/* Ogólne style */
body {
  margin: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #fdfdfd;
  color: #333;
  line-height: 1.6;
}

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

/* Hero */
.hero {
  background: linear-gradient(135deg, #0b1a36 0%, #1d4ed8 100%);
  color: #fff;
  text-align: center;
  padding: 160px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  background: #4cafef;
  color: #fff;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}

.btn:hover {
  background: #2196f3;
  transform: translateY(-3px);
}

/* Sekcje */
.section {
  padding: 80px 0;
}

.section.dark {
  background: #f3f4f6;
}

/* Nagłówki */
h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
  color: #222;
}

/* Usługi */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.card {
  background: #fff;
  border-radius: 16px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  transition: all 0.3s;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

.card i {
  font-size: 2.5rem;
  margin-bottom: 15px;
  color: #2563eb;
}

/* Realizacje */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.project {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: transform 0.3s;
  background: #fff;
}

.project:hover {
  transform: scale(1.03);
}

.project img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.project p {
  padding: 12px;
  font-size: 0.95rem;
  color: #444;
}

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

.lightbox img {
  max-width: 90%;
  max-height: 70%;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.6);
  margin-bottom: 15px;
}

.lightbox p {
  color: #fff;
  font-size: 1rem;
}

.lightbox .close {
  position: absolute;
  top: 20px; right: 30px;
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
}

.lightbox-nav .prev,
.lightbox-nav .next {
  color: #fff;
  font-size: 2.5rem;
  cursor: pointer;
  padding: 10px;
  transition: color 0.3s;
}

.lightbox-nav .prev:hover,
.lightbox-nav .next:hover {
  color: #4cafef;
}

/* Animacje fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}
