@charset "UTF-8";
body {
  background-color: #000;
  color: lightgrey;
}

.bg-dark {
  background-color: rgba(0, 0, 0, 0.5) !important;
}

.bg-grey {
  background-color: rgba(32, 30, 28, 0.7) !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px; /* Match your navbar height */
}

/* Responsive Text */
.xl-text {
  font-size: 65px;
}

/* Animation title */
.title-pop {
  animation: titlePopAnimation 1.2s both ease;
  /* Remove animation-timeline for compatibility */
}

@keyframes titlePopAnimation {
  from {
    filter: blur(10px);
    transform: translateY(-200px) scale(0);
    opacity: 0.2;
  }
  50% {
    opacity: 1;
    filter: blur(0);
    transform: translateX(0) scale(1);
  }
}
/*Buttons*/
.btn-primary {
  background: linear-gradient(225deg, #ff5f1f 0%, #fe019a 100%);
  border: none;
  color: white;
  transition: background 0.4s ease, transform 0.2s ease;
  background-size: 200% 200%;
  background-position: center;
  border-radius: 0.5rem;
}
.btn-primary:hover {
  background-position: bottom left;
  transform: scale(1.03);
}
.btn-primary:focus {
  box-shadow: 0 0 0 0.25rem rgba(254, 1, 154, 0.4);
}

.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  min-width: 100%;
  min-height: 100%;
  object-fit: cover;
  z-index: -1;
  pointer-events: none;
}

/* Hero header */
.header {
  position: relative;
  height: 620px;
  overflow: hidden;
  color: white;
  display: flex;
  align-items: center;
  padding-top: 20px;
}

/* Side hero vid */
.hero-vid-box {
  position: absolute;
  top: 50%;
  right: 5%;
  transform: translateY(-50%);
  opacity: 0.7;
  mix-blend-mode: lighten;
}

.hero-vid-box video {
  height: 880px;
  pointer-events: none;
}

.header .container {
  position: relative;
  z-index: 1;
  padding-top: 40px;
}

/* NAVBAR */
.navbar {
  transition: all 0.25s ease-in-out;
  background-color: rgba(0, 0, 0, 0.9);
  position: sticky;
  top: 0;
  z-index: 999;
  padding-top: 0.3rem; /* Reduce vertical padding */
  padding-bottom: 0.3rem;
}

.navbar .container-fluid {
  padding-top: 0; /* Remove extra padding inside */
  padding-bottom: 0;
}

.navbar-brand img {
  max-height: 80px; /* Make sure logo height isn’t too tall */
  height: auto;
}

.navbar-sticky {
  background-color: rgba(0, 0, 0, 0.9) !important;
}

.navbar-nav .nav-link {
  color: #ccc;
  transition: color 0.3s ease, text-shadow 0.3s ease;
  position: relative;
  letter-spacing: 0.4px;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #fe019a;
  text-shadow: 0 0 10px rgba(254, 1, 154, 0.4);
  font-weight: 600;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  width: 0%;
  height: 2px;
  left: 0;
  bottom: -5px;
  background-color: #fe019a;
  transition: width 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  width: 100%;
}

.navbar-nav .nav-link.active {
  color: #fe019a;
  font-weight: 700;
  border-bottom: 2px solid #fe019a;
}

