/* WordPress Footer Styles - Exact Match from Hendon Theme */

/* Footer Container */
#qodef-page-footer {
  position: relative;
  display: inline-block;
  width: 100%;
  vertical-align: top;
}

#qodef-page-footer > * {
  position: relative;
  display: inline-block;
  width: 100%;
  vertical-align: top;
}

/* Footer Top Area */
#qodef-page-footer-top-area {
  padding: 100px 0 54px;
  background-color: #19130b;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-top: 0 solid rgba(12, 7, 5, 0.1);
}

#qodef-page-footer-top-area .qodef-content-grid {
  padding: 0;
  max-width: 100%;
}

#qodef-page-footer-top-area .qodef-content-grid .qodef-grid {
  padding: 0 70px;
}

/* Footer Bottom Area */
#qodef-page-footer-bottom-area {
  padding: 0;
  padding-bottom: 50px;
  background-color: #19130b;
  border-top: 0 solid rgba(12, 7, 5, 0.1);
  text-align: center;
}

#qodef-page-footer-bottom-area .qodef-content-full-width {
  padding: 0;
}

/* Grid Layout */
#qodef-page-footer-top-area .qodef-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
  padding: 0 70px;
}

#qodef-page-footer-bottom-area .qodef-grid {
  display: flex;
  flex-wrap: wrap;
  margin: 0;
}

.qodef-grid-inner {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.qodef-grid-inner.clear::after {
  content: "";
  display: table;
  clear: both;
}

#qodef-page-footer-top-area .qodef-grid-item {
  padding: 0 15px;
  box-sizing: border-box;
}

#qodef-page-footer-bottom-area .qodef-grid-item {
  padding: 0;
  box-sizing: border-box;
  width: 100%;
}

/* 4 Columns Desktop */
.qodef-col-num--4 .qodef-grid-item {
  width: 25%;
}

/* 2 Columns Tablet (1024px) */
@media only screen and (max-width: 1024px) {
  .qodef-col-num--1024--2 .qodef-grid-item {
    width: 50%;
  }
}

/* 2 Columns Tablet (768px) */
@media only screen and (max-width: 768px) {
  .qodef-col-num--768--2 .qodef-grid-item {
    width: 50%;
  }
}

/* 1 Column Mobile (680px) */
@media only screen and (max-width: 680px) {
  .qodef-col-num--680--1 .qodef-grid-item {
    width: 100%;
  }
}

/* 1 Column Mobile (480px) */
@media only screen and (max-width: 480px) {
  .qodef-col-num--480--1 .qodef-grid-item {
    width: 100%;
  }
}

/* Widget Styles */
#qodef-page-footer .widget {
  margin: 0 0 35px;
  color: #ccc;
}

#qodef-page-footer .widget:last-child {
  margin-bottom: 0 !important;
}

#qodef-page-footer .widget .qodef-widget-title {
  margin: 0 0 14px;
  color: #fff;
  font-family: "Cormorant Garamond", serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 31.9px;
}

#qodef-page-footer .widget .qodef-widget-title a {
  color: inherit;
}

#qodef-page-footer .widget .qodef-widget-title a:hover {
  color: #fff;
}

#qodef-page-footer .widget a {
  color: #b2b2b2;
  text-decoration: none;
  transition: color 0.2s ease-out;
}

#qodef-page-footer .widget a:hover {
  color: #fff;
}

#qodef-page-footer .widget ul:not(.qodef-shortcode-list) {
  padding: 0;
  margin: 0;
  list-style: none;
}

#qodef-page-footer .widget ul:not(.qodef-shortcode-list) li {
  margin: 0 0 4px;
}

#qodef-page-footer .widget ul:not(.qodef-shortcode-list) li:last-child {
  margin-bottom: 0;
}

#qodef-page-footer .widget p {
  margin: 0 0 4px;
  color: #b2b2b2;
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  line-height: 1.76em;
}

#qodef-page-footer .widget p:last-child {
  margin-bottom: 0;
}

/* Separator */
.qodef-separator {
  margin: 10px 0;
}

.qodef-m-line {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Newsletter Form */
.qodef-newsletter-form {
  margin-top: 0;
}

.qodef-newsletter-form div {
  margin-bottom: 15px;
}

.qodef-newsletter-form div:last-child {
  margin-bottom: 0;
}

.qodef-newsletter-form input[type="text"],
.qodef-newsletter-form input[type="email"] {
  width: 100%;
  padding: 0 0 10px;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  font-family: "Raleway", sans-serif;
  font-size: 13px;
  line-height: 1.76em;
  outline: none;
  transition: border-color 0.2s ease-out;
}

.qodef-newsletter-form input[type="text"]:focus,
.qodef-newsletter-form input[type="email"]:focus {
  border-bottom-color: #c28562;
}

.qodef-newsletter-form input[type="text"]::placeholder,
.qodef-newsletter-form input[type="email"]::placeholder {
  color: #b2b2b2;
}

.qodef-newsletter-submit {
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease-out;
}

.qodef-newsletter-submit:hover {
  transform: translateX(5px);
}

.qodef-newsletter-submit svg {
  display: block;
  width: 74px;
  height: 40px;
}

/* Social Icons */
.qodef-social-icons-group {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 20px;
  margin-top: 30px;
}

.qodef-icon-holder {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 40px;
  background: transparent;
}

.qodef-icon-holder a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease-out;
  background: transparent;
  position: relative;
  z-index: 2;
}

