.contact {
  width: 100%;
  background-color: #dbd5ce; /* kolor tła jak na screenie */

}


.contact-section1 {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 80px 0px 0px 0px;
  flex-wrap: wrap;
  gap: 60px;
}

.contact-content {
  flex: 1;
  max-width: 500px;
}

.contact-content h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 100;
  margin-bottom: 10px;
}

.contact-content p {
  text-align: justify;
  font-family: 'Arsenal';
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.contact-box {
  font-family: 'Arsenal';
  font-size: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  background: white;
  border-radius: 12px;
  padding: 16px 24px;
  text-decoration: none;
  color: black;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.contact-item:hover {
  transform: scale(1.03);
}

.icon {
  width: 36px;
  height: 36px;
  background-color: black;
  border-radius: 50%;
  margin-right: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.icon::before {
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  color: white;
  font-size: 16px;
}

.email::before {
  content: "\f0e0"; /* envelope */
}

.phone::before {
  content: "\f095"; /* phone */
}

.instagram::before {
  content: "\f16d"; /* instagram */
}

.contact-image {
  flex: 1;
  display: flex;
  justify-content: center;
  animation: slideIn 1s ease forwards;
  opacity: 0;
}

.contact-image img {
  max-width: 500px;
  height: auto;
}

@keyframes slideIn {
  from {
    transform: translateX(100px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}


/*---------------------------------------------------------------------------------------------*/

.social-media-section {
  padding: 120px 20px 40px 20px;
  background-color: #ffffff;
  font-family: 'Arsenal', serif;
}

.social-media-section h2 {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 100;
  margin: 0px;
  padding-bottom: 40px;
}

.social-media-wrapper {
  display: flex;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
  column-gap: 60px;
  flex-wrap: wrap;
}

.social-media-image {
  flex: 1 1 46.5%;
}

.social-media-image img {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
}

.social-media-content {
  flex: 1 1 46.5%;
  font-size: 16px;
  line-height: 1.6;
}

.social-media-content p {
  text-align: justify;
  font-family: 'Arsenal';
  font-size: 1.1rem;
  margin-top: 0px;
  padding-top: 0px;
}

.social-media-content h2 {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem;
  font-weight: 100;
  margin: 0px;
}

.social-media-content h3 {
  margin-top: 20px;
  text-align: justify;
  font-family: 'Arsenal';
  font-size: 1.1rem;
}

.social-media-content ul {
  text-align: justify;
  font-family: 'Arsenal';
  font-size: 1.1rem;
  padding-left: 20px;
  margin-top: 10px;
  line-height: 1;
}

.social-media-content ul li {
  margin-bottom: 8px;
  line-height: 1;
}




/*-----------------------------------------------------------------------------------*/


.container {
  margin: 0 auto;
  max-width: 1000px;
  padding-bottom: 10px;
}


.gallery-scroll {
  overflow: hidden;
  margin: 40px auto;
}

.gallery-row {
  display: flex;
  flex-wrap: nowrap;
  gap: 10px;
}

.gallery-row:hover {
  animation-play-state: paused;
}

.gallery-item {
  position: relative;
  display: block;
  flex: 0 0 auto;
  width: 218px;
  height: 218px;
  border-radius: 10px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  border-radius: 10px;
  display: block;
  transition: opacity 0.4s ease;
}

.gallery-item .img-hover {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
   z-index: 2;
}

.gallery-item:hover .img-hover {
  opacity: 1;
}

.gallery-item:hover .img-default {
  opacity: 0;
}


/* domyślnie ukrywamy przycisk mobilny */
.button-mobile {
  display: none;
  text-align: center;
  margin: 20px auto 0;
}

/* wersja mobilna – pokaż przycisk pod galerią */
@media (max-width: 1000px) {
  .button-mobile {
    display: block;
  }
}