:root{
  --bg: #150e0e;
  --accent: #00e12a;
  --muted: #a78686;
}

/* ============================================
   BASE STYLES
============================================ */
body {
  font-family: "articulat-cf", sans-serif;
  background: var(--bg);
  color: #ffffff;
  padding: 1vw;
}



h1 {
  font-family: "articulat-cf", sans-serif;
  font-size: clamp(2.5rem, 10vw, 7rem);
  padding-top: 4rem;
  font-weight: 600;
}

h2 {
  font-family: "articulat-cf", sans-serif;
  font-size: clamp(1.5rem, 8vw, 4rem);
  padding-top: 4rem;
  font-weight: 600;
}

h4{
  font-family: "articulat-cf", sans-serif;
  font-size: clamp(1.25rem, 4vw, 1.5rem);
}

h3, h6 {
  font-family: "articulat-cf", sans-serif;
}

p, li {
  font-size: 0.9rem;
}

.body-bigger{
  font-size: 15px;
}

.body-smaller{
  font-size: 13px;
}

.section {
  padding: clamp(1.5rem, 4vw, 5rem);
}

.caption {
  font-size: 0.8rem;
  color: var(--muted);
  padding-top: 1vh;
}

.about-me{
  margin-bottom: 5px;
}

/* .container, .wrapper{
  max-width: 100%;
} */

.banner{
  width: 100%;
  object-fit: cover;
  border-radius: 6px;
}

.project-tag{
  background-color: var(--accent);
  color: var(--bg);
  text-decoration: none;
  text-transform: uppercase;
  display: inline-block;
  padding-left: 1vw;
  padding-right: 1vw;
  font-size: 15px;
  display: inline-flex;
  padding: 1vh 1vh;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 767px) {
  .project-tag {
    padding-top: .4em;
    padding-bottom: .4em;
    font-size: 13px;
  }
}

.project-bio{
  padding-top: 3vh;
}

.project-title{
  padding-bottom: 2vh;
}

.section-title{
  padding-bottom:2vh;
}

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

.profile-intro{
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  flex-direction:column;
  display: flex;
  padding-top: 3vh;
}

.profile-pic{
  padding-top: 2vh;
  padding-bottom: 2vh;
  display: block;
  width: clamp(200px, 25%, 500px);
  height: auto;
}

.intro-text{
  text-align: center;
    padding-left: 9vw;
  padding-right: 9vw;
}

.intro{
  flex-direction: column;
  align-items: center;
  padding-left: 9vw;
  padding-right: 9vw;
  padding-bottom: 9vh;
  display: flex;
  position: relative;
}

.coming-soon{
  align-items: center;
  text-align: center;
  padding-top: 20vh;
  padding-bottom: 20vh;
}

.coming-soon-text{
  color: var(--muted);
}

.coming-soon-icon{
  color: var(--muted);
}

/* ============================================
   NAVIGATION
============================================ */
.custom-navbar {
  padding-top: 10px;
  width: 100%;
  justify-content: space-between;
}

.title {
  color: var(--accent);
  text-transform: uppercase;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
}

.navigation {
  color: var(--accent);
  text-decoration: none;
  text-transform: uppercase;
  display: inline-block;
  padding: 0 1rem;
  position: relative;
}

.navigation:hover:before,
.navigation.active:before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 1px;
  background-color: var(--accent);
}

.navigation.active {
  color: #ffffff;
}

.menu-bar {
  display: inline-flex;
  padding: 0 10px;
}

/* =========
mobile navigation
======= */

.mobile-navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5vw;
  padding-bottom: 0;
}

.mobile-logo img {
  height: 70px;
  width: auto;
}

.logo{
  fill: var(--accent)
}

.logo:hover{
  fill: var(--muted)
}

.menu-toggle {
  font-size: 2rem;
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
}

.mobile-links {
  display: none;
  flex-direction: column;
  width: 100%;              /* take full screen width */
  align-items: center;       /* center links horizontally */
  background: none;       /* add background so it looks like a dropdown */
  padding: 0;
}

.mobile-nav-link.flash {
  background: var(--accent);
  color: var(--bg);
  transition: background 0.2s ease, color 0.2s ease;
}


.mobile-links a {
  display: block;         /* full width */
  width: 100%;            /* take entire row */
  text-align: center;     /* keep text centered */
  padding: 1rem 0;        /* give the stripe some height */
  color: var(--accent);
  text-decoration: none;
  text-transform: uppercase;
}


.mobile-links.open {
  display: flex;
  padding-top: 2vh;
}

.mobile-nav-link:active {
  background: var(--accent); /* flash background */
  color: #000;         /* flash text */
  transition: background 0.5s ease, color 0.5s ease;
}

.mobile-nav-link:hover {
  background: var(--accent); /* flash background */
  color: #000;         /* flash text */
  transition: background 0.5s ease, color 0.5s ease;
}

/* ======= HAMBURGER ANIMATION ======= */
.menu-btn {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-end;
  gap: 6px;
  z-index: 100;
  background: none;
  border: none;
  padding: 10px;
  transition: transform 0.4s ease; /* rotate smoothly both ways */
}

.menu-btn .btn-line {
  width: 27px;
  height: 3px;
  background: var(--accent);
  transition: all 0.4s ease;
  border-radius: 2px;
}

/* Optional: rotate slightly when open */
.menu-btn.close {
  transform: rotate(180deg);
  transition: transform 0.4s ease;
}

.menu-btn.close .btn-line:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-btn.close .btn-line:nth-child(2) {
  opacity: 0;
}

.menu-btn.close .btn-line:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}



