/* ============================================
   TOPBAR — THEME 11: BURGUNDY STONE
   ============================================ */

:root {
  /* ===============================
     TOPBAR COLORS (BURGUNDY STONE)
  =============================== */
  --ebtb20-topbar-background-color: #6e2f40;
  --ebtb20-topbar-border-color: transparent;
  --ebtb20-topbar-social-icon-color: #efe6d6;
  --ebtb20-topbar-social-icon-hover-color: #6e2f40;
  --ebtb20-social-icon-background-color: rgba(217, 195, 161, 0.12);
  --ebtb20-social-icon-hover-background-color: #d9c3a1;
  --ebtb20-social-icon-border-color: rgba(217, 195, 161, 0.35);
  --ebtb20-social-icon-hover-border-color: #d9c3a1;
  --ebtb20-topbar-contact-text-color: #efe6d6;
  --ebtb20-topbar-contact-icon-color: #d9c3a1;
  --ebtb20-topbar-contact-hover-text-color: #ffffff;

  /* ===============================
     TOPBAR TYPOGRAPHY
  =============================== */
  --ebtb20-topbar-font-size: 0.8rem;
  --ebtb20-contact-link-font-weight: 600;
  --ebtb20-social-icon-font-size: 0.75rem;

  /* ===============================
     TOPBAR SPACING
  =============================== */
  --ebtb20-topbar-padding-y: 0.6rem;
  --ebtb20-topbar-padding-x: 2rem;
  --ebtb20-container-gap: 2rem;
  --ebtb20-social-icons-gap: 0.6rem;
  --ebtb20-contact-info-gap: 1.5rem;
  --ebtb20-contact-link-gap: 0.5rem;
  --ebtb20-contact-link-padding-bottom: 2px;

  /* ===============================
     TOPBAR LAYOUT
  =============================== */
  --ebtb20-container-max-width: 1200px;
  --ebtb20-social-icon-size: 30px;
  --ebtb20-social-icon-radius: 50%;
  --ebtb20-social-icon-hover-translate-y: -2px;

  /* ===============================
     TOPBAR BORDER
  =============================== */
  --ebtb20-social-icon-border-width: 1px;
  --ebtb20-contact-underline-height: 1px;

  /* ===============================
     TOPBAR ANIMATION
  =============================== */
  --ebtb20-ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ebtb20-transition-duration: 0.3s;
  --ebtb20-social-icon-transition-duration: 0.35s;

  /* ===============================
     TOPBAR RESPONSIVE
  =============================== */
  --ebtb20-container-gap-tablet: 0.6rem;
  --ebtb20-contact-info-gap-tablet: 1.25rem;
}

/* Taller, centered, stacked layout */
.ebtb20-top-bar {
  background: var(--ebtb20-topbar-background-color);
  border-bottom: none;
  padding: var(--ebtb20-topbar-padding-y) var(--ebtb20-topbar-padding-x);
  font-size: var(--ebtb20-topbar-font-size);
}

.ebtb20-top-bar-container {
  max-width: var(--ebtb20-container-max-width);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--ebtb20-container-gap);
}

/* Icons with background squares */
.ebtb20-social-icons {
  display: flex;
  gap: var(--ebtb20-social-icons-gap);
}

.ebtb20-social-icon {
  color: var(--ebtb20-topbar-social-icon-color);
  width: var(--ebtb20-social-icon-size);
  height: var(--ebtb20-social-icon-size);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--ebtb20-social-icon-radius);
  background: var(--ebtb20-social-icon-background-color);
  border: var(--ebtb20-social-icon-border-width) solid var(--ebtb20-social-icon-border-color);
  transition: all var(--ebtb20-social-icon-transition-duration) var(--ebtb20-ease);
  font-size: var(--ebtb20-social-icon-font-size);
}

.ebtb20-social-icon:hover {
  color: var(--ebtb20-topbar-social-icon-hover-color);
  background: var(--ebtb20-social-icon-hover-background-color);
  border-color: var(--ebtb20-social-icon-hover-border-color);
  transform: translateY(var(--ebtb20-social-icon-hover-translate-y));
}

.ebtb20-contact-info {
  display: flex;
  gap: var(--ebtb20-contact-info-gap);
}

/* Contact link with underline grow */
.ebtb20-contact-link {
  display: flex;
  align-items: center;
  gap: var(--ebtb20-contact-link-gap);
  color: var(--ebtb20-topbar-contact-text-color);
  font-weight: var(--ebtb20-contact-link-font-weight);
  transition: all var(--ebtb20-transition-duration) var(--ebtb20-ease);
  text-decoration: none;
  position: relative;
  padding-bottom: var(--ebtb20-contact-link-padding-bottom);
}

.ebtb20-contact-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0;
  height: var(--ebtb20-contact-underline-height);
  background: var(--ebtb20-topbar-contact-icon-color);
  transition: width var(--ebtb20-transition-duration) var(--ebtb20-ease);
}

.ebtb20-contact-link:hover::after {
  width: 100%;
}

.ebtb20-contact-link i {
  color: var(--ebtb20-topbar-contact-icon-color);
}

.ebtb20-contact-link:hover {
  color: var(--ebtb20-topbar-contact-hover-text-color);
}

@media (max-width: 768px) {
  .ebtb20-top-bar-container {
    flex-direction: column;
    gap: var(--ebtb20-container-gap-tablet);
    align-items: center;
  }

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

  .ebtb20-contact-info {
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--ebtb20-contact-info-gap-tablet);
  }
}

@media (max-width: 350px) {
  .ebtb20-contact-link span {
    display: none;
  }
}

@media (max-width: 768px) {
  .ebtb20-top-bar { padding-left: 0.75rem !important; padding-right: 0.75rem !important; }
}
@media (max-width: 480px) {
  .ebtb20-top-bar { padding-left: 0.625rem !important; padding-right: 0.625rem !important; }
}
@media (max-width: 380px) {
  .ebtb20-top-bar { padding-left: 0.5rem !important; padding-right: 0.5rem !important; }
}

/* THEME11 LAYER */
/* ============================================================
   THEME 11 — TOPBAR
   ============================================================ */
.ebtb20-top-bar { background: #6e2f40; }
.ebtb20-contact-link { font-weight: 500; letter-spacing: .02em; }
.ebtb20-social-icon { border-radius: 50%; transition: transform .4s var(--t11-ease, ease), background-color .3s ease, color .3s ease; }
.ebtb20-social-icon:hover { transform: translateY(-3px); }