/* 🌈 Gradient Text Animation */
.gradient {
  background: linear-gradient(to right, #fe019a, #e6004c, #ff5f1f, #ff9c3b, #ff5f1f, #d4007c, #fe019a);
  background-size: 200%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: animate-gradient 2.5s linear infinite;
}

/* ✨ Gradient Animation Keyframes */
@keyframes animate-gradient {
  to {
    background-position: 200%;
  }
}
/* 💫 Gradient Border Button */
.btn-outline-primary {
  color: white;
  background-color: transparent;
  border: 2px solid transparent;
  border-radius: 50rem;
  background-image: linear-gradient(#201e1c, #201e1c), linear-gradient(to right, #fe019a, #e6004c, #ff5f1f, #ff9c3b, #ff5f1f, #d4007c, #fe019a);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  animation: animate-gradient 2.5s linear infinite;
  background-size: 100%, 200%;
}

@keyframes glow-pulse {
  0%, 100% {
    box-shadow: 0 0 8px #e6004c, 0 0 8px #ff5f1f, 0 0 8px #ff9c3b;
  }
  50% {
    box-shadow: 0 0 12px #e6004c, 0 0 12px #ff5f1f, 0 0 12px #ff9c3b;
  }
}
.btn-outline-primary:hover {
  color: white;
  background-color: #201e1c;
  transform: scale(1.03);
  animation: glow-pulse 1.4s ease-in-out infinite;
  transition: all 0.3s ease-in-out;
}

@keyframes animate-gradient {
  0% {
    background-position: 0%;
  }
  100% {
    background-position: 200%;
  }
}
/* PORTFOLIO */
.image-container.big {
  height: 340px;
  overflow: hidden;
}

.image-container.small {
  height: 150px;
  overflow: hidden;
}

.image-container video,
.image-container img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  display: block;
  border-top-left-radius: 0.25rem;
  border-top-right-radius: 0.25rem;
}

.small-card {
  cursor: pointer;
  display: block;
}

.small-project .image-container {
  height: 260px; /* or whatever height feels right */
  overflow: hidden;
}

.small-project img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.projects .card a {
  color: inherit;
  text-decoration: none;
}

.swiper-button-next,
.swiper-button-prev {
  color: white;
  /* or use your accent color */
}

/* Swiper arrows styling */
.swiper-button-next,
.swiper-button-prev {
  color: var(--bs-light); /* or any color variable you use */
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.4); /* darker shadow */
  filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.4));
  z-index: 10;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  color: var(--bs-primary);
}

/* Swiper pagination dots container (centered if needed) */
.swiper-pagination {
  position: relative;
  margin-top: 1rem;
  text-align: center;
  z-index: 9;
}

/* All dots */
.swiper-pagination-bullet {
  background-color: var(--bs-nero); /* Inactive dots */
  opacity: 1; /* Ensure they're visible */
  width: 12px;
  height: 12px;
  margin: 0 6px !important;
  transition: background-color 0.3s ease;
  border-radius: 50%;
}

/* Active dot */
.swiper-pagination-bullet-active {
  background-color: var(--bs-primary); /* Active dot */
}

/* MODAL */
/* Modal z-index overrides */
.modal {
  z-index: 1060 !important;
  opacity: 1;
  position: fixed;
  pointer-events: all;
}

.modal-backdrop {
  z-index: 1050 !important;
  opacity: 0.5 !important;
  pointer-events: auto !important;
}

body.modal-open .video-bg,
body.modal-open .content-overlay,
body.modal-open .header {
  pointer-events: none !important;
  user-select: none !important;
}

.project-modals .modal-dialog {
  max-width: 1150px;
  margin-top: 130px;
}

.tools-container {
  border-radius: 0.5rem; /* rounded-2 */
  padding: 1rem;
  display: block;
}

.badge-gradient {
  background: linear-gradient(135deg, rgba(254, 1, 154, 0.6), rgba(255, 95, 31, 0.6), rgba(255, 156, 59, 0.6));
  color: #000;
  font-weight: 500;
  font-size: 0.75rem; /* Small badge text */
  padding: 0.35rem 0.75rem;
  border-radius: 0.375rem;
  box-shadow: 0 2px 6px rgba(255, 95, 31, 0.3);
  user-select: none;
  display: inline-block;
}

.tools-container {
  border-radius: 0.5rem; /* Bootstrap rounded-2 */
  padding: 1rem 1.25rem; /* More space on left/right */
  width: 100%; /* Fill available column width */
  margin-left: auto;
  margin-right: auto;
  background-color: #252528; /* Optional: ensure bg matches modal */
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, auto));
  gap: 0.5rem;
  justify-content: start;
  margin-left: 0.25rem;
  margin-right: 0.25rem;
}

.badge-gradient {
  background: linear-gradient(135deg, rgba(254, 1, 154, 0.6), rgba(255, 95, 31, 0.6), rgba(255, 156, 59, 0.6));
  color: #000;
  font-weight: 500;
  font-size: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 0.375rem;
  box-shadow: 0 2px 6px rgba(255, 95, 31, 0.3);
  user-select: none;
  display: inline-block;
}

.skills-section {
  position: relative;
  height: 100vh;
  z-index: 5;
}

.skills-box {
  height: 90vh;
  position: relative;
  width: 100%;
}

.skills-bulb {
  mix-blend-mode: lighten;
  opacity: 0.7;
  width: 85%;
}

