/*
Theme Name: Astra Child
Template: astra
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&family=Source+Sans+Pro:wght@400;600;700&display=swap');

/* === Base Reset === */
body,
.tapm8-page-wrapper,
.tapm8-profile,
.tapm8-btn,
.bio,
.profile-header h1 {
  font-family: 'Montserrat', 'Source Sans Pro', sans-serif !important;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* === Layout === */
.tapm8-page-wrapper {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  background: #fff;
}

.tapm8-profile {
  padding: 20px;
}

/* === Top Image === */
.single-top-image,
.business-card-img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.top-image-stack {
  position: relative;
  width: 100%;
  margin-bottom: 20px;
}

.business-card-img {
  border-radius: 12px;
    position: relative;
  z-index: 1; /* lower than headshot */
}


.headshot-wrapper {
  position: absolute;
  bottom: -40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
}

.headshot-wrapper::before {
  content: '';
  position: absolute;
  top: -6px;
  left: -6px;
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  border-radius: 50%;
  z-index: -1;
  background: linear-gradient(270deg, #00ff99, #6a1b9a, #00ff99);
  background-size: 400% 400%;
  animation: gradientMove 16s linear infinite;
}

.tapm8-style-pure .headshot-wrapper::before {
  background: linear-gradient(270deg, #4facfe, #00f2fe, #4facfe);
  background-size: 400% 400%;
}

.tapm8-style-icon .headshot-wrapper::before {
  background: linear-gradient(270deg, #6a1b9a, #00f2fe, #6a1b9a);
  background-size: 400% 400%;
}

.tapm8-style-spotlight .headshot-wrapper::before {
  background: linear-gradient(270deg, #00ff99, #6a1b9a, #00ff99);
  background-size: 400% 400%;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}




.headshot-overlay {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  position: relative;
}

@media (min-width: 768px) {
  .headshot-overlay {
    width: 500px;
    height: 500px;
  }
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}



/* === Header === */
.profile-header h1 {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 4px;
  padding-left: 20px;
}

.profile-header p.business-name {
  font-size: 34px;
  font-weight: 600;
  color: #333;
  margin: 2px 0;
  padding-left: 20px;
}

.profile-header p.position-title {
  font-size: 28px;
  font-weight: 500;
  color: #555;
  margin: 2px 0 6px;
  padding-left: 20px;
}

.profile-header p.bio {
  font-size: 22px;
  color: #666;
  padding-left: 20px;
}

/* === Button Container === */
.tapm8-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  padding: 24px;
}

/* === Base Button === */
.tapm8-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
  padding: 10px 10px 10px 200px;
  min-height: 240px;
  border: none;
  border-radius: 999px;
  text-decoration: none;
  color: #fff;
  font-size: 24px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  gap: 36px;
  transition: background 0.3s ease;
  overflow: visible;
}

.tapm8-icon {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: contain;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  background: #fff;
}

/* === Button Text === */
.tapm8-btn span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
  margin-left: 50px;
}

.tapm8-btn span strong {
  font-size: 50px;
  font-weight: 800;
}

.tapm8-btn span small {
  font-size: 40px;
  font-weight: 500;
  opacity: 0.95;
}

/* === PURE STYLE === */
.tapm8-style-pure {
  background: #fff;
  color: #000;
}

.tapm8-style-pure .tapm8-btn {
  background: linear-gradient(90deg, #4facfe 0%, #00f2fe 100%);
}

.tapm8-style-pure .profile-header p {
  color: #666;
}

/* === ICON STYLE === */
.tapm8-style-icon {
  background: #000;
  color: #fff;
}

.tapm8-style-icon .tapm8-btn {
  background: linear-gradient(90deg, #4a148c 0%, #00f2fe 100%);
}

.tapm8-style-icon .profile-header h1,
.tapm8-style-icon .profile-header p {
  color: #eee;
}

/* === SPOTLIGHT STYLE === */
.tapm8-style-spotlight {
  background: #000;
  color: #fff;
}

.tapm8-style-spotlight .profile-header h1,
.tapm8-style-spotlight .profile-header p {
  color: #fff;
}

.tapm8-style-spotlight .tapm8-btn {
  position: relative;
  background: transparent;
  color: #fff;
  padding: 10px 10px 10px 200px;
  min-height: 240px;
  border-radius: 999px;
}

.tapm8-style-spotlight .tapm8-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 2px;
  background: linear-gradient(90deg, #00ff99, #6a1b9a);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.tapm8-style-spotlight .tapm8-btn > * {
  position: relative;
  z-index: 2;
}

.tapm8-style-spotlight .tapm8-icon {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  border: none;
  z-index: 3;
}


/* === SPOTLIGHT-LIGHT STYLE === */
.tapm8-style-spotlight-light {
  background: #fff;
  color: #000;
}

.tapm8-style-spotlight-light .profile-header h1,
.tapm8-style-spotlight-light .profile-header p {
  color: #000;
}

.tapm8-style-spotlight-light .tapm8-btn {
  position: relative;
  background: transparent;
  color: #000;
  padding: 10px 10px 10px 200px;
  min-height: 240px;
  border-radius: 999px;
}

.tapm8-style-spotlight-light .tapm8-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  padding: 2px;
  background: linear-gradient(90deg, #00ff99, #6a1b9a);
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: 1;
}

.tapm8-style-spotlight-light .tapm8-btn > * {
  position: relative;
  z-index: 2;
}

.tapm8-style-spotlight-light .tapm8-icon {
  position: absolute;
  top: -10px;
  left: -10px;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  border: none;
  z-index: 3;
}

.tapm8-footer.tapm8-style-spotlight-light {
  background: #fff;
  color: #000;
  padding: 40px 0;
}


/* === Footer === */
.tapm8-footer.tapm8-style-pure {
  background: #fff;
  color: #000;
  padding: 40px 0;
}

.tapm8-footer.tapm8-style-icon {
  background: #000;
  color: #fff;
  padding: 40px 0;
}

.tapm8-footer.tapm8-style-spotlight {
  background: #000;
  color: #fff;
  padding: 40px 0;
}

/* === Mobile === */
@media (max-width: 767px) {
  .tapm8-btn {
    padding: 10px 10px 10px 60px !important;
    min-height: 100px !important;
    font-size: 24px !important;
    border-radius: 999px !important;
  }

  .tapm8-icon {
    width: 100px !important;
    height: 100px !important;
    left: 0 !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    border-radius: 50% !important;
  }

  .tapm8-btn span strong {
    font-size: 26px !important;
  }

  .tapm8-btn span small {
    font-size: 18px !important;
  }

  .profile-header h1 {
    font-size: 28px !important;
    padding-left: 20px !important;
  }

  .profile-header p.business-name {
    font-size: 24px !important;
    padding-left: 20px !important;
  }

  .profile-header p.position-title {
    font-size: 20px !important;
    padding-left: 20px !important;
  }

  .profile-header p.bio {
    font-size: 14px !important;
    text-align: center !important;
  }
}

@media (max-width: 768px) {
  #tapm8-popup-container {
    width: 100vw;
    height: 100vh;
    max-width: none;
    border-radius: 0;
    padding: 0;
  }
}


/* === PAGES HEADER === */
.tapm8-header {
  width: 100%;
  padding: 10px 20px;
  background: #000; 
}

.tapm8-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.tapm8-logo img {
  max-height: 80px;
  height: auto;
  width: auto;
  margin-bottom: 10px;
}

.tapm8-main-nav .tapm8-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 30px;
  justify-content: center;
}

.tapm8-main-nav .tapm8-menu li {
  position: relative;
}

.tapm8-main-nav .tapm8-menu li a {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  padding: 8px 12px;
}

.tapm8-main-nav .tapm8-menu li a:hover {
  color: #00f2fe;
}

/* Dropdown MENU styles */
.tapm8-main-nav .tapm8-menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #222;
  padding: 0;
  margin: 0;
  list-style: none;
  min-width: 180px;
  z-index: 999;
}

.tapm8-main-nav .tapm8-menu li:hover > ul {
  display: block;
}

.tapm8-main-nav .tapm8-menu li ul li a {
  display: block;
  padding: 8px 12px;
  color: #fff;
}

.tapm8-main-nav .tapm8-menu li ul li a:hover {
  background: #333;
  color: #00f2fe;
}

/* FOOTER - Pages */
.tapm8-footer-custom {
  background: #000;
  color: #fff;
  padding: 40px 20px;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 1200px;
  margin: 0 auto;
  gap: 40px;
}

.footer-left,
.footer-center,
.footer-right {
  flex: 1 1 200px;
}

.footer-logo {
  max-width: 200px;
  height: auto;
  margin-bottom: 10px;
}

.footer-address {
  font-size: 14px;
  margin: 0;
  text-align: left;
}

.footer-center h1 {
  font-size: 20px;
  margin-bottom: 10px;
  text-align: center;
  color: #fff;
  font-weight: 700;
}
.footer-center a[href^="mailto:"],
.footer-center a[href^="tel:"] {
  color: #00b6cb;
}


.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: left;
}

.footer-menu li {
  margin: 5px 0;
}

.footer-menu a {
  color: #00b6cb;
  text-decoration: none;
}

.footer-menu a:hover {
  text-decoration: underline;
}

.footer-right {
  text-align: left;
}

.footer-right p {
  margin: 5px 0;
  font-size: 14px;
}

.footer-right a {
  color: #00b6cb;
  text-decoration: none;
}

.footer-right a:hover {
  text-decoration: underline;
}

.footer-bottom {
  margin-top: 20px;
  font-size: 12px;
  text-align: center;
  color: #ccc;
}

/* Responsive */
@media (max-width: 767px) {
  .footer-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    flex: 1 1 100%;
  }

  .footer-menu {
    text-align: center;
  }

  .footer-right {
    text-align: center;
  }
}
