@import "tailwindcss";

.footer-link {
  color: #a1a1aa;

  transition: 0.3s;
}

.footer-link:hover {
  color: #14b8a6;

  padding-left: 6px;
}

.footer-social {
  padding: 10px 16px;
  border: 1px solid #27272a;
  border-radius: 999px;
  color: #d4d4d8;
  transition: 0.3s;
}
.footer-social {
  color: #000000; /* Light mode */
}

.dark .footer-social {
  color: #d4d4d8; /* Dark mode */
}

.footer-social:hover {
  background: #14b8a6;

  color: #fff;

  border-color: #14b8a6;

  transform: translateY(-3px);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  font-family: "DM Sans", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "PT Sans", sans-serif;
}

body {
  transition:
    background-color 0.3s,
    color 0.3s;
}

/* noise overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.05'/%3E%3C/svg%3E");
}

/* scrollbar */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #0d9488;
  border-radius: 99px;
}

/* reveal on scroll */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.d1 {
  transition-delay: 0.1s;
}

.d2 {
  transition-delay: 0.2s;
}

.d3 {
  transition-delay: 0.3s;
}

.d4 {
  transition-delay: 0.4s;
}

/* nav underline animation */
.nl {
  position: relative;
}

.nl::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: currentColor;
  transition: width 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.nl:hover::after,
.nl.on::after {
  width: 100%;
}

.nl.on {
  font-weight: 500;
}

/* shimmer button */
.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: rgba(255, 255, 255, 0.18);
  transform: skewX(-20deg);
  transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.shimmer:hover::after {
  left: 160%;
}

/* photo frames */
.pf {
  overflow: hidden;
  background: #d4d4d8;
}

.pf img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Hero image hover (moved from invalid inline style) */
.hero-pic {
  display: block;
  width: 100%;
  height: auto;
  transition:
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.hero-pic:hover {
  box-shadow: 0 0 20px rgba(13, 148, 136, 0.5);
  transform: translateY(-2px);
}

/* card hover */
.card-h {
  transition:
    transform 0.28s cubic-bezier(0.4, 0, 0.2, 1),
    border-color 0.18s;
}

.card-h:hover {
  transform: translateY(-4px);
}

/* skill tag */
.stag {
  transition: border-color 0.18s;
}

[x-cloak] {
  display: none !important;
}

/* ===========================
   Floating Social Dock
=========================== */
.social-dock {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);

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

  padding: 14px 24px;

  background: rgba(24, 24, 27, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 999px;

  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);

  z-index: 99999;
}

.social-dock a {
  width: 48px;
  height: 48px;

  display: flex;
  justify-content: center;
  align-items: center;

  color: #d4d4d8;
  text-decoration: none;

  border-radius: 50%;

  transition: 0.3s ease;
}

.social-dock a:hover {
  color: #14b8a6;
  background: rgba(20, 184, 166, 0.12);
  transform: translateY(-4px) scale(1.08);
}

.social-dock i {
  font-size: 22px;
}
.floatingBar {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);

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

  background: rgba(24, 24, 27, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);

  z-index: 9999;
}

/* ===========================
   SKILLS SECTION
=========================== */

.skills-heading {
  text-align: center;
  margin: 50px auto;
}

.skills-subtitle {
  color: #14b8a6;

  font-size: 0.85rem;
  font-weight: 400;

  letter-spacing: 4px;
  text-transform: uppercase;

  margin-bottom: 10px;
}

.skills-title {
  color: white;

  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 550;

  line-height: 1;
  margin-bottom: 10px;
}

.skills-section {
  position: relative;

  min-height: 100vh;

  display: flex;
  flex-direction: column;

  justify-content: center;
  align-items: center;

  overflow: hidden;

  padding: 20px 20px;
}

/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 900px) {
  /* carousel styles removed */
}

@media (max-width: 640px) {
  .skill-title {
    font-size: 1.7rem;
  }
  /* carousel styles removed */
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-12px);
  }
}
html,
body,
section,
header,
article,
div,
nav,
footer,
button,
a {
  transition:
    background-color 0.35s ease,
    color 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}
::selection {
  background: #14b8a6;
  color: white;
}

html {
  scroll-behavior: smooth;
}

img {
  user-select: none;
  -webkit-user-drag: none;
}
