/* ==========================================================================
   FOOTER.CSS — Collegian Hotel & Suites
   Scope: Footer layout, brand column, navigation links, contact info,
          social media icons, copyright bar.
   Load order: 3rd (after main.css and header.css)
   ========================================================================== */


/* ── Footer Base ───────────────────────────────────────────────────────── */
footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.6);
}


/* ── Footer Top — 3-column grid ─────────────────────────────────────────── */
.footer-top {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 56px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 72px 48px 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}


/* ── Brand Column ──────────────────────────────────────────────────────── */
.footer-brand {
  display: block;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.footer-sub {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 22px;
  display: block;
}

.footer-divider {
  width: 36px;
  height: 1px;
  background: var(--gold);
  margin-bottom: 20px;
}

.footer-brand-col > p {
  font-size: 13px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.5);
  max-width: 280px;
}


/* ── Column Headings ───────────────────────────────────────────────────── */
.footer-heading {
  font-family: 'Lato', sans-serif;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
  margin-bottom: 20px;
  display: block;
}


/* ── Navigation Links Column ───────────────────────────────────────────── */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links li a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  transition: color 0.2s ease, padding-left 0.2s ease;
  display: inline-block;
}

.footer-links li a:hover {
  color: var(--gold);
  padding-left: 5px;
}


/* ── Contact Column ────────────────────────────────────────────────────── */
.footer-contact p {
  font-size: 13px;
  line-height: 1.85;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-contact a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s ease;
}

.footer-contact a:hover {
  color: var(--gold);
}

/* Second heading in contact column (restaurant hours) */
.footer-contact .footer-heading {
  margin-top: 24px;
}


/* ── Social Media Icons ────────────────────────────────────────────────── */
.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 20px;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.55);
  transition: border-color 0.2s ease, color 0.2s ease,
              background 0.2s ease, transform 0.2s ease;
}

.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(196, 154, 78, 0.1);
  transform: translateY(-2px);
}

.footer-social svg {
  width: 16px;
  height: 16px;
}


/* ── Footer Bottom Bar — copyright ─────────────────────────────────────── */
.footer-bottom {
  max-width: 1100px;
  margin: 0 auto;
  padding: 22px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.28);
  margin: 0;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 12px;
  transition: color 0.2s ease;
  letter-spacing: 0.5px;
}

.footer-bottom a:hover {
  color: var(--gold) !important;
}


/* ── Responsive — Footer ───────────────────────────────────────────────── */

/* Tablets portrait */
@media (max-width: 900px) {
  .footer-top { gap: 40px; padding: 60px 28px 48px; }
}

/* Large phones / tablets */
@media (max-width: 768px) {
  .footer-top         { grid-template-columns: 1fr; gap: 32px; padding: 44px 20px 32px; }
  .footer-brand-col > p { max-width: 100%; }
  .footer-bottom      { flex-direction: column; text-align: center; padding: 16px 20px; gap: 6px; }
}

/* Phones portrait */
@media (max-width: 480px) {
  .footer-top    { gap: 28px; padding: 36px 16px 28px; }
  .footer-brand  { font-size: 17px; }
  .footer-bottom { padding: 14px 16px; }
}

/* Small phones */
@media (max-width: 375px) {
  .footer-top    { padding: 28px 14px 24px; }
  .footer-bottom { padding: 12px 14px; }
}
