
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #0f0f0f;
  color: #ffffff;
  line-height: 1.6;
}

/* ==========================================================
   Navigation Menu
   ========================================================== */


.burger-menu {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 2000;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.burger-line {
  width: 25px;
  height: 3px;
  background: #DAA520;
}

.nav-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 250px;
  height: 100vh;
  background: #1a1a1a;
  transition: right 0.3s ease;
  padding: 60px 20px;
  z-index: 999;
}

.nav-menu.active {
  right: 0;
}

.nav-menu a {
  display: block;
  color: #fff;
  text-decoration: none;
  margin-bottom: 20px;
}

/* ==========================================================
   Hero Header
   ========================================================== */

.hero-header {
  height: 100vh;
  background: linear-gradient(135deg, rgba(0,0,0,1), rgba(0,0,0,0.3)), url('images/hero-benfica-apartment.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  z-index: 0;
}

.hero-title {
  font-family: 'Cinzel', serif;
  font-size: 4rem;
  color: #f9a825;
  letter-spacing: 2px;
  text-shadow: 0 0 10px rgba(0,0,0,0.6);
}

.hero-subtitle {
  font-size: 1.5rem;
  color: #fff;
  margin-top: 1rem;
  font-family: 'Cinzel', serif;
  opacity: 0.85;
}
.subtitle {
  text-align: center;
  font-family: 'Cinzel', serif;
  margin: 20px auto;
  max-width: 55%; /* ou 80% para mais margem */
}
.hero-content{
  margin-bottom: 30px;

}
.main-content {
  position: relative;
  z-index: 1;
  background: #0f0f0f;
}
.highlights {
  position: relative;
  bottom: 100px;
  display: flex;
  gap: 40px;
  z-index: 2;
  animation: fadeInUp 1s ease-out 0.6s both;
}

.highlight-circle {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease;
}

.highlight-circle:hover {
  transform: translateY(-5px);
}

.circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f9a825, #ffa726);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.highlight-text {
  margin-top: 10px;
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  color: #fff;
}
.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  color: white;
  animation: bounceDown 1.5s infinite ease-in-out;
  opacity: 0.8;
}

@keyframes bounceDown {
  0%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  50% {
    transform: translateX(-50%) translateY(10px);
  }
}


.section {
  padding: 60px 20px;
  text-align: center;
}

.section-title {
  font-size: 2rem;
  background: linear-gradient(135deg, #DAA520, #FFD700);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 40px;
}
/* ==========================================================
   GALERY SECTION
   ========================================================== */

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 120px; /* AQUI a margem lateral */
  gap: 10px;
}
.hover-img-container {
  position: relative;
  width: 300px;
  height: 300px;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  border-radius: 5px;
}

.hover-img-container img {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.4s ease;
  border-radius: 5px;
}

.img-hover {
  opacity: 0;
  pointer-events: none;
}

.hover-img-container:hover .img-hover {
  opacity: 1;
}

.hover-img-container:hover .img-default {
  opacity: 0;
}


.grid-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  
  justify-items: center;
}

.gallery-card {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-card img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  object-position: center;
  border-radius: 5px;
  display: block;
}

.image-caption {
  margin-top: 10px;
  font-family: 'Cinzel', serif;
  font-size: 0.95rem;
  color: #ffffff;
  text-align: center;
}
/* ==========================================================
   FEATURES SECTION
   ========================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* força 3 colunas lado a lado */
  gap: 30px;
  margin-top: 40px;
}
.feature-card {
  background: linear-gradient(135deg, #1a1a1a, #222);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(249, 168, 37, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: #fff;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card h3 {
  font-family: 'Cinzel', serif;
  color: #f9a825;
  margin-bottom: 20px;
  font-size: 1.2rem;
   text-align: left;
}

.feature-card ul {
  text-align: left; /* força alinhamento do texto */
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-card li {
  margin-bottom: 12px;
  font-size: 0.95rem;
  position: relative;
  padding-left: 15px;

}

.feature-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #f9a825;
  font-weight: bold;
}
/* ==========================================================
   FORM SECTION
   ========================================================== */

/* Estilo geral do popup */
.form-popup {
  position: fixed;
  top: 50%;
  right: 20%;
  transform: translate(50%, -50%);
  width: 90%;
  max-width: 420px;
  background: #111;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(255, 165, 0, 0.1);
  padding: 30px;
  z-index: 9999;
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.form-popup.active {
  display: block;
}

/* Header do popup */
.form-header h3 {
  font-family: 'Cinzel', serif;
  font-size: 24px;
  color: #ffaa33;
  text-align: center;
  text-shadow: 0 0 5px #ff8c00, 0 0 10px #ffaa00;
  margin-bottom: 20px;
}
#name,#lastname,#email,#telefone{
width: 100%;
margin-bottom: 15px;
 border-radius: 10px;
  
}

/* Botão fechar */
.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  color: #fff;
  cursor: pointer;
}

/* Botão Enviar */
.cta-button {
  width: 100%;
  background: linear-gradient(90deg, #ff8c00, #ffaa00);
  color: #000;
  font-weight: bold;
  font-size: 16px;
  padding: 14px;
  border: none;
  border-radius: 12px;
  box-shadow: 0 5px 15px rgba(255, 165, 0, 0.4);
  cursor: pointer;
}

/* Botão sticky "Contacto" */
.sticky-contact-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #ffaa00;
  color: #000;
  font-weight: bold;
  border: none;
  padding: 12px 20px;
  border-radius: 30px;
  box-shadow: 0 5px 15px rgba(255, 165, 0, 0.3);
  z-index: 1000;
  cursor: pointer;
}

/* Animação */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translate(50%, -60%);
  }
  to {
    opacity: 1;
    transform: translate(50%, -50%);
  }
}

/* Estilos do formulário */
#contactForm {
  max-width: 600px;
  margin: auto;
}

#contactForm input,
#contactForm select,
#contactForm textarea {
  
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 10px;
  border: none;
  background: #222;
  color: #fff;
  font-size: 14px;
}

#contactForm input::placeholder,
#contactForm textarea::placeholder {
  color: #aaa;
}

/* Nome e sobrenome lado a lado */
.namelast {
  display: flex;
  gap: 10px;
}

/* Estilo para o campo de telefone com indicativo */
.phone-group {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.phone-group select {
  flex: 0 0 90px;
  padding: 15px;
  border-radius: 10px;
  border: none;
  background: #222;
  color: #fff;
}

.phone-group input[type="tel"] {
  flex: 1;
  padding: 15px;
  border-radius: 10px;
  border: none;
  background: #222;
  color: #fff;
}

/* Tipo de utilizador */
.user-type {
  margin-bottom: 15px;
}

.user-type label {
  display: block;
  margin-bottom: 5px;
  color: #fff;
}

/* Mensagem */
#message {
  height: 150px;
  margin-bottom: 20px;
}
.termform{
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

/* Política de privacidade */
.privacy-policy {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  color: #fff;
}

.privacy-policy input[type="checkbox"] {
  margin-right: 10px;
}

/* Map full-width section */
.map-section {
  width: 100%;
  overflow: hidden;
}

.map-image {
 width: 100%;
  height: 500px; /* mantém a altura */
  object-fit: cover; /* cobre a área */
  object-position: center; /* ou "top", "bottom", "center" */
  transform: scale(1.2) translateY(-20%); /* aumenta o zoom da imagem */
  display: block;
  object-position: center top;
}
.footer {
  
color: #888;
text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-bottom: 50px;
}
