body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background: #f9f9f9;
  color: #222;
  scroll-behavior: smooth;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Russo One', sans-serif;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #000000; /* muda aqui para preto */
}


header {
  background: #000;
  color: white;
  display: flex;
  align-items: center; /* alinha verticalmente ao centro */
  justify-content: space-between;
  padding: 0 20px; /* só padding horizontal */
  height: 120px; /* altura maior para espaço vertical */
  position: sticky;
  top: 0;
  z-index: 1000;
  gap: 20px;
}

header img.logo {
  height: 100px; /* menor que 80px para espaço em cima e em baixo */
}

header nav a {
  margin: 0 20px;
  font-family: 'Russo One', sans-serif;
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.1em;
}

header nav a:hover {
  text-decoration: underline;
}

.btn-reserva {
  background-color: #ff0000;
  color: white;
  padding: 10px 25px;
  font-size: 1.1em;
  font-weight: bold;
  border-radius: 6px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  white-space: nowrap;
}

.btn-reserva:hover,
.btn-reserva:focus {
  background-color: #7b0719;
  outline: none;
}

.hero {
  position: relative;
  max-width: 100%;
  height: 350px;
  overflow: hidden;
}

.slides {
  display: flex;
  width: 100%;
  height: auto;
  transition: transform 0.5s ease-in-out;
}

.slide {
  width: 100%;
  flex-shrink: 0;
  background-size: cover;
  background-position: center;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #ddd;
  color: #666;
  font-size: 2em;
  font-weight: bold;
  font-family: Arial, sans-serif;
}

.placeholder-text {
  background: rgba(255, 255, 255, 0.7);
  padding: 10px 20px;
  border-radius: 8px;
}

.dots {
  position: absolute;
  bottom: 15px;
  width: 100%;
  text-align: center;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background: rgba(255,255,255,0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s;
}

.dot.active {
  background: #c8102e;
}

main {
  max-width: 900px;
  margin: 20px auto 60px auto;
  padding: 0 15px;
}

section {
  margin-bottom: 50px;
}

.tables-container {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.table-wrapper {
  flex: 1 1 350px;
  min-width: 300px;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

th, td {
  padding: 8px 12px;
  border-bottom: 1px solid #ccc;
  text-align: left;
}

th {
  background: #eee;
}

.social-icons {
  text-align: center;
  margin: 30px 0;
}

.social-icons a {
  margin: 0 10px;
  text-decoration: none;
  font-size: 24px;
  color: #c8102e;
}

footer {
  background: #222;
  color: white;
  text-align: center;
  padding: 15px 10px 40px 10px;
}
iframe {
  width: 100%;
  height: 250px;
  border: none;
}

.footer-contact-container {
  display: flex;
  max-width: 900px;
  margin: 30px auto 20px auto;
  gap: 40px;
  padding: 0 15px;
  flex-wrap: wrap;
}

/* Novidade: Separa contactos e formulário em colunas */
.contact-info {
  flex: 1 1 300px;
  text-align: left;
}
.contact-info h2 {
  color: white;
}


.contact-form-section {
  flex: 1 1 400px;
  display: flex;
  flex-direction: column;
}

/* Formulário */
.contact-form label {
  margin: 8px 0 4px 0;
  font-weight: bold;
  text-align: left;
  display: block;
}

.contact-form input,
.contact-form textarea {
  padding: 8px;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 4px;
  resize: both;
  overflow: auto;
  width: 100%;
  box-sizing: border-box;
}

.contact-form textarea {
  height: 30px; /* altura inicial pequena */
  min-height: 30px;
}

.contact-form button {
  margin-top: 15px;
  background-color: #c8102e;
  color: white;
  border: none;
  padding: 12px;
  font-size: 1.1em;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.contact-form button:hover {
  background-color: #a10922;
}

/* Responsivo */
@media (max-width: 700px) {
  header img.logo {
    height: 100px;
  }

  .tables-container {
    flex-direction: column;
    gap: 25px;
  }

  .footer-contact-container {
    flex-direction: column;
  }

  .contact-info,
  .contact-form-section {
    flex: 1 1 100%;
  }
}

/* Grelha visual integrada */

.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 30vh 20vh 10vh;
  width: 100%;
  max-width: 100%;
  margin: 40px auto;
  gap: 0;
  box-sizing: border-box;
}

.box {
  background-color: #c8102e;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.2rem;
  transition: transform 0.3s ease;
  border-radius: 0;
  border: none;
  padding: 10px;
  box-sizing: border-box;
}

.box:hover {
  transform: scale(1.02);
  background-color: #a10922;
  cursor: pointer;
}

.box-c {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.box-c > div {
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 0;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.box-c > div:hover {
  background-color: #a10922;
  transform: scale(1.02);
  cursor: pointer;
}

.box-b {
  grid-column: 2 / 3;
  grid-row: 1 / 3;
}

.box-d {
  grid-column: 1 / 3;
  grid-row: 3 / 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 100%;
  gap: 0;
}

.box-d > div {
  height: 100%;
  border: none;
  border-radius: 0;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.box-d > div:hover {
  background-color: #a10922;
  transform: scale(1.02);
  cursor: pointer;
}

/* Media Query para ecrãs pequenos */
@media (max-width: 600px) {
  .grid-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .box-b {
    grid-column: 1 / 2;
    grid-row: auto;
    height: 200px;
  }

  .box-c {
    grid-template-columns: 1fr 1fr;
    grid-row: auto;
    height: auto;
  }

  .box-d {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-row: auto;
    height: auto;
  }
}

/* Hover individual nas boxes principais */
.box {
  transition: transform 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
  border-radius: 0;
}

.box:hover {
  background-color: #a10922;
  transform: scale(1.02);
  z-index: 10;
}

/* Para a box-c (que tem duas colunas dentro), hover individual nos filhos */
.box-c {
  grid-column: 1 / 2;
  grid-row: 2 / 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
}

.box-c > div {
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
}

.box-c > div:hover {
  background-color: #a10922;
  transform: scale(1.02);
  z-index: 10;
}

.box-d {
  grid-column: 1 / 3;
  grid-row: 3 / 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 100%;
  gap: 0;
}

.box-d > div {
  height: 100%;
  border: none;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background-color 0.3s ease;
  cursor: pointer;
}

.box-d > div:hover {
  background-color: #a10922;
  transform: scale(1.02);
  z-index: 10;
}

.small-note {
  font-size: 0.85rem;
  margin-top: 0.25rem;
  color: #666;
}

.footer-legal {
  text-align: center;
  margin-top: 20px;
  font-size: 14px;
}

.footer-legal a {
  color: inherit;
  text-decoration: none;
}

.footer-legal a:hover {
  text-decoration: underline;
}

.header-buttons {
  display: flex;
  gap: 10px;
}

.header-buttons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  transition: transform 0.2s;
}

.btn-phone {
  background: #007bff; /* azul telefone */
}

.btn-whatsapp {
  background: #25d366; /* verde WhatsApp */
}

.btn-email {
  background: #ff9900; /* laranja email */
}

.header-buttons a:hover {
  transform: scale(1.1);
}

