/* Reset & podstawy */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 10px;
}

body {
  font-family: system-ui, Avenir, Helvetica, Arial, sans-serif;
  scroll-behavior: smooth;
  font-size: 1.6rem;
  padding-top: 10rem;
  background-color: #f4f4f4;

  
}

/* Nawigacja */

.nav_links_container{
  display: flex;
  flex-direction: row;
}

.language_switcher {
  border: none;
  outline: none;
  background: transparent;
  color: #0d5252;
  font-size: 2.4rem;
  padding-left: 2rem;
  margin-right: 1rem;
  cursor: pointer;
  

}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 10rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #ffffff;
  color: #0d5252;
  padding: 1rem 1rem;
  position: fixed;
  width: 100%;
  box-shadow: 0 4px 4px -2px #0080804d;

  flex-wrap: wrap;
}
.logo {
  display: flex;
  color: #0d5252;
  align-items: center;
  white-space: nowrap;
  height: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  padding-left: 2rem;
  max-width: 70%;
}

.image {
  height: 100%
}
nav ul {
  display: flex;
  list-style: none;
  gap: 1rem;
}
.menu {
  display: flex;
  gap: 1rem;
}
.menu_item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 2rem;
  font-size: 1.8rem;
  text-decoration: none;
  color: #0d5252;
  font-weight: 500;
  border: 1px solid #0080804d;
  border-radius: 1rem;
  transition: box-shadow 0.2s ease, color 0.2s ease;
}

.active {
  box-shadow: 0 0 0 1px #0d5252;
  cursor: pointer;
}
a.link-bold-no-underline {
  color: inherit;       
  font-weight: bold;        
  text-decoration: none;    
  cursor: pointer;         
}


.menu_item:hover {
  box-shadow: 0 0 0 1px #0d5252;
  cursor: pointer;
}
nav a {
  color: #0d5252;
  text-decoration: none;
}

/* Hamburger */
.hamburger {
  display: none;
  font-size: 2.4rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #008080;
  color: white;
  text-align: center;
  margin-top: 1px;
  padding: 80px 20px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.hero p {
  font-size: 1.5rem;
}

.cta_button {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 1rem;
  justify-self: center;
  padding: 1rem;
  font-size: 1.6rem;;
  text-decoration: none;
  color: #ffffff;
  width: 20rem;
  font-weight: 500;
  background-color: #0d5252;
  border: 1px solid #0d5252;
  border-radius: 1rem;
  cursor: pointer;
  transition: box-shadow 0.2s ease, color 0.2s ease;
}


/* Sekcje */
.section {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background-color: #f4f4f4;
  padding-top: 1rem;
  min-height: 50vh;
}

.section .text {
  flex: 1 1 500px;
  max-width: 600px;
  color: #0d5252;
}

.section .image {
  flex: 1 1 400px;
  max-width: 500px;
  padding: 20px;
}

.section .image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.section .text h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #111;
}

/* Sekcje */

#home { background: #f4f4f4;  }
#about { background: #f4f4f4; }
#services { background: #f4f4f4; }
#contact { background: #f4f4f4; }

/* Formularz kontaktowy */
form {
  max-width: 500px;
  margin: auto;
  background: #fff;
  padding: 2rem;
  border-radius: 0.8rem;
}
form input,
form textarea,
form button {
  width: 100%;
  margin-bottom: 1rem;
  padding: 1rem;
  font-size: 1.4rem;
}
form button {
  background-color: #333;
  color: white;
  border: none;
  cursor: pointer;
}
form button:hover {
  background-color: #555;
}


/* Responsywność */
@media (max-width: 1024px) {

.nav_links_container{
  display: flex;
  flex-direction: row;
  justify-content: flex-end;

}

.nav-links {
  position: absolute;
}

form button, body, span, p {
  font-size: 2rem;
}

.section .text h2 {
  font-size: 2.2rem;
}
 .hero h1, .hero p, .cta_button, .menu_item {
  font-size: 2.2rem;
}

 body {
  padding-top: 8rem;
 }

  nav {
    height: 8rem;
    align-items: center;
  }

  .hamburger {
    display: flex;
    align-items: center;
   

  }

  .logo {
    padding-left: 0;
  }

  .icon {
  width: 32px;
  height: 32px;
  }

  .language_switcher {
  border: none;
  outline: none;
  background: transparent;
  color: #0d5252;
  font-size: 2.4rem;
  padding-left: 1rem;
  padding-right: 0.5rem;
  margin-right: 0.5rem;


}

  nav ul.menu {
  display: none;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 0;
  width: auto;
  min-width: 100%;
  background-color: #ffffff;
  z-index: 2000;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  padding: 1rem;
  border-radius: 0.8rem;
}

 nav ul.menu.active {
    display: flex;

  }

  .menu_item {
    justify-content: flex-start;
  }

  .image {
  height: 50%
}

  .image_logo{
    height: 75%;
  }


section {
  min-height: 70vh;
  padding-top: 0;
}

}

