/* ===========================
   STYLE 2: CONVERSION-FOCUSED BOUTIQUE FOOTER
   Trust signals and modern design
   =========================== */

/* Footer (3 columns desktop) */
footer {
  background: linear-gradient(180deg, #1a1f25 0%, #2a2f36 100%);
  color: #FFFFFF;
  border-top: 3px solid var(--motel6-blue);
}
footer .container {
  padding-top: 48px;
  padding-bottom: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 36px;
  align-items: start;
}
.footer-section { min-width: 0; }

.footer-logo img {
  width: 140px;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 4px 12px rgba(20, 118, 198, 0.15));
  transition: transform var(--transition-normal);
}
.footer-logo img:hover {
  transform: scale(1.05);
}
.footer-text {
  margin-top: 16px;
  color: #FFFFFF;
  line-height: 1.65;
  font-size: 0.95rem;
  opacity: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

/* Override global p style for footer */
footer p {
  color: #FFFFFF !important;
  opacity: 0.95;
}

.footer-menu h3, footer h3 {
  color: #fff;
  margin-bottom: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  position: relative;
  padding-bottom: 8px;
}

.footer-menu h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--motel6-blue);
  border-radius: 2px;
}

.footer-menu ul { list-style: none; margin: 0; padding: 0; }
.footer-menu ul li { margin: 8px 0; }
.footer-menu ul li a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #FFFFFF;
  text-decoration: none;
  padding: 6px 0;
  transition: all var(--transition-fast);
  border-radius: var(--radius-sm);
}
.footer-menu ul li a:hover {
  color: var(--motel6-blue-light);
  transform: translateX(4px);
  padding-left: 4px;
}

.contact-info { list-style: none; margin: 0; padding: 0; }
.contact-info li {
  margin: 12px 0;
  color: #FFFFFF;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-info i {
  color: var(--motel6-blue-light);
  font-size: 1.1rem;
  width: 20px;
}
.contact-info a {
  color: #FFFFFF;
  text-decoration: none;
  transition: color var(--transition-fast);
}
.contact-info a:hover {
  color: var(--motel6-blue-light);
}

/* Bottom bar */
.bottom-footer {
  margin-top: 32px;
  background: linear-gradient(180deg, #1f242b 0%, #16191e 100%);
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
  padding-bottom: 80px; /* Add space for static bar */
}
.bottom-footer .container {
  padding: 18px 0;
}
.footer-bottom-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: #FFFFFF;
  font-size: 0.9rem;
}
.social-media {
  display: flex;
  gap: 16px;
}
.social-media a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #FFFFFF;
  font-size: 1.2rem;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all var(--transition-fast);
}
.social-media a:hover {
  color: var(--white);
  background: var(--motel6-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr; }
  .footer-text { max-width: 65ch; }
  .footer-bottom-content { flex-direction: column; text-align: center; }
}



/* Static bottom bar - CONVERSION-FOCUSED */
.static-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px; /* mobile/tablet default */
  background: linear-gradient(90deg, var(--motel6-blue) 0%, var(--motel6-blue-dark) 100%);
  color: #fff;
  z-index: 900;
  box-shadow: 0 -8px 24px rgba(20, 118, 198, 0.25);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

/* Inner container aligns content */
.static-bar .container {
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* Left-side info item (desktop/tablet) */
.static-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.95);
  font-weight: 600;
  white-space: nowrap;
  font-size: 0.95rem;
}

.static-item i {
  font-size: 20px;
  line-height: 1;
  color: rgba(255, 255, 255, 0.9);
}

/* Right-side action buttons (desktop/tablet) */
.static-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.static-actions a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--motel6-blue);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 10px 18px;
  font-weight: 700;
  text-decoration: none;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.static-actions a:hover {
  background: var(--cream);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

/* Icon-only anchors (mobile) */
.static-actions a.icon-only,
.static-bar a.icon-only {
  display: none; /* shown only on mobile via media query */
}

/* ====== Tablet & Desktop tweaks ====== */
@media (min-width: 761px) {
  .static-bar {
    height: 64px;
  }
  .static-bar .container {
    height: 64px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 24px;
  }
  .static-actions a {
    padding: 12px 24px;
    font-size: 0.95rem;
  }
}

/* ====== Mobile layout ====== */
/* === Static bar: Only show Book Now on small screens === */
@media (max-width: 760px) {
  /* Hide any left-side info chunks (address/phone) if present */
  .static-bar .static-item,
  .static-bar .static-item--desktop {
    display: none !important;
  }

  /* If you have multiple action links (map/call/book), hide them all... */
  .static-bar .static-actions a {
    display: none !important;
  }

  /* ...and show ONLY the last one (expected to be Book Now) */
  .static-bar .static-actions a:last-child {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    margin: auto 20px;
    height: 48px;
    border-radius: var(--radius-lg);
    font-size: 1.05rem;
    font-weight: 700;
    box-shadow: var(--shadow-lg);
    padding: 0 32px;
  }

	.static-bar .static-actions a:last-child i {
		display: none;
	}

	.static-bar .static-actions a:last-child span {
		padding-left: 24px;
		padding-right: 24px;
		letter-spacing: 0.5px;
	}

  /* Center the lone Book Now button nicely */
  .static-bar .container {
    justify-content: center !important;
    gap: 0 !important;
  }

  .static-bar .static-actions a:last-child:active {
    transform: scale(0.97);
  }
}

/* ====== Optional: High-density screens crispness ====== */
@media (min-resolution: 2dppx) {
  .static-bar {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }
}
