/* General */
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  section { transform: none; transition: opacity 0.4s ease-out; }
  section.section-show { transform: none; }
  .services .icon-box { transition: background 0.3s ease, border-color 0.3s ease; }
  .services .icon-box:hover { transform: none; box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15); }
}

body {
  font-family: "Open Sans", sans-serif;
  background-color: #040404;
  color: #fff;
  position: relative;
  background: transparent;
}

body::before {
  content: "";
  position: fixed;
  background: #040404;
  background-size: cover;
  left: 0;
  right: 0;
  top: 0;
  height: 100vh;
  z-index: -1;
}

@media (min-width: 1024px) {
  body::before {
    background-attachment: fixed;
  }
}

a {
  color: #5b7c99;
  text-decoration: none;
}

a:hover {
  color: #5b7c99;
  text-decoration: none;
}

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

/* Header */
#header {
  transition: ease-in-out 0.3s;
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  z-index: 997;
  overflow-y: auto;
}

#header * {
  transition: ease-in-out 0.3s;
}

#header h1 {
  font-size: 33.6px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  font-family: "Poppins", sans-serif;
  letter-spacing: 0.02em;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

#header h1 a,
#header h1 a:hover {
  color: #fff;
  line-height: 1;
  display: inline-block;
  transition: letter-spacing 0.25s ease;
}
#header h1 a:hover {
  letter-spacing: 0.06em;
}

#header h2 {
  font-size: 16px;
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.8);
}

#header h2 .header-tagline {
  font-family: "Poppins", sans-serif;
  color: #fff;
  border-bottom: 2px solid #5b7c99;
  padding-bottom: 6px;
}

.typewriter-cursor {
  animation: typewriter-blink 0.7s step-end infinite;
  margin-left: 1px;
}
@keyframes typewriter-blink {
  50% { opacity: 0; }
}

.header-contact-btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 22px;
  font-family: "Poppins", sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #fff;
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 6px;
  text-decoration: none;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}
.header-contact-btn:hover {
  color: #fff;
  border-color: #5b7c99;
  background: rgba(91, 124, 153, 0.15);
  text-decoration: none;
}
.header-contact-btn:focus-visible {
  outline: 2px solid #5b7c99;
  outline-offset: 3px;
}

/* Keyboard focus – visible outline (professional & accessible) */
.navbar a:focus-visible {
  outline: 2px solid #5b7c99;
  outline-offset: 4px;
}

#header img {
  padding: 0;
  margin: 0;
}

#header .social-links {
  margin-top: 40px;
  display: flex;
}

#header .social-links a {
  font-size: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  line-height: 1;
  margin-right: 8px;
  border-radius: 50%;
  width: 40px;
  height: 40px;
}

#header .social-links a:hover {
  background: #5b7c99;
}

@media (max-width: 992px) {
  #header h1 {
    font-size: 25.2px;
  }

  #header h2 {
    font-size: 14px;
    line-height: 1.5;
  }

  #header .social-links {
    margin-top: 15px;
  }

  #header .container {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

/* Header Top */
#header.header-top {
  height: 80px;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.9);
}

#header.header-top .social-links,
#header.header-top h2 {
  display: none;
}

#header.header-top h1 {
  margin-right: auto;
  font-size: 25.2px;
}

#header.header-top img {
  max-height: 60px;
  margin-right: 20px !important;
}

#header.header-top .container {
  display: flex;
  align-items: center;
}

#header.header-top .navbar {
  margin: 0;
}

@media (max-width: 768px) {
  #header.header-top {
    height: 60px;
  }

  #header.header-top h1 {
    font-size: 18.2px;
  }
}

/* Navigation Menu */
/* Desktop Navigation */
.navbar {
  padding: 0;
  margin-top: 35px;
}

.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}

.navbar li {
  position: relative;
}

.navbar li + li {
  margin-left: 30px;
}

.navbar a,
.navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  font-family: "Poppins", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.7);
  white-space: nowrap;
  transition: 0.3s;
}

.navbar a i,
.navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}

.navbar a:before {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: #5b7c99;
  visibility: hidden;
  width: 0px;
  transition: all 0.3s ease-in-out 0s;
}

.navbar a:hover:before,
.navbar li:hover > a:before,
.navbar .active:before {
  visibility: visible;
  width: 25px;
}

.navbar a:hover,
.navbar .active,
.navbar .active:focus,
.navbar li:hover > a {
  color: #fff;
}

/* Mobile Navigation */
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
  position: fixed;
  right: 15px;
  top: 15px;
}

@media (max-width: 991px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }
}

