
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@400;500;600;700;800&display=swap');

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

body {
  margin: 0;
  background: #eeedeb;
  color: #191919;
  font-family: 'DM Sans', Arial, sans-serif;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
  cursor: pointer;
}

.phone {
  width: 100%;
  max-width: 600px;
  min-height: 100vh;
  margin: 0 auto;
  background: #fff;
  box-shadow: 0 8px 45px #00000010;
  overflow: hidden;
}

/* COVER */

.cover {
  height: 220px;
  position: relative;
  background: linear-gradient(135deg, #555, #181818);
  background-position: center;
  background-size: cover;
}

.cover::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    #00000065,
    transparent 65%
  );
  pointer-events: none;
}

.topbar-profile {
  position: absolute;
  top: 18px;
  left: 20px;
  right: 20px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  z-index: 2;
}

.topmark {
  display: flex;
  align-items: center;
  gap: 9px;
  color: white;
}

.brand-symbol {
  font-size: 26px;
  font-weight: 800;
  font-style: italic;
  line-height: 1;
}

.brand-words {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.brand-words strong {
  font-family: Manrope, sans-serif;
  font-size: 14px;
  letter-spacing: -0.4px;
}

.brand-words small {
  font-size: 7px;
  letter-spacing: 1.2px;
  font-weight: 700;
}

.qr-top {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 0;
  border-radius: 50%;
  background: white;
  color: #171717;
  box-shadow: 0 3px 12px #00000020;
}

.qr-top svg {
  width: 22px;
  height: 22px;
}

/* PROFILE CONTENT */

.content {
  padding: 0 38px 38px;
  text-align: center;
}


.avatar {
  width: 120px;
  height: 120px;
  margin: -60px auto 18px;
  position: relative;
  z-index: 3;
  border: 5px solid white;
  border-radius: 50%;
  overflow: hidden;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


h1 {
  margin: 0 0 6px;
  font-family: Manrope, sans-serif;
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -1px;
}

.description {
  margin: 0;
  font-size: 12px;
  color: #737373;
}

.owner,
.address {
  margin: 7px 0 0;
  color: #888;
  font-size: 11px;
}

.error {
  color: #b42318;
  margin: 16px 0;
}

/* SOCIAL ICONS */

.social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 30px 0 26px;
}

.social a {
  width: 54px;
  height: 54px;
  flex: 0 0 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e8e8e8;
  border-radius: 14px;
  background: #fff;
  color: #202020;
  box-shadow: 0 3px 9px #00000008;
  text-decoration: none;
  transition: transform .2s, background .2s;
}

.social a:hover {
  transform: translateY(-3px);
  background: #f7f7f7;
}

.social svg {
  display: block;
  width: 23px;
  height: 23px;
}

/* SAVE CONTACT */

.save {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 12px;
  background: #191919;
  color: white;
  font-size: 13px;
  font-weight: 700;
  transition: transform .2s;
}

.save:active,
.qr-top:active {
  transform: scale(.97);
}

/* QUICK ACTIONS */

.quick {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.quick a {
  min-height: 68px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid #e7e7e7;
  border-radius: 13px;
  background: #fafafa;
  color: #222;
  text-decoration: none;
}

.quick a span {
  font-size: 20px;
  line-height: 1;
}

.quick a small {
  font-size: 11px;
  color: #555;
}

/* ABOUT */

.about {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 26px;
  padding: 16px;
  border: 1px solid #ebebeb;
  border-radius: 15px;
  background: #fafafa;
  text-align: left;
}

.about img {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 11px;
}

.about strong {
  font-size: 13px;
}

.about p {
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.6;
  color: #777;
}

/* SHARE BUTTON */

.share {
  width: 100%;
  min-height: 45px;
  margin-top: 18px;
  border: 1px solid #dedede;
  border-radius: 12px;
  background: #fff;
  color: #222;
  font-size: 12px;
  font-weight: 700;
}

/* FOOTER */

footer {
  padding: 24px 16px 32px;
  border-top: 1px solid #eeeeee;
  text-align: center;
  font-size: 9px;
  letter-spacing: 1px;
  color: #999;
}

footer strong {
  color: #777;
  letter-spacing: 0;
}

footer span {
  display: block;
  margin-top: 4px;
  letter-spacing: .4px;
}

/* DIALOGS */

dialog {
  width: min(90vw, 390px);
  max-height: 90vh;
  overflow-y: auto;
  padding: 30px;
  border: 0;
  border-radius: 22px;
  background: white;
  color: #191919;
  text-align: center;
  box-shadow: 0 20px 80px #00000035;
}

dialog::backdrop {
  background: #00000085;
  backdrop-filter: blur(5px);
}

dialog .close {
  position: absolute;
  top: 14px;
  right: 18px;
  border: 0;
  background: transparent;
  font-size: 26px;
  color: #777;
}

dialog h2 {
  margin: 12px 0 7px;
  font-family: Manrope, sans-serif;
  font-size: 21px;
}

dialog p {
  color: #777;
  font-size: 12px;
  line-height: 1.6;
}

.round {
  width: 55px;
  height: 55px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f2f2f2;
  font-size: 23px;
}

.dialog-action,
.cancel,
.copy-link,
.share-actions button {
  width: 100%;
  padding: 14px;
  border: 0;
  border-radius: 11px;
  font-size: 12px;
  font-weight: 700;
}

.dialog-action {
  margin-top: 18px;
  background: #191919;
  color: white;
}

.dialog-action small {
  display: block;
  margin-top: 5px;
  font-size: 10px;
  font-weight: 400;
  opacity: .7;
}

.cancel {
  margin-top: 10px;
  background: #f1f1f1;
}

#qr {
  display: block;
  width: min(100%, 240px);
  height: auto;
  margin: 22px auto;
}

.share-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.share-actions button {
  background: #191919;
  color: white;
}

.copy-link {
  margin-top: 10px;
  background: #f1f1f1;
  color: #191919;
}

.note {
  min-height: 14px;
}

.powered {
  margin-top: 15px;
  font-size: 10px;
  color: #999;
}

/* MOBILE */

@media (max-width: 600px) {
  .phone {
    max-width: 100%;
  }

  .content {
    padding-left: 22px;
    padding-right: 22px;
  }

  .cover {
    height: 205px;
  }

  .social {
    gap: 10px;
  }

  .social a {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }

  h1 {
    font-size: 24px;
  }
}


/* BIGGER PROFILE PICTURE */
.avatar {
  width: 200px !important;
  height: 200px !important;
  margin: -80px auto 20px !important;
  border: 6px solid white !important;
  border-radius: 50% !important;
  position: relative;
  z-index: 5;
  overflow: hidden;
  flex-shrink: 0;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* TAPTECHCON COVER SIZE FIX */
.cover {
  height: 350px !important;
  min-height: 350px !important;
  background-size: cover !important;
  background-position: center !important;
}



/* PREMIUM 3D FLOATING COVER EFFECT */
.cover {
  position: relative;
  z-index: 2;

  /* Creates a visible floating effect */
  transform: translateY(-6px);

  /* Strong, layered shadow */
  box-shadow:
    0 6px 8px rgba(0, 0, 0, 0.18),
    0 16px 28px rgba(0, 0, 0, 0.28),
    0 30px 50px rgba(0, 0, 0, 0.20);

  border-radius: 0 0 18px 18px;
}

/* Profile picture stays above the cover */
.avatar {
  position: relative;
  z-index: 5;
}

/* GET YOUR OWN CARD BUTTON */
#getYourCard {
  display: block;
  width: 100%;
  padding: 16px 20px;
  margin-top: 28px;
  background: #151515;
  color: #ffffff;
  border-radius: 12px;
  text-align: center;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.25s ease;
}

#getYourCard:hover {
  background: #333333;
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

#getYourCard:active {
  transform: scale(0.97);
}

