/**
 * ABRASIF ITALIA PROFESSIONAL FOOTER STYLES
 * Clean white design with green accents and red highlights
 * 
 * @author Abrasif Italia Development Team
 * @version 1.0.0
 */

/* ========================================
   CSS CUSTOM PROPERTIES
======================================== */
:root {
  --footer-white: #ffffff;
  --footer-green: #22c55e;
  --footer-green-light: #dcfce7;
  --footer-green-dark: #16a34a;
  --footer-red: #dc2626;
  --footer-red-light: #fef2f2;
  --footer-text-dark: #1f2937;
  --footer-text-gray: #6b7280;
  --footer-border: #e5e7eb;
  --footer-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

/* ========================================
   MAIN FOOTER CONTAINER
======================================== */
#footer {
  background: var(--footer-white) !important;
  border-top: 3px solid var(--footer-green) !important;
  box-shadow: var(--footer-shadow) !important;
  margin-top: 60px !important;
  position: relative !important;
  z-index: 10 !important;
}

.footer-container {
  background: var(--footer-white) !important;
  padding: 60px 0 30px 0 !important;
}

/* ========================================
   FOOTER BEFORE SECTION
======================================== */
.footer-before {
  background: linear-gradient(135deg, var(--footer-green-light) 0%, var(--footer-white) 100%) !important;
  padding: 40px 0 !important;
  border-bottom: 1px solid var(--footer-border) !important;
}

/* ========================================
   FOOTER MAIN CONTENT
======================================== */
.footer-main {
  padding: 50px 0 !important;
}

/* Footer Links Styling */
.footer-container h3,
.footer-container .h3,
.footer-container .footer-title {
  color: var(--footer-green-dark) !important;
  font-weight: 700 !important;
  font-size: 1.25rem !important;
  margin-bottom: 20px !important;
  position: relative !important;
}

.footer-container h3:after,
.footer-container .h3:after,
.footer-container .footer-title:after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--footer-green);
  border-radius: 2px;
}

.footer-container a {
  color: var(--footer-text-gray) !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 8px 0 !important;
  font-weight: 500 !important;
}

.footer-container a:hover {
  color: var(--footer-green) !important;
  transform: translateX(5px) !important;
}

.footer-container a i,
.footer-container a .material-icons {
  color: var(--footer-red) !important;
  font-size: 18px !important;
  transition: all 0.3s ease !important;
}

.footer-container a:hover i,
.footer-container a:hover .material-icons {
  color: var(--footer-green) !important;
  transform: scale(1.1) !important;
}

/* Footer Text */
.footer-container p,
.footer-container .footer-text {
  color: var(--footer-text-gray) !important;
  line-height: 1.6 !important;
  margin-bottom: 15px !important;
}

.footer-container .text-highlight {
  color: var(--footer-red) !important;
  font-weight: 600 !important;
}

/* ========================================
   FOOTER LISTS
======================================== */
.footer-container ul {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 !important;
}

.footer-container li {
  margin-bottom: 12px !important;
  position: relative !important;
}

.footer-container li:before {
  content: '▸';
  color: var(--footer-red);
  font-weight: bold;
  position: absolute;
  left: -15px;
  top: 8px;
  font-size: 12px;
}

/* ========================================
   SOCIAL MEDIA & CONTACT
======================================== */
.footer-social {
  display: flex !important;
  gap: 15px !important;
  margin-top: 20px !important;
}

.footer-social a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 45px !important;
  height: 45px !important;
  background: var(--footer-green-light) !important;
  border-radius: 50% !important;
  color: var(--footer-green-dark) !important;
  transition: all 0.3s ease !important;
  padding: 0 !important;
}

.footer-social a:hover {
  background: var(--footer-green) !important;
  color: var(--footer-white) !important;
  transform: translateY(-3px) scale(1.05) !important;
  box-shadow: 0 8px 20px rgba(34, 197, 94, 0.3) !important;
}

.footer-contact-info {
  background: var(--footer-green-light) !important;
  padding: 25px !important;
  border-radius: 12px !important;
  border-left: 4px solid var(--footer-green) !important;
  margin-top: 20px !important;
}