/* ============================================
text stripe
============================================ */
.scroller {
  overflow: hidden; /* hides the extra part that moves off-screen */
  white-space: nowrap;
  width: 100vw; /* limit to the viewport width */
  color: #00e12a;
  text-transform: uppercase;
  padding-top: 5vh;
}

/* Animation */
@keyframes infiniteScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.horizontal-scrolling-items {
  display: inline-flex;
  animation: infiniteScroll 20s linear infinite;
  will-change: transform;
}

.horizontal-scrolling-items__item {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: 30px;
  padding-right: 2rem; /* small gap between repeats */
}



/* ============================================
   FILTER BUTTONS
============================================ */
.filters a {
  text-decoration: none;
  color: var(--accent);
  padding: 0 10px;
  display: inline-block;
  position: relative;
}

.filters a:hover:before,
.filters a.active:before {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 0;
  height: 1px;
  background-color: #ffffff;
}

.filters a.active {
  color: #ffffff;
}


/* ============================================
   GRID ITEMS
============================================ */
.item {
  padding:1rem;

}

.item .item-wrap {
  position: relative;
  display: block;
  overflow: hidden;
}

.item .item-wrap img {
  transition: transform 0.3s ease;
  transform: scale(1);
  width: 100%;
}

.item .item-wrap:hover img {
  transform: scale(1.05);
}

.item .item-wrap:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  z-index: 2;
}

.item .item-wrap:hover:after {
  opacity: 1;
  visibility: visible;
}

.item .work-info {
  position: absolute;
  top: 50%;
  width: 100%;
  text-align: center;
  transform: translateY(-50%);
  color: var(--accent);
  opacity: 0;
  visibility: hidden;
  z-index: 3;
  margin-top: 20px;
  transition: all 0.3s ease;
  padding-left: 1vw;
  padding-right: 1vw;
}

.item .item-wrap:hover .work-info {
  opacity: 1;
  visibility: visible;
  margin-top: 0;
}

.item .work-info h3 {
  font-size: 20px;
  margin-bottom: 0;
}

.item .work-info span {
  font-size: 12px;
  letter-spacing: 0.05rem;
}

.project-identifier{
  color:#ffffff;
  text-decoration: none;
  font-size: 0.7rem;
  padding-top: 0.75rem;
}

h3.project-identifier{
  font-size: 1rem;
}

/* ====================================
  PROJECT NAVIGATION
==================================== */

.project-navigation{
  border-top: var(--accent) solid;
  border-bottom: var(--accent) solid;
  border-width: 1px;
  align-items: center;
  justify-content: space-between;
  flex-direction: row;
  display: flex;
}

.w-inline-block{
  max-width: 100%;
}

.other-project-left{
  color:var(--accent);
  text-decoration: none;
  flex-direction: row;
  justify-content: center;
  display: flex;
  line-height: 2vh;
    padding: 2vh 5vw;
    padding-top: 2vh;
    padding-right: 5vw;
    padding-bottom: 1vh;
    padding-left: 5vw;
  width:100%;
}

.other-project-left:hover{
  color:var(--bg);
  background: var(--accent);
  flex-direction: row;
}


/* ============================================
   BUTTONS
============================================ */
.btn{
  color: var(--accent);
  background: transparent;
  transition: background 0.3s ease;
  justify-content: center;
  text-align: center;
}

.btn-text{
  text-transform: uppercase;
  text-decoration: none;
  color: var(--accent);
}


.btn:hover {
  background: var(--muted);
  border: 1px solid, var(--accent);
  border-radius: 30px;
}

/* ============================================
    CURSOR
============================================ */

.blob {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 250px;
    height: 250px;
    border-radius: 100%;
    background-image: radial-gradient(#ff3700 10%, #150e0e);
    filter: blur(250px);
    transition: all 450ms ease-out;
    position: fixed;
    pointer-events: none;
    left: 0;
    top: 0;
    transform: translate(calc(-50% + 15px), -50%);
    z-index: -1;
}

/* ============================================
   FOOTER
============================================ */
.footer {
  text-align: center;
  max-width: 100%;
  padding-top: 10vh;
  padding-bottom: 5vh;
}

.footer a {
  color: var(--muted);
}

.footer .row {
  display: flex;
  align-items: center; /* vertically align children */
  flex-wrap: wrap;     /* keeps stacking on mobile */
}

.social-icons{
  justify-content: center;
  display: flex;
  align-items: center;
  padding-left: 10vw;
  padding-right: 10vw;
  gap: 40px;
}

.email{
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.social a {
  display:inline-table ;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #ffffff;
  color: var(--bg);
  position: relative;
  padding-left: auto;
}

.social a span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.social a:hover {
  background: var(--accent);
  color: #000000;
}

.back-to-top{
  padding-top: 4vh;
}

.back-to-top i {
  transition: color 0.2s ease, transform 0.2s ease;
}

.back-to-top:hover i,
.back-to-top:active i {
  color: var(--accent); /* green on hover/click */
  transform: scale(1.1); /* optional: slight pop effect */
}



/* ============================================
   MISCELLANEOUS
============================================ */
.banner {
  object-fit: cover;
  width: 100%;
}

.image-zoom {
  cursor: zoom-in;
}

.page-header {
  padding: 4rem 1rem 0 1rem;
}

.readmore {
  display: inline-block;
  border: 1px solid #ffffff;
  padding: 10px 15px;
  border-radius: 39px;
  font-size: 12px;
  text-transform: uppercase;
  color: #ffffff;
  font-weight: 700;
  transition: 0.2s all ease;
}

.readmore:hover {
  background: var(--accent);
  text-decoration: none;
  color: #ffffff;
}