.dev,
.graphic {
  position: absolute;
  top: 25%;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateY(-25%);
}

.dev {
  left: 1rem;
}

.graphic {
  right: 1rem;
}

.dev ul,
.graphic ul {
  list-style-type: disc;
  padding-left: 1rem;
  margin-bottom: 0;
}

.techstack {
  position: absolute;
  bottom: 5%;
  right: 20%;
  width: 60%;
  height: var(--height);
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 10% 90%, transparent);
  mix-blend-mode: difference;
  opacity: 0.8;
  z-index: 2;
}

.techstack .techs {
  display: flex;
  width: 100%;
  min-width: calc(var(--width) * var(--quantity));
  position: relative;
  z-index: 2;
}

.techstack .techs .item {
  width: var(--width);
  height: var(--height);
  position: absolute;
  left: 100%;
  animation: autoRun 15s linear infinite;
  transition: filter 0.5s;
  animation-delay: calc(15s / var(--quantity) * (var(--position) - 1) - 15s) !important;
}

.techstack .techs .item img {
  width: 100%;
}

@keyframes autoRun {
  from {
    left: 100%;
  }
  to {
    left: calc(var(--width) * -1);
  }
}
.techstack:hover .item {
  animation-play-state: paused !important;
  filter: grayscale(0.5);
}

.techstack .item:hover {
  transform: scale(1.1);
  filter: drop-shadow(0 0 6px rgba(254, 1, 154, 0.5)) drop-shadow(0 0 12px rgba(254, 1, 154, 0.5));
}

/* SERVICES */
.gradient-border-card {
  color: lightgray;
  border: 2px solid transparent;
  border-radius: 0.5rem;
  background-image: linear-gradient(rgb(0, 0, 0), rgb(0, 0, 0)), linear-gradient(to right, #fe019a, #e6004c, #ff5f1f, #ff9c3b, #ff5f1f, #d4007c, #fe019a);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  animation: animate-gradient 2.5s linear infinite;
  background-size: 100%, 200%;
}

@keyframes animate-gradient {
  to {
    background-position: 200%;
  }
}
.image-container {
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: 12px;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Combined Glassy Dark Card */
.card.bg-dark {
  background: linear-gradient(135deg, #171717, #121212, #0d0d0d, #1f1f1f, #131313);
  background-color: rgba(30, 30, 30, 0.3); /* Glass tint */
  border-radius: 0.75rem;
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  /* layered shadows for 3D depth */
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.07), 0 4px 8px rgba(0, 0, 0, 0.5), 0 10px 25px rgba(0, 0, 0, 0.3); /* soft bigger shadow */
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card.bg-dark:hover {
  transform: scale(1.04);
  box-shadow: -15px -15px 10px rgba(254, 1, 154, 0.0666666667), -10px -10px 9px rgba(230, 0, 76, 0.0666666667), 15px -15px 11px rgba(255, 95, 31, 0.1098039216), 15px 0px 10px rgba(255, 193, 59, 0.0666666667), -10px 15px 9px rgba(212, 0, 124, 0.0666666667), 0 15px 12.5px rgba(254, 1, 154, 0.0666666667), 0 6px 6px rgba(0, 0, 0, 0.15), 0 15px 20px rgba(254, 1, 154, 0.03);
}

/* Icon circle outline with primary color and subtle shadow */
.icon-circle-outline {
  border: 3px solid rgba(254, 1, 154, 0.7);
  box-shadow: 0 0 8px rgba(254, 1, 154, 0.4);
  border-radius: 50%;
  padding: 1rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 80px;
  height: 80px;
  margin: 1rem auto;
}

/* Tighter spacing for text */
.card-body ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.card-body li {
  margin-bottom: 0.4rem;
}

/* Equal-height services cards */
#services .row {
  display: flex;
  flex-wrap: wrap;
}

#services .card {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  height: 100%;
}

#services .col-xl-4,
#services .col-lg-6,
#services .col-sm-6,
#services .col-12 {
  margin-bottom: 1.5rem; /* only space below each card */
}

/* PRICING */
/*  Gradient Banner Badge */
.gradient-banner {
  background: linear-gradient(135deg, rgba(254, 1, 154, 0.6), rgba(255, 95, 31, 0.6), rgba(255, 156, 59, 0.6));
  color: white;
  padding: 0.3rem 1rem;
  border-radius: 0.5rem;
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  user-select: none;
  box-shadow: 0 2px 6px rgba(255, 95, 31, 0.4);
}

