/* ================= FOOTER BASE ================= */
.site-footer {
  background: #0f172a;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.7;
}

.site-footer a {
  color: #e2e8f0;
  text-decoration: none;
  transition: color 0.3s ease;
}

.site-footer a:hover {
  color: #ff6f0f;
}

/* ================= LAYOUT ================= */
.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  padding: 50px 40px;
  max-width: 1280px;
  margin: auto;
}

/* tighter gap between ABOUT row and main footer row */
.footer-container + .footer-container {
  padding-top: 20px;
}

.footer-column,
.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-column h4,
.footer-col h4 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 14px;
  color: #ffffff;
}

/* ================= ABOUT ================= */
.footer-about {
  grid-column: 1 / -1; /* full width */
  max-width: 900px;
  margin: auto;
  color: #d9d9d9;
  font-size: 0.95rem;
  line-height: 1.8;
}

.footer-about h4 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 14px;
  color: #ffffff;
  position: relative;
}

.footer-about h4::after {
  content: "";
  width: 50px;
  height: 2px;
  background: #ff6f0f;
  display: block;
  margin-top: 6px;
}

.footer-about p {
  margin: 0;
  text-align: justify;
}

/* ================= QUICK LINKS ================= */
.footer-column ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column ul li {
  margin-bottom: 8px;
}

.footer-column ul li a {
  font-size: 13px;
}

/* ================= CONTACT ================= */
.footer-column address ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-column address li {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  font-size: 13px;
}

.footer-column address i {
  color: #ff6f0f;
  margin-top: 4px;
}

/* ================= SOCIAL ================= */
.social-icons {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.social-icons a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.social-icons a:hover {
  background: #ff6f0f;
  color: #fff;
}

/* ================= MAP ================= */
.footer-map-wrapper {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-map-wrapper iframe {
  width: 100%;
  height: 200px;
  border: 0;
}

/* ================= CALENDAR ================= */
#footer-calendar {
  font-size: 11px;
  background: rgba(255, 255, 255, 0.04);
  padding: 10px;
  border-radius: 10px;
}

.fc .fc-toolbar {
  margin-bottom: 6px;
}

.fc .fc-toolbar-title {
  font-size: 13px;
  font-weight: 600;
  color: #ff6f0f;
}

.fc .fc-button {
  background: #ff6f0f;
  border: none;
  padding: 2px 6px;
  font-size: 11px;
}

.fc .fc-button:hover {
  background: #e85f00;
}

.fc-theme-standard td,
.fc-theme-standard th {
  border-color: rgba(255, 255, 255, 0.08);
}

.fc-daygrid-day-number {
  font-size: 11px;
  padding: 4px;
  color: #e2e8f0;
}

.fc-daygrid-event {
  font-size: 10px;
  padding: 2px 4px;
  border-radius: 4px;
}

/* ================= FOOTER BOTTOM ================= */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px;
  text-align: center;
  font-size: 13px;
  color: #94a3b8;
}

.footer-bottom a {
  color: #e2e8f0;
  font-weight: 500;
}

/* ================= BACK TO TOP ================= */
.back-to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: #ff6f0f;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 999;
}

.back-to-top.show {
  opacity: 1;
  pointer-events: auto;
}

/* ================= MOBILE ================= */
@media (max-width: 768px) {
  .footer-container {
    padding: 35px 20px;
  }

  .footer-about {
    text-align: left;
  }

  .footer-map-wrapper iframe {
    height: 180px;
  }

  #footer-calendar {
    font-size: 10px;
  }
}
