body,
html {
  height: 100%;
  background: #110101;
  font-family: "Roboto", sans-serif;
  overflow: hidden;
}

.slideshow {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: auto;
  height: 100vh;
  overflow: hidden;
}
.slideshow .slider {
  width: 100vw;
  height: 100vw;
  z-index: 2;
}
.slideshow .slider * {
  outline: none;
}
.slideshow .slider .item {
  height: 100vh;
  width: 100vw;
  position: relative;
  overflow: hidden;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.slideshow .slider .item img {
  width: auto;
  height: 100vh;
  max-width: none;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
.slideshow .slider .item .text {
  display: none;
}
.slideshow .slider .item img {
  min-width: 100%;
  min-height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.slideshow .slick-dots {
  position: fixed;
  z-index: 100;
  width: 40px;
  height: auto;
  bottom: auto;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  left: auto;
  color: #fff;
  display: block;
}
.slideshow .slick-dots li {
  display: block;
  width: 100%;
  height: auto;
}
.slideshow .slick-dots li button {
  position: relative;
  width: 20px;
  height: 15px;
  text-align: center;
}
.slideshow .slick-dots li button:before {
  content: "";
  background: #fff;
  color: #fff;
  height: 2px;
  width: 20px;
  border-radius: 0;
  position: absolute;
  top: 50%;
  right: 0;
  left: auto;
  transform: translateY(-50%);
  transition: all 0.3s ease-in-out;
  opacity: 0.6;
}
.slideshow .slick-dots li.slick-active button:before {
  width: 40px;
  opacity: 1;
}
.slideshow.slideshow-right {
  left: 0;
  z-index: 1;
  width: 50vw;
  pointer-events: none;
}
.slideshow.slideshow-right .slider {
  left: 0;
  position: absolute;
}

.slideshow-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 100;
  font-size: 80px;
  width: 100vw;
  text-align: center;
  color: #fff;
  font-family: "Roboto Condensed", sans-serif;
  font-weight: 100;
  pointer-events: none;
  text-transform: uppercase;
  letter-spacing: 20px;
  line-height: 0.8;
}
@media (max-width: 767px) {
  .slideshow-text {
    font-size: 40px;
  }
}

.the-most {
  position: fixed;
  z-index: 1;
  bottom: 0;
  left: 0;
  width: 50vw;
  max-width: 120px;
  padding: 50px;
}

.the-most:hover {
  transform: scale(1.5);
}

.the-most img {
  max-width: 100%;
}

.socialbehance,
.sociallinkdin {
  position: fixed;
  z-index: 10;
  bottom: 20px;
  left: 75px;
  display: inline-block;
}

.socialbehance img,
.sociallinkdin img {
  width: 27px;
  height: 27px;
  margin-right: 10px;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.socialbehance img:hover {
  transform: scale(2.0);
}
.sociallinkdin img:hover {
  transform: scale(1.2);
}

.sociallinkdin {
  left: 120px;
}

/* Ícone flutuante */
.contact-icon {
  position: fixed;
  bottom: 50px;
  right: 50px;
  z-index: 100;
  cursor: pointer;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.contact-icon:hover {
  transform: scale(1.5);
}

.contact-icon img {
  width: 80px;
  height: 80px;
  filter: none;
}

.contact-icon.pulse {
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}

/* Modal de Contacto */
.contact-modal {
  display: none;
  position: fixed;
  z-index: 200;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(3px);
  justify-content: center;
  align-items: center;
  padding: 20px;
}

.contact-content {
  background-color: rgba(17, 17, 17, 0.92);
  margin: 0 auto;
  padding: 2.5rem;
  border-radius: 12px;
  width: 90%;
  max-width: 450px;
  color: #fff;
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.08);
  font-family: "Roboto Condensed", sans-serif;
  position: relative;
  animation: fadeInUp 0.4s ease;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.close-btn {
  position: absolute;
  top: 11px;
  right: 16px;
  color: #ccc;
  font-size: 28px;
  font-weight: 100;
  cursor: pointer;
  transition: 0.3s;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.contact-content h2 {
  margin: 0 0 1.8rem 0;
  font-size: 1.6rem;
  font-weight: 100;
  text-align: center;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
}

.contact-content label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  font-weight: 400;
  color: #ddd;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.contact-content input,
.contact-content textarea {
  width: 92%;
  padding: 0.9rem 1rem;
  margin-bottom: 1.2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  color: #fff;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.contact-content input:focus,
.contact-content textarea:focus {
  outline: none;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.1);
}

.contact-content textarea {
  min-height: 110px;
  resize: vertical;
}

.contact-content button {
  width: 100%;
  padding: 0.9rem;
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  border-radius: 6px;
  font-family: "Roboto Condensed", sans-serif;
  font-size: 1rem;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 2px;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 0.5rem;
}

.contact-content button:hover {
  background: #fff;
  color: #111;
}

#formStatus {
  margin-top: 1rem;
  text-align: center;
  font-size: 0.9rem;
  font-family: "Roboto Condensed", sans-serif;
  letter-spacing: 0.5px;
  min-height: 1.2em;
  line-height: 1.4;
}
#formStatus.error {
  color: #ff6b6b;
}

/* ABOUT MODAL – versão final otimizada e 100% mobile-friendly */
.about-content {
  max-width: 800px;
  width: 90%;
  padding: 3rem 2.5rem;
}

.about-wrapper {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

/* Foto base (tablet e desktop) */
.about-photo {
  width: 240px;
  height: 240px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255,255,255,0.2);
  flex-shrink: 0;
}

.about-text {
  color: #ddd;
  line-height: 1.75;
  font-family: "Roboto Condensed", sans-serif;
  flex: 1;
  min-width: 300px;
}

.about-text h2 {
  margin: 0 0 1.4rem 0;
  font-size: 2.1rem;
  font-weight: 100;
  letter-spacing: 5px;
  color: #fff;
  text-transform: uppercase;
}

.about-text p {
  margin: 0.9rem 0;
  font-size: 1.02rem;
  font-weight: 300;
}

.about-text p strong {
  color: #fff;
  font-weight: 400;
}

/* RESPONSIVO – fica perfeito em todos os tamanhos */
@media (max-width: 991px) {
  .about-photo {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 767px) {
  .about-content {
    padding: 2.5rem 2rem;
  }
  
  .about-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }
  
  .about-photo {
    width: 120px;     /* tamanho ideal no telemóvel */
    height: 120px;
  }
  
  .about-text h2 {
    font-size: 1.8rem;
    letter-spacing: 4px;
  }
}

@media (max-width: 480px) {
  .about-photo {
    width: 100px;     /* ainda mais pequeno em ecrãs muito pequenos */
    height: 100px;
  }
  
  .about-content {
    padding: 2rem 1.5rem;
  }
  
  .about-text p {
    font-size: 1rem;
  }
}