/* ============================================================
   Arbor Resident Kiosk — Shared Stylesheet
   ============================================================ */

/* Reset & base */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
}

body {
  font-family: 'Lato', sans-serif;
  font-weight: 400;
  color: #302E2C;

  /* Animated gradient background */
  background: linear-gradient(270deg, #5dcae4, #2a64c7);
  background-size: 400% 400%;
  -webkit-animation: gradientShift 30s ease infinite;
  -moz-animation: gradientShift 30s ease infinite;
  animation: gradientShift 30s ease infinite;

  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

@-webkit-keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@-moz-keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
@keyframes gradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ============================================================
   Layout Container
   ============================================================ */
.container {
  width: 980px;
  margin: 0 auto;
}

/* ============================================================
   Header
   ============================================================ */
header {
  padding: 40px 0 24px;
  flex-shrink: 0;
}

.header-inner {
  width: 980px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  gap: 0;
}

.logo {
  width: 172px;
  height: 120px;
  object-fit: contain;
  flex-shrink: 0;
}

.site-title {
  font-size: 88px;
  font-weight: 900;
  color: #ffffff;
  line-height: 1;
  margin-left: auto;
  white-space: nowrap;
  text-align: right;
}

/* ============================================================
   Navigation Bar
   ============================================================ */
nav {
  width: 980px;
  margin: 0 auto;
}

nav ul {
  display: flex;
  list-style: none;
  background-color: #395775;
  border-radius: 10px;
  width: 980px;
  height: 50px;
  padding: 0;
  overflow: hidden;
}

nav ul li {
  flex: 1;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
}

nav ul li a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-family: 'Lato', sans-serif;
  font-size: 22px;
  font-weight: 400;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: 0.5px;
  padding: 0 12px;
  white-space: nowrap;
}

nav ul li.active {
  background-color: #B0946F;
  border-radius: 10px;
}

nav ul li a:hover {
  opacity: 0.85;
}

nav ul li.active a:hover {
  opacity: 1;
}

/* ============================================================
   Main Content Area
   ============================================================ */
main {
  flex: 1;
  padding: 40px 0;
}

/* ============================================================
   Content Box (semi-transparent frosted glass)
   ============================================================ */
.content-box {
  background: rgba(255, 255, 255, 0.41);
  border-radius: 10px;
  padding: 40px 50px;
  width: 980px;
  margin: 0 auto;
}

/* ============================================================
   Section Heading
   ============================================================ */
.section-title {
  font-family: 'Lato', sans-serif;
  font-size: 72px;
  font-weight: 700;
  color: #395775;
  text-align: center;
  margin-bottom: 40px;
}

/* ============================================================
   Button Grid
   ============================================================ */
.button-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
}

.tab-button {
  background-color: #B0946F;
  border-radius: 7px;
  width: 191px;
  height: 133px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: filter 0.15s ease;
  padding: 12px;
  text-align: center;
}

.tab-button:hover {
  filter: brightness(1.1);
}

.tab-button span {
  font-family: 'Lato', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 3.6px;
  text-transform: uppercase;
  line-height: 1.3;
}

/* Documents page — wider buttons */
.tab-button.wide {
  width: 308px;
}

/* ============================================================
   Home Tab — RSS Iframe
   ============================================================ */
.rss-wrapper {
  width: 980px;
  margin: 0 auto;
}

.rss-wrapper iframe {
  display: block;
}

/* ============================================================
   Documents — Disclaimer Text
   ============================================================ */
.disclaimer {
  font-family: 'Lato', sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: #302E2C;
  margin-bottom: 36px;
  line-height: 1.6;
}

/* ============================================================
   Footer
   ============================================================ */
footer {
  flex-shrink: 0;
  padding: 30px 20px 24px;
}

footer .footer-inner {
  width: 980px;
  margin: 0 auto;
  text-align: center;
}

footer p {
  font-family: 'Lato', sans-serif;
  color: #302E2C;
  line-height: 1.5;
}

footer p:first-child {
  font-size: 18px;
  margin-bottom: 6px;
}

footer p:last-child {
  font-size: 15px;
}
