/* Footer Component Styles - Finewoods Luxury Furniture */

/* ─── Variables ───────────────────────────────────────── */
:root {
  --footer-bg:        #11110F;
  --footer-text:      #F7F3EC;
  --footer-muted:     rgba(247, 243, 236, 0.65);
  --gold:             #C9A96E;
  --gold-light:       #D8BC86;
  --footer-border:    rgba(255, 255, 255, 0.08);
}

/* ─── Footer Base ─────────────────────────────────────── */
.finewoods-footer {
  width: 100%;
  background-color: var(--footer-bg);
  color: var(--footer-text);
  padding: 5rem 2rem 2.5rem 2rem;
  box-sizing: border-box;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

/* ─── Top Grid Layout ─────────────────────────────────── */
.footer-top-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.25fr;
  gap: 3.5rem;
  margin-bottom: 3.5rem;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-brand-title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.85rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--gold);
  margin: 0 0 1rem 0;
}

.footer-brand-desc {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  line-height: 1.65;
  color: var(--footer-muted);
  margin: 0;
  max-width: 380px;
}

.footer-col-title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.25rem 0;
}

.footer-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-nav-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--footer-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-nav-link:hover {
  color: var(--gold-light);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-contact-item {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.88rem;
  font-weight: 400;
  color: var(--footer-muted);
  margin: 0;
}

.footer-contact-sublabel {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}

.footer-contact-hours {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 1.5rem;
}

/* ─── Divider & Bottom Bar ────────────────────────────── */
.footer-divider {
  width: 100%;
  height: 1px;
  background-color: var(--footer-border);
  margin-bottom: 2rem;
}

.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
}

.footer-copyright,
.footer-credit {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--footer-muted);
  margin: 0;
}

.footer-legal-links {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.footer-legal-link {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.82rem;
  color: var(--footer-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal-link:hover {
  color: var(--gold-light);
}

.footer-legal-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 0.75rem;
}

.footer-link {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-link:hover {
  color: var(--gold-light);
}

/* ─── RTL Support ────────────────────────────────────── */
.finewoods-footer.is-ar,
[dir="rtl"] .finewoods-footer {
  direction: rtl;
  text-align: right;
}

.finewoods-footer.is-ar .footer-top-grid,
[dir="rtl"] .finewoods-footer .footer-top-grid {
  text-align: right;
}

.finewoods-footer.is-ar .footer-bottom-bar,
[dir="rtl"] .finewoods-footer .footer-bottom-bar {
  direction: rtl;
}

/* ─── Responsive ──────────────────────────────────────── */

/* Large Tablets */
@media (max-width: 1024px) {
  .footer-top-grid {
    grid-template-columns: 1.1fr 1fr 1fr 1fr;
    gap: 2.5rem;
  }
}

/* Tablets & Mobile (2-column layout) */
@media (max-width: 768px) {
  .finewoods-footer {
    padding: 3rem 1.5rem 2rem 1.5rem;
    overflow-x: hidden;
  }
  /* 2-column grid: Row 1 = Brand & Navigation, Row 2 = Services & Contact */
  .footer-top-grid {
    grid-template-columns: 1.15fr 1fr;
    gap: 2.25rem 1.75rem;
    margin-bottom: 2.5rem;
  }
  .footer-brand-col {
    text-align: left;
    align-items: flex-start;
  }
  .footer-brand-title {
    font-size: 1.65rem;
    margin-bottom: 0.85rem;
  }
  .footer-brand-desc {
    max-width: 100%;
    text-align: left;
    font-size: 0.88rem;
    line-height: 1.55;
  }
  .footer-col-title {
    font-size: 0.75rem;
    margin-bottom: 1rem;
  }
  .footer-nav-list {
    gap: 0.65rem;
  }
  .footer-nav-link {
    font-size: 0.88rem;
    padding: 0;
  }
  .footer-contact-info {
    gap: 0.65rem;
  }
  .footer-contact-item {
    font-size: 0.88rem;
    line-height: 1.5;
  }
  .footer-divider {
    margin-bottom: 1.5rem;
  }
  /* Compact bottom bar */
  .footer-bottom-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.55rem;
  }
  .footer-copyright,
  .footer-credit {
    font-size: 0.8rem;
    text-align: center;
  }
  .footer-legal-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
  }
  .footer-legal-link {
    font-size: 0.8rem;
  }
}

/* Mobile phones */
@media (max-width: 480px) {
  .finewoods-footer {
    padding: 2.25rem 1rem 1.5rem 1rem;
  }
  .footer-top-grid {
    grid-template-columns: 1.1fr 1fr;
    gap: 1.85rem 1.25rem;
    margin-bottom: 2rem;
  }
  .footer-brand-title {
    font-size: 1.45rem;
    margin-bottom: 0.65rem;
  }
  .footer-col-title {
    font-size: 0.72rem;
    letter-spacing: 0.14em;
    margin-bottom: 0.85rem;
  }
  .footer-brand-desc {
    font-size: 0.82rem;
    line-height: 1.5;
  }
  .footer-nav-list {
    gap: 0.55rem;
  }
  .footer-nav-link {
    font-size: 0.84rem;
  }
  .footer-contact-info {
    gap: 0.55rem;
  }
  .footer-contact-item {
    font-size: 0.84rem;
    line-height: 1.45;
  }
  .footer-bottom-bar {
    gap: 0.45rem;
  }
  .footer-copyright,
  .footer-credit,
  .footer-legal-link {
    font-size: 0.76rem;
  }
}

/* Narrow mobile */
@media (max-width: 375px) {
  .finewoods-footer {
    padding: 2rem 0.875rem 1.25rem 0.875rem;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem 0.85rem;
  }
  .footer-brand-title {
    font-size: 1.3rem;
  }
  .footer-nav-link,
  .footer-contact-item {
    font-size: 0.8rem;
  }
  .footer-copyright,
  .footer-credit,
  .footer-legal-link {
    font-size: 0.72rem;
  }
}

/* Absolute minimum mobile */
@media (max-width: 320px) {
  .finewoods-footer {
    padding: 1.75rem 0.75rem 1rem 0.75rem;
  }
  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem 0.65rem;
  }
  .footer-brand-title {
    font-size: 1.2rem;
    letter-spacing: 0.08em;
  }
  .footer-nav-link,
  .footer-contact-item {
    font-size: 0.76rem;
  }
}
