/* ============================================================
   Restaurante Alcanena — style.css
   Single Landing Page
   ============================================================ */

:root {
  --dark:       #222222;
  --font-body:  'Open Sans', Helvetica, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; }

body {
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--dark);
  background: var(--dark);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }

/* ============================================================
   BACKGROUND SLIDESHOW (Crossfade 4 images)
   ============================================================ */
.slideshow {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 1;
  overflow: hidden;
  background-color: var(--dark);
}
.slideshow::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3); /* Slight overlay to make text pop */
  z-index: 2;
}

.slideshow ul {
  position: absolute;
  inset: 0;
  list-style: none;
}

.slideshow ul li {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  opacity: 0;
  /* 4 slides x 6s = 24s total loop */
  animation: slideFade 24s infinite;
  z-index: 1;
}

.slideshow ul li:nth-child(1) { animation-delay:  0s; }
.slideshow ul li:nth-child(2) { animation-delay:  6s; }
.slideshow ul li:nth-child(3) { animation-delay: 12s; }
.slideshow ul li:nth-child(4) { animation-delay: 18s; }

@keyframes slideFade {
  0%         { opacity: 0; transform: scale(1); }
  5%         { opacity: 1; transform: scale(1.02); }
  25%        { opacity: 1; transform: scale(1.05); }
  30%        { opacity: 0; transform: scale(1.06); }
  100%       { opacity: 0; transform: scale(1); }
}

/* ============================================================
   CENTER MESSAGE BOX
   ============================================================ */
.content-wrapper {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 650px;
  padding: 0 1.5rem;
  animation: fadeUp 1s ease-out 0.5s both;
}

.message-box {
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 3.5rem 3rem;
  border-radius: 6px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255,255,255,0.1);
}

.logo-img {
  height: 90px;
  width: auto;
  margin-bottom: 2.5rem;
}

.message-text {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.6;
  color: #f5f5f5;
}

.link-highlight {
  display: inline-block;
  color: #a4d8b2; /* Lighter green for dark bg */
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: border-color 0.2s, color 0.2s, transform 0.2s;
  margin-top: 0.2rem;
}
.link-highlight:hover {
  border-bottom-color: #a4d8b2;
  color: #fff;
  transform: translateY(-1px);
}

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(20px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 600px) {
  .message-box {
    padding: 2.5rem 1.5rem;
  }
  .logo-img {
    height: 70px;
    margin-bottom: 2rem;
  }
  .message-text {
    font-size: 1.15rem;
  }
}