/* Global Styles */
/* Global Styles */

html{
  scroll-behavior: smooth;
}

@font-face {
  font-family: 'gyro';
  src: url('fonts/gyro.ttf');
  font-weight: normal;
  font-style: normal;
}
@font-face {
  font-family: 'voye';
  src: url('fonts/voye.otf');
  font-weight: normal;
  font-style: normal;
}
/* Use the font in your styles */
h2 {
 font-family: "GothamBlack";
 text-align: center;
  color:  white;
  font-size: 40px;
}

h3 {
 font-family: "GothamBlack";
  color: white;
  font-size: 50px;
  
}
h4 {
 font-family: "GothamBlack";
  color: white;
  font-size: 60px;
  text-align: center;
}
body {
    margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: white;
  overflow-x: hidden;
  min-height: 100vh;
  background-color: #000; /* Primary background color */
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("images/BG21.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -1;
  will-change: transform; /* Helps optimization */
}
.services-section, 
.port-section, 
.resume-wrapper {
  background: transparent !important;
}
p{
font-family: voye;

}
/* Global Styles */
/* Global Styles */

nav {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
  height: 200px;
  position: relative;
  z-index: 10;
  gap: 0; /* Ensure no gap between flex items */
}
.nav-left ul {
  padding-right: 0; /* Touches the left side of the logo */
}
.nav-right ul {
  padding-left: 0;  /* Touches the right side of the logo */
}
.nav-left,
.nav-right {
  display: flex;
  align-items: center;
  flex: 1; /* Helps balance the logo in the exact center */
}

.nav-right {
  justify-content: flex-start;
}
.nav-left {
  justify-content: flex-end;
}

nav ul {
  display: flex;
  align-items: center; /* Centers text vertically between the two lines */
  margin: 0;
  list-style: none;
  
  /* FIXED HEIGHT: This ensures the top and bottom lines align perfectly on both sides */
  height: 90px; 
  padding: 0 20px;
  
  border-top: 8px solid white;
  border-bottom: 8px solid white;
}

nav ul li {
  /* Reduced from 100px to keep it contained, adjust as needed */
  margin: 0 40px; 
}

nav ul li a {
  font-family: "GothamBlack";
  font-size: 25px;
  text-transform: uppercase;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
  
  /* ADJUST THIS: If text feels 'too high', increase this number slightly */
  line-height: 1;
  padding-top: 10px; 
}

/* Triangle Hover Effect */
nav ul li a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -15px; /* Moved down so it doesn't overlap the text */
  width: 0;
  height: 0;
  border-left: 15px solid transparent;
  border-right: 15px solid transparent;
  border-top: 10px solid white;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.15s ease;
}

nav ul li a:hover::after {
  opacity: 1;
  animation: triangleShake 0.25s infinite;
}

/* Logo Alignment */
.logo {
  margin: 0; /* Remove the 40px margin to make lines touch the image */
  position: relative;
  flex-shrink: 0; /* Prevents the logo from getting squished */
}

.logo img {
  height: 180px; /* Adjusted slightly so it doesn't feel cramped */
  display: block;
}

@keyframes triangleShake {
  0%   { transform: translateX(-50%) rotate(0deg); }
  25%  { transform: translateX(-48%) rotate(2deg); }
  50%  { transform: translateX(-50%) rotate(0deg); }
  75%  { transform: translateX(-52%) rotate(-2deg); }
  100% { transform: translateX(-50%) rotate(0deg); }
}

/* Responsive */
@media (max-width: 1100px) {
  nav ul li { margin: 0 20px; }
  nav ul li a { font-size: 22px; }
}
/* Button Styles */
/* Button Styles */
/* General footer styles */
/* ================================
   NEO-BRUTALIST FOOTER
================================ */
.brutalist-footer {
  padding: 100px 20px 40px;
  background-color: transparent; /* Shows your grunge texture */
  color: #fff;
}

.footer-frame {
  max-width: 1200px;
  margin: 0 auto;
  border: 5px solid #fff;
  padding: 60px 40px 20px;
  position: relative;
}

/* BIG LOGO TYPE */
.footer-logo-text {
  font-family: "GothamBlack", sans-serif;
  font-size: 80px;
  line-height: 0.8;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: -2px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid rgba(255,255,255,0.2);
  padding-bottom: 40px;
  margin-bottom: 20px;
}

