/* ===============================
   THE TABLE - COFFEEHOUSE THEME
   =============================== */

body.page-template-page-the-table {
  font-family: 'Poppins', sans-serif;
  background: #1a1a1a;
  color: #f5f2ed;
  margin: 0;
  overflow-x: hidden;
}

/* ===============================
   HERO SECTION
   =============================== */
.the-table-hero {
  position: relative;
  height: 100vh;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: url('https://images.pexels.com/photos/326311/pexels-photo-326311.jpeg?auto=compress&cs=tinysrgb&w=1920') center/cover no-repeat;
  animation: backgroundShift 20s ease-in-out infinite alternate;
  visibility: visible !important;
  opacity: 1 !important;
  z-index: 2;
}

/* Moving soft lighting */
.overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at 50% 30%,
    rgba(255, 245, 225, 0.15) 0%,
    rgba(0, 0, 0, 0.85) 80%
  );
  backdrop-filter: blur(2px);
  animation: lightSweep 12s ease-in-out infinite alternate;
}

/* ===============================
   HERO CONTENT
   =============================== */
.hero-content {
  position: relative;
  z-index: 2;
  color: #f5f2ed;
  max-width: 900px;
  padding: 0 20px;
  animation: fadeUp 2s ease forwards;
}

/* MAIN TITLE */
.the-table-logo {
  font-size: 9rem;
  font-weight: 900;
  text-transform: uppercase;
  color: #e2c38b;
  letter-spacing: 8px;
  margin-bottom: 20px;
  text-shadow: 0 12px 35px rgba(0, 0, 0, 0.6);
  animation: glowPulse 4s ease-in-out infinite;
}

/* SLOGAN */
.the-table-slogan {
  font-size: 3rem;
  font-weight: 500;
  font-style: italic;
  color: #efe9dd;
  margin: 20px 0 60px;
  letter-spacing: 2px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  animation: fadeIn 3s ease forwards;
}

/* COMING SOON */
.coming-soon {
  font-size: 3.2rem;
  font-weight: 700;
  color: #d2b48c;
  letter-spacing: 3px;
  animation: flickerLight 3s infinite;
  text-shadow: 0 0 25px rgba(250, 225, 165, 0.4);
}

/* ===============================
   FOOTER SECTION
   =============================== */
.the-table-footer {
  background: #18130f;
  text-align: center;
  padding: 40px 20px;
  font-size: 1.1rem;
  color: #cbbfa7;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.3);
}

/* ===============================
   ANIMATIONS
   =============================== */
@keyframes backgroundShift {
  0% { background-position: center top; }
  100% { background-position: center bottom; }
}

@keyframes lightSweep {
  0% { background-position: 45% 30%; opacity: 0.9; }
  50% { background-position: 55% 40%; opacity: 1; }
  100% { background-position: 50% 25%; opacity: 0.85; }
}

@keyframes glowPulse {
  0%, 100% { text-shadow: 0 0 20px #b99450, 0 0 35px #cfa760; }
  50% { text-shadow: 0 0 35px #f2d28a, 0 0 65px #e0b86d; }
}

@keyframes flickerLight {
  0%, 100% { opacity: 0.9; text-shadow: 0 0 10px #f0e4b6; }
  40% { opacity: 1; text-shadow: 0 0 25px #f5f2ed; }
  70% { opacity: 0.8; text-shadow: 0 0 15px #e2c38b; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===============================
   RESPONSIVE DESIGN
   =============================== */
@media (max-width: 992px) {
  .the-table-logo { font-size: 6.5rem; }
  .the-table-slogan { font-size: 2.3rem; }
  .coming-soon { font-size: 2.5rem; }
}

@media (max-width: 768px) {
  .the-table-hero {
    min-height: 80vh !important;
    margin-top: 80px; /* avoid being hidden under sticky nav */
    background-size: cover;
    background-position: center;
  }
  .the-table-logo {
    font-size: 4.5rem !important;
    letter-spacing: 4px;
  }
  .the-table-slogan {
    font-size: 1.8rem !important;
  }
  .coming-soon {
    font-size: 1.8rem !important;
  }
}

@media (max-width: 480px) {
  .the-table-logo {
    font-size: 3.2rem !important;
    letter-spacing: 2px;
  }
  .the-table-slogan {
    font-size: 1.5rem !important;
  }
  .coming-soon {
    font-size: 1.6rem !important;
  }
}
