/* ============================================================
   ebftr7 — Footer
   Namespace  : ebftr7
============================================================ */

@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400;500;600;700&display=swap');

/* 1. Variables & Colors */
.ebftr7 {
  --ebftr7-bg:               #1c2e26;
  --ebftr7-overlay:          rgba(15, 25, 20, 0.72);
  --ebftr7-text:             #c8d8c8;
  --ebftr7-title:            #ffffff;
  --ebftr7-border:           rgba(180, 150, 60, 0.35);
  --ebftr7-accent:           #b89a3a;

  --ebftr7-link-text:        #c8d8c8;
  --ebftr7-link-hover:       #b89a3a;

  --ebftr7-social-bg:        rgba(255,255,255,0.1);
  --ebftr7-social-hover:     rgba(255,255,255,0.22);

  --ebftr7-bottom-bg:        rgba(0,0,0,0.35);
  --ebftr7-copy-text:        rgba(200,216,200,0.65);

  --ebftr7-padding-top:    3.5rem;
  --ebftr7-padding-bottom: 0rem;
}

/* 2. Reset داخل الـ namespace */
*,
.ebftr7 *,
.ebftr7 *::before,
.ebftr7 *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* 3. Base Styles — Mobile */
.ebftr7 {
  font-family: "El Messiri", sans-serif;
  direction: rtl;
  position: relative;
  background-color: var(--ebftr7-bg);
  padding-top: var(--ebftr7-padding-top);
  padding-bottom: var(--ebftr7-padding-bottom);
  overflow: hidden;
}


.ebftr7__bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  z-index: 0;
  aspect-ratio: 2 / 1;
  display: block;
}

/* Overlay */
.ebftr7__overlay {
  position: absolute;
  inset: 0;
  background: var(--ebftr7-overlay);
  z-index: 1;
}

/* Container */
.ebftr7__container {
  position: relative;
  z-index: 2;
  width: 92%;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  padding-bottom: 2.5rem;
}

/* Columns */
.ebftr7__col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: center;
  align-items: center;
}

/* Logo */
.ebftr7__logo {
  font-size: clamp(1.3rem, 5vw, 1.6rem);
  font-weight: 700;
  color: var(--ebftr7-title);
  letter-spacing: 0.02em;
}

/* Description */
.ebftr7__desc {
  font-size: clamp(0.82rem, 3.2vw, 0.92rem);
  color: var(--ebftr7-text);
  line-height: 1.85;
  max-width: 32rem;
}

/* Social Row */
.ebftr7__social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}

.ebftr7__social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 50%;
  background: var(--ebftr7-social-bg);
  font-size: 1rem;
  transition: background 0.25s ease, transform 0.2s ease;
  text-decoration: none;
}

.ebftr7__social-link:hover {
  background: var(--ebftr7-social-hover);

}

/* ألوان كل منصة */
.ebftr7__social-link--youtube   { color: #ff0000; }
.ebftr7__social-link--tiktok    { color: #ffffff; }
.ebftr7__social-link--linkedin  { color: #0a66c2; }
.ebftr7__social-link--facebook  { color: #1877f2; }
.ebftr7__social-link--x         { color: #ffffff; }
.ebftr7__social-link--instagram { color: #e4405f; }


.ebftr7__col-title {
  font-size: clamp(1rem, 4vw, 1.15rem);
  font-weight: 700;
  color: var(--ebftr7-title);
  position: relative;
  display: inline-block;
  padding-bottom: 0.55rem;
}

.ebftr7__col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 0.15rem;
  background: var(--ebftr7-accent);
  border-radius: 1rem;
}

/* Services List */
.ebftr7__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: center;
}

.ebftr7__list-link {
  font-size: clamp(0.83rem, 3vw, 0.93rem);
  color: var(--ebftr7-link-text);
  text-decoration: none;
  transition: color 0.2s ease;
}

.ebftr7__list-link:hover {
  color: var(--ebftr7-link-hover);
}

/* Contact */
.ebftr7__contact-block {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  align-items: center;
}

.ebftr7__contact-text {
  font-size: clamp(0.82rem, 3vw, 0.9rem);
  color: var(--ebftr7-text);
  line-height: 1.75;
  text-align: center;
}

.ebftr7__contact-link {
  font-size: clamp(0.82rem, 3vw, 0.9rem);
  color: var(--ebftr7-link-text);
  text-decoration: none;
  direction: ltr;
  unicode-bidi: isolate;
  transition: color 0.2s ease;
}

.ebftr7__contact-link:hover {
  color: var(--ebftr7-link-hover);
}

.ebftr7__contact-link--phone {
  font-weight: 600;
  font-size: clamp(0.9rem, 3.5vw, 1rem);
}

/* Bottom Bar */
.ebftr7__bottom {
  position: relative;
  z-index: 2;
  background: var(--ebftr7-bottom-bg);
  border-top: 0.06rem solid var(--ebftr7-border);
  text-align: center;
  padding: 1rem 1.5rem;
}

.ebftr7__copy {
  font-size: clamp(0.78rem, 2.8vw, 0.88rem);
  color: var(--ebftr7-copy-text);
}

/* ====================================================
   4. Breakpoints
==================================================== */

/* Small Tablet 481 → 600 */
@media (min-width: 481px) {
  .ebftr7__container {
    width: 88%;
  }
}

/* Medium Tablet 601 → 768 */
@media (min-width: 601px) {
  .ebftr7__container {
    width: 85%;
  }
}

/* Large Tablet 769 → 1024 */
@media (min-width: 769px) {
  .ebftr7__container {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 2rem;
    width: 90%;
  }


  .ebftr7__col {
    text-align: right;
    align-items: flex-start;
  }

  .ebftr7__col--brand {
    flex: 1 1 100%;
  }

  .ebftr7__col--services {
    flex: 1 1 45%;
  }

  .ebftr7__col--contact {
    flex: 1 1 45%;
  }

  .ebftr7__list {
    align-items: flex-start;
  }

  .ebftr7__social {
    justify-content: flex-start;
  }

  .ebftr7__contact-block {
    align-items: flex-start;
  }

  .ebftr7__contact-text {
    text-align: right;
  }
}

/* Small Desktop 1025 → 1280 */
@media (min-width: 1025px) {
  .ebftr7 {
    --ebftr7-padding-top: 4.5rem;
  }

  .ebftr7__container {
    flex-wrap: nowrap;
    gap: 3rem;
    width: 88%;
    max-width: 75rem;
  }

  .ebftr7__col--brand {
    flex: 1 1 35%;
  }

  .ebftr7__col--services {
    flex: 1 1 22%;
  }

  .ebftr7__col--contact {
    flex: 1 1 30%;
  }
}

/* Medium Desktop 1281 → 1440 */
@media (min-width: 1281px) {
  .ebftr7__container {
    width: 85%;
    max-width: 82rem;
    gap: 4rem;
  }
}

/* Large Desktop 1441 → 1920 */
@media (min-width: 1441px) {
  .ebftr7__container {
    max-width: 90rem;
  }
}

/* Extra Large 1921+ */
@media (min-width: 1921px) {
  .ebftr7__container {
    max-width: 100rem;
  }
}