.footer-link {
  font-family: "GothamBlack", sans-serif;
  font-size: 24px;
  color: #fff;
  text-decoration: none;
  border-bottom: 4px solid red; /* Your signature accent color */
  transition: all 0.2s ease;
}

.footer-link:hover {
  background-color: red;
  color: #000;
}

.tech-label {
  font-family: monospace;
  font-size: 12px;
  opacity: 0.5;
  margin-bottom: 5px;
}

/* METADATA BAR */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-meta {
  font-family: monospace;
  font-size: 11px;
  display: flex;
  gap: 30px;
  opacity: 0.6;
}

/* THE SCROLL BUTTON (Brutalist Style) */
.brutalist-scroll-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  background: #000;
  border: 3px solid #fff;
  color: #fff;
  text-decoration: none;
  box-shadow: 6px 6px 0px #fff; /* Hard shadow */
  transition: all 0.1s step-end;
}

.brutalist-scroll-btn:hover {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0px #fff;
  background-color: #fff;
  color: #000;
}

.brutalist-scroll-btn .arrow {
  font-size: 24px;
  font-weight: bold;
}

.brutalist-scroll-btn .btn-text {
  font-size: 10px;
  font-family: "GothamBlack", sans-serif;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
  }
  .footer-logo-text {
    font-size: 50px;
  }
  .footer-meta {
    flex-direction: column;
    gap: 5px;
  }
}

/* Hidden screen reader text */
.sr-only {
  width: 1px;
  height: 1px;
  position: absolute;
  overflow: hidden;
}

/* Scroll Button Container */
.scroll {
  --transition-time: 0.4s;
  --width-arrow-line: 8px;
  --color-arrow: #ffffff;
  position: absolute; /* Position button absolutely within the footer */
  right: 20px; /* Position the button 20px from the right side */
  bottom: 20px; /* Position it 20px from the bottom */
}

.top-btn {
  display: block;
  width: 80px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  position: relative;
  background-color: black;
  border: 2px solid white;;
  overflow: hidden;
  cursor: pointer;
}

.top-btn::before,
.top-btn::after {
  content: "";
  position: absolute;
  top: 25%;
  left: 50%;
  translate: -50% 0;
}

.top-btn::before {
  width: 24px;
  aspect-ratio: 1 / 1;
  border-top: var(--width-arrow-line) solid var(--color-arrow);
  border-left: var(--width-arrow-line) solid var(--color-arrow);
  rotate: 45deg;
}

.top-btn::after {
  width: var(--width-arrow-line);
  height: 50%;
  background-color: var(--color-arrow);
}

.scroll--active .top-btn:hover::before,
.scroll--active .top-btn:hover::after {
  animation: top 0.8s infinite;
}

@keyframes top {
  0% {
    top: 100%;
  }

  100% {
    top: -50%;
  }
}
/* Button Styles */
/* Button Styles */

/* Hero Section */

/* Container Setup */
.hero {
  padding: 80px 40px;
  display: flex;
  justify-content: center;
}
.hero-socials {
  position: absolute;
  top: 25px;    /* Adjust based on your frame thickness */
  right: 40px;  /* Adjust based on your frame thickness */
  display: flex;
  gap: 15px;
  z-index: 100; /* Keeps them clickable above other elements */
}

/* Individual Icon Style */
.hero-social-link {
  color: #fff;
  font-size: 22px;
  text-decoration: none;
  transition: all 0.2s ease;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent; /* Keeps layout stable on hover */
}

/* Hover Effect: Red Glow/Color change */
.hero-social-link:hover {
  color: red;
  border: 1px solid red;
  transform: translateY(-2px);
}

/* Ensure the hero-frame allows absolute positioning */
.hero-frame {
  position: relative;
  /* Keep your existing hero-frame styles here */
}

/* Ensure the button looks correct in the hero section */
.hero-cta-side .brutalist-resume-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background-color: #fff;
  color: #000;
  padding: 25px 50px;
  text-decoration: none;
  font-family: "GothamBlack", sans-serif;
  font-size: 24px;
  text-transform: uppercase;
  border: 4px solid #fff;
  box-shadow: 12px 12px 0px red; 
  transition: all 0.1s step-end;
}

.hero-cta-side .brutalist-resume-btn:hover {
  transform: translate(6px, 6px);
  box-shadow: 6px 6px 0px red;
  background-color: #000;
  color: #fff;
}
/* The White Frame */
.hero-frame {
  position: relative;
  width: 100%;
  max-width: 1200px;
  border: 5px solid #fff;
  border-top: none; /* We build the top border separately to leave a gap */
  padding: 60px 40px;
  margin-top: 40px;
  background-color: black;;
}

