/* =============================
   Casa da Queira - estilos.css
   ============================= */

/* RESETEO BÁSICO */
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: "Segoe UI", Arial, sans-serif;
  background: #111;
  color: #fff;
  line-height: 1.5;
  overflow-x: hidden;
}

/* -----------------------------
   NAVBAR
----------------------------- */
.navbar {
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 18px;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  border-bottom: 1px solid #222;
  flex-wrap: wrap;
}
.menu { display: flex; gap: 10px; align-items: center; }
.menu a {
  color: #fff;
  text-decoration: none;
  padding: 6px 8px;
  font-weight: 600;
  transition: color 0.3s;
}
.menu a:hover { color: #25D366; }

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.menu-toggle span {
  width: 24px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  display: block;
}

.menu-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.whatsapp-icon img {
  width: 28px;
  height: 28px;
  filter: brightness(1.1);
  transition: transform 0.2s;
}
.whatsapp-icon img:hover { transform: scale(1.1); }

.idiomas a {
  color: #25D366;
  text-decoration: none;
  margin: 0 3px;
}
.idiomas a:hover { text-decoration: underline; }

/* -----------------------------
   HERO SECTION
----------------------------- */
.hero {
  margin-top: 65px;
  height: 75vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  text-align: center;
  color: #fff;
  position: relative;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.4);
}
.hero-inner {
  position: relative;
  padding: 24px;
  max-width: 900px;
}
.hero h1 {
  font-size: 2rem;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.7);
}
.hero p {
  font-size: 1.1rem;
  color: #f0f0f0;
  margin-top: 6px;
}

/* -----------------------------
   CONTENIDO GENERAL
----------------------------- */
.contenido {
  max-width: 1100px;
  margin: 30px auto;
  padding: 18px;
}
.contenido h1, .contenido h2 {
  color: #fff;
  margin: 25px 0 10px;
  text-align: center;
}
.contenido p {
  color: #ddd;
  margin-bottom: 20px;
  text-align: center;
}

/* -----------------------------
   GALERÍAS
----------------------------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 10px;
  margin-top: 15px;
}
.gallery img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 6px;
  transition: transform 0.2s, filter 0.2s;
}
.gallery img:hover {
  transform: scale(1.03);
  filter: brightness(1.1);
}

/* -----------------------------
   FORMULARIO
----------------------------- */
form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 500px;
  margin: 0 auto;
}
input, textarea {
  padding: 10px;
  border-radius: 5px;
  border: 1px solid #333;
  background: #222;
  color: #fff;
  font-size: 1rem;
}
input:focus, textarea:focus { outline: 1px solid #25D366; }

button {
  background: #25D366;
  color: #000;
  border: none;
  padding: 12px;
  border-radius: 5px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.3s;
}
button:hover { background: #1faa56; }

/* -----------------------------
   FOOTER
----------------------------- */
footer {
  background: #000;
  color: #aaa;
  text-align: center;
  padding: 20px 0;
  font-size: 0.9rem;
  margin-top: 40px;
}
footer a { color: #999; text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* -----------------------------
   RESPONSIVE
----------------------------- */
@media (max-width: 900px) {
  .hero { height: 70vh; }
  .hero h1 { font-size: 1.6rem; }
  .menu { display: none; flex-direction: column; width: 100%; background: #000; text-align: center; }
  .menu a { border-top: 1px solid #333; padding: 10px 0; }
  .menu.active { display: flex; }
  .menu-toggle { display: flex; }
  .whatsapp-icon img { width: 32px; height: 32px; }
}
