@import "variable.css";
@import "themes.css";

/* ========================
    Hero utilities 
=========================== */

.primary-hero-heading {
  font-size: clamp(1.7rem, 4vw, 3rem);
  color: var(--text-primary-accent);
  font-weight: var(--fw-medium);
  font-family: var(--ff-heading);
  text-shadow: var(--text-primary-shadow);
}

.hero-highlight-text {
  color: var(--accent);
  font-weight: var(--fw-bold);
  font-family: var(--ff-heading);
  text-shadow: var(--text-primary-shadow);
  text-transform: uppercase;
}

.secondary-hero-heading {
  font-size: clamp(1.2rem, 2vw, 1.4rem);
  color: var(--accent-secondary);
  font-weight: var(--fw-medium);
  font-family: var(--ff-heading);
  text-shadow: var(--text-primary-shadow);
}

.tertiary-hero-heading {
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--text-secondary-accent);
  font-weight: var(--fw-regular);
  font-family: var(--ff-base);
  text-shadow: var(--text-primary-shadow);
}

/* ============================== */

/* ========================
    Button utilities 
=========================== */

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3) var(--space-5);
  border-radius: 5px;
  font-family: var(--ff-heading);
  font-weight: var(--fw-semibold);
  font-size: var(--fs-300);
  color: var(--text-primary-accent);
  background: var(--accent-transparent);
  border: 1px solid var(--accent);
  backdrop-filter: blur(var(--px-14));
  -webkit-backdrop-filter: blur(var(--px-14));
  box-shadow: 2px 2px 0px 0px var(--button-shadow);
  transition: background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
  text-shadow: var(--text-primary-shadow);
  text-transform: uppercase;
  padding: var(--space-4);
}

.btn-glass:hover {
  box-shadow: 4px 4px 0px 0px var(--button-shadow);
  transform: translateY(-2px);
}

.btn-glass:active {
  box-shadow: 0px 0px 0px 0px var(--button-shadow);
  transform: translate(2px, 2px);
}

.btn-glass-small {
  padding: var(--space-3);
  font-size: var(--space-3-1);
}

.btn-cross {
  height: 40px;
  width: 40px;
  background: var(--transparent);
  border: none;
  background: url(../assets/images/icons/cross.svg) center center / 150% no-repeat;
}

.linksViewWrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: row;
  gap: 0.3rem;
  padding: 0.5rem 1rem;
  border: 1px solid #0f5b7c;
  border-radius: 5px;
  box-shadow: inset 0px 0px 9px 0px #166083, 2px 2px 3px 0px #196d70;
  background: #00000000;
  transition: background 0.5s ease;
  text-decoration: none;
}

.linksViewWrapper-small {
  padding: 0.2rem 0.5rem;
}

.linksViewWrapper:hover {
  background: #125d7e70;
  transition: background 0.5s ease;
}

.linkView {
  text-decoration: none;
}

.linkIcon {
  height: 30px;
  width: 30px;
  background: url(../assets/images/icons/link.svg) center center / 90% no-repeat;
  transform: translateY(-1px);
}

.downloadIcon {
  height: 30px;
  width: 30px;
  background: url(../assets/images/icons/download.svg) center center / 90% no-repeat;
  transform: translateY(-1px);
}

.emailIcon {
  height: 30px;
  width: 30px;
  background: url(../assets/images/icons/email.svg) center center / 90% no-repeat;
  transform: translateY(-1px);
}

.githubIcon {
  height: 30px;
  width: 30px;
  background: url(../assets/images/icons/github.svg) center center / 90% no-repeat;
  transform: translateY(-1px);
}

.linkedinIcon {
  height: 30px;
  width: 30px;
  background: url(../assets/images/icons/linkedin.svg) center center / 90% no-repeat;
  transform: translateY(-1px);
}

.svgrepo {
  height: 25px;
  width: 25px;
  background: url(../assets/images/icons/svgrepo.svg) center center / 90% no-repeat;
  transform: translateY(-1px);
}

.googleFonts {
  height: 20px;
  width: 20px;
  background: url(../assets/images/icons/googleFonts.svg) center center / 90% no-repeat;
  transform: translateY(-1px);
}