.pricing-card:hover {
  transform: scale(1.04);
  /* layered shadows for 3D depth */
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.07), 0 4px 8px rgba(0, 0, 0, 0.5), 0 10px 25px rgba(0, 0, 0, 0.3); /* soft bigger shadow */
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* GALLERY */
.gallery-item {
  break-inside: avoid;
  margin-bottom: 1rem;
  /* Remove opacity & transform to let AOS handle animation */
  display: none; /* Hide all by default */
}

.gallery-item.visible {
  display: block; /* Show visible items */
}

.gallery-item img,
.gallery-item video {
  width: 100%;
  display: block;
  border-radius: 10px;
  transition: transform 0.3s ease, filter 0.3s ease;
  object-fit: cover;
}

.gallery-item img:hover,
.gallery-item video:hover {
  transform: scale(1.03);
  filter: drop-shadow(0 0 8px rgba(254, 1, 154, 0.35)) drop-shadow(0 0 16px rgba(254, 1, 154, 0.35));
}

.masonry-layout {
  column-count: 4;
  column-gap: 1rem;
  padding: 2rem;
}

/* FORM */
.form-control:focus {
  border-color: var(--bs-primary); /* uses Bootstrap’s primary color variable */
  outline: none;
}

.footer .footer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 1030;
  pointer-events: auto;
}

.footer i {
  transition: color 0.3s ease;
  color: #aaa; /* muted default color */
}

.footer a:hover i,
.footer a:focus i {
  color: #fe019a;
}

input::placeholder {
  color: rgba(204, 204, 204, 0.3254901961) !important;
  opacity: 1 !important;
}

/* MEDIA QUERIES*/
@media (max-aspect-ratio: 16/9) {
  .video-bg {
    width: auto;
    height: 100%;
  }
}
@media (min-aspect-ratio: 16/9) {
  .video-bg {
    width: 100%;
    height: auto;
  }
}
/* Media Queries*/
@media (max-width: 480px) {
  .masonry-layout {
    column-count: 1;
  }
  .hero-vid-box video {
    height: 300px !important;
  }
}
@media (max-width: 576px) {
  .replace-me {
    font-size: 35px !important;
    white-space: normal;
  }
  .xl-text {
    font-size: 45px;
  }
}
@media (max-width: 768px) {
  .modal-content .image-container {
    height: 250px;
  }
  .masonry-layout {
    column-count: 2;
  }
  .footer {
    display: none !important;
  }
  header.header {
    position: relative;
    height: 80vh; /* controls vertical height */
    overflow: hidden;
  }
  .hero-vid-box {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
  }
  .hero-vid-box video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 0.6;
    transform: translate(5%, 25%);
  }
  /* Content container inside header */
  #home.container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: flex-start; /* pushes text up */
    height: 100%;
  }
  /* Text sizing and spacing */
  .header .row {
    align-items: flex-start !important;
    padding-top: 2rem;
    min-height: 50vh;
  }
  .xl-text {
    font-size: 1.75rem; /* Smaller heading on mobile */
    margin-top: 1rem; /* Pulls it up more */
    margin-bottom: 1rem; /* Pulls it up more */
  }
  .replace-me {
    font-size: 1.2rem;
  }
  .lead {
    font-size: 1rem;
    margin-top: 0.5rem;
  }
  .masonry-layout {
    column-count: 1 !important; /* force one column */
    padding: 3rem; /* adjust padding if needed */
  }
  #pricing .col-xl-4,
  #pricing .col-lg-6,
  #pricing .col-sm-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
