/*!
Theme Name: pinpung
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: pinpung
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

pinpung is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Generic
- Normalize
- Box sizing
# Base
- Typography
- Elements
- Links
- Forms
## Layouts
# Components
- Navigation
- Posts and pages
- Comments
- Widgets
- Media
- Captions
- Galleries
# plugins
- Jetpack infinite scroll
# Utilities
- Accessibility
- Alignments

--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Generic
--------------------------------------------------------------*/

/* Normalize
--------------------------------------------- */

/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
  ========================================================================== */

/**
* 1. Correct the line height in all browsers.
* 2. Prevent adjustments of font size after orientation changes in iOS.
*/
  .contact-bubble {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 999;

  display: flex;
  align-items: center;
  gap: 12px;

  padding: 12px 18px 12px 12px;
  border-radius: 999px;

  background: rgba(20,22,26,.88);
  border: 1px solid rgba(251,155,0,.22);

  backdrop-filter: blur(18px);

  box-shadow:
    0 18px 42px rgba(0,0,0,.22),
    0 0 0 1px rgba(255,255,255,.04);

  color: white;
  text-decoration: none;

  transition: .28s ease;
}

.contact-bubble:hover {
  transform: translateY(-4px) scale(1.03);
    background: linear-gradient(135deg, #ffb32d, #fb9b00);

  box-shadow:
    0 22px 52px rgba(251,155,0,.34);
}

.bubble-icon {
  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  background: #fff;

  box-shadow:
    0 10px 24px rgba(251,155,0,.32);
}

.bubble-icon img {
  width: 26px;
  height: auto;
  display: block;
}

.bubble-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.bubble-text small {
  color: rgba(255,255,255,.58);
  text-transform: uppercase;
}

.bubble-text strong {
  margin-top: 4px;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: var(--ls-heading);
}

.social-bubble {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;

  display: flex;
  flex-direction: column;
  gap: 12px;
}

.social-btn {
  width: 56px;
  height: 56px;

  display: grid;
  place-items: center;

  border-radius: 50%;

  text-decoration: none;
  color: white;

  font-size: 22px;
  font-weight: 900;

  backdrop-filter: blur(18px);

  transition: .28s ease;

  border: 1px solid rgba(255,255,255,.08);

  box-shadow:
    0 14px 34px rgba(0,0,0,.18);
}

/* TikTok */
.social-btn.tiktok {
  background: linear-gradient(
    135deg,
    #111,
    #2a2a2a
  );
}

/* Facebook */
.social-btn.facebook {
  background: linear-gradient(
    135deg,
    #1877f2,
    #0f5fd1
  );
}

/* Instagram */
.social-btn.instagram {
  background: linear-gradient(
    135deg,
    #f58529,
    #dd2a7b,
    #8134af
  );
}

.social-btn:hover {
  transform: translateY(-5px) scale(1.08);

  box-shadow:
    0 22px 48px rgba(0,0,0,.24),
    0 0 24px rgba(255,255,255,.12);
}

/* Touch screens: no hover lift that sticks after a tap */
@media (hover: none) {
  .contact-bubble:hover,
  .social-btn:hover {
    transform: none;
  }
}

@media (max-width: 720px) {
  /* Footer links: smaller text, but a finger-sized tap area */
  .footer .footer-links { gap: 0 6px; }

  .footer .footer-links a {
    display: inline-block;
    padding: 10px 6px;
    font-size: 11px;
    letter-spacing: .08em;
  }

  /* Keep the floating social stack (3 x 44px + gaps) off the copyright line */
  .footer { padding-bottom: calc(170px + env(safe-area-inset-bottom, 0px)); }

  .social-bubble {
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    gap: 8px;
  }

  .social-btn {
    width: 44px;
    height: 44px;
    font-size: 17px;
  }

  .social-btn img { width: 18px !important; }

  /* Contact bubble: same pill as desktop (icon + "Need help? / Contact Us"),
     just a little more compact so it never reaches the social buttons */
  .contact-bubble {
    left: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    gap: 10px;
    padding: 8px 16px 8px 8px;
  }

  .bubble-icon {
    width: 40px;
    height: 40px;
  }

  .bubble-icon img { width: 22px; }

  .bubble-text strong { font-size: 14px; }
}