/**
 * Modern Footer Component Styles
 * Enhanced footer design with modern layout and theme colors
 */

/* === FOOTER CONTAINER === */
.ba-footer-modern {
  background: #ffffff;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  color: #000000;
}

/* === TOP FEATURES SECTION === */
.ba-footer-features {
  background: var(--picture-color-surface, #ffffff);
  border-bottom: 1px solid var(--picture-color-border, rgba(0, 0, 0, 0.05));
}

.feature-card {
  padding: 2rem 1rem;
  text-align: center;
  transition: all 0.3s ease;
  border-radius: 12px;
  background: transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  background: var(--picture-color-accent-soft, rgba(193, 154, 107, 0.1));
}

.feature-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: var(--picture-color-accent, #c19a6b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  box-shadow: 0 8px 25px rgba(193, 154, 107, 0.3);
}

.feature-title {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--picture-color-text, #331c0f);
  font-size: 1rem;
}

.feature-desc {
  color: var(--picture-color-muted, #6c757d);
  font-size: 0.9rem;
  margin: 0;
}

/* === MAIN FOOTER CONTENT === */
.ba-footer-main {
  background: #f7f6f0;
}

/* === BRAND SECTION === */
.brand-section {
  /* max-width: 400px; */
}

.brand-logo {
  margin-bottom: 1rem;
  display: inline-block;
  max-width: 100%;
}

.footer-logo {
  height: 50px;
  max-width: 200px;
  width: auto;
  object-fit: contain;
  filter: brightness(0.9) contrast(1.1);
  display: block;
  max-height: 50px;
}

.brand-name {
  font-family: "Cardo", serif;
  font-weight: 700;
  color: #000000;
  font-size: 1.8rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.brand-description {
  color: var(--picture-color-muted, #6c757d);
  line-height: 1.6;
  font-size: 0.95rem;
}

.brand-note {
  color: var(--picture-color-text-soft, #8b7355);
  font-size: 0.9rem;
  font-style: italic;
  line-height: 1.5;
}

/* === CONTACT INFO === */
.contact-info {
  margin-top: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
}

.contact-item i {
  width: 20px;
  color: var(--picture-color-accent, #c19a6b);
  margin-right: 0.75rem;
  font-size: 0.9rem;
}

.contact-item a {
  color: var(--picture-color-text, #331c0f);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--picture-color-accent, #c19a6b);
}

.contact-item span {
  color: var(--picture-color-muted, #6c757d);
}

/* === LINKS SECTIONS === */
.links-section {
  margin-bottom: 2rem;
}

.section-title {
  font-family: "Cardo", serif;
  font-weight: 700;
  color: #000000;
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.section-title::after {
  display: none;
}

.links-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.links-list li {
  margin-bottom: 0.75rem;
}

.links-list a {
  color: #666666;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  display: block;
  padding: 0.25rem 0;
}

.links-list a:hover {
  color: #000000;
}

/* === NEWSLETTER SECTION === */
.newsletter-section {
  /* max-width: 350px; */
}

.newsletter-desc {
  color: var(--picture-color-muted, #6c757d);
  font-size: 0.9rem;
  line-height: 1.5;
}

.newsletter-form .input-group {
  border-radius: 0;
  overflow: hidden;
  box-shadow: none;
  border: 1px solid #ddd;
}

.newsletter-form .form-control {
  border: none;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  background: white;
  border-radius: 0;
}

.newsletter-form .form-control:focus {
  box-shadow: none;
  border-color: #000000;
}
.newsletter-form input {
  border-radius: 0!important;
}

.newsletter-btn {
  background: #000000;
  border: none;
  color: white;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border-radius: 0;
}

.newsletter-btn:hover {
  background: #333333;
  color: white;
}

/* === SOCIAL LINKS === */
.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-label {
  color: var(--picture-color-muted, #6c757d);
  font-size: 0.9rem;
  font-weight: 500;
}

.social-icons {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 30px;
  height: 30px;
  background: transparent;
  border: 1px solid #000000;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 1rem;
}

.social-link:hover {
  background: #000000;
  color: white;
}

/* === BOTTOM BAR === */
.ba-footer-bottom {
  background: #f7f6f0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* === LANGUAGE & CURRENCY SELECTORS === */
.language-currency-selectors {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.language-currency-selectors .form-select {
  border: 1px solid #ddd;
  border-radius: 0;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  background: white;
  color: #666666;
  min-width: 120px;
}

.language-currency-selectors .form-select:focus {
  border-color: #000000;
  box-shadow: none;
}

.footer-bottom-left .copyright {
  color: #666666;
  font-size: 0.9rem;
}

.footer-bottom-right {
  text-align: right;
}

.payment-methods {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.payment-icons {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.payment-icon {
  color: #666666;
  font-size: 1.8rem;
  transition: color 0.3s ease;
}

.payment-icon:hover {
  color: #000000;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 992px) {
  .ba-footer-main .container-xxl {
    padding-left: 2rem;
    padding-right: 2rem;
  }

  .brand-section {
    margin-bottom: 2rem;
  }

  .links-section {
    margin-bottom: 2rem;
  }

  .newsletter-section {
    margin-bottom: 2rem;
  }
}

@media (max-width: 768px) {
  .ba-footer-main {
    padding: 3rem 0;
  }

  .ba-footer-main .container-xxl {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .brand-section {
    text-align: center;
    margin-bottom: 2.5rem;
    max-width: 100%;
  }

  .brand-name {
    font-size: 1.6rem;
  }

  .brand-description {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .contact-info {
    margin-top: 1rem;
  }

  .contact-item {
    justify-content: center;
    margin-bottom: 0.5rem;
  }

  .links-section {
    text-align: center;
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
  }

  .links-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .links-list li {
    margin-bottom: 0;
  }

  .newsletter-section {
    text-align: center;
    max-width: 100%;
    margin-bottom: 2.5rem;
  }

  .newsletter-desc {
    font-size: 0.85rem;
  }

  .newsletter-form .input-group {
    max-width: 400px;
    margin: 0 auto;
  }

  .social-links {
    justify-content: center;
    margin-top: 1rem;
  }

  .social-icons {
    justify-content: center;
  }

  .ba-footer-bottom {
    padding: 2rem 0;
  }

  .footer-bottom-left {
    text-align: center;
    margin-bottom: 1.5rem;
  }

  .footer-bottom-right {
    text-align: center;
  }

  .payment-methods {
    justify-content: center;
  }

  .language-currency-selectors {
    justify-content: center;
    margin-bottom: 1rem;
  }
}

@media (max-width: 576px) {
  .ba-footer-main {
    padding: 2.5rem 0;
  }

  .ba-footer-main .container-xxl {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  .brand-section {
    margin-bottom: 2rem;
  }

  .brand-name {
    font-size: 1.4rem;
  }

  .brand-description {
    font-size: 0.85rem;
    line-height: 1.4;
  }

  .contact-item {
    font-size: 0.85rem;
  }

  .links-section {
    margin-bottom: 2rem;
  }

  .section-title {
    font-size: 1rem;
  }

  .links-list {
    gap: 0.75rem;
  }

  .links-list a {
    font-size: 0.85rem;
  }

  .newsletter-section {
    margin-bottom: 2rem;
  }

  .newsletter-desc {
    font-size: 0.8rem;
  }

  .newsletter-form .input-group {
    flex-direction: column;
    border-radius: 8px;
    max-width: 100%;
  }

  .newsletter-form .form-control {
    border-radius: 8px 8px 0 0;
    border-bottom: none;
  }

  .newsletter-btn {
    border-radius: 0 0 8px 8px;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
  }

  .social-links {
    margin-top: 1.5rem;
  }

  .social-link {
    width: 28px;
    height: 28px;
    font-size: 0.9rem;
  }

  .ba-footer-bottom {
    padding: 1.5rem 0;
  }

  .language-currency-selectors {
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
  }

  .language-currency-selectors .form-select {
    min-width: 140px;
  }

  .copyright {
    font-size: 0.8rem;
  }

  .payment-icons {
    gap: 0.375rem;
  }

  .payment-icon {
    font-size: 1.5rem;
  }
}

@media (max-width: 480px) {
  .ba-footer-main {
    padding: 2rem 0;
  }

  .brand-name {
    font-size: 1.2rem;
  }

  .brand-description {
    font-size: 0.8rem;
  }

  .contact-item {
    font-size: 0.8rem;
  }

  .section-title {
    font-size: 0.95rem;
  }

  .links-list a {
    font-size: 0.8rem;
  }

  .newsletter-desc {
    font-size: 0.75rem;
  }

  .newsletter-btn {
    font-size: 0.8rem;
  }

  .social-link {
    width: 26px;
    height: 26px;
    font-size: 0.8rem;
  }

  .language-currency-selectors .form-select {
    min-width: 120px;
    font-size: 0.8rem;
  }

  .copyright {
    font-size: 0.75rem;
  }

  .payment-icon {
    font-size: 1.3rem;
  }
}

/* ///// new stylw */
/* ====== COLOR & CONTAINER ====== */
.ba-footer-modern {
  background: #f8f6f1;
  color: #161616;
  font-size: 16px;
  line-height: 1.85;
}
.ba-footer-container {
  padding: 4rem 7rem;
}
.ba-footer-bottom-container {
  /* max-width: 1200px; */
  padding: 4rem 7rem;
}

/* hairline separators like mock */
.ba-footer-main {
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}
.ba-footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.14);
  background: #f8f6f1;

}

/* ====== GRID WIDTHS ====== */
/* Ensure 5/3/4 column proportions look like the screenshot */
@media (min-width: 992px) {
  .ba-footer-modern .col-lg-5 {
    flex: 0 0 auto;
    width: 41.6667%;
  }
  .ba-footer-modern .col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  .ba-footer-modern .col-lg-4 {
    flex: 0 0 auto;
    width: 33.3333%;
  }
}

/* ====== TYPOGRAPHY ====== */
.brand-name {
  margin: 4px 0 18px 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  font-size: 28px; /* matches screenshot height */
}

/* left column body text width & rhythm */
.brand-copy {
  max-width: 640px;
}
.brand-copy p {
  margin: 0 0 0;
  font-size: 18px;
}
.brand-copy p.mt-4 {
  margin-top: 22px !important;
}
.brand-copy em {
  font-style: italic;
}

/* center/right titles */
.ba-footer-main .section-title {
  /* margin: 6px 0 18px 0; */
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 24px;
}

/* quick links */
.links-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.links-list li {
  margin: 0;
  line-height: 1.5;
}
.links-list a {
  color: #161616;
  text-decoration: none;
  font-size: 18px;
}
.links-list a:hover {
  text-decoration: underline;
}

/* ====== NEWSLETTER ====== */
.newsletter-desc {
  margin: 0 0 16px 0;
  font-size: 18px;
}
.newsletter-form {
  margin-top: 4px;
  flex-direction: column;
}
.newsletter-input {
  width: 360px;
  max-width: 100%;
  height: 52px;
  padding: 0 14px;
  background: #fff;
  border: 2px solid #d9d6cf;
  border-radius: 4px;
  font-size: 16px;
  outline: none;
  transition: border-color 0.15s ease;
}
.newsletter-input:focus {
  border-color: #161616;
}

.newsletter-btn {
  display: inline-block;
  margin-top: 14px;
  height: 50px;
  padding: 0 26px;
  background: #111;
  color: #fff;
  border: 2px solid #111;
  border-radius: 4px;
  font-weight: 600;
  letter-spacing: 0.08em;
  width: fit-content;
}
.newsletter-btn:hover {
  color: #fff;
  background: #111;
}

/* ====== BOTTOM BAR ====== */
.left-controls .selectors {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.form-select {
  background: #fff;
  border: 2px solid #d9d6cf;
  border-radius: 6px;
  height: 46px;
  padding: 0 36px 0 12px;
  font-size: 16px;
  box-shadow: none;
}
.form-select:focus {
  border-color: #161616;
  box-shadow: none;
}

.copyright {
  margin: 0;
  font-size: 14px;
  color: #2b2b2b;
}

/* payment icons aligned right */
.payment-wrap {
  display: flex;
  justify-content: flex-end;
}
.payment-icons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.payment-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  min-height: 36px;
  padding: 6px 8px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-radius: 6px;
}
.payment-icon img {
  height: 20px;
  width: auto;
  display: block;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 991.98px) {
  .ba-footer-container,
  .ba-footer-bottom-container {
    padding-left: 16px;
    padding-right: 16px;
    display: flex;
    justify-content: center;
  }
  .payment-wrap {
    justify-content: flex-start;
    margin-top: 12px;
  }
  .brand-name {
    font-size: 24px;
  }
  .section-title {
    font-size: 22px;
  }
  .links-list a,
  .newsletter-desc,
  .brand-copy p {
    font-size: 17px;
  }
}
