/* --- Footer Styles --- */

:root {
  --dark-type-color: #5B0C29; /* 002d62 */
  --light-type-color: #D01A33;
  --accent-color: #40e0d0; /* Your bright teal */
  --max-content-width: 1200px;
  --spacing-large: 30px;
}

.site-footer {
  /*background-color: #263238;*/
  background-color: var(--dark-type-color);
  color: #b0c4de; /* Light, subtle text color */
  font-family: Arial, sans-serif;
  padding-top: 50px; /* Top padding for content area */
  font-size: 14px;
}

.footer-container {
  max-width: 1200px; /* Match your main content width */
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  /* Define the 4 equal-width columns */
  grid-template-columns: repeat(4, 1fr);
  gap: 30px; /* Space between columns */
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
  color: #ffffff; /* White color for headings */
  font-size: 16px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: bold;
}

.footer-col p {
  line-height: 1.8;
  margin-bottom: 15px;
}

.footer-col a {
  color: #b0c4de;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: #ffffff; /* Lighter color on hover */
}

/* --- Contact & Recent Posts Styling --- */

/* Contact Info */
.contact address,
.contact .contact-info p {
  margin-bottom: 10px;
  font-style: normal;
  line-height: 1.8;
}

.contact .contact-info strong {
  color: #ffffff;
  margin-right: 5px;
}

/* Recent Posts List */
.recent-posts ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.recent-posts li {
  display: flex;
  flex-direction: column;
  padding: 10px 0;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.recent-posts li:last-child {
  border-bottom: none;
}

.recent-posts .post-date {
  color: #6c7a89; /* A darker, subdued color for the date */
  font-size: 0.9em;
  margin-bottom: 4px;
}

/* Website Owner Info */
.owner-info .registered-logo {
  max-width: 150px; /* Adjust size of the logo/badge */
  margin-top: 15px;
}

/* --- Footer Bottom Bar (Copyright & Social) --- */

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  /*background-color: #212c31;*/
  background-color: var(--dark-type-color);
}

.copyright {
  font-size: 13px;
}

.social-links a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 30px;
  height: 30px;
  margin-left: 10px;
  background-color: #3b4e58; /* Background for social icon buttons */
  border-radius: 50%;
  color: #ffffff;
  font-size: 14px;
  text-decoration: none;
  transition: background-color 0.3s;
}

.social-links a:hover {
  background-color: #00bcd4; /* Accent color on hover (like the 'TRANG CHỦ' bar) */
}

/* Scroll Top Button */
.scroll-top {
  /* This is the up arrow button in the corner */
  width: 35px !important;
  height: 35px !important;
  font-size: 20px !important;
  line-height: 30px;
  background-color: #00bcd4 !important; /* Use accent color */
  border-radius: 5px !important;
  position: absolute; /* Assuming a fixed or sticky position is needed */
  bottom: 0;
  right: 0;
  /* Adjust the positioning in a full layout */
}


/* --- Responsive Adjustments (Optional but Recommended) --- */

@media (max-width: 992px) {
  .footer-container {
    /* Switch to 2 columns on medium screens */
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .footer-container {
    /* Switch to 1 column on small screens */
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  .social-links {
    margin-top: 10px;
  }
}