@media (max-width: 992px) {
  .header {
    text-align: center;
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.9)), url("../images/header-background.jpg") center center no-repeat;
  }
  .pricing .card-body {
    margin-bottom: 10px;
  }
  .image-container {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: 12px;
    transition: box-shadow 0.3s ease; /* 🔹 Lift effect */
  }
  .image-container:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3); /* 🔹 Fancy hover lift */
  }
  .image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease; /* 🔹 Smooth zoom */
  }
  .image-container:hover img {
    transform: scale(1.05); /* 🔹 Zoom on hover */
  }
  .display-6 {
    font-size: 20px !important;
  }
  .xl-text {
    font-size: 45px !important;
  }
  .xl-text .replace-me {
    font-size: 35px !important;
  }
  #projects .row {
    flex-direction: column !important;
  }
  #projects .col-md-7,
  #projects .col-md-5 {
    width: 100% !important;
    max-width: 100%;
  }
  #projects .small-project {
    margin-bottom: 1rem;
  }
  .small-project {
    flex: 0 0 100% !important; /* full width */
    max-width: 100% !important; /* no width limit */
  }
  /* Optional: make the container column full width too */
  .col-md-5 {
    max-width: 100% !important;
    flex: 0 0 100% !important;
  }
  .small-project {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
  /* Force the image container to match the big project's height */
  .small-project .image-container {
    height: 400px !important; /* Adjust to your big project image container height */
    min-height: 400px !important;
    overflow: hidden !important;
  }
  /* Make the image fill the container */
  .small-project .image-container img {
    height: 100% !important;
    width: 100% !important;
    object-fit: cover !important;
    display: block !important;
  }
  .modal-lg {
    max-width: 100%; /* full width on smaller screens */
    margin: 1rem; /* some breathing room */
  }
  #contact .col-md-6 {
    display: none !important;
  }
  /* Center and resize the form section */
  #contact .col-md-5 {
    margin: 0 auto !important;
    float: none !important;
    width: 100%;
    max-width: 600px;
    padding: 0 1rem;
  }
  /* Optional: Adjust text alignment if you want center-aligned text on small screens */
  #contact .text-start {
    text-align: center !important;
  }
  /* Optional: Center the header HR under new alignment */
  #contact hr.w-25 {
    margin-left: auto;
    margin-right: auto;
  }
}
/* Large Modal Settings */
@media (min-width: 1200px) {
  .modal-lg {
    max-width: 1200px;
  }
  .skills-bulb {
    margin-bottom: 0%; /* maybe less intrusive */
  }
  /* Image Container for Modals */
  .modal-content .image-container {
    height: 400px; /* Keep your existing height */
  }
}
@media (max-width: 1026px) {
  .masonry-layout {
    column-count: 3;
  }
  .project-modals .modal-dialog {
    max-width: 95% !important;
    margin: 1rem auto !important;
  }
  .project-modals .modal-content {
    padding: 1rem !important;
  }
  .project-modals .row {
    flex-direction: column;
  }
  .project-modals .col-md-6 {
    width: 100%;
    max-width: 100%;
  }
  .project-modals img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .project-modals h3 {
    padding-top: 1rem; /* same as pt-3 */
  }
  .skills-section {
    height: auto; /* let height adjust */
  }
  .skills-box {
    height: auto;
  }
  .dev,
  .graphic {
    position: static !important; /* remove absolute positioning */
    max-width: 100% !important;
    width: 100%; /* or 100%, whatever you want */
    transform: none !important; /* remove translate */
    align-items: center;
    text-align: center;
  }
  .dev ul,
  .graphic ul {
    list-style: none;
    padding-left: 0;
    margin-left: 0; /* optional: removes browser indent */
  }
  .skills-bulb {
    width: 100%; /* smaller or adjust so it fits nicely */
    opacity: 0.65; /* maybe less intrusive */
  }
  .techstack {
    position: relative;
    bottom: auto;
    right: auto;
    width: 100%;
    margin-top: 2rem;
    mask-image: none;
    /* avoid clipping */
  }
  .row.mb-5 {
    margin-bottom: 1rem !important;
  }
  .footer .row {
    flex-direction: column;
    text-align: center;
  }
  .footer .col-md-4 {
    width: 100%;
    margin: 0 auto;
    margin-bottom: 1rem;
  }
  .footer .col-md-4 h6 {
    text-align: center !important;
  }
  .footer .col-md-4.text-end,
  .footer .col-md-4.text-start {
    text-align: center !important;
  }
  .footer .col-md-4 .mb-0 {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
  }
}
@media (max-width: 1200px) {
  .hero-vid-box video {
    height: 570px !important;
  }
  .display-6 {
    font-size: 30px !important;
  }
}
/* Large Modal Settings */
@media (min-width: 1200px) {
  .modal-lg {
    max-width: 1200px;
  }
}
/* Image Container for Modals */
.modal-content .image-container {
  height: 400px; /* Adjust if needed */
}

.xl-text {
  font-size: 50px;
}

@media (min-width: 1400px) {
  .xl-text {
    font-size: 65px;
  }
}