/* Top Border with Gap for Logo */
.frame-top-left, .frame-top-right {
  position: absolute;
  top: 0;
  height: 5px;
  background: #fff;
  width: 50%; /* Adjust this percentage to fit your logo width */
}
.frame-top-left { left: 0; }
.frame-top-right { right: 0; }

/* Content Layout (Split Screen) */
.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.hero-text-side {
  flex: 1;
  text-align: left;
}

.underlined-name {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  /* Remove the old standard underline */
  text-decoration: none; 
  /* Ensure text stays on top of the SVG */
  z-index: 1; 
  margin-bottom: 30px;
}

.underlined-name::after {
  content: '';
  position: absolute;
  /* Adjust these values to move the underline up/down or left/right */
  bottom: -30px; 
  left: -10px;
  right: -10px;
  height: 35px; /* Increased height to make it look thick like your design */
  
  /* The SVG from your snippet */
  background-image: url('https://s3-us-west-2.amazonaws.com/s.cdpn.io/664131/underline.svg');
  background-repeat: no-repeat;
  background-size: 100% 100%;
  
  /* Put it behind the text */
  z-index: -1;

  /* OPTIONAL: This filter makes the black SVG turn RED to match your theme */
  filter: invert(15%) sepia(100%) saturate(6932%) hue-rotate(358deg) brightness(95%) contrast(112%);
}

.main-title {
  font-family: "GothamBlack", sans-serif;
  font-size: 80px;
  line-height: 0.9;
  color: #fff;
  text-transform: uppercase;
  margin: 0 0 30px 0;
  letter-spacing: -3px;
}

.hero-description {
  color: #fff;
  font-size: 14px;
  line-height: 1.4;
  max-width: 450px;
  margin: 0;
}

/* View My Work Graphic Side */
.hero-cta-side {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative; /* Essential for absolute positioning of spikes */
  height: 100%;
}

.view-work-box {
  background: #fff;
  padding: 20px 40px;
  transform: rotate(-3deg); 
  cursor: pointer;
  position: relative;
  z-index: 10; /* Higher than the spikes */
}

.view-work-box h2 {
  color: #000;
  font-size: 60px;
  font-weight: 900;
  margin: 0;
  line-height: 1;
  text-align: center;
}

.lightning-effect {
  position: absolute;
  top: 125%;
  right: -155px; /* Adjust this to make it stick out more or less to the right */
  transform: translateY(-50%);
  width: 400px; /* Adjust size to match your image scale */
  z-index: 5;   /* Lower than the white box */
  pointer-events: none; /* Allows clicks to go through to the button */
}
.lightning-effect2 {
  position: absolute;
  top: -45%;
  right: 15px; 
  /* We combine the translation and the flip here */
  transform: translate(-200%) scaleX(-1); 
  width: 400px; 
  z-index: 5;   
  pointer-events: none; 
}

/* Responsive Fixes */
@media (max-width: 900px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  .hero-text-side {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .main-title { font-size: 50px; }
  .view-work-box h2 { font-size: 40px; }
}

/* ===== Responsive: collapse to single column on small screens ===== */
@media (max-width: 1100px) {
  .hero-title { font-size: 6rem; width: 60%; }
  .hero-image { width: 45%; top: 10%; }
}

@media (max-width: 780px) {
  .hero-content { flex-direction: column; align-items: center; }
  .hero-title { width: 100%; text-align: center; font-size: 4.25rem; padding-right: 0; z-index: 60; }
  .hero-text { text-align: center; }
  .resume-sub { text-align: center; }
  .hero-image { position: relative; right: auto; top: auto; width: 80%; z-index: 1; margin-top: 2rem; border-radius: 10px; }
}

/* ================================
   Portfolio Section (Container)
================================ */
.portfolio-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  padding-bottom: 50px;
}
/* ================================
   Portfolio-Section
================================ */
.port-section h4 {
  margin-bottom: 0; /* Clear the "invisible push" below the text */
  padding-bottom: 10px; /* Add a tiny, controlled space instead */
  
  /* Make sure it matches your brutalist style */
  font-family: "GothamBlack", sans-serif;
  font-size: 60px;
  text-align: center;
  color: #fff;
}