.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  transition: 0.3s;
  z-index: 999;
  margin-top: 0;
}

.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}

.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 45px;
  left: 15px;
  padding: 10px 0;
  overflow-y: auto;
  transition: 0.3s;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.navbar-mobile li {
  padding: 12px 20px;
}

.navbar-mobile li + li {
  margin: 0;
}

.navbar-mobile a,
.navbar-mobile a:focus {
  font-size: 16px;
  position: relative;
}

/* Sections General */
section {
  overflow: hidden;
  position: absolute;
  width: 100%;
  top: 140px;
  bottom: 100%;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease-out, transform 0.4s ease-out, top 0.4s ease-in-out, bottom 0.4s ease-in-out;
  z-index: 2;
}

section.section-show {
  top: 100px;
  bottom: auto;
  opacity: 1;
  transform: translateY(0);
  padding-bottom: 45px;
}

section .container {
  background: rgba(0, 0, 0, 0.9);
  padding: 30px;
}

@media (max-width: 768px) {
  section {
    top: 120px;
  }

  section.section-show {
    top: 80px;
  }
}

.section-title h2 {
  font-size: 14px;
  font-weight: 500;
  padding: 0;
  line-height: 1px;
  margin: 0 0 20px 0;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #aaaaaa;
  font-family: "Poppins", sans-serif;
}

.section-title h2::after {
  content: "";
  width: 120px;
  height: 1px;
  display: inline-block;
  background: #5b7c99;
  margin: 4px 10px;
}

.section-title p {
  margin: 0;
  margin: -15px 0 15px 0;
  font-size: 36px;
  font-weight: 700;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #fff;
}

/* About */
.about-me .content h3 {
  font-weight: 700;
  font-size: 26px;
  color: #5b7c99;
}

.about-me .content ul {
  list-style: none;
  padding: 0;
}

.about-me .content ul li {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
}

.about-me .content ul strong {
  margin-right: 10px;
}

.about-me .content ul i {
  font-size: 16px;
  margin-right: 5px;
  color: #5b7c99;
  line-height: 0;
}

.about-me .content p:last-child {
  margin-bottom: 0;
}

/* Skills */
.skills .progress {
  height: 60px;
  display: block;
  background: none;
  border-radius: 0;
}

.skills .progress .skill {
  padding: 10px 0;
  margin: 0;
  text-transform: uppercase;
  display: block;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  color: #fff;
}

.skills .progress .skill .val {
  float: right;
  font-style: normal;
}

.skills .progress-bar-wrap {
  background: rgba(255, 255, 255, 0.2);
}

.skills .progress-bar {
  width: 1px;
  height: 10px;
  transition: 0.9s;
  background-color: #5b7c99;
}

/* Technical skills */
.interests .icon-box {
  display: flex;
  align-items: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.08);
  transition: ease-in-out 0.3s;
}

.interests .icon-box i {
  font-size: 32px;
  padding-right: 10px;
  line-height: 1;
}

.interests .icon-box h3 {
  font-weight: 700;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-size: 16px;
  color: #fff;
}

.interests .icon-box:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Feedbacks */
.testimonials .testimonials-carousel,
.testimonials .testimonials-slider {
  overflow: hidden;
}

.testimonials .testimonial-item {
  box-sizing: content-box;
  min-height: 320px;
}

.testimonials .testimonial-item .testimonial-img {
  width: 90px;
  border-radius: 50%;
  margin: -40px 0 0 40px;
  position: relative;
  z-index: 2;
  border: 6px solid rgba(255, 255, 255, 0.12);
}

.testimonials .testimonial-item h3 {
  font-size: 18px;
  font-weight: bold;
  margin: 10px 0 5px 45px;
  color: #fff;
}

.testimonials .testimonial-item h4 {
  font-size: 14px;
  color: #999;
  margin: 0 0 0 45px;
}

.testimonials .testimonial-item .quote-icon-left,
.testimonials .testimonial-item .quote-icon-right {
  color: rgba(255, 255, 255, 0.25);
  font-size: 26px;
}

.testimonials .testimonial-item .quote-icon-left {
  display: inline-block;
  left: -5px;
  position: relative;
}

.testimonials .testimonial-item .quote-icon-right {
  display: inline-block;
  right: -5px;
  position: relative;
  top: 10px;
}

.testimonials .testimonial-item p {
  font-style: italic;
  margin: 0 15px 0 15px;
  padding: 20px 20px 60px 20px;
  background: rgba(255, 255, 255, 0.1);
  position: relative;
  border-radius: 6px;
  position: relative;
  z-index: 1;
}

.testimonials .swiper-pagination {
  margin-top: 20px;
  position: relative;
}