.qodef-icon-holder a:hover {
  color: #c28562;
}

.qodef-svg-circle {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.qodef-svg-circle circle {
  fill: none !important;
  stroke: #fff !important;
  stroke-width: 1px !important;
  transition: stroke 0.2s ease-out;
}

.qodef-icon-holder a:hover .qodef-svg-circle circle {
  stroke: #c28562;
}

/* Only apply to footer icons - not global */
#qodef-page-footer .qodef-icon-font-awesome {
  position: relative;
  z-index: 3 !important;
  font-size: 18px;
  color: #ffffff !important;
  display: inline-block;
  line-height: 1;
}

#qodef-page-footer-bottom-area .qodef-icon-font-awesome {
  color: #ffffff !important;
}

#qodef-page-footer-bottom-area .qodef-icon-holder a .qodef-icon-font-awesome {
  color: #ffffff !important;
}

/* Ensure all social icons are white on all pages */
#qodef-page-footer .qodef-icon-holder a .qodef-icon-font-awesome,
#qodef-page-footer .qodef-icon-holder a .fab,
#qodef-page-footer .qodef-icon-holder a .fas,
#qodef-page-footer .qodef-icon-holder a .fa-youtube,
#qodef-page-footer .qodef-icon-holder a .fa-linkedin,
#qodef-page-footer .qodef-icon-holder a .fa-x,
#qodef-page-footer .qodef-icon-holder a .fa-reddit {
  color: #ffffff !important;
  position: relative;
  z-index: 3 !important;
  display: inline-block !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* Ensure icon holder background is transparent (black footer shows through) */
#qodef-page-footer .qodef-icon-holder,
#qodef-page-footer .qodef-icon-holder a {
  background: transparent !important;
}

/* Ensure SVG circles are white stroke only (no fill) and behind icons */
#qodef-page-footer .qodef-svg-circle circle {
  fill: none !important;
  stroke: #ffffff !important;
  stroke-width: 1px !important;
}

/* Bottom Footer Text */
#qodef-page-footer-bottom-area .widget_text h6 {
  font-family: "Raleway", sans-serif;
  font-size: 11px;
  color: #ffffff;
  margin: 20px 0 0;
  font-weight: 400;
  text-transform: none;
  letter-spacing: normal;
}

#qodef-page-footer-bottom-area .widget_text h6 a {
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease-out;
}

#qodef-page-footer-bottom-area .widget_text h6 a:hover {
  color: #c28562;
}

/* Responsive */
@media only screen and (max-width: 1024px) {
  #qodef-page-footer-top-area .qodef-content-grid {
    padding: 0 40px;
  }
  
  #qodef-page-footer-top-area .qodef-grid {
    padding: 0 40px;
  }
  
  /* Make footer columns stack on tablet */
  .qodef-col-num--4 .qodef-grid-item {
    width: 50%;
    margin-bottom: 30px;
  }
}

@media only screen and (max-width: 768px) {
  #qodef-page-footer-top-area {
    padding: 80px 0 40px;
  }
  
  #qodef-page-footer-top-area .qodef-content-grid {
    padding: 0 30px;
  }
  
  #qodef-page-footer-top-area .qodef-grid {
    padding: 0 30px;
  }
  
  /* Stack footer columns on mobile */
  .qodef-col-num--4 .qodef-grid-item {
    width: 100%;
    margin-bottom: 40px;
  }
  
  #qodef-page-footer .widget {
    margin-bottom: 30px;
  }
  
  /* Social icons mobile styling */
  .qodef-social-icons-group {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    margin-top: 30px;
  }
}

@media only screen and (max-width: 680px) {
  #qodef-page-footer-top-area {
    padding: 60px 0 30px;
  }
  
  #qodef-page-footer-top-area .qodef-content-grid {
    padding: 0 20px;
  }
  
  #qodef-page-footer-top-area .qodef-grid {
    padding: 0 20px;
  }
  
  #qodef-page-footer-bottom-area {
    padding-bottom: 30px;
  }
  
  #qodef-page-footer .widget .qodef-widget-title {
    font-size: 18px;
  }
}