/* ================================
   Portfolio Items
================================ */
.portfolio-item {
  position: relative;
  width: calc(50% - 1rem);
  max-width: 100%;
  overflow: hidden;
  transition: transform 0.3s ease;
   border: 3px solid white;
  background: black;
  /* Add the same hard shadow to the projects! */
  box-shadow: 10px 10px 0px rgba(255,255,255,0.1);

}

.portfolio-item img {
  width: 100%;
  height: auto;
  display: block;
}

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

/* ================================
   Image Container (if used)
================================ */
.image-container {
  position: relative;
  width: 100%;
  height: 0;
  padding-bottom: 56.25%;
  overflow: hidden;
}

/* ================================
   Overlay
================================ */
.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  text-align: center;
  pointer-events: none;
}

.portfolio-item:hover .portfolio-overlay {
  opacity: 1;
}

.portfolio-overlay h3 {
  margin: 0;
  font-size: 1.5rem;
  color: white;
}

.portfolio-overlay p,
.portfolio-item .portfolio-overlay p {
  margin: 0;
  font-size: 14px;
 font-family: "Open Sans"; 
}

/* ================================
   Gallery Grid
================================ */
.portfolio-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 20px;
  justify-content: center;      /* Centers the whole grid */
  justify-items: center;        /* Centers each item */
  max-width: 1400px;
  margin: 0 auto;
}

.portfolio-gallery img {
  width: 100%;
  height: 300px; /* Set consistent height */
  object-fit: cover; 
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease-in-out;
}
.portfolio-thumb {
   width: 100%;       /* Or whatever fixed width your box has */
  height: 300px;      /* Or whatever fixed height your box has */
  overflow: hidden;   /* Ensures nothing spills out of the box */
  display: flex;
  justify-content: center;
  align-items: center;
}
.portfolio-item,
.portfolio-thumb {
  max-width: 550px;
}

/* Make images scale and crop instead of stretch */
.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
   object-position: center;
}
/* VELOCYTE SPECIFIC ADJUSTMENTS */
.portfolio-velocyte {
  width: 100%;
  height: 300px;      /* Matches your other boxes */
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;   /* Keeps background black if image is smaller */
}
.portfolio-velocyte img {
  width: 100%;
  height: 100%;
  /* Option A: Use 'contain' if you don't want the logo cropped at all */
  object-fit: contain; 
  /* Option B: Use 'scale' to fine-tune the size (adjust 0.9 to your liking) */
  transform: scale(2.7); 
  transition: transform 0.3s ease;
}
/* VELOCYTE SPECIFIC ADJUSTMENTS */


/* THE THRONE CALLS */
.portfolio-throne {
   width: 100%;       /* Or whatever fixed width your box has */
  height: 300px;      /* Or whatever fixed height your box has */
  overflow: hidden;   /* Ensures nothing spills out of the box */
  display: flex;
  justify-content: center;
  align-items: center;
}
.portfolio-throne img {
  width: 100%;
  height: 100%;
  transform: scale(0.8); 
  object-position: center;
}
/* THE THRONE CALLS */
.portfolio-gallery img:hover {
  transform: scale(1.05);
}

/* ================================
   Neo-Brutalist Filter Buttons
================================ */
.portfolio-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Increased gap for better visual breathing room */
  justify-content: center;
  padding: 40px 20px;
  margin-bottom: 40px;
}

.portfolio-filter button {
  font-family: "GothamBlack", sans-serif;
  padding: 12px 28px;
  font-size: 18px;
  text-transform: uppercase;
  cursor: pointer;
  
  /* THE BRUTALIST LOOK */
  background-color: #000;
  color: #fff;
  border: 4px solid #fff; /* Thick border matching your frames */
  border-radius: 0;      /* Sharp corners are essential */
  
  /* HARD OFFSET SHADOW (No blur) */
  box-shadow: 6px 6px 0px #fff; 
  
  transition: all 0.15s step-end; /* 'step-end' makes it feel mechanical/glitchy */
  position: relative;
}

/* HOVER STATE: The button "depresses" slightly */
.portfolio-filter button:hover {
  background-color: #fff;
  color: #000;
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0px #fff;
}

/* ACTIVE STATE: The button is fully "pressed" */
.portfolio-filter button.active {
  background-color: red; /* Your signature accent color */
  color: #fff;
  border-color: #fff;
  
  /* Moves the button down to where the shadow was, making it look clicked */
  transform: translate(6px, 6px);
  box-shadow: 0px 0px 0px #fff; 
}