/* TAPTECHCON CLEAN FOOTER */

footer.taptech-footer {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  padding: 28px 15px !important;
  text-align: center !important;
  background: #ffffff !important;
}

footer.taptech-footer span,
footer.taptech-footer small,
footer.taptech-footer a {
  display: block !important;
  margin: 0 !important;
  line-height: 1.6 !important;
}

footer.taptech-footer span {
  font-size: 9px !important;
  color: #999999 !important;
  letter-spacing: 1px;
}

footer.taptech-footer .taptech-link {
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #222222 !important;
  text-decoration: none !important;
}

footer.taptech-footer small {
  font-size: 10px !important;
  color: #999999 !important;
}

footer.taptech-footer .get-card-link {
  margin-top: 8px !important;
  font-size: 11px !important;
  color: #777777 !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

/* CLICKABLE TAPTECHCON WATERMARK */
.topmark {
  cursor: pointer;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.topmark:hover {
  transform: translateY(-2px);
  opacity: 0.85;
}

.topmark:active {
  transform: scale(0.96);
}

/* ==================================
   TAPTECHCON BUTTON ANIMATIONS
   ================================== */

/* Smooth animation for all clickable elements */
.social a,
.quick a,
.save,
.qr-top,
.topmark,
.taptech-link,
.get-card-link,
#copy,
#downloadQr,
#shareNative,
#downloadVcf,
.dialog-action {
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    opacity 0.25s ease !important;

  cursor: pointer;
}

/* Floating effect on hover */
@media (hover: hover) {
  .social a:hover,
  .quick a:hover,
  .save:hover,
  .qr-top:hover,
  .topmark:hover,
  .taptech-link:hover,
  .get-card-link:hover,
  #copy:hover,
  #downloadQr:hover,
  #shareNative:hover,
  #downloadVcf:hover,
  .dialog-action:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
  }
}

/* Gentle press animation */
.social a:active,
.quick a:active,
.save:active,
.qr-top:active,
.topmark:active,
.taptech-link:active,
.get-card-link:active,
#copy:active,
#downloadQr:active,
#shareNative:active,
#downloadVcf:active,
.dialog-action:active {
  transform: scale(0.94) !important;
  opacity: 0.85;
}

/* Keyboard accessibility */
.social a:focus-visible,
.quick a:focus-visible,
.save:focus-visible,
.qr-top:focus-visible,
.topmark:focus-visible {
  outline: 2px solid #555;
  outline-offset: 4px;
}

/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce) {
  .social a,
  .quick a,
  .save,
  .qr-top,
  .topmark,
  .taptech-link,
  .get-card-link,
  #copy,
  #downloadQr,
  #shareNative,
  #downloadVcf,
  .dialog-action {
    transition: none !important;
  }
}