.pexels {
  height: 20px;
  width: 20px;
  background: url(../assets/images/icons/pexels.svg) center center / 90% no-repeat;
  transform: translateY(-1px);
}

.isladjan {
  height: 20px;
  width: 20px;
  background: url(../assets/images/icons/isladjan.svg) center center / 90% no-repeat;
  transform: translateY(-1px);
}

.apixdo {
  height: 25px;
  width: 25px;
  background: url(../assets/images/icons/apixdo.svg) center center / 90% no-repeat;
  transform: translateY(0px);
}

.simpleIcons {
  height: 20px;
  width: 20px;
  background: url(../assets/images/icons/simpleIcons.svg) center center / 90% no-repeat;
  transform: translateY(-1px);
}

.devicons {
  height: 20px;
  width: 20px;
  background: url(../assets/images/icons/devicons.svg) center center / 90% no-repeat;
  transform: translateY(1px);
}

.sourceCode {
  height: 26px;
  width: 26px;
  background: url(../assets/images/icons/sourceCode.svg) center center / 90% no-repeat;
  transform: translateY(-1px);
}

.liveLink {
  height: 30px;
  width: 30px;
  background: url(../assets/images/icons/liveLink.svg) center center / 90% no-repeat;
  transform: translateY(0px);
}

.linkHover {}

/* ============================== */

/* =================================
    project slider utilities 
==================================== */

.slide-position-1 {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
  z-index: var(--slide-position-1);
  transition: transform var(--slider-transition-speed) ease, opacity var(--slider-transition-speed) ease, filter 0.5s ease;
  will-change: transform;
}

.slide-position-1 .projectNumberText {
  animation: projectNumberPulsing 3s infinite cubic-bezier(0.4, 0.0, 0.2, 1);
}

.slide-position-2 {
  transform: translate(0%, -53%) scale(0.7);
  filter: blur(5px);
  z-index: var(--slide-position-2);
  transition: transform var(--slider-transition-speed) ease, opacity var(--slider-transition-speed) ease, filter 0.5s ease;
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10 and 11 */
  user-select: none;
  will-change: transform;
  /* Standard syntax */
}

.slide-position-3 {
  transform: translate(-100%, -53%) scale(0.7);
  filter: blur(5px);
  z-index: var(--slide-position-3);
  transition: transform var(--slider-transition-speed) ease, opacity var(--slider-transition-speed) ease, filter 0.5s ease;
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10 and 11 */
  user-select: none;
  will-change: transform;
  /* Standard syntax */
}

.dismiss-slide-right {
  opacity: 0;
  transform: translate(-0%, -50%);
  z-index: 11;
  transition: transform 0.5s ease, opacity 1s ease;
}

.dismiss-slide-left {
  opacity: 0;
  transform: translate(-100%, -50%);
  z-index: 9;
  transition: transform 1s ease, opacity 1s ease;
}

.send-to-back-deck {
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.7);
  filter: blur(3px);
  transition: transform var(--slider-transition-speed) ease, opacity 1s ease, filter 1s ease;
  z-index: var(--send-to-back-deck);
  -webkit-user-select: none;
  /* Safari */
  -ms-user-select: none;
  /* IE 10 and 11 */
  user-select: none;
  will-change: transform;
  /* Standard syntax */
}

/* ============================== */

/* ========================
    Project details tab utilities 
=========================== */

.activeTab {
  background-color: var(--accent-secondary-transparent);
}

.activeContent {
  opacity: 1;
  transition: opacity 0.8s ease;
  z-index: 5;
}

/* ============================== */

/* ========================
    scrollbar utilities 
=========================== */

.custom-scrollbar::-webkit-scrollbar {
  width: 5px;
  height: 100%;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: #004466;
  border-radius: 10px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: #28cdc574;
  border-radius: 10px;
  min-height: 40px;
  box-shadow: inset 0 0 10px #28cdc574;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: #28cdbdcc;
}

/* ============================== */

/* ========================
    general utilities 
=========================== */

.hideElement {
  display: none !important;
}