/* Optional: Add a small technical arrow to the buttons */
.portfolio-filter button::before {
    content: '[';
    margin-right: 5px;
    opacity: 0.5;
}
.portfolio-filter button::after {
    content: ']';
    margin-left: 5px;
    opacity: 0.5;
}

#portfolio h2 {
  /* styles here */
  color: white;
  padding-top: 25px;
}
/* ================================
   Responsive
================================ */
@media (max-width: 768px) {
.portfolio-item {
  width: calc(50% - 1rem);
}


  .portfolio-overlay h3 {
    font-size: 1.2rem;
  }

  .portfolio-overlay p {
    font-size: 12px;
  }

  .portfolio-gallery {
    grid-template-columns: 1fr;
  }



/* ================================
  SERVICES SECTION
================================ */
}
.services-section {
  width: 100%;
  padding: 5px 0;
  background: #000;
  margin-bottom: 50px;;
}

.services-container {
  display: flex;
  height: 600px; /* Adjust height as needed */
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  gap: 10px;
  padding: 0 20px;
}

.service-panel {
  flex: 1; /* All panels start at equal width */
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 4px solid gray;
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

/* THE SHINE EFFECT (Kept exactly as requested) */
.service-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    110deg,
    transparent 20%,
    rgba(255,255,255,0.1) 40%,
    rgba(255,255,255,0.4) 50%,
    rgba(255,255,255,0.1) 60%,
    transparent 80%
  );
  transform: translateX(-150%);
  transition: transform 0.8s ease;
  z-index: 3;
  pointer-events: none;
}

/* Darkness overlay so text is readable */
.service-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 10%, transparent 100%);
  z-index: 1;
}

/* HOVER STATES */
.service-panel:hover {
  flex: 3; /* Panel grows significantly on hover */
  border-color: #fff;
}

.service-panel:hover::before {
  transform: translateX(150%); /* Shine sweep triggers on hover */
}

/* CONTENT INSIDE PANELS */
.panel-content {
  position: absolute;
  bottom: 40px;
  left: 30px;
  right: 30px;
  z-index: 2;
  color: #fff;
}

.service-number {
  display: block;
  font-size: 14px;
  font-weight: 900;
  margin-bottom: 10px;
  opacity: 0.6;
}

.service-title {
  font-size: 40px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
  white-space: nowrap; /* Keeps text on one line */
}

/* Extra details that only appear when the panel expands */
.service-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  margin-top: 20px;
}

.service-panel:hover .service-details {
  max-height: 200px;
  opacity: 1;
}

.service-details p, .service-details li {
  font-size: 16px;
  line-height: 1.5;
  color: #ccc;
}

.service-details ul {
    padding: 0;
    list-style: none;
}

/* RESPONSIVE: Stack them vertically on mobile */
@media (max-width: 768px) {
  .services-container {
    flex-direction: column;
    height: auto;
  }
  .service-panel {
    height: 250px;
    flex: none;
  }
  .service-panel:hover {
    flex: none;
    height: 350px;
  }
}
/* ================================
  SERVICES SECTION
================================ */



/* ================================
   NEO-BRUTALIST RESUME SECTION
================================ */
.resume-wrapper {
  padding: 150px 20px;
  background-color: transparent; /* Shows your grunge background */
  text-align: center;
}

.resume-section {
  max-width: 900px;
  margin: 0 auto;
}

/* HEADER STYLE */
.resume-tech-label {
  font-family: monospace;
  font-size: 14px;
  color: red; /* Your signature accent color */
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.resume-main-title {
  font-family: "GothamBlack", sans-serif;
  font-size: 120px; /* Oversized for impact */
  color: #fff;
  line-height: 0.8;
  margin: 0 0 50px 0;
  text-transform: uppercase;
  letter-spacing: -5px;
}

/* FILE INFO TEXT */
.resume-file-info {
  font-family: monospace;
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-bottom: 20px;
}

/* THE BRUTALIST DOWNLOAD BUTTON */
.brutalist-resume-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  
  background-color: #fff;
  color: #000;
  padding: 25px 50px;
  text-decoration: none;
  font-family: "GothamBlack", sans-serif;
  font-size: 24px;
  text-transform: uppercase;
  
  border: 4px solid #fff;
  /* HARD OFFSET SHADOW */
  box-shadow: 12px 12px 0px red; 
  
  transition: all 0.1s step-end; /* 'Step-end' feels more industrial */
}

