.container {
  padding-bottom: 2rem !important;
}

main h1 {
  margin-bottom: 0% !important;
}

.container-contacts {
  max-width: 1600px;
  margin: 0 auto;
  padding: 6rem 0.5rem;
  background: transparent;
  backdrop-filter: blur(10px);
  border-radius: 20px;
}

.carousel-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto 1rem;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3);
}

.carousel {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-item {
  min-width: 100%;
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
}

.carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
  z-index: 1;
}

.carousel-item img {
  position: absolute;
  display: block;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  max-inline-size: 100%;
  object-fit: cover;
  z-index: 0;
}

.carousel-content {
  position: relative;
  padding: 0.6rem;
  z-index: 2;
  text-align: center;
  color: white;
  backdrop-filter: contrast(0.6);
}

.carousel-content h2 {
  font-size: 2.5rem;
  font-weight: 700;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 10px;
}

.carousel-content h3 {
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.8);
}

.carousel-content p {
  font-size: 1.1rem;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.8);
}

.carousel-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  margin: 0.6rem;
}

.nav-button {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  color: var(--pink);
}

.nav-button:hover {
  background: white;
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.nav-button:active {
  transform: scale(0.95);
}

.nav-button svg {
  width: 24px;
  height: 24px;
}

.dots-container {
  display: flex;
  gap: 15px;
}

.nav-dot {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.nav-dot.active {
  background: white;
  transform: scale(1.2);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.nav-dot:hover {
  background: rgba(255, 255, 255, 0.7);
  transform: scale(1.1);
}

.contact-info {
  background: white;
  border-radius: 20px;
  padding: 0.8rem 1.5rem;
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3);
  transition: all 0.5s ease;
  transform: translateY(0);
  font-size: 1.1rem;
}

.contact-info.updating {
  transform: translateY(-10px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.contact-grid > * {
  flex: 1 1 280px; /* min size 250px */
}

.contact-details h3 {
  color: var(--neon-pink);
  font-size: 1.8rem;
  margin-bottom: 0.6rem;
  font-weight: 600;
  text-wrap: wrap;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 1px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.6rem;
  padding: 0.6rem;
  border-radius: 10px;
  background: linear-gradient(
    135deg,
    var(--light-pink) 0%,
    var(--pink-background) 100%
  );
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateX(-20px);
  animation: slideIn 0.6s ease forwards;
  white-space: pre-line;
}

.contact-item a {
  color: var(--pink);
}

#openingHours {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.hours-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

.contact-item:nth-child(2) {
  animation-delay: 0.1s;
}
.contact-item:nth-child(3) {
  animation-delay: 0.2s;
}
.contact-item:nth-child(4) {
  animation-delay: 0.3s;
}
.contact-item:nth-child(5) {
  animation-delay: 0.4s;
}

.contact-item:hover {
  transform: translateX(5px);
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.contact-icon {
  width: 24px;
  height: 24px;
  margin-right: 15px;
  fill: var(--pink);
  flex: 0 0 auto;
  align-self: center;
}

.center {
  display: flex;
  align-self: center;
}

.center .contact-icon {
  margin-right: 0.1rem;
}

.center a {
  display: flex;
}

#contact-socials {
  gap: 0.6rem;
  flex-wrap: wrap;
}

.map-placeholder {
  color: #888;
  font-size: 1.1rem;
  text-align: center;
  padding: 20px;
}

.policy-contact {
  background: #fff;
  padding: 2rem;
  border-radius: 15px;
  box-shadow: 0 8px 10px rgba(0, 0, 0, 0.3);
  margin-top: 1rem;
  text-align: center;
}

.policy-contact strong {
  font-size: 1.4rem;
}

.policy-contact em {
  font-size: 1.1rem;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.fade-in {
  animation: fadeIn 0.5s ease;
}

@media (max-width: 768px) {
  main {
    margin: 3rem 2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .header h1 {
    font-size: 2.5rem;
  }

  .contact-details h3 {
    text-align: center;
  }

  .carousel-content h2 {
    font-size: 2rem;
  }

  .contact-info {
    padding: 0.8rem;
  }
}

@media (max-width: 480px) {
  main {
    margin: 3rem 0.6rem;
  }
}