.footer-contact-info h4 {
  color: var(--footer-green-dark) !important;
  margin-bottom: 15px !important;
  font-weight: 600 !important;
}

.footer-contact-info p {
  margin-bottom: 8px !important;
  color: var(--footer-text-dark) !important;
}

.footer-contact-info i,
.footer-contact-info .material-icons {
  color: var(--footer-red) !important;
  margin-right: 10px !important;
}

/* ========================================
   FOOTER BOTTOM / COPYRIGHT
======================================== */
.footer-copyright {
  background: var(--footer-green-dark) !important;
  color: var(--footer-white) !important;
  padding: 20px 0 !important;
  text-align: center !important;
  margin-top: 40px !important;
}

.footer-copyright p {
  margin: 0 !important;
  color: var(--footer-white) !important;
  font-weight: 500 !important;
}

.footer-copyright a {
  color: var(--footer-white) !important;
  text-decoration: underline !important;
  font-weight: 600 !important;
}

.footer-copyright a:hover {
  color: var(--footer-green-light) !important;
  transform: none !important;
}

/* ========================================
   NEWSLETTER SECTION
======================================== */
.footer-newsletter {
  background: linear-gradient(135deg, var(--footer-green) 0%, var(--footer-green-dark) 100%) !important;
  color: var(--footer-white) !important;
  padding: 40px 0 !important;
  text-align: center !important;
}

.footer-newsletter h3 {
  color: var(--footer-white) !important;
  margin-bottom: 15px !important;
}

.footer-newsletter h3:after {
  background: var(--footer-white) !important;
}

.footer-newsletter p {
  color: rgba(255, 255, 255, 0.9) !important;
  margin-bottom: 25px !important;
}

.footer-newsletter .form-control {
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  color: var(--footer-white) !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
}

.footer-newsletter .form-control:focus {
  border-color: var(--footer-white) !important;
  background: rgba(255, 255, 255, 0.2) !important;
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3) !important;
}

.footer-newsletter .btn {
  background: var(--footer-red) !important;
  border-color: var(--footer-red) !important;
  color: var(--footer-white) !important;
  font-weight: 600 !important;
  padding: 12px 30px !important;
  border-radius: 8px !important;
  transition: all 0.3s ease !important;
}

.footer-newsletter .btn:hover {
  background: #b91c1c !important;
  border-color: #b91c1c !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 20px rgba(220, 38, 38, 0.4) !important;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */
@media (max-width: 767px) {
  .footer-container {
    padding: 40px 0 20px 0 !important;
  }
  
  .footer-main {
    padding: 30px 0 !important;
  }
  
  .footer-social {
    justify-content: center !important;
    margin-top: 30px !important;
  }
  
  .footer-contact-info {
    margin-top: 30px !important;
    text-align: center !important;
  }
  
  .footer-newsletter {
    padding: 30px 15px !important;
  }
}

/* ========================================
   FOOTER MODULES STYLING
======================================== */

/* Email Subscription Module */
.block_newsletter {
  background: transparent !important;
  border: none !important;
}

.block_newsletter h4 {
  color: var(--footer-white) !important;
}

/* Link List Module */
.link-list h3 {
  color: var(--footer-green-dark) !important;
}

.link-list ul li a {
  color: var(--footer-text-gray) !important;
}

.link-list ul li a:hover {
  color: var(--footer-green) !important;
}

/* Contact Info Module */
.contact-info h3 {
  color: var(--footer-green-dark) !important;
}

.contact-info p {
  color: var(--footer-text-gray) !important;
}

.contact-info i {
  color: var(--footer-red) !important;
}

/* ========================================
   CLEAN OVERRIDES
======================================== */

/* Remove default PrestaShop footer styling */
.footer-container .block {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.footer-container .block h3,
.footer-container .block .block-title {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

/* Ensure clean white background */
footer,
#footer,
.footer-container,
.footer-main {
  background: var(--footer-white) !important;
} 