/* HOVER: Button "presses" down */
.brutalist-resume-btn:hover {
  transform: translate(6px, 6px);
  box-shadow: 6px 6px 0px red;
  background-color: #000;
  color: #fff;
}

/* ACTIVE/CLICKED */
.brutalist-resume-btn:active {
  transform: translate(12px, 12px);
  box-shadow: 0px 0px 0px red;
}

.btn-arrow {
  font-size: 32px;
  font-weight: bold;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .resume-main-title {
    font-size: 60px;
    letter-spacing: -2px;
  }
  .brutalist-resume-btn {
    padding: 15px 30px;
    font-size: 18px;
    width: 100%; /* Full width on mobile */
  }
}
/* Footer */
footer {
  text-align: center;
  justify-content: center;
  padding: 1rem;
  background: black;
  color: #fff;
}
/* ----- NEW SERVICE LAYOUT ----- */
/* ===== RESET ===== */
* {
  box-sizing: border-box;
}

/* ===== SECTION ===== */
/* ===== SECTION CONTAINER ===== */
.about-cards {
  padding: 100px 20px;
  display: flex;
  justify-content: center;
}

/* ===== THE WHITE FRAME ===== */
/* GLOBAL SETTINGS */
.brutalist-master-container {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
  font-family: 'Arial Black', sans-serif;
}

/* THE MAIN OUTER BOX */
.main-frame {
  position: relative;
  width: 100%;
  max-width: 1300px;
  border: 6px solid #fff; /* Thick Brutalist Border */
  display: flex;
  flex-direction: column;
}

/* TOP TITLE OVERLAPPING BORDER */
.master-title {
  position: absolute;
  top: -50px;
  left: 40px;
  background: #000;
  padding: 0 20px;
  color: #fff;
  font-size: 50px;
  font-weight: 900;
  margin: 0;
  border: 6px solid #fff;
  text-transform: uppercase;
  z-index: 10;
}

/* SECTION 1: SERVICES WRAPPER */
.services-wrapper {
  padding: 60px 30px 40px 30px;
}

.services-container {
  display: flex;
  height: 500px;
  gap: 15px;
}

.service-panel {
  flex: 1;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  border: 3px solid #444; /* Thinner internal border */
  transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  cursor: pointer;
}

.service-panel:hover {
  flex: 3;
  border-color: #fff;
}

/* SHINE EFFECT */
.service-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 20%, rgba(255,255,255,0.1) 40%, rgba(255,255,255,0.4) 50%, rgba(255,255,255,0.1) 60%, transparent 80%);
  transform: translateX(-150%);
  transition: transform 0.8s ease;
  z-index: 3;
  pointer-events: none;
}
.service-panel:hover::before { transform: translateX(150%); }

.service-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 10%, transparent 100%);
  z-index: 1;
}

.panel-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 2;
  color: #fff;
}

.service-title {
  font-size: 32px;
  font-weight: 900;
  text-transform: uppercase;
  margin: 0;
}

.service-details {
  max-height: 0;
  opacity: 0;
  transition: all 0.4s ease;
}

.service-panel:hover .service-details {
  max-height: 150px;
  opacity: 1;
  margin-top: 10px;
}

/* THE INTERNAL DIVIDER */
.section-divider {
  border-top: 6px solid #fff;
  position: relative;
  height: 2px;
  margin: 20px 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.divider-label {
  background: #fff;
  color: #000;
  padding: 5px 20px;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
  position: absolute;
  top: -20px;
}

/* SECTION 2: PROCESS WRAPPER */
.process-wrapper {
  padding: 60px 40px;
}

.about-cards__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}

.about-card {
  flex: 1;
  text-align: center;
  color: #fff;
}

.about-card__icon {
  height: 80px;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.about-card__icon img {
  max-width: 80px;
  max-height: 80px;
  filter: brightness(0) invert(1);
}

.about-card__title {
  font-size: 24px;
  line-height: 1;
  margin-bottom: 10px;
}

.about-card__text {
  font-size: 13px;
  opacity: 0.8;
  max-width: 200px;
  margin: 0 auto;
}

.process-arrow img {
  width: 40px;
  margin-top: 20px;
  filter: brightness(0) invert(1);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .master-title { font-size: 30px; top: -20px; }
  .services-container { flex-direction: column; height: auto; }
  .service-panel { height: 200px; }
  .service-panel:hover { flex: none; height: 300px; }
  .about-cards__row { flex-direction: column; align-items: center; }
  .process-arrow { transform: rotate(90deg); padding: 20px 0; }
  .section-divider { margin-top: 40px; }
}

/* SERVICES SECTION */
/* ===============================

/* Basic styling for RESUME details */
.resume-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 50px;
}