/* PREMIUM ABOUT US SECTION */

.about {
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 18px;

  margin-top: 30px;
  padding: 28px 26px;

  background: linear-gradient(
    145deg,
    #ffffff 0%,
    #faf9f7 100%
  );

  border: 1px solid #e8e5e0;
  border-radius: 18px;

  box-shadow:
    0 5px 15px rgba(0, 0, 0, 0.035),
    0 14px 35px rgba(0, 0, 0, 0.045);

  text-align: left;
}

/* Decorative accent */
.about::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 15px;

  width: 3px;
  height: 30px;

  background: #b69b78;
  border-radius: 10px;
}

/* Heading */
.about strong {
  display: block;
  margin-bottom: 14px;

  color: #000000;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.3px;
}

/* Description */
.about p {
  margin: 0;
  color: #000000;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.1px;
}

/* Optional About image */
.about img {
  width: 110px;
  height: 110px;
  object-fit: cover;
  border-radius: 14px;
  flex-shrink: 0;
}

/* Mobile adjustments */
@media (max-width: 480px) {
  .about {
    padding: 24px 20px 24px 26px;
    gap: 12px;
  }

  .about::before {
    left: 12px;
    top: 24px;
  }

  .about img {
    width: 85px;
    height: 85px;
  }

  .about strong {
    font-size: 16px;
  }

  .about p {
    font-size: 12px;
  }
}

/* LOCATION ICON */
#map span {
  display: flex;
  align-items: center;
  justify-content: center;
}

#map svg {
  width: 20px;
  height: 20px;
  display: block;
}

/* RESTAURANT MENU BUTTON */

.menu-button {
  display: block;
  width: 100%;
  margin-top: 12px;
  padding: 15px;
  background: #fff;
  color: #222;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.menu-button[hidden] {
  display: none;
}

