* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

@import url("./excon.css");

html {
  scroll-behavior: smooth;
}

:root {
  --font-bold: Excon-Bold;
  --font-medium: Excon-Medium;
  --font-text: "Inter", sans-serif;
}

h2 {
  font-family: var(--font-bold);
}

h5,
h3 {
  font-family: var(--font-medium) !important;
}
p,
li,
a {
  font-family: var(--font-text);
}

:root {
  --primary: #64acaa;
  --primary-500: #499190;
  --primary-600: #3f797b;
  --cta: #bd7776;
  --cta-600: #ac6466;
  --cta-700: #8a464a;
  --border: #2c3237;
  --hover-card: #adb5bd;
  --cta-btn-color: #000000;
  --success: #3b9b5a;
  --text-main: #fff;
  --glow-y: 300px;
  --wallpaper-accent: #386366;
  --wallpaper-accent-transparent: rgba(26, 100, 112, 0.349);
  --card-glow-color: #386366;
  --card-glow-transparent: rgba(26, 100, 112, 0);
}

:root {
  --space4: 4px;
  --space8: 8px;
  --space12: 12px;
  --space16: 16px;
  --space24: 24px;
  --space32: 32px;
  --space48: 48px;
  --space64: 64px;
  --space96: 96px;
  --space128: 128px;
}

:root {
  --h1: clamp(23px, 11.2vw, 112px);
  --h2: clamp(22px, 8.4vw, 84px);
  --h3: clamp(20px, 6.3vw, 63px);
  --h5: clamp(20px, 2.5vw, 25px);
  --p: clamp(16px, 2vw, 20px);
}

/* nav start*/

header {
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: linear-gradient(
    135deg,
    rgba(25, 28, 29, 0.55) 0%,
    rgba(20, 22, 22, 0.65) 50%,
    rgba(23, 24, 24, 0.55) 100%
  );
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 0.5px solid var(--border);
  position: fixed;
  top: var(--space24);
  width: 1000px;
  padding: 24px;
  border-top-right-radius: 48px;
  border-bottom-left-radius: 24px;
  z-index: 2000;
}

.logo {
  display: flex;
  align-items: center;
}

.logo a {
  text-decoration: none;
  color: var(--primary);
  font-family: var(--font-medium);
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
}

.nav-links ul {
  display: flex;
  justify-content: center;
  list-style: none;
  gap: 2rem;
}

.nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
}

.nav-links a {
  font-family: var(--font-primary);
  text-decoration: none;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  display: flex;
  align-items: center;
  padding: 8px 0;
  position: relative;
  transition: all ease-in-out 0.3s;
}

.nav-links a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background-color: var(--primary);
  transition: all ease-in-out 0.3s;
  border-radius: 50px;
}

.nav-links a:hover::before {
  width: 100%;
}

.nav-links a:hover {
  color: var(--primary);
}

/* WCAG ACC */
.nav-links a:focus,
.view-my-work-btn:focus,
.social-links a:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

.lets-connect-btn:focus,
.cta-pack-btn:focus,
.cta-about-me-btn:focus,
#submit-input:focus,
.cta-fix:focus {
  outline: 3px solid var(--cta);
  outline-offset: 2px;
}

.cta-services-btn a:focus,
.cta-project-btn a:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

@media screen and (max-width: 1000px) {
  nav {
    width: 95%;
  }
  .nav-links {
    display: none;
  }
  .mobile-nav {
    display: block;
  }

  .nav-mobile {
    display: block !important;
    z-index: 2;
  }
}

/* Mobile Nav Start */

.nav-mobile,
.nav-mobile-links {
  display: none;
}

.nav-mobile button {
  background-color: transparent;
  border: none;
  color: #fff;
  font-size: 24px;
  margin-right: 3rem;
}

.nav-mobile-links {
  position: fixed;
  top: 110px;
  z-index: 2;
  width: 95%;
  background: linear-gradient(
    135deg,
    rgba(25, 28, 29, 0.55) 0%,
    rgba(20, 22, 22, 0.65) 50%,
    rgba(23, 24, 24, 0.55) 100%
  );
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 0.5px solid var(--border);
  padding: 24px;
  border-bottom-left-radius: 48px;
  gap: var(--space48);
}