.resume-section {
  text-align: center;
}


/* PROJECT HTMLS */
/* Basic styling for project details */
/* --- Background Bull (Cut off on left) --- */
.side-bull-bg {
    position: fixed;
    top: 0%;
    width: 550px;
    z-index: -1; /* Behind everything */
    opacity: 0.7;
    pointer-events: none;
}

.side-gooey-bg {
    position: fixed;
    top: 50%;
    width: 550px;
    z-index: -1; /* Behind everything */
    opacity: 0.7;
    pointer-events: none;
}
.project-page {
    position: relative;
    z-index: 1;
    padding-bottom: 100px;
}

/* --- Project Top --- */
.project-top {
    padding: 100px 0 40px; /* Increased top padding to give it space */
    display: flex;
    justify-content: center;
    align-items: center;
}

.project-main-logo img {
    /* Adjust these values to your liking */
    width: 110%;          /* Allows it to be large on all screens */
    max-width: 500px;    /* Increased from 350px to 700px */
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

/* Optional hover effect */
.project-main-logo img:hover {
    transform: scale(1.02);
}

/* Mobile Tweak */
@media (max-width: 768px) {
    .project-main-logo img {
        max-width: 400px; /* Scales down slightly for phones */
    }
}

/* --- 1. GLOBAL GRID (FOR GOOEY & OTHER PAGES) --- */
.showcase-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr; /* 3-column layout */
    grid-auto-rows: minmax(150px, auto); 
    gap: 15px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* These spans apply to ALL projects EXCEPT Velocyte */
.grid-item.large { grid-column: 1 / 2; grid-row: span 2; }
.grid-item.small-top { grid-column: 2 / 3; }
.grid-item.small-bottom { grid-column: 2 / 3; }
.grid-item.tall { grid-column: 3 / 4; grid-row: span 2; }
.grid-item.full-width { grid-column: 1 / 4; height: 400px; margin: 10px 0; }

/* --- Shared Grid Item Styles --- */
.grid-item { position: relative; overflow: hidden; border: 1px solid #333; cursor: pointer; }
.grid-item img { width: 100%; height: 100%; object-fit: cover; display: block; }

.img-primary { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.img-hover { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 0.4s ease; pointer-events: none; }
.grid-item:hover .img-hover { opacity: 1; }
.grid-item:hover .img-primary { transform: scale(1.05); }

/* --- Lightbox Styles --- */
.lightbox { display: none; position: fixed; z-index: 9999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.95); justify-content: center; align-items: center; cursor: zoom-out; }
#lightbox-img { max-width: 90%; max-height: 85%; border: 5px solid #fff; box-shadow: 0 0 50px rgba(0,0,0,1); animation: zoomIn 0.3s ease; }
.close-lightbox { position: absolute; top: 30px; right: 50px; color: white; font-size: 60px; font-weight: bold; cursor: pointer; }
@keyframes zoomIn { from { transform: scale(0.8); opacity: 0; } to { transform: scale(1); opacity: 1; } }


/* VELOCYTE START */
/* VELOCYTE START */
/* VELOCYTE START */
/* VELOCYTE START */
/* VELOCYTE START */

.showcase-grid.velocyte-grid {
    grid-template-columns: repeat(4, 1fr) !important; /* Force 4 columns */
    grid-auto-rows: auto !important;
}

/* Neutralize spans for Velocyte so they sit side-by-side */
.velocyte-grid .grid-item.large,
.velocyte-grid .grid-item.small-top,
.velocyte-grid .grid-item.small-bottom,
.velocyte-grid .grid-item.tall {
    grid-column: auto !important;
    grid-row: auto !important;
    width: 100% !important;
}

/* TOP ROW (Items 1-4): Tall/Large */
.velocyte-grid .grid-item:nth-child(1),
.velocyte-grid .grid-item:nth-child(2),
.velocyte-grid .grid-item:nth-child(3),
.velocyte-grid .grid-item:nth-child(4) {
    height: 600px;
}

/* MIDDLE ROW: Full Width Banner (Spans 4 columns) */
.velocyte-grid .grid-item.full-width {
    grid-column: 1 / 5 !important; 
    height: 400px !important;
    margin: 15px 0;
}

/* BOTTOM ROW (Items 6-9): Smaller Boxes */
.velocyte-grid .grid-item:nth-child(6),
.velocyte-grid .grid-item:nth-child(7),
.velocyte-grid .grid-item:nth-child(8),
.velocyte-grid .grid-item:nth-child(9) {
    height: 300px; 
}

/* Ensure images fill heights correctly */
.velocyte-grid .grid-item img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}
/* VELOCYTE END */
/* VELOCYTE END */
/* VELOCYTE END */
/* VELOCYTE END */
/* VELOCYTE END */

/* --- Info Grid & Cards --- */
.info-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
    max-width: 1100px;
    margin: 40px auto;
    padding: 0 20px;
}