.menu-button:hover {
  background: #f5f5f5;
  transform: translateY(-2px);
}

/* MENU POPUP */

.menu-dialog {
  width: calc(100% - 32px);
  max-width: 520px;
  max-height: 90vh;
  padding: 0;
  border: none;
  border-radius: 20px;
  background: #fff;
  color: #222;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);
}

.menu-dialog[open] {
  position: fixed;
  inset: 0;
  margin: auto;
}

.menu-dialog::backdrop {
  background: rgba(0,0,0,0.75);
  backdrop-filter: blur(5px);
}

.menu-popup {
  padding: 20px;
}

.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.menu-header h2 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
}

#closeMenu {
  width: 34px;
  height: 34px;
  border: none;
  border-radius: 50%;
  background: #f2f2f2;
  color: #222;
  font-size: 24px;
  cursor: pointer;
}

/* MENU IMAGE GALLERY */

.menu-gallery {
  display: flex;
  align-items: center;
  gap: 8px;
}

#menuImage {
  width: 100%;
  min-width: 0;
  max-height: 65vh;
  object-fit: contain;
  border-radius: 12px;
}

#prevMenu,
#nextMenu {
  flex-shrink: 0;
  width: 32px;
  height: 40px;
  border: none;
  border-radius: 8px;
  background: #f2f2f2;
  color: #222;
  font-size: 18px;
  cursor: pointer;
}

#prevMenu:hover,
#nextMenu:hover {
  background: #e5e5e5;
}

#menuCounter {
  text-align: center;
  margin: 16px 0 0;
  font-size: 12px;
  color: #888;
}

@media (max-width: 480px) {
  .menu-popup {
    padding: 16px;
  }

  #prevMenu,
  #nextMenu {
    width: 28px;
  }
}
/* ABOUT US PHOTO CAROUSEL */

#about {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  min-width: 0;
}

#about[hidden],
#aboutCarousel[hidden],
#aboutImage[hidden],
.about-navigation [hidden] {
  display: none !important;
}

.about-content {
  width: 100%;
}

.about-carousel {
  width: 100%;
  min-width: 0;
}

.about-track {
  display: flex;
  width: 100%;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  border-radius: 16px;
}

.about-track::-webkit-scrollbar {
  display: none;
}

#about .about-slide {
  flex: 0 0 100%;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 16px;
  scroll-snap-align: start;
  display: block;
}

.about-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
}

.about-navigation button {
  width: 36px;
  height: 36px;
  border: 1px solid #ded8cf;
  border-radius: 50%;
  background: white;
  color: #8c7658;
  font-size: 16px;
  cursor: pointer;
}

#aboutCounter {
  font-size: 13px;
  color: #8c7658;
}
/* TapTechCon 2.0 */
#owner{font-weight:700;color:#292929;font-size:15px}#owner[hidden]{display:none!important}
#save,#openMenu{width:75%;max-width:320px;min-height:46px;margin:12px auto 0;padding:10px 14px;display:flex;align-items:center;justify-content:center;gap:10px}#openMenu[hidden]{display:none!important}#openMenu:active{transform:scale(.97)}#save svg{flex:none}#avatar[role=button]{cursor:zoom-in}#avatarDialog{padding:0;border:0;background:transparent;overflow:visible;width:min(82vw,440px);max-width:82vw;box-shadow:none}#avatarDialog::backdrop{background:#000b;backdrop-filter:blur(8px)}#avatarDialog img{display:block;width:100%;max-height:75vh;object-fit:contain;border-radius:16px}#avatarDialog[open]{animation:avatar-in .22s ease-out}#avatarDialog .avatar-close{position:absolute;right:0;top:-45px;color:white;background:#222;border:0;border-radius:50%;width:38px;height:38px;font-size:24px;cursor:pointer}@keyframes avatar-in{from{opacity:0;transform:scale(.85)}to{opacity:1;transform:scale(1)}}@media(prefers-reduced-motion:reduce){#avatarDialog[open]{animation:none}}

/* Responsive cover: preserve the full uploaded image */
.cover {
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 16 / 9;
  background-size: 100% 100%, contain !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-color: #191919;
}