.nav-mobile-links ul,
.nav-mobile-links li {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  flex-direction: column;
  transition: background 0.3s ease;
}

.nav-mobile-links li {
  margin: var(--space24);
  font-family: var(--font-primary);
}

.nav-mobile-links.active {
  pointer-events: auto;
}

.nav-mobile-links a {
  font-family: var(--font-text);
  font-size: var(--h5);
  text-decoration: none;
  color: #fff;
  font-weight: 500;
  transition: all 0.3s ease;
}

.nav-mobile-links a:hover {
  color: var(--primary);
  transform: translateX(5px);
}

.nav-mobile-links a:focus-within {
  outline: 2px solid var(--primary);
}

/* Mobile Nav End */

.site-wallpaper {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-color: #000;
  overflow: hidden;
  pointer-events: none; /* nu blochează click-urile pe conținut */
}

.site-wallpaper__base {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    100% 100% at 0% 0%,
    rgb(46, 46, 46) 0%,
    rgb(0, 0, 0) 100%
  );
  -webkit-mask: radial-gradient(
    125% 100% at 0% 0%,
    rgb(0, 0, 0) 0%,
    rgba(0, 0, 0, 0.224) 88.2883%,
    rgba(0, 0, 0, 0) 100%
  );
  mask: radial-gradient(
    125% 100% at 0% 0%,
    rgb(0, 0, 0) 0%,
    rgba(0, 0, 0, 0.224) 88.2883%,
    rgba(0, 0, 0, 0) 100%
  );
}

.site-wallpaper__streak {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background: linear-gradient(
    var(--wallpaper-accent) 0%,
    var(--wallpaper-accent-transparent) 100%
  );
  transform: skewX(45deg);
}

.site-wallpaper__streak--1 {
  -webkit-mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgb(0, 0, 0) 20%,
    rgba(0, 0, 0, 0) 36%,
    rgb(0, 0, 0) 55%,
    rgba(0, 0, 0, 0.13) 67%,
    rgb(0, 0, 0) 78%,
    rgba(0, 0, 0, 0) 97%
  );
  mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgb(0, 0, 0) 20%,
    rgba(0, 0, 0, 0) 36%,
    rgb(0, 0, 0) 55%,
    rgba(0, 0, 0, 0.13) 67%,
    rgb(0, 0, 0) 78%,
    rgba(0, 0, 0, 0) 97%
  );
}

.site-wallpaper__streak--2 {
  -webkit-mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 11%,
    rgb(0, 0, 0) 25%,
    rgba(0, 0, 0, 0.55) 41%,
    rgba(0, 0, 0, 0.13) 67%,
    rgb(0, 0, 0) 78%,
    rgba(0, 0, 0, 0) 97%
  );
  mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 11%,
    rgb(0, 0, 0) 25%,
    rgba(0, 0, 0, 0.55) 41%,
    rgba(0, 0, 0, 0.13) 67%,
    rgb(0, 0, 0) 78%,
    rgba(0, 0, 0, 0) 97%
  );
}

.site-wallpaper__streak--3 {
  -webkit-mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 9%,
    rgb(0, 0, 0) 20%,
    rgba(0, 0, 0, 0.55) 28%,
    rgba(0, 0, 0, 0.424) 40%,
    rgb(0, 0, 0) 48%,
    rgba(0, 0, 0, 0.267) 54%,
    rgba(0, 0, 0, 0.13) 78%,
    rgb(0, 0, 0) 88%,
    rgba(0, 0, 0, 0) 97%
  );
  mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 9%,
    rgb(0, 0, 0) 20%,
    rgba(0, 0, 0, 0.55) 28%,
    rgba(0, 0, 0, 0.424) 40%,
    rgb(0, 0, 0) 48%,
    rgba(0, 0, 0, 0.267) 54%,
    rgba(0, 0, 0, 0.13) 78%,
    rgb(0, 0, 0) 88%,
    rgba(0, 0, 0, 0) 97%
  );
}

/* Streak-urile 4 și 5 sunt vizual foarte apropiate de 1 și 2 -
   dacă vrei performanță maximă poți renunța la ele. Le las opționale: */
