/* ============================================
   CLOSE HITCHCOCK LLC - FOOTER STYLES
   Navy background with dynamic service/attorney links
   ============================================ */

/* Main Footer */
.site-footer {
  background: #163967;
  color: #fff;
  position: relative;
}

.footer-main {
  padding: 60px 0 40px;
}

@media (max-width: 991px) {
  .footer-main {
    padding: 50px 0 30px;
  }
}

@media (max-width: 767px) {
  .footer-main {
    padding: 40px 0 20px;
  }
}

/* Footer Widgets */
.footer-widget {
  margin-bottom: 30px;
}

.footer-widget-title {
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 25px;
  font-family: "Cormorant Garamond", serif;
}

/* Footer Logo and Brand */
.footer-logo {
  margin-bottom: 20px;
}

.footer-logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.footer-logo img {
  height: 40px;
  width: auto;
  margin-right: 12px;
}

.footer-brand-text {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  font-family: "Cormorant Garamond", serif;
}

.footer-description {
  font-size: 15px;
  line-height: 1.7;
  color: #d0d9e8;
  margin: 0;
}

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

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

.footer-links li a {
  color: #d0d9e8;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s;
  display: inline-block;
}

.footer-links li a:hover {
  color: #e3b576;
  padding-left: 5px;
}

/* Footer Contact Info */
.footer-contact-info {
  color: #d0d9e8;
  font-size: 15px;
  line-height: 1.7;
}

.footer-company-name {
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  font-size: 16px;
}

.footer-address {
  margin-bottom: 15px;
}

.footer-phone {
  font-weight: 600;
  color: #fff;
  margin-bottom: 15px;
  font-size: 16px;
}

/* Footer Social */
.footer-social {
  margin-top: 20px;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.3s;
}

.footer-social-link i {
  font-size: 18px;
  margin-right: 8px;
}

.footer-social-link:hover {
  color: #e3b576;
}

/* Copyright Bar */
.footer-copyright {
  background: rgba(0, 0, 0, 0.2);
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.copyright-text {
  text-align: center;
  color: #d0d9e8;
  font-size: 14px;
  margin: 0;
}

/* Back to Top Button */
.back-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #e3b576;
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 999;
  box-shadow: 0 4px 15px rgba(227, 181, 118, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: #d19f5f;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(227, 181, 118, 0.5);
}

.back-to-top i {
  line-height: 1;
}

@media (max-width: 767px) {
  .back-to-top {
    width: 45px;
    height: 45px;
    bottom: 20px;
    right: 20px;
    font-size: 20px;
  }
}

/* Responsive Adjustments */
@media (max-width: 991px) {
  .footer-widget {
    margin-bottom: 35px;
  }
}

@media (max-width: 767px) {
  .footer-widget {
    margin-bottom: 40px;
  }
  
  .footer-widget-title {
    font-size: 18px;
    margin-bottom: 20px;
  }
  
  .footer-brand-text {
    font-size: 20px;
  }
  
  .footer-description {
    font-size: 14px;
  }
  
  .footer-links li a {
    font-size: 14px;
  }
  
  .footer-contact-info {
    font-size: 14px;
  }
}

/* Remove default footer if exists */
footer.footer {
  display: none;
}
