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

body {
  background: #000;
  font-family: "Inter", sans-serif;
  color: #fff;
  overflow-x: hidden;
}

/* Shared layout container (like other pages) */
.page-container {
  width: min(1100px, 100% - 2.5rem);
  margin: 0 auto;
}

/* ================= NAVBAR ================= */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  z-index: 100;
}

.nav-left .logo {
  height: 28px;
}

.nav-center {
  display: flex;
  gap: 40px;
}

.nav-center a {
  color: #fff;
  font-weight: 400;
  text-decoration: none;
  position: relative;
}

.nav-center a:hover,
.nav-center a.active {
  color: #2721f6;
}

.contact-btn {
  color: #efefef;
  border: 2px solid #2721f6;
  padding: 10px 24px;
  border-radius: 20px;
  text-decoration: none;
}

.contact-btn:hover {
  background: #2721f6;
  color: #fff;
}

/* ================= PORTFOLIO CAROUSEL ================= */

h1 {
    font-family: "Inter", serif;
    font-size: 3.5rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: white;
    margin-top: 200px;
    width: 40vw; 
    line-height: 1.1;
    padding-bottom: 1rem;
    text-transform: uppercase;
}

.portfolio-header {
  text-align: center !important;
  max-width: 75vw;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-header h1.work-title {
  width: auto !important;
  margin-left: auto;
  margin-right: auto;
}

.portfolio-header .work-subtitle {
  margin: 0 auto;
  max-width: 60vw;
  font-size: 1.1rem;
  line-height: 1.6;
}


.portfolio-section {
  /* extra top padding so it sits below the fixed navbar */
  padding: 140px 4em 4rem;
}

.portfolio-header {
  text-align: left;
  margin-bottom: 2rem;
}

.portfolio-header .work-title {
  margin-top: 0.4rem;
}

.portfolio-carousel-shell {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0; /* remove extra spacing that pushes cards */
  width: 100%;
  margin: 0 auto;
}

.carousel-arrow {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: none;
  background: rgba(15, 23, 42, 0.9);
  color: #ffffff;
  font-size: 1.7rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 16px 35px rgba(0, 0, 0, 0.55);
  transition:
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}



.carousel-arrow:hover {
  background: #2721f6;
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(39, 33, 246, 0.6);
}


.carousel-viewport {
  height: 700px; /* bigger images */
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  margin-right: 40px;
}


.portfolio-carousel-track {
  position: relative;
  width: 570px;
  height: 100%;
  transform-style: preserve-3d;
  perspective: 1600px;
}

/* Individual cards */

.portfolio-card {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(80vw, 450px);
  height: 100%;
  transform: translateX(-50%);
  opacity: 0;
  pointer-events: none;
  transition:
    transform 0.4s ease,
    opacity 0.4s ease,
    box-shadow 0.4s ease;
}

.portfolio-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: #020617;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
}

.portfolio-card-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(1.05) contrast(1.05);
}

.portfolio-card-info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1.4rem 1.4rem 1.8rem;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.95),
    rgba(0, 0, 0, 0)
  );
  color: #ffffff;
}

.portfolio-location {
  font-size: 0.85rem;
  opacity: 0.8;
  margin-bottom: 0.3rem;
}

.portfolio-title {
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
}

.portfolio-services {
  font-size: 0.86rem;
  line-height: 1.5;
  opacity: 0.9;
}



/* ================= FOOTER ================= */
footer {
  padding: 40px;
  text-align: center;
  color: #aaa;
}

.socials {
  margin-top: 10px;
}

.socials a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
}