.site-wallpaper__streak--4 {
  -webkit-mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgb(0, 0, 0) 17%,
    rgba(0, 0, 0, 0.55) 26%,
    rgb(0, 0, 0) 35%,
    rgba(0, 0, 0, 0) 47%,
    rgba(0, 0, 0, 0.13) 69%,
    rgb(0, 0, 0) 79%,
    rgba(0, 0, 0, 0) 97%
  );
  mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgb(0, 0, 0) 17%,
    rgba(0, 0, 0, 0.55) 26%,
    rgb(0, 0, 0) 35%,
    rgba(0, 0, 0, 0) 47%,
    rgba(0, 0, 0, 0.13) 69%,
    rgb(0, 0, 0) 79%,
    rgba(0, 0, 0, 0) 97%
  );
}

.site-wallpaper__streak--5 {
  -webkit-mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgb(0, 0, 0) 20%,
    rgba(0, 0, 0, 0.55) 27%,
    rgb(0, 0, 0) 42%,
    rgba(0, 0, 0, 0) 48%,
    rgba(0, 0, 0, 0.13) 67%,
    rgb(0, 0, 0) 74%,
    rgb(0, 0, 0) 82%,
    rgba(0, 0, 0, 0.47) 88%,
    rgba(0, 0, 0, 0) 97%
  );
  mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgb(0, 0, 0) 20%,
    rgba(0, 0, 0, 0.55) 27%,
    rgb(0, 0, 0) 42%,
    rgba(0, 0, 0, 0) 48%,
    rgba(0, 0, 0, 0.13) 67%,
    rgb(0, 0, 0) 74%,
    rgb(0, 0, 0) 82%,
    rgba(0, 0, 0, 0.47) 88%,
    rgba(0, 0, 0, 0) 97%
  );
}

.site-wallpaper__dots {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255, 255, 255, 0.5) 1px,
    transparent 0
  );
  background-size: 20px 20px;
}

.site-wallpaper__highlight {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    rgba(30, 41, 59, 0.2) 0%,
    transparent 60%,
    transparent 100%
  );
}

.container h1 {
  color: var(--text-main);
  font-size: var(--h1);
  font-family: var(--font-primary);
  font-weight: 900;
  letter-spacing: 0.05em;
}

.legal-page {
  padding: var(--space128) 0;
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
}

