* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  width: 100%;
  overflow-x: hidden;
  font-family: 'Montserrat', sans-serif;
  color: #333;
  background-image: url('1.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}

a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  text-decoration: underline;
}

/* Navbar */
.navbar {
  width: 100%;
  background-color: #008eb9af;
  color: white;
  display: flex;
  justify-content: space-between;
  padding: 2rem 2rem;
  align-items: center;
  position: relative;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: white;
  cursor: pointer;
}

/* Menu */
.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: white;
  background-color: #313131bb;
  padding: 10px;
  border-radius: 5px;
  font-weight: 500;
}

/* Hero */
.hero {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: 1rem 2rem;
  background: linear-gradient(to right, #000000, #00000000);
  color: white;
}

.hero-text, .hero-text2 {
  max-width: 100%;
}

.hero-text h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

/* Main layout */
.main-wrapper {
  display: flex;
  flex-wrap: wrap;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0;
}

.main-image {
  flex: 1;
  max-width: 35%;
  margin: 2rem 0 0 -1rem;
  filter: grayscale(100%);
}

.main-image img {
  width: 100%;
  border-radius: 10px;
  transition: filter 0.3s ease;
}

.main-image img:hover {
  filter: brightness(1.2);
}

.main-content {
  flex: 1;
  max-width: 65%;
  padding: 2rem;
}

/* Sections */
.section {
  background-color: #fff;
  margin-bottom: 1.5rem;
  padding: 2rem;
  border-radius: 10px;
}

.section h2 {
  color: #0aa5d4;
  margin-bottom: 1rem;
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.gallery-grid img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 3px 8px rgba(0,0,0,0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.gallery-grid img:hover {
  transform: scale(1.3) translateY(-10px);
  box-shadow: 0 12px 30px rgba(0,0,0,0.5);
}

/* Kontakt */
.contact-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.contact-left i {
  font-size: 32px;
  color: #3b5998;
  margin-right: 10px;
}

.contact-left a {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.contact-right {
  font-style: italic;
  color: #ff0000;
}

/* Scroll to top */
.scrollToTop {
  position: fixed;
  bottom: 15px;
  right: 40px;
  background-color: white;
  color: black;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 7px 16px;
  font-size: 16px;
  cursor: pointer;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  z-index: 1000;
}

/* Footer */
footer {
  text-align: center;
  background-color: #1b1b1bec;
  color: white;
  padding: 1.7rem;
}

/* Ciasteczka */
#cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background: #0d495b;
  color: white;
  padding: 10px;
  z-index: 1000;
  text-align: center;
}

#cookie-buttons {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-btn {
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
}

.accept {
  background-color: #28a745;
  color: white;
}

.decline {
  background-color: #dc3545;
  color: white;
}

.settings {
  background-color: #ffffff;
  color: rgb(0, 0, 0);
}

a.privacy-link {
  color: #007bff;
  text-decoration: underline;
}

/* RESPONSYWNOŚĆ */
@media (max-width: 900px) {
  .hamburger {
    display: block;
    z-index: 1001;
    transition: transform 0.3s ease;
  }

  .hamburger.open {
    transform: rotate(90deg);
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    background-color: rgb(105, 105, 105);
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    padding: 1rem 1.5rem;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 8px 15px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
  }

  .nav-links.nav-active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    width: 100%;
    padding: 12px 16px;
    text-align: left;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
    transition: background-color 0.2s ease;
  }

  .nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.2);
  }

  .main-wrapper {
    flex-direction: column;
  }

  .main-image,
  .main-content {
    max-width: 100%;
    margin: 0;
    padding: 1rem;
  }

  .hero-text2 {
    margin-right: 0;
  }
}

