:root {
  --primary-blue: #233B77;
  --light-blue: #e8f1ff;
  --accent-blue: #3474d4;
  --golden: #e6c79c;
  --dark-golden: #d1ae82;
  --indigo: #282832;
  --nav-height: 100px;
  --nav-height-mobile: 80px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Georgia', serif;
}
#contact-phone, #nav-phone, #nip, #regon, #mon-fri-hours, #sat-hours, #sun-hours, #address, input {
  font-family:'Times New Roman', Times, serif;
}
html {
  scroll-padding-top: var(--nav-height);
  scroll-behavior: smooth;
}
body {
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  background-color: var(--light-blue);
  color: #333;
  line-height: 1.6;
}
.button-container {
  text-align: center;
}
.button-link {
  display: inline-block;
  text-decoration: none;
  color: var(--indigo) !important;
  background-color: var(--golden);
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  transition: background-color 0.3s ease, transform 0.2s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.button-link:hover,
.button-link:focus {
  background-color: var(--dark-golden);
  transform: translateY(-2px);
}
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  background-color: var(--primary-blue);
  color: white;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}
#nav-logo-img {
  height: var(--nav-height-mobile);
}
.nav {
  /* overflow: hidden; */
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  background-color: var(--primary-blue);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav .icon {
    margin-right: 1rem;
}
#nav-logo-img {
  height: var(--nav-height-mobile);
}
.nav-links {
  display: none;
  flex-direction: column;
  position: absolute;
  top: var(--nav-height-mobile);
  left: 0;
  width: 100%;
  text-align: left;
  align-items: flex-start;
  background-color: var(--primary-blue);
  padding: 1rem 0;
  z-index: 3;
}
.nav-links a {
  margin-left: 1rem;
  color: white;
  text-decoration: none;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
  padding: 10px 15px;
  text-align: center;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: var(--golden);
}
.icon {
  display: block;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}
.nav-links.open {
  display: flex;
}
.hero {
  background: linear-gradient(rgba(26, 75, 140, 0.4), rgba(52, 116, 212, 0.4)),
              url('/img/kolumny.jpg');
  background-size: cover;
  background-position: center;
  height: calc(100vh - var(--nav-height-mobile));
  color: white;
  text-align: center;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.2);
  z-index: 1;
}
.hero h1, .hero p {
  position: relative;
  z-index: 2;
}
.hero h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}
.hero p {
  font-size: 1.4rem;
  max-width: 800px;
  margin: 0 auto;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
.hero-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}
.content {
  max-width: 1200px;
  margin: 1rem auto;
  padding: 0 1rem;
}
.about-section {
  background: linear-gradient(to right, var(--primary-blue), var(--accent-blue));
  color: white;
  padding: 4rem 2rem;
  margin: 3rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}
.about-content {
  max-width: 800px;
  margin: 0 auto;
}
.about-content h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
}
.about-content p {
  /* text-align: justify; */
  font-size: 1.1rem;
  line-height: 1.8;
}
.about-me-section {
  display: flex;
  justify-content: center;
  background: white;
  padding: 4rem 2rem;
  margin: 3rem 0;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.about-me-content {
  display: flex;
  max-width: 800px;
  gap: 1rem;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.dp_group {
  align-items: center;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 1.5rem;
}
#about-me-description {
  text-align: justify;
  margin-bottom: 1.5rem;
}
.about-me-photo {
  width: 250px;
  height: 100%;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}
.about-me-text {
  display: flex;
  flex-direction: column;
  font-size: 1.1rem;
}
.about-me-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: var(--primary-blue);
}
.about-me-content h3 {
  color: var(--primary-blue);
  font-size: 2rem;
  margin-bottom: 2rem;
  text-align: center;
}
.price-section {
  background: linear-gradient(to right, var(--primary-blue), var(--accent-blue));
  color: white;
  padding: 4rem 2rem;
  margin: 3rem 0;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.price-content {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.price-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  color: white;
}
.price-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
}
.price-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><path fill="rgba(255,255,255,0.05)" d="M0 0h100v100H0z"/></svg>');
  opacity: 0.1;
  z-index: 1;
}
.services {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}
.service-card {
  background: white;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}
