
body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: #fff;
    color: #333;
}
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    padding: 20px 40px;
    border-bottom: 1px solid #ccc;
}
.logo {
    font-size: 1.5em;
    font-weight: bold;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    margin: 0;
}
nav ul li a {
    text-decoration: none;
    color: #333;
    font-weight: bold;
}

.hero {
  background-image: url('images/hero_osiedle.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 400px; /* możesz dobrać wartość */
  position: relative;
}

.hero img {
    width: 100%;
    height: auto;
    display: block;
}
.overlay {
    position: absolute;
    top: 30%;
    left: 5%;
    color: white;
    background: rgba(0,0,0,0.5);
    padding: 20px 30px;
    border-radius: 10px;
}
.overlay h1 {
    font-size: 2.5em;
    margin: 0 0 10px;
}
.gallery {
    background: #2f3e2f;
    color: #fff;
    padding: 40px 20px;
    text-align: center;
}
.gallery h2 {
    margin-bottom: 30px;
}
.thumbnails {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.thumbnails img {
    width: 300px;
    height: auto;
    border-radius: 8px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.3);
}
footer {
    background: #111;
    color: #fff;
    text-align: center;
    padding: 20px;
}

.project {
    background: #2f3e2f;
    color: #fff;
    padding: 60px 20px;
}
.project-inner {
    display: flex;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
    gap: 40px;
}
.project-image img {
    width: 500px;
    border-radius: 10px;
    box-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}
.project-text {
    flex: 1;
}
.project-text h2 {
    font-size: 2em;
    margin-bottom: 20px;
    color: #d2dcb6;
}
.project-text p {
    font-size: 1.1em;
    line-height: 1.6;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 20px;
}
.logo-image {
    height: 60px;
    border-radius: 8px;
}
.logo-text {
    font-size: 1.8em;
    font-weight: bold;
}
#contact h2 {
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.05em;
  font-weight: 600;
}

#contact p {
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
  line-height: 1.6;
  margin-bottom: 1.2em;
}

#contact a {
  color: #265c3e;
  text-decoration: none;
  font-weight: 500;
}

.admin-section {
  background-color: #ffffff;
  padding: 60px 20px;
  font-family: 'Helvetica Neue', sans-serif;
  color: #111;
}

.admin-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.admin-left, .admin-right {
  flex: 1 1 45%;
}

.admin-logo, .security-logo {
  max-width: 200px;
  margin-bottom: 20px;
}

h2 {
  font-size: 22px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.admin-section {
  background-color: #ffffff;
  padding: 60px 20px;
  font-family: 'Helvetica Neue', sans-serif;
  color: #111;
}

.admin-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1000px;
  margin: 0 auto;
  gap: 40px;
}

.admin-left, .admin-right {
  flex: 1 1 45%;
}

.admin-logo, .security-logo {
  max-width: 120px;
  height: auto;
  margin-bottom: 20px;
  display: block;
}

h2 {
  font-size: 22px;
  letter-spacing: 1px;
  margin-bottom: 10px;
}

p {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .hero {
    min-height: 300px; /* możesz zwiększyć np. do 400px w zależności od efektu */
    position: relative;
  }

 .hero h1 {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 12px;
  }
  .hero-image {
    width: 100%;
    height: 100%;
   /* object-fit: cover; */
  }
  .overlay {
    position: absolute;
    top: 0;
    left: 0;
    /*padding: 20px;*/
/*    width: 100%;
    height: 100%;*/
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}
/* burger Menu style */

/* ========== DESKTOP ========== */
.main-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: white;
  padding: 15px 30px;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
  color: #333;
}

.main-nav {
  display: block; /* normalne menu na desktop */
}

.main-nav ul {
  list-style: none;
  display: flex;
  gap: 20px;
  margin: 0;
  padding: 0;
}

.main-nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

.main-nav ul li a:hover {
  color: #2e5d4b;
}

/* burger domyślnie ukryty na desktop */
.burger {
  display: none;
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {

  .burger {
    display: block;
    font-size: 30px;
    cursor: pointer;
  }

  .main-nav {
    display: none; /* domyślnie ukryte menu mobilne */
    position: absolute;
    top: 60px;
    right: 20px;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 10px 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  }

  .main-nav.open {
    display: block; /* pokaż po kliknięciu burgera */
  }

  .main-nav ul {
    flex-direction: column;
    gap: 10px;
  }

}


.logo2 {
  font-size: 1.4em;
  font-weight: bold;
}