.testimonials .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  opacity: 1;
  background-color: rgba(255, 255, 255, 0.3);
}

.testimonials .swiper-pagination .swiper-pagination-bullet-active {
  background-color: #5b7c99;
}

/* Resume */
.resume .resume-title {
  font-size: 26px;
  font-weight: 700;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #fff;
}

.resume .resume-item {
  padding: 0 0 20px 20px;
  margin-top: -2px;
  border-left: 2px solid rgba(255, 255, 255, 0.2);
  position: relative;
}

.resume .resume-item h4 {
  line-height: 18px;
  font-size: 18px;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Poppins", sans-serif;
  color: #5b7c99;
  margin-bottom: 10px;
}

.resume .resume-item h5 {
  font-size: 16px;
  background: rgba(255, 255, 255, 0.15);
  padding: 5px 15px;
  display: inline-block;
  font-weight: 600;
  margin-bottom: 10px;
}

.resume .resume-item ul {
  padding-left: 20px;
}

.resume .resume-item ul li {
  padding-bottom: 10px;
}

.resume .resume-item:last-child {
  padding-bottom: 0;
}

.resume .resume-item::before {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  border-radius: 50px;
  left: -9px;
  top: 0;
  background: #5b7c99;
  border: 2px solid #5b7c99;
}

/* Portfolio & Projects – cards */
.services .icon-box {
  text-align: center;
  background: rgba(204, 204, 204, 0.1);
  padding: 80px 20px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.3s ease-in-out, border-color 0.3s ease-in-out;
  transform: translateY(0);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}
.services .icon-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.25);
  background: #5b7c99;
  border-color: #5b7c99;
}

.services .icon-box .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: #5b7c99;
  border-radius: 5px;
  transition: all 0.3s ease-out 0s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transform-style: preserve-3d;
}

.services .icon-box .icon i {
  color: #fff;
  font-size: 28px;
}

.services .icon-box .icon::before {
  position: absolute;
  content: "";
  left: -8px;
  top: -8px;
  height: 100%;
  width: 100%;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 5px;
  transition: all 0.3s ease-out 0s;
  transform: translateZ(-1px);
}

.services .icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
}

.services .icon-box h4 a {
  color: #fff;
}

.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}


.services .icon-box:hover .icon {
  background: #fff;
}

.services .icon-box:hover .icon i {
  color: #5b7c99;
}

.services .icon-box:hover .icon::before {
  background: #5b7c99;
}

.services .icon-box:hover h4 a,
.services .icon-box:hover p {
  color: #fff;
}

/* Contact */
.contact .info-box {
  color: #444444;
  padding: 20px;
  width: 100%;
  background: rgba(255, 255, 255, 0.08);
}

.contact .info-box i.bx {
  font-size: 24px;
  color: #5b7c99;
  border-radius: 50%;
  padding: 14px;
  float: left;
  background: rgba(255, 255, 255, 0.1);
}

.contact .info-box h3 {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  margin: 10px 0 8px 68px;
}

.contact .info-box p {
  padding: 0;
  color: #fff;
  line-height: 24px;
  font-size: 14px;
  margin: 0 0 0 68px;
}

.contact .info-box .social-links {
  margin: 5px 0 0 68px;
  display: flex;
}

.contact .info-box .social-links a {
  font-size: 18px;
  display: inline-block;
  color: #fff;
  line-height: 1;
  margin-right: 12px;
  transition: 0.3s;
}

.contact .info-box .social-links a:hover {
  color: #5b7c99;
}

.contact .php-email-form {
  padding: 30px;
  background: rgba(255, 255, 255, 0.08);
}

.contact .php-email-form .error-message {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .error-message br + br {
  margin-top: 25px;
}

.contact .php-email-form .sent-message {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  background: #5b7c99;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}

.contact .php-email-form .loading {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  padding: 15px;
}

.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #5b7c99;
  border-top-color: #eee;
  animation: animate-loading 1s linear infinite;
}

.contact .php-email-form input,
.contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 0;
  transition: 0.3s;
  color: #fff;
}

.contact .php-email-form input:focus,
.contact .php-email-form textarea:focus {
  background-color: rgba(255, 255, 255, 0.11);
}

.contact .php-email-form input::-moz-placeholder,
.contact .php-email-form textarea::-moz-placeholder {
  color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.contact .php-email-form input::placeholder,
.contact .php-email-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
  opacity: 1;
}

.contact .php-email-form input {
  padding: 10px 15px;
}

.contact .php-email-form textarea {
  padding: 12px 15px;
}