.card {
    background: rgba(0,0,0,0.9);
    border: 4px solid #fff;
    padding: 30px;
}

.ember-desc h2 { text-align: left; margin: 10px 0; }
.spec-row {
    font-family: "voye";
    border-bottom: 1px solid #333;
    padding: 10px 0;
    display: flex;
    justify-content: space-between;
}
.spec-row strong { font-family: "GothamBlack"; color: #fff; }

/* --- Technical Grid --- */
.tech-grid {
    display: flex;
    justify-content: center; /* Centers the items horizontally */
    gap: 40px;               /* Space between the two cards */
    flex-wrap: wrap;         /* Ensures responsiveness on mobile */
    max-width: 1200px;
    margin: 0 auto;          /* Centers the grid container itself */
}

.tech-card {
    flex: 1;                 /* Allows them to grow */
    min-width: 400px;        /* Minimum width for each box */
    max-width: 500px;        /* Maximum width for each box */
    padding: 40px;           /* Increased padding for a bigger feel */
    background:black;     /* Match your existing card background color */
    border: 1px solid #333;  /* Optional visual border */
}

.font-preview h1 { 
    font-family: "Open Sans"; 
    font-weight: 800; 
    font-size: 70px; 
    margin: 0; 
}
.font-preview img { 
    height: 200px;    /* Matches your previous font-size for consistency */
    width: auto;     /* Maintains aspect ratio */
    display: block; 
    margin: 0; 
}
.tech-mockup { 
    width: 100%; 
    margin-top: 10px; 
}

.swatch { 
    width: 50px; 
    height: 50px; 
    border: 1px solid #fff; 
}

/* Modified to create the list layout */
.color-swatches { 
    display: flex; 
    flex-direction: column; /* Stacks the items vertically */
    gap: 10px; 
    margin-top: 20px; 
}

/* New class to align square and hex code horizontally */
.color-item {
    display: flex;
    align-items: center; /* Vertical center alignment */
    gap: 15px;           /* Space between the square and the text */
}

.hex-code {
    font-family: monospace; /* Professional look for hex codes */
    font-size: 1rem;
    color: #fff;            /* Adjust color based on your background */
}
/* --- Concept Section --- */
.concept-title {
    font-family: "GothamBlack", sans-serif;
    font-size: 80px;
    text-align: center;
    margin: 80px 0 40px;
    color: #fff;
    text-transform: uppercase;
}

.concept-gallery {
    display: flex;
    justify-content: center;
    align-items: flex-start; /* CRITICAL: Prevents images from stretching vertically */
    gap: 40px;
    margin-bottom: 80px;
    padding: 0 5%;
    flex-wrap: wrap; /* Allows them to wrap on smaller screens instead of squishing */
}

.concept-gallery img {
    /* Change max-width to allow them to be a bit bigger if they are dielines */
    max-width: 450px; 
    width: 100%;
    
    /* THE FIX FOR SQUISHING: */
    height: auto !important; 
    object-fit: contain; /* Ensures the whole line-art is visible */
    
    /* Optional: Make them pop against the dark BG */
    filter: brightness(0.9);
    transition: filter 0.3s ease;
}

.concept-gallery img:hover {
    filter: brightness(1.2);
}

/* Wireframe box at the bottom */
.wireframe-box {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    max-width: 1200px;
    margin: 0 auto;
}

.wireframe-box img {
    width: 100%;
    max-width: 1000px;
    height: auto;
    opacity: 0.5;
}

/* Mobile responsive */
@media (max-width: 800px) {
    .concept-gallery {
        flex-direction: column;
        align-items: center;
    }
    .concept-gallery img {
        max-width: 90%; /* Let them take up more width on phones */
    }
}