/* ==========================================================================
   ilon.lk - Footer Stylesheet
   Theme Colors: #000000, #FFFFFF, #7BBF3B
   Strict Separation: External CSS Only
   ========================================================================== */

@import url('theme.css');

.site-footer {
  width: 100%;
  background-color: #000000;
  color: #FFFFFF;
  border-top: 1px solid #1a1a1a;
  position: relative;
  z-index: 10;
  padding-top: 50px;
  padding-bottom: 25px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

.footer-container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.5fr 1.2fr 1.1fr;
  gap: 40px;
  align-items: start;
  padding-bottom: 40px;
}

/* ==========================================================================
   Column Headings
   ========================================================================== */
.footer-col-title {
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 22px;
  letter-spacing: -0.2px;
  position: relative;
}

/* ==========================================================================
   Column 1: Brand & About
   ========================================================================== */
.footer-brand-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.footer-logo-link {
  display: inline-block;
  text-decoration: none;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  max-width: 210px;
  object-fit: contain;
  display: block;
}

/* Text-based logo styling if image logo is not rendered */
.footer-logo-text {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.5px;
  color: #FFFFFF;
  line-height: 1;
}

.footer-logo-text .logo-highlight {
  color: var(--color-primary);
}

.footer-logo-tagline {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: #a0a0a0;
  font-weight: 600;
  margin-top: 5px;
}

.footer-desc {
  color: #b0b0b0;
  font-size: 14px;
  line-height: 1.65;
  margin: 0;
  max-width: 320px;
}

/* Social Icon Badges */
.footer-social-list {
  display: flex;
  align-items: center;
  gap: 12px;
  list-style: none;
  margin-top: 4px;
}

.footer-social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #FFFFFF;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.footer-social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

.footer-social-btn svg {
  width: 18px;
  height: 18px;
  fill: #FFFFFF;
}

/* Social Brand Colors */
.footer-social-btn.fb {
  background-color: #1877F2;
}

.footer-social-btn.tiktok {
  background-color: #000000;
  border: 1px solid #333333;
}

.footer-social-btn.insta {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.footer-social-btn.yt {
  background-color: #FF0000;
}

/* ==========================================================================
   Column 2: Quick Links (2-Column Grid)
   ========================================================================== */
.footer-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 30px;
  list-style: none;
}

.footer-link-item {
  margin: 0;
}

.footer-nav-link {
  color: #cccccc;
  text-decoration: none;
  font-size: 14.5px;
  font-weight: 400;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
  line-height: 1.4;
}

.footer-nav-link:hover {
  color: var(--color-primary);
  transform: translateX(3px);
}

/* ==========================================================================
   Column 3: Contact Us
   ========================================================================== */
.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
  margin-bottom: 24px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-contact-icon {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.footer-contact-icon svg {
  width: 100%;
  height: 100%;
  stroke: var(--color-primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.footer-contact-icon.fill-svg svg {
  fill: var(--color-primary);
  stroke: none;
}

.footer-contact-text,
.footer-contact-link {
  color: #FFFFFF;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
  letter-spacing: 0.2px;
}

.footer-contact-link:hover {
  color: var(--color-primary);
}

/* WhatsApp CTA Button */
.whatsapp-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--color-primary);
  color: #000000;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  padding: 12px 26px;
  border-radius: 9999px;
  transition: all 0.2s ease;
  box-shadow: 0 4px 18px rgba(123, 191, 59, 0.35);
}

.whatsapp-cta-btn:hover {
  background-color: var(--color-primary-hover);
  color: #000000;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(123, 191, 59, 0.5);
}

.whatsapp-btn-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}

.whatsapp-cta-btn:hover .whatsapp-btn-arrow {
  transform: translateX(4px);
}

.whatsapp-btn-arrow svg {
  width: 18px;
  height: 18px;
  stroke: #000000;
  stroke-width: 2.5;
  fill: none;
}

/* ==========================================================================
   Column 4: Payment Methods
   ========================================================================== */
.footer-payments-wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Card badges row */
.payment-cards-row {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.payment-card-badge {
  background-color: #FFFFFF;
  border-radius: 6px;
  padding: 6px 12px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.payment-card-badge.amex-badge {
  background-color: #006FCF;
}

.payment-card-badge svg {
  height: 18px;
  width: auto;
  display: block;
}

/* Additional payment methods list */
.payment-methods-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style: none;
  margin-top: 4px;
}

.payment-method-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #FFFFFF;
  font-size: 14.5px;
  font-weight: 500;
}

.payment-method-icon {
  width: 32px;
  height: 32px;
  background-color: #FFFFFF;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #000000;
}

.payment-method-icon svg {
  width: 18px;
  height: 18px;
  fill: #000000;
}

/* ==========================================================================
   Bottom Copyright & Legal Bar
   ========================================================================== */
.footer-bottom-bar {
  border-top: 1px solid #1a1a1a;
  padding-top: 20px;
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 13px;
  color: #888888;
}

.footer-copy-text {
  margin: 0;
}

.footer-copy-text a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-copy-text a:hover {
  text-decoration: underline;
  color: var(--color-primary-hover);
}

.footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 20px;
  list-style: none;
}

.footer-bottom-links a {
  color: #888888;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-bottom-links a:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1200px) {
  .footer-main-grid {
    grid-template-columns: 1fr 1.3fr 1fr 1fr;
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .site-footer {
    padding-top: 40px;
  }
  .footer-main-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
  }
}

@media (max-width: 576px) {
  .site-footer {
    padding-top: 35px;
    padding-bottom: 20px;
  }
  .footer-container {
    padding: 0 16px;
  }
  .footer-main-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .footer-desc {
    max-width: 100%;
  }
  .footer-bottom-bar {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .footer-bottom-links {
    justify-content: center;
  }
  .whatsapp-cta-btn {
    width: 100%;
  }
}
