/* Importar Montserrat */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Montserrat', sans-serif;
  color: #000000;
  background-color: #ffffff;
}

/* Layout geral */

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 10;
}

header .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

header .logo img {
  height: 40px;
}

header .logo a {
  text-decoration: none;
  color: #ffffff;
  font-size: 18px;
  font-weight: 700;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li a {
  text-decoration: none;
  color: #ffffff;
  font-size: 18px;
  font-weight: 400;
}

nav ul li a:hover {
  text-decoration: underline;
}

/* Hero genérico */

.hero {
  position: relative;
  height: 40vh;
  min-height: 300px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}

.hero-content {
  position: relative;
  z-index: 5;
  text-align: center;
  color: #ffffff;
}

.hero-content h1 {
  font-size: 30px;
  font-weight: 700;
}

/* Secções genéricas */

.section {
  padding: 60px 40px;
}
.section-title {
  padding: 20px 40px;
}

.section.center {
  text-align: center;
}

/* Cores principais */

.bg-cream {
  background-color: #f5efe8;
}

.bg-bordeaux {
  background-color: #642A38;
}

.text-bordeaux {
  color: #642A38;
}

.text-rose {
  color: #d5b8a9;
}

.text-gold {
  color: #A59065;
}

/* Botões */

.btn {
  display: inline-block;
  padding: 12px 24px;
  border: none;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
}

.btn-bordeaux {
  background-color: #642A38;
  color: #ffffff;
}

.btn-cream {
  background-color: #f5efe8;
  color: #000000;
}

/* Secção de texto da página inicial */

.home-intro-title {
  font-size: 18px;
  font-weight: 700;
  color: #642A38;
  margin-bottom: 20px;
}

.home-intro-main {
  font-size: 30px;
  font-weight: 700;
  color: #d5b8a9;
  line-height: 1.3;
  margin-bottom: 20px;
}

.home-intro-text {
  font-size: 18px;
  color: #000000;
}

/* Secção de botões na home */

.home-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.home-buttons .btn-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.home-buttons-text {
  font-size: 18px;
  color: #A59065;
}

/* Secção com 4 fotos em linha */

.home-four-photos {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.home-four-photos-item img {
  width: 100%;
  height: 80%;
  display: block;
}

.home-four-photos-item h3 {
  font-size: 18px;
  font-weight: 700;
  color: #642A38;
  margin-top: 10px;
}

.home-four-photos-item p {
  font-size: 18px;
  color: #000000;
  margin-top: 5px;
}

/* Secção final da home */

.home-final-title {
  font-size: 18px;
  font-weight: 700;
  color: #d5b8a9;
  margin-bottom: 10px;
}

.home-final-text {
  font-size: 14px;
  color: #ffffff;
  margin-bottom: 20px;
}

/* Footer genérico */

footer {
  padding: 40px;
  text-align: center;
}

/* Página Über uns */


.about-section {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  gap: 40px;
  align-items: flex-start; /* importante */
}


.about-text {
  flex: 0 0 60%;
  color: #ffffff;
}

.about-image {
  flex: 0 0 40%;
}
.about-image img {
  width: 80%;
  height: auto;          /* deixa a imagem ajustar-se naturalmente */
  max-height: 450px;      /* impede que ultrapasse a altura do texto */
  object-fit: cover;     /* mantém o corte elegante */
}

.about-text h2 {
  width: 60%;
  font-size: 24px;
  color: #d5b8a9;
  font-weight: 700;
  margin-bottom: 20px;
}

.about-text p {
  font-size: 18px;
  margin-bottom: 16px;
}

/* Footer Über uns */

.about-footer-text {
  font-size: 30px;
  color: #642A38;
  font-weight: 700;
}

/* Página Unsere speisekarte */

.menu-section-title {
  font-size: 30px;
  color: #d5b8a9;
  font-weight: 700;
}

/* Layout das 3 fotos */

.menu-photos {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 20px;
  align-items: stretch; /* garante alinhamento vertical */
  overflow: hidden;  
}

/* Coluna esquerda: duas imagens empilhadas */
.menu-photos-left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  height: 100%; /* ocupa a altura total da secção */
}

/* Cada imagem da esquerda ocupa metade da altura da direita */
.menu-photos-left img {
  width: 100%;
  height: 50%;          /* metade da altura total */
  max-height: 440px;
  object-fit: cover;    /* corte elegante */
  border-radius: 6px;   /* opcional premium */
}

/* Coluna direita: imagem grande */
.menu-photos-right img {
  width: 100%;
  height: 100%;         /* define a altura total da secção */
  max-height: 900px;
  object-fit: cover;
  border-radius: 6px;   /* opcional premium */
}

/* Secção com 5 elementos */

.menu-items {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.menu-item-title {
  font-size: 18px;
  font-weight: 700;
  color: #000000;
}

.menu-item-text {
  font-size: 18px;
  color: #000000;
}

/* Secção texto centrado */

.menu-center-text {
  font-size: 24px;
  color: #000000;
  margin-bottom: 10px;
}

.menu-center-highlight {
  font-size: 24px;
  font-weight: 700;
  color: #642A38;
}

/* Carrossel */

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
  height: auto;
}

.carousel-track {
  height: auto;
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-slide {
  min-width: 100%;
}

.carousel-slide img {
  width: 100%;
  max-width: 100%;        /* nunca ultrapassa a largura do ecrã */
  height: auto;           /* mantém proporção natural */
  max-height: 850px;      /* limite máximo no desktop */
  object-fit: cover;      /* corte elegante */
  display: block;
  margin: 0 auto;         /* centra a imagem */
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0,0,0,0.4);
  color: #ffffff;
  border: none;
  padding: 10px 15px;
  cursor: pointer;
}

.carousel-arrow.left {
  left: 10px;
}

.carousel-arrow.right {
  right: 10px;
}

/* Página So finden sie uns */

.find-title {
  font-size: 24px;
  font-weight: 700;
  color: #642A38;
  text-align: left;
}

.find-layout {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 20px;
  align-items: flex-start;
}

.find-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.find-left p {
  font-size: 18px;
  color: #000000;
}

.find-left .bold {
  font-weight: 700;
}

.find-left .text-bordeaux {
  color: #642A38;
}

.find-left img {
  width: 40%;
  height: auto;
}

.find-map iframe {
  width: 100%;
  height: 100%;
  min-height: 300px;
  border: 0;
}

/* Última secção So finden sie uns */

.find-bottom {
  display: grid;
  grid-template-columns: 50% 50%;
  gap: 20px;
  align-items: center;
}

.find-bottom-left {
  color: #f5efe8;
}

.find-bottom-left p {
  font-size: 18px;
}

.find-bottom-left .bold {
  font-weight: 700;
}

.find-bottom-right {
  text-align: right;
}

.find-bottom-right img {
  height: 40px;
}

/* Responsivo básico */

@media (max-width: 900px) {
  header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .about-section,
  .menu-photos,
  .find-layout,
  .find-bottom {
    grid-template-columns: 1fr;
  }

  .home-four-photos {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .home-four-photos {
    grid-template-columns: 1fr;
  }
}