.container {
  border-top-right-radius: 48px;
  background: linear-gradient(
    135deg,
    rgba(25, 28, 29, 0.4) 0%,
    rgba(20, 22, 22, 0.5) 50%,
    rgba(23, 24, 24, 0.4) 100%
  );
  backdrop-filter: blur(10px) saturate(180%);
  -webkit-backdrop-filter: blur(10px) saturate(180%);
  border-top: 0.5px solid var(--border);
  border-right: 0.5px solid var(--border);
  border-left: 0.5px solid var(--border);
  border-bottom: 2px solid var(--border);
  width: 100%;
  max-width: 1200px;
  padding: 48px;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
.container h2 {
  margin-top: var(--space48);
  background: linear-gradient(to right, #fff 0%, #999999 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: var(--h3);
  line-height: 1.1;
  letter-spacing: 0.05em;
  font-weight: 700;
}

.container p {
  margin-top: var(--space24);
  font-weight: 500;
  font-family: var(--font-text);
  font-size: var(--p);
  margin-top: var(--space12);
  color: #fff;
  line-height: 1.6;
}

.container ul {
  margin-left: var(--space24);
  margin-top: var(--space12);
  margin-bottom: var(--space12);
  color: #fff;
}

.container li {
  font-weight: 500;
  font-family: var(--font-text);
  font-size: var(--p);
  margin-top: var(--space12);
}

.container a {
  color: var(--primary);
}

footer {
  background-color: #0d0d0d;
  padding: 24px 48px;
  position: relative;
  overflow: hidden;
}

.footer-container {
  margin-top: var(--space24);
}

.footer-wrapper-2 {
  border-top: 0.5px solid var(--border);
  margin-top: var(--space64);
  display: flex;
  justify-content: space-around;
}

.footer-wrapper-1 {
  display: flex;
  justify-content: space-around;
  align-items: stretch;
}

.links-footer,
.social-links-footer,
.legal-links-footer {
  margin-top: var(--space32);
  height: max-content;
  width: max-content;
}

.links-footer ul,
.social-links-footer ul,
.legal-links-footer ul {
  margin-top: var(--space12);
  list-style: none;
}

.links-footer li,
.social-links-footer li,
.legal-links-footer li {
  margin-top: var(--space8);
}
.footer-wrapper-1 p {
  font-weight: 600;
  font-family: var(--font-bold);
  font-size: var(--h5);
  color: #fff;
}

.links-footer a,
.social-links-footer a,
.legal-links-footer a {
  text-decoration: none;
  color: #fff;
  font-size: var(--p);
  font-weight: 500;
  font-family: var(--font-text);
  transition: all ease 0.3s;
  position: relative;
}

.links-footer a::before,
.social-links-footer a::before,
.legal-links-footer a::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  width: 0;
  background-color: var(--primary);
  transition: all ease 0.3s;
}

.links-footer a:hover::before,
.social-links-footer a:hover::before,
.legal-links-footer a:hover::before {
  width: 100%;
}

@media screen and (max-width: 700px) {
  .footer-wrapper-1,
  .footer-wrapper-2 {
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-direction: column;
  }
}

.links-footer a:hover,
.social-links-footer a:hover,
.legal-links-footer a:hover {
  color: var(--primary);
}

.links-footer a:focus-within,
.social-links-footer a:focus-within,
.legal-links-footer a:focus-within {
  outline: 2px solid var(--primary);
}

.copyright,
.available-for-work {
  margin-top: var(--space24);
}

.available-for-work {
  display: flex;
  align-items: center;
  gap: var(--space8);
}

.copyright p,
.available-for-work p {
  /* text-align: center; */
  color: #fff;
  font-size: var(--p);
  font-weight: 500;
  font-family: var(--font-text);
  line-height: 1.6;
}

.circle-avail-span {
  background-color: var(--success);
  box-shadow: 0 0 8px 4px color-mix(in srgb, var(--success) 50%, transparent);
  border-radius: 50px;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
  margin-right: var(--space12);
}

.glow-card__light {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.glow-card__streak {
  position: absolute;
  inset: 0;
  opacity: 0.25;
  background: linear-gradient(
    var(--card-glow-color) 0%,
    var(--card-glow-transparent) 100%
  );
  transform: skewX(45deg);
}

.glow-card__streak--1 {
  -webkit-mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgb(0, 0, 0) 20%,
    rgba(0, 0, 0, 0) 36%,
    rgb(0, 0, 0) 55%,
    rgba(0, 0, 0, 0.13) 67%,
    rgb(0, 0, 0) 78%,
    rgba(0, 0, 0, 0) 97%
  );
  mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 0%,
    rgb(0, 0, 0) 20%,
    rgba(0, 0, 0, 0) 36%,
    rgb(0, 0, 0) 55%,
    rgba(0, 0, 0, 0.13) 67%,
    rgb(0, 0, 0) 78%,
    rgba(0, 0, 0, 0) 97%
  );
}

.glow-card__streak--2 {
  -webkit-mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 9%,
    rgb(0, 0, 0) 20%,
    rgba(0, 0, 0, 0.55) 28%,
    rgba(0, 0, 0, 0.424) 40%,
    rgb(0, 0, 0) 48%,
    rgba(0, 0, 0, 0.267) 54%,
    rgba(0, 0, 0, 0.13) 78%,
    rgb(0, 0, 0) 88%,
    rgba(0, 0, 0, 0) 97%
  );
  mask: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 9%,
    rgb(0, 0, 0) 20%,
    rgba(0, 0, 0, 0.55) 28%,
    rgba(0, 0, 0, 0.424) 40%,
    rgb(0, 0, 0) 48%,
    rgba(0, 0, 0, 0.267) 54%,
    rgba(0, 0, 0, 0.13) 78%,
    rgb(0, 0, 0) 88%,
    rgba(0, 0, 0, 0) 97%
  );
}