.contact .php-email-form button[type="submit"] {
  background: #5b7c99;
  border: 0;
  padding: 10px 30px;
  color: #fff;
  transition: 0.4s;
  border-radius: 4px;
}

.contact .php-email-form button[type="submit"]:hover {
  background: #5b7c99;
}

@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Background */

#stars-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(180deg, #0a0a0a 0%, #111827 100%);
}

/* Button to open projects */

.btn-cta {
  margin-top: 10px;
  display: inline-block;
  padding: 12px 28px;
  background: linear-gradient(135deg, #111827, #000000);
  color: #fff;
  font-weight: 600;
  border-radius: 30px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5);
}

.btn-cta:hover {
  color: #fff;
  box-shadow: 0 6px 20px rgba(2, 2, 2, 0.5);
  transform: translateY(-1px);
}

.btn-cta:active {
  transform: scale(0.95);
}

#header.header-top .cta-container,
#header.header-top .header-contact-btn {
  display: none !important;
}

.cookie-banner {
  position: fixed;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.85);
  color: #fff;
  padding: 12px 18px;
  border-radius: 8px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 14px;
  z-index: 1000;
  width: 90%;
  max-width: 900px;
  box-sizing: border-box;
}

.cookie-banner p {
  margin: 0;
  flex: 1;
  min-width: 0;
  line-height: 1.5;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

@media (max-width: 576px) {
  .cookie-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
    padding: 14px 16px;
    text-align: center;
  }
  .cookie-actions {
    justify-content: center;
  }
}

.cookie-banner a {
  color: #5b7c99;
  text-decoration: underline;
}

.cookie-banner button {
  background: #111827;
  color: #fff;
  border: none;
  padding: 6px 14px;
  cursor: pointer;
  border-radius: 5px;
  font-size: 14px;
  transition: background 0.2s ease;
}

.contact .info-box .social-links a.github:hover {
  color: #fff;
  background: #333;
}

/* Portfolio: všetky texty biele */
#portfolio .icon-box h4,
#portfolio .icon-box h4 a,
#portfolio .icon-box h4 a:hover,
#portfolio .icon-box p,
#portfolio .icon-box p em,
#portfolio .portfolio-tech-tags span,
#portfolio .portfolio-badge,
#portfolio .portfolio-badge-live,
#portfolio .portfolio-badge-archive,
#portfolio .portfolio-badge-internal,
#portfolio .services a.portfolio-tile-link,
#portfolio .services a.portfolio-tile-link:hover,
#portfolio .services a.portfolio-tile-link h4,
#portfolio .services a.portfolio-tile-link p,
#portfolio .services a.portfolio-tile-link p em {
  color: #fff !important;
}

#portfolio .portfolio-tile-link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
#portfolio .portfolio-tile-link:hover {
  text-decoration: none;
}

#portfolio .portfolio-other-list {
  margin: 0 0 0 0.8em;
  padding-left: 0.6em;
  list-style: disc;
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}
#portfolio .portfolio-other-list li {
  margin-bottom: 0.5em;
}
#portfolio .portfolio-other-list li:last-child {
  margin-bottom: 0;
}

/* Portfolio: Autiva – klikateľná dlaždica + lightbox */
#portfolio .portfolio-tile-autiva {
  cursor: pointer;
}
.portfolio-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  visibility: hidden;
  pointer-events: none;
}
.portfolio-lightbox.is-open {
  display: flex;
  visibility: visible;
  pointer-events: auto;
}
.portfolio-lightbox:not(.is-open) .portfolio-lightbox-img {
  display: none !important;
  visibility: hidden !important;
}
.portfolio-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  cursor: pointer;
}
.portfolio-lightbox-close {
  position: absolute;
  top: 16px;
  right: 20px;
  z-index: 10001;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  border-radius: 50%;
  transition: background 0.2s, color 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.portfolio-lightbox-close:hover {
  background: #fff;
  color: #111;
}
.portfolio-lightbox-content {
  position: relative;
  z-index: 10000;
  max-width: 48vw;
  max-height: 55vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.portfolio-lightbox-img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  transform: scale(0.88);
  opacity: 0;
  transition: transform 0.4s ease-out, opacity 0.35s ease-out;
}
.portfolio-lightbox.is-open .portfolio-lightbox-img {
  transform: scale(1);
  opacity: 1;
}

.portfolio-lightbox-caption {
  margin-top: 16px;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 14px;
  max-width: 520px;
  line-height: 1.5;
}

#header h1 a .header-logo {
  display: none;
  vertical-align: middle;
  margin-right: 10px;
  border-radius: 8px;
}

#header.header-top h1 a .header-logo {
  display: inline-block;
}