.service-card h3 {
  color: var(--primary-blue);
  font-size: 1.5rem;
  margin-bottom: 1rem;
}
.service-card:hover {
  transform: translateY(-5px);
}
.service-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 1.5rem auto;
  display: block;
}
.price-list {
  margin-top: 1rem;
  padding-left: 1.2rem;
}
.price-item {
  margin-bottom: 0.8rem;
  line-height: 1.4;
}
.price {
  font-weight: bold;
  color: var(--primary-blue);
}
.contact-form-wrapper {
  background: white;
  padding: 3rem;
  border-radius: 8px;
  max-width: 600px;
  margin: 2rem auto;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}
.contact-form-wrapper h2 {
  color: var(--primary-blue);
  margin-bottom: 2rem;
  text-align: center;
}
.button-wrapper {
  display: flex;
  justify-content: center;
}
.form-group {
  margin-bottom: 1.5rem;
}
.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--primary-blue);
  font-weight: bold;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
}
.btn {
  background: var(--primary-blue);
  color: white;
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn:hover {
  background: var(--accent-blue);
}
footer {
  background: var(--primary-blue);
  color: white;
  padding: 3rem;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin-top: 3rem;
}
.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(288px, 1fr));
  text-align: left;
  justify-content: center;
  gap: 2rem;
  align-items: center;
}
footer a {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  text-decoration: none;
  color: white;
}
footer a:hover {
  color: var(--golden);
}
.footer-section {
    width: 300px;
    margin: 0 auto;
  padding: 1rem;
}
.footer-section h3 {
  margin-bottom: 1rem;
  font-size: 1.2rem;
  color: var(--light-blue);
}
.footer-section p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}
.hours-list {
  list-style: none;
}
.hours-list li {
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.9rem;
}
.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
  justify-content: left;
  align-items: center;
}
.social-icon {
  color: white;
  transition: color 0.3s ease;
}
.social-icons a:hover {
  color: white;
}
.copyright {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.author {
  right:50%;  
  padding-top: 1px;
  font-size: 0.9rem;
}



.policy-section {
  background: white;
  color: var(--primary-blue);
  padding: 4rem 2rem;
  margin: 3rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}
.policy-content {
  max-width: 800px;
  margin: 0 auto;
}
.policy-content h2 {
  font-size: 2.2rem;
  margin-bottom: 2rem;
  text-align: center;
}
.policy-content p {
  /* text-align: justify; */
  font-size: 1.1rem;
  line-height: 1.8;
}


@media (min-width: 340px) {
  nav {
    padding: 0 1rem;
  }
}
@media (min-width: 390px) {
  .hero h1 {
    font-size: 2.5rem;
  }
}
@media (min-width: 500px) {
  .hero h1 {
    font-size: 3rem;
  }
}
@media (min-width: 768px) {
  #about-me-description {
    margin-bottom: 0;
  }
  .dp_group {
    align-items: center;
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-bottom: 1.5rem;
  }
  /* .footer-content {
    justify-content: center;
    flex-direction: row;
  } */
}
@media (min-width: 1042px) {
  .hero {
    background: linear-gradient(rgba(26, 75, 140, 0.4), rgba(52, 116, 212, 0.4)),
                url('/img/mlotek_sedziowski.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: calc(100vh - var(--nav-height ));
    color: white;
    text-align: center;
    position: relative;
  }
  .nav-links {
    display: flex;
    align-items: right;
    justify-content: right;
    flex-direction: row;
    gap: 1rem; /* Space between links */
    position: static;
    background: none;
    padding: 0;
  }
  /* Hide mobile menu icon on larger screens */
  .icon {
    display: none;
  }
  .footer-content {
      display: grid;
      grid-template-rows: repeat(auto-fit, minmax(300px, 1fr));
      text-align: left;
      gap: 2rem;
      align-items: center;
  }
  .social-icons {
    justify-content: left;
    align-items: left;
  }
  /* .nav-links {
    display: flex;
    gap: 2.5rem;
    margin-right: 2rem;
  } */
  #nav-logo-img {
    height: var(--nav-height);
  }
  /* footer content column */
  .copyright {
    flex-direction: row;
  }
}