.hideElementWithScale {
  transform: scale(0);
  opacity: 0;
}

.hideElementWithOpacity {
  transform: scale(0.001);
  opacity: 0;
}

.showElement {
  display: block;
}

.showElementWithScale {
  transform: scale(0.001);
  opacity: 0;
}

.activeSection {
  transform: scale(1);
  opacity: 1;
  z-index: 2;
}

.divider {}

.glass-card {
  background: var(--glass-card-background);
  border-radius: var(--px-20);
  border: var(--px-4) solid var(--glass-card-border);
  box-shadow: var(--glass-card-shadow);
  padding: clamp(var(--space-5), var(--vw-4), var(--space-7));
  line-height: var(--px-27);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  backdrop-filter: blur(0px);
}

.bg-blur {
  background: var(--background-blur);
  backdrop-filter: blur(10px) saturate(150%);
  -webkit-backdrop-filter: blur(10px) saturate(150%);
}

.glass-card-title-section {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  /* border: 1px solid red; */
}

.glass-card-title-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  /* width: 100%; */
  gap: 1rem;
  text-align: center;
  text-transform: uppercase;
}

.glass-card-content {
  width: 100%;
}



.card-divider {
  width: 100%;
  height: 1px;
  background: var(--card-divider-background);
  box-shadow: var(--card-divider-shadow);
}

.primary-text {
  font-size: clamp(1rem, 2vw, 1.1rem);
  font-family: var(--ff-base);
  color: var(--text-primary-accent);
  font-weight: var(--fw-regular);
  text-shadow: var(--text-primary-shadow);
  letter-spacing: var(--px-1);
}

.secondary-text {
  color: var(--text-secondary-accent);
  font-family: var(--ff-base);
  text-shadow: var(--text-primary-shadow);
  font-size: var(--space-3-2);
  font-weight: var(--fw-medium);
}

.tertiary-text {
  color: var(--text-tertiary-accent);
  font-family: var(--ff-base);
  text-shadow: var(--text-primary-shadow);
  font-size: var(--space-3-2);
  font-weight: var(--fw-light);
}

.highlight-text {
  color: var(--accent);
  text-shadow: var(--text-primary-shadow);
  font-weight: var(--fw-medium);
}

.highlight-secondary-text {
  color: var(--accent-secondary);
  text-shadow: var(--text-primary-shadow);
  font-weight: var(--fw-medium);
}

.bold-text {
  font-weight: var(--bold);
}

.accent-hover:hover {
  background-color: var(--accent-hover);
}

.section-heading {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  color: var(--accent);
  font-family: var(--ff-heading);
  font-weight: var(--fw-medium);
  text-shadow: var(--text-primary-shadow);
}

.section-heading-small {
  font-size: clamp(1.8rem, 4vw, 2rem);
}

.section-heading-secondary {
  font-size: clamp(1.5rem, 4vw, 2rem);
  color: var(--accent);
  font-family: var(--ff-heading);
  font-weight: var(--fw-medium);
  text-shadow: var(--text-primary-shadow);
  line-height: 2.5rem;
}

.section-sub-heading {
  text-transform: none;
  font-family: var(--ff-base);
  font-size: clamp(1rem, 2vw, 1.1rem);
  color: var(--text-secondary-accent);
  font-weight: var(--fw-light);
  text-shadow: var(--text-primary-shadow);
  letter-spacing: var(--px-0-5);
}

.font-heading {
  font-family: var(--ff-heading);
}

/* ============================== */
/* ========================
    Animations 
=========================== */

@keyframes projectNumberPulsing {
  0% {
    opacity: 0.4;
    filter: blur(1px);
    text-shadow: 0 0 0px var(--accent-secondary-transparent);
  }

  50% {
    opacity: 1;
    filter: blur(0px);
    text-shadow: 0 0 10px var(--accent-secondary-transparent);
    /* Adds a neon glow at peak brightness */
  }

  100% {
    opacity: 0.4;
    filter: blur(1px);
    text-shadow: 0 0 0px var(--accent-secondary-transparent);
  }
}

/* ============================== */