#header.header-top h1 a {
  display: inline-flex;
  align-items: center;
}

.header-intro {
  display: none;
}

.availability-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 20px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(91, 124, 153, 0.2);
  border: 1px solid rgba(91, 124, 153, 0.45);
  font-size: 14px;
  color: #e5e7eb;
}

.availability-strip .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4ade80;
  flex-shrink: 0;
}

#project-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
}

#project-filters .project-filter-btn {
  padding: 8px 18px;
  border-radius: 999px;
  border: 1px solid rgba(91, 124, 153, 0.45);
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-size: 13px;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}

#project-filters .project-filter-btn:hover,
#project-filters .project-filter-btn.filter-active {
  background: rgba(91, 124, 153, 0.35);
  border-color: #5b7c99;
}

.portfolio-badge {
  display: inline-block;
  margin-bottom: 10px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(91, 124, 153, 0.25);
  border: 1px solid rgba(91, 124, 153, 0.5);
  color: #c8d9e8;
}

.portfolio-badge-live { background: rgba(74, 222, 128, 0.15); border-color: rgba(74, 222, 128, 0.45); color: #bbf7d0; }
.portfolio-badge-archive { background: rgba(251, 191, 36, 0.12); border-color: rgba(251, 191, 36, 0.4); color: #fde68a; }
.portfolio-badge-internal { background: rgba(147, 197, 253, 0.12); border-color: rgba(147, 197, 253, 0.4); color: #bfdbfe; }

.portfolio-tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 12px;
}

.portfolio-tech-tags span {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
}

#portfolio .col.d-flex {
  align-items: stretch;
}

#portfolio .icon-box,
#portfolio a.icon-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  width: 100%;
}

#portfolio .icon-box p {
  flex: 1 0 auto;
  margin-bottom: 0;
}

#portfolio .portfolio-tech-tags {
  margin-top: auto;
  padding-top: 14px;
  padding-bottom: 3px;
  justify-content: center;
  width: 100%;
}

#portfolio .icon-box .portfolio-badge {
  align-self: center;
  margin-bottom: 10px;
  transform: translateY(-3px);
}

.resume-actions {
  margin-bottom: 20px;
}

.resume-toggle {
  margin-top: 12px;
  padding: 6px 14px;
  border-radius: 6px;
  border: 1px solid rgba(91, 124, 153, 0.5);
  background: transparent;
  color: #5b7c99;
  font-size: 13px;
  cursor: pointer;
}

.resume-toggle:hover {
  background: rgba(91, 124, 153, 0.15);
}

.resume-details-collapsed {
  display: none;
}

.resume-details-collapsed.resume-details-open {
  display: block;
}

.site-footer {
  position: relative;
  z-index: 3;
  padding: 20px 0 30px;
}

.site-footer-text {
  margin: 0;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.55);
}

.site-footer-text a {
  color: rgba(255, 255, 255, 0.7);
}

.site-footer-text a:hover {
  color: #5b7c99;
}

#header .social-links a.github:hover {
  background: #333;
  color: #fff;
}

.pdf-progress {
  margin-top: 10px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  display: none;
}

.pdf-progress-bar {
  height: 100%;
  width: 0%;
  background: #5b7c99;
  transition: width 0.2s ease;
}

.tz-favorites {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 16px;
}

.tz-fav-btn {
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(91, 124, 153, 0.45);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 12px;
  cursor: pointer;
}

.tz-fav-btn:hover {
  background: rgba(91, 124, 153, 0.25);
}

.tz-search-wrap {
  margin-bottom: 8px;
}

.tz-search-wrap input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 0.9rem;
}

.budgetham-onboarding {
  margin: 0 0 20px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(91, 124, 153, 0.12);
  border: 1px solid rgba(91, 124, 153, 0.35);
  font-size: 14px;
  line-height: 1.5;
}

.budgetham-back-banner {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(17, 24, 39, 0.95);
  border-bottom: 1px solid rgba(91, 124, 153, 0.35);
  padding: 12px 5%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.budgetham-back-banner a {
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.budgetham-back-banner a:hover {
  color: #5b7c99;
}

.tool-meta-box {
  margin-top: 20px;
  padding: 14px 18px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.tool-meta-box dt {
  font-weight: 600;
  color: #5b7c99;
  margin-top: 8px;
}

.tool-meta-box dt:first-child {
  margin-top: 0;
}

.calendar-qr-wrap {
  text-align: center;
  margin: 20px 0;
  padding: 16px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
}

.calendar-qr-wrap img {
  border-radius: 8px;
  background: #fff;
  padding: 8px;
}
