@import url("https://cdn-uicons.flaticon.com/4.0.0/uicons-solid-rounded/css/uicons-solid-rounded.css");

:root {
  --yellow: #feda00;
  --magenta: #ff006e;
  --cyan: #00f0ff;
  --orange: #ff6b00;
  --black: #000000;
  --white: #ffffff;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Space Grotesk", monospace;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  cursor: crosshair;
}
h1,
h2,
h3 {
  font-family: "Bebas Neue", sans-serif;
  text-transform: uppercase;
}
a {
  color: inherit;
  text-decoration: none;
}
.contact a:hover {
  border-bottom: 4px solid var(--yellow);
}
/* Container to keep content above background */
.container {
  position: relative;
  z-index: 1;
  max-width: 1600px;
  margin: 0 auto;
}
.hero {
  height: 100vh;
  padding: 4rem;
  position: relative;
  background: var(--yellow);
  color: var(--black);
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
}
.hero h1 {
  font-size: clamp(4rem, 12vw, 11rem);
  line-height: 0.9;
  letter-spacing: 2px;
  margin-bottom: 30px;
  color: var(--black);
  position: relative;
  z-index: 1;
}
.hero h1 span {
  color: var(--magenta);
}
.hero p {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 1rem 0 2rem;
  color: var(--black);
  max-width: 600px;
  position: relative;
  z-index: 1;
}
.hero button {
  width: fit-content;
  padding: 1rem 3rem;
  background: var(--black);
  color: var(--white);
  border: none;
  font-family: "Archivo Black", sans-serif;
  font-size: 1.2rem;
  cursor: pointer;
  transition:
    transform 0.2s,
    background 0.2s;
  position: relative;
  z-index: 1;
}
/* Hero Sidebar Image */
.hero-sidebar-img {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: auto;
  max-width: 50%;
  object-fit: cover;
  z-index: 0;
  filter: grayscale(100%);
  transition: filter 0.1s ease;
}
.hero-sidebar-img:hover {
  filter: grayscale(0%);
}

.hero-logo {
  margin-top: 2rem;
  margin-bottom: 5rem;
  top: 4rem;
  width: 100px;
  z-index: 10;
}

@media (max-width: 768px) {
  .hero-logo {
    position: absolute;
    left: 2rem;
    top: 2rem;
    width: 80px;
  }
}
.hero a {
  text-decoration: none;
  width: fit-content;
}
#contactBtn {
  color: var(--black);
  background: var(--white);
  display: flex;
  align-items: top;
  gap: 1rem;
}
#contactBtn:hover {
  background: var(--magenta);
  color: var(--white);
}
#scrollBtn:hover {
  background: var(--magenta);
  color: var(--white);
}
.hero button:hover {
  transform: translateX(10px);
}
.shape {
  position: absolute;
  z-index: 0;
  pointer-events: none;
}
.shape-1 {
  width: 200px;
  height: 200px;
  background: var(--magenta); /* Using Claude variable for fusion */
  top: 10%;
  right: 5%;
  transform: rotate(20deg);
}
/* Sections */
.section {
  padding: 6rem 4rem;
}
.about h2,
.work h2,
.contact h2 {
  font-size: 4rem;
  color: var(--yellow); /* Pop color */
  margin-bottom: 2rem;
  letter-spacing: -2px;
}
.about p {
  max-width: 800px;
  font-size: 1.8rem;
  line-height: 1.4;
} /* Contact Section */
.contact {
  text-align: center;
  margin-top: 4rem;
}
.contact p {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--white);
  display: inline-block;
}

/* Work Section with Dotted Background */
.section.work {
  position: relative;
  background-image: radial-gradient(circle, #333333 1.5px, transparent 1.5px);
  background-size: 40px 40px;
  background-position: 0 0;
  background-attachment: scroll;
}

.section.work::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.02) 0%,
    rgba(0, 0, 0, 0) 50%
  );
  pointer-events: none;
  z-index: 0;
}

.section.work > * {
  position: relative;
  z-index: 1;
}

/* 5. GALLERY & CARDS (Layout from ChatGPT) */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
}
.card {
  position: relative;
  overflow: hidden;
  background: var(--black);
  border: 2px solid var(--white); /* Added border to frame content in dark mode */
  aspect-ratio: 1; /* Make them square like Claude's work items */
  cursor: none; /* Hide default cursor to use custom logic if desired, or just pointer */
}
.card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%) contrast(1.2);
  transition:
    transform 0.4s,
    filter 0.4s;
}
.card span {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--magenta); /* Claude color */
  color: var(--white);
  padding: 1rem 1.5rem;
  font-family: "Archivo Black", sans-serif;
  text-transform: uppercase;
  font-size: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s;
}
.card:hover span {
  transform: translateY(0);
}
.card:hover img {
  transform: scale(1.1);
  filter: grayscale(0%);
} /* Footer */
footer {
  padding: 4rem 2rem;
  text-align: center;
  font-size: 1rem;
  opacity: 0.5;
  margin-top: 4rem;
} /* 6. CURSOR ANIMATION ELEMENTS (From Claude) */
.cursor-shape {
  position: fixed;
  width: 30px;
  height: 30px;
  pointer-events: none;
  z-index: 9999;
} /* Mobile Responsive */
@media (max-width: 768px) {
  .hero,
  .section {
    padding: 2rem 1rem; /* Reduce side padding further */
  }
  .hero h1 {
    font-size: 3.5rem; /* Ensure it fits */
  }

  /* Fix Gallery Grid for mobile */
  .gallery {
    grid-template-columns: 1fr; /* Single column on mobile */
    gap: 1.5rem;
  }

  /* Fix Email Overflow */
  .contact p {
    font-size: 1.5rem; /* Smaller font for email */
    word-break: break-all; /* Break long words if necessary */
    padding: 0 10px; /* Ensure some spacing */
  }

  /* Adjust see more buttons stack */
  .section.work > div[style*="display: flex"] {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .contact p {
    font-size: 1.2rem; /* Even smaller for very small screens */
  }
}
/* About Section (Structured Layout with Parallax) */
.about-section {
  padding: 6rem 4rem;
  position: relative;
  border-bottom: 1px solid var(--white);

  /* Parallax Background */
  min-height: 80vh; /* Restore height from original parallax */
  background-image: url("https://images.unsplash.com/photo-1506744038136-46273834b3fb?w=1600&h=900&fit=crop"); /* Example parallax image */
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  /* Flex alignment if needed, but grid handles layout */
  display: flex;
  align-items: center;
}
/* Dark Overlay for Parallax */
.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* Darker overlay to make text pop */
  z-index: 1;
}
.about-grid {
  position: relative; /* Sit above overlay */
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1400px;
  margin: 0 auto;
  align-items: center;
}
.about-text-column h2 {
  font-size: 5rem;
  color: var(--yellow);
  margin-bottom: 2rem;
  line-height: 0.9;
  text-shadow: 4px 4px 0 var(--magenta);
}
.about-copy p {
  font-size: 1.5rem;
  line-height: 1.6;
  margin-bottom: 3rem;
  color: var(--white);
}
/* Tools & Icons */
.tools-container h3 {
  font-size: 1.2rem;
  margin-bottom: 1rem;
  color: var(--cyan);
  letter-spacing: 2px;
}
.tool-icons {
  display: flex;
  gap: 1.5rem;
}
.tool-icon {
  width: 60px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  font-family: "Space Grotesk", sans-serif;
  border-radius: 8px; /* Slight soft edge like Adobe icons */
  transition: transform 0.2s;
  cursor: default;
}
.tool-icon:hover {
  transform: translateY(-5px);
}
.tool-icon.ps {
  background: #001e36;
  color: #31a8ff;
  border: 2px solid #31a8ff;
}
.tool-icon.ai {
  background: #330000;
  color: #ff9a00;
  border: 2px solid #ff9a00;
}
.tool-icon.id {
  background: #2d001e;
  color: #ff3366;
  border: 2px solid #ff3366;
}
/* About Image */
.about-image-column {
  position: relative;
}
/* Sample Works Grid (2x2) */
.sample-works-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 1.5rem;
  width: 100%;
}
.work-sample {
  position: relative;
  width: 100%;
  /* Enforce 4:3 aspect ratio */
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 3px solid var(--white);
  transition: transform 0.3s ease;
}
.work-sample:hover {
  transform: scale(1.05);
  z-index: 10;
  box-shadow: 10px 10px 0 var(--magenta);
}
.work-sample img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}
.work-sample:hover img {
  filter: grayscale(0%);
}
/* Stagger animation or style for variety */
.work-sample:nth-child(2) {
  transform: translateY(20px);
}
.work-sample:nth-child(4) {
  transform: translateY(20px);
}
/* Reset hover transform for staggered items so they pop correctly */
.work-sample:nth-child(2):hover,
.work-sample:nth-child(4):hover {
  transform: translateY(20px) scale(1.05);
}
/* === CONTACT PAGE STYLES === */
.contact-page-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.contact-section {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 2rem;
  position: relative;
  background: var(--black);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  align-items: center;
  position: relative;
  z-index: 2;
}
@media (max-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
  }
}
/* Typography & Info */
.contact-content {
  position: relative;
  z-index: 2;
}

.contact-content h1 {
  font-size: 6rem;
  line-height: 0.85;
  /* color: var(--white); */
  color: var(--yellow);
  margin-bottom: 2rem;
  /* text-shadow: 5px 5px 0 var(--yellow); */
}
.contact-content p {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 3rem;
  font-weight: 300;
  max-width: 600px;
}
/* Contact Image Specifics */
.contact-image-area {
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 2;
  perspective: 1000px;
}

.contact-image-area .profile-image-wrapper {
  width: 70%;
  position: relative;
  z-index: 2;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Offset Shadow Effect */
.contact-image-area .profile-image-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--magenta);
  z-index: -1;
  transform: translate(0, 0);
  transition: transform 0.3s ease;
}

.contact-image-area img {
  width: 100%;
  height: auto;
  filter: grayscale(100%);
  transition: all 0.4s ease;
  border: 3px solid var(--white);
  display: block;
}

/* Hover States */
.contact-image-area:hover .profile-image-wrapper {
  transform: translate(-10px, -10px);
}

.contact-image-area:hover .profile-image-wrapper::after {
  transform: translate(20px, 20px);
}

.contact-image-area:hover img {
  filter: grayscale(0%);
  border-color: var(--yellow);
}
/* Back Link Style override */
.back-home {
  position: absolute;
  top: 2rem;
  left: 2rem;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  color: var(--white);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: 0.3s;
  z-index: 100;
}
.back-home:hover {
  color: var(--cyan);
  border-color: var(--cyan);
}
/* Contact Form Styles (Restored) */
.neo-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
  margin-bottom: 2rem;
}
.neo-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: left;
}
.neo-form label {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 1px;
}
.neo-form input,
.neo-form textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--white);
  padding: 1rem;
  color: var(--white);
  font-family: "Space Grotesk", monospace;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}
.neo-form input:focus,
.neo-form textarea:focus {
  background: rgba(0, 0, 0, 1);
  border-color: var(--yellow);
  box-shadow: 4px 4px 0 var(--cyan);
  outline: none;
}
.neo-btn {
  background: var(--white);
  color: var(--black);
  font-family: "Archivo Black", sans-serif;
  font-size: 1.5rem;
  padding: 1rem 2rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-transform: uppercase;
  margin-top: 1rem;
  display: inline-block;
  align-self: flex-start;
}
.neo-btn:hover {
  background: var(--yellow);
  transform: translate(-4px, -4px);
  box-shadow: 6px 6px 0 var(--magenta);
}

/* === REFINED CONTACT FORM STYLES === */
.neo-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  width: 100%;
  margin-top: 1rem;
}

.neo-form-group {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.neo-form label {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  color: var(--white);
  letter-spacing: 2px;
  text-shadow: 2px 2px 0 rgba(0, 0, 0, 0.5);
  transition: color 0.3s ease;
}

.neo-form-group:focus-within label {
  color: var(--yellow);
}

.neo-form input,
.neo-form textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 2px solid #333;
  border-radius: 0; /* Brutalist */
  padding: 1.2rem;
  color: var(--white);
  font-family: "Space Grotesk", monospace;
  font-size: 1.1rem;
  width: 100%;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.neo-form input:hover,
.neo-form textarea:hover {
  border-color: #555;
  background: rgba(255, 255, 255, 0.05);
}

.neo-form input:focus,
.neo-form textarea:focus {
  background: rgba(0, 0, 0, 0.8);
  border-color: var(--magenta);
  box-shadow: 5px 5px 0 var(--cyan);
  outline: none;
  padding-left: 1.5rem; /* Slight shift for impact */
}

.neo-submit-btn {
  background: none;
  outline: none;
  border: none;
  cursor: pointer;
  width: fit-content;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.neo-submit-btn:hover {
  transform: translateY(-5px);
}

/* Placeholder styling */
.neo-form input::placeholder,
.neo-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Button Styling */
.neo-btn {
  background: var(--white);
  color: var(--black);
  font-family: "Archivo Black", sans-serif;
  font-size: 1.8rem;
  padding: 1.2rem 3rem;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  margin-top: 1rem;
  display: inline-block;
  align-self: flex-start;
  position: relative;
  z-index: 10;
}

.neo-btn:hover {
  background: var(--yellow);
  color: var(--black);
  transform: translate(-5px, -5px);
  box-shadow: 10px 10px 0 var(--magenta);
}

.neo-btn:active {
  transform: translate(0, 0);
  box-shadow: 0 0 0 transparent;
} /* === SOCIAL MEDIA STYLES === */
.social-links {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 0;
  border: 2px solid;
  text-decoration: none;
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.3rem;
  font-weight: bold;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
  overflow: hidden;
  text-transform: uppercase;
}

/* Pinterest */
.social-link.pinterest {
  border-color: #e60023;
  color: var(--white);
  background: #e60023;
}

.social-link.pinterest:hover {
  transform: translate(-5px, -5px);
  box-shadow: 8px 8px 0 rgba(230, 0, 35, 0.3);
}

/* Instagram */
.social-link.instagram {
  border-color: #e1306c;
  color: #e1306c;
  background: #e1306c;
}

.social-link.instagram:hover {
  color: var(--white);
  transform: translate(-5px, -5px);
  box-shadow: 8px 8px 0 rgba(225, 48, 108, 0.3);
}

/* Facebook */
.social-link.facebook {
  border-color: #1877f2;
  color: #1877f2;
  background: #1877f2;
}

.social-link.facebook:hover {
  color: var(--white);
  transform: translate(-5px, -5px);
  box-shadow: 8px 8px 0 rgba(24, 119, 242, 0.3);
}

.social-link.telegram {
  border-color: #0088cc !important;
  color: #0088cc !important;
  background: transparent !important; /* Ensure background is transparent initially */
}

.social-link.telegram img {
  filter: invert(44%) sepia(99%) saturate(1519%) hue-rotate(176deg)
    brightness(96%) contrast(101%); /* Matches #0088cc */
  transition: filter 0.3s;
}

.social-link.telegram:hover {
  background: #0088cc !important;
  box-shadow: 8px 8px 0 rgba(0, 136, 204, 0.3);
  transform: translate(-5px, -5px);
}

.social-link.telegram:hover img {
  filter: brightness(0) invert(1); /* White on hover */
}

/* WhatsApp */
.social-link.whatsapp {
  border-color: #25d366 !important;
  color: #25d366 !important;
  background: transparent !important;
}

.social-link.whatsapp img {
  filter: invert(72%) sepia(38%) saturate(996%) hue-rotate(85deg)
    brightness(93%) contrast(92%); /* Matches #25d366 */
  transition: filter 0.3s;
}

.social-link.whatsapp:hover {
  background: #25d366 !important;
  box-shadow: 8px 8px 0 rgba(37, 211, 102, 0.3);
  transform: translate(-5px, -5px);
}

.social-link.whatsapp:hover img {
  filter: brightness(0) invert(1); /* White on hover */
}
.social-link.whatsapp {
  border-color: #25d366;
  color: #25d366;
  background: #25d366;
}

.social-link.whatsapp:hover {
  color: var(--white);
  transform: translate(-5px, -5px);
  box-shadow: 8px 8px 0 rgba(37, 211, 102, 0.3);
}

/* Contact Page Social Links */
.contact-content .social-links {
  margin-top: 2rem;
  gap: 1.5rem;
  justify-content: flex-start;
}

.contact-content .social-link {
  width: 50px;
  height: 50px;
  font-size: 1rem;
}

/* Contact Page Social Links */
.contact-content .social-links {
  margin-top: 2rem;
  gap: 1.5rem;
  justify-content: flex-start;
}

.contact-content .social-link {
  width: 50px;
  height: 50px;
}

.contact-content .social-link i {
  font-size: 1.5rem;
}

/* === PORTFOLIO PAGE STYLES === */

.portfolio-header {
  background: var(--yellow);
  color: var(--black);
  padding: 4rem 2rem;
  position: relative;
  overflow: hidden;
  min-height: 30vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-header-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1400px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.portfolio-header-content .social-links-contact {
  display: flex;
  gap: 1.5rem;
  justify-content: flex-start;
}

.portfolio-header-content .social-links-contact a:hover {
  text-decoration: underline;
}

.portfolio-header-content .navigation {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.portfolio-header-content .navigation :nth-child(2):hover {
  text-decoration: underline;
}

.portfolio-header h1 {
  font-family: "Bebas Neue", sans-serif;
  font-size: 5rem;
  color: var(--black);
  text-shadow: 3px 3px 0 var(--magenta);
  margin: 0;
}

.back-btn {
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.5rem;
  color: var(--black);
  text-decoration: none;
  border: 2px solid var(--black);
  padding: 0.5rem 1.5rem;
  transition: all 0.3s ease;
}

.back-btn:hover {
  background: var(--black);
  color: var(--yellow);
}

.portfolio-section {
  padding: 4rem 2rem;
  background: var(--black);
  min-height: 100vh;
}

/* Masonry Grid */
.masonry-grid {
  display: flex; /* Changed from grid to flex to allow JS to control columns */
  justify-content: center;
  gap: 1.5rem; /* Reduced gap for better mobile fit */
  max-width: 1600px;
  margin: 0 auto;
}

.masonry-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  flex: 1; /* Allow columns to grow and fill space */
  min-width: 0; /* Prevent overflow */
}

.masonry-item {
  position: relative;
  overflow: hidden;
  width: 100%; /* Ensure item takes full width of column */
}

.design-card {
  position: relative;
  overflow: hidden;
  background: var(--black);
  /* border: 2px solid var(--white); */
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  cursor: pointer;
  width: 100%;
  border-radius: 10px;
}

.design-card img {
  width: 100%;
  height: auto; /* Allow height to be determined by aspect ratio */
  min-height: 100px; /* Prevent collapse while loading */
  object-fit: cover;
  /* filter: grayscale(100%); */
  transition: filter 0.4s ease;
  display: block;
}

/* .design-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95), transparent);
  padding: 2rem 1rem 1rem;
  color: var(--white);
  font-family: "Bebas Neue", sans-serif;
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  transform: translateY(100%);
  transition: transform 0.3s ease;
} */

.design-card:hover {
  border-color: var(--cyan);
  box-shadow: 8px 8px 0 var(--magenta);
  transform: translate(-4px, -4px);
  z-index: 10; /* Ensure hovered item is above others */
}

/* .design-card:hover img {
  filter: grayscale(0%);
} */

/* .design-card:hover .design-label {
  transform: translateY(0);
} */

/* Responsive */
@media (max-width: 1024px) {
  .masonry-grid {
    padding: 0 1rem; /* Add side padding */
    gap: 1rem;
  }
  .masonry-column {
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .masonry-grid {
    gap: 0.5rem; /* Tighter gap for mobile */
    padding: 0 0.5rem;
  }

  .masonry-column {
    gap: 0.5rem;
  }

  .portfolio-header h1 {
    font-size: 3rem;
  }

  .portfolio-header-content {
    flex-direction: column;
    gap: 1.5rem;
  }

  .back-btn {
    font-size: 1rem;
  }
}

/* See More Button */
.see-more-btn {
  display: inline-block;
  background: var(--white);
  color: var(--black);
  font-family: "Archivo Black", sans-serif;
  font-size: 1.5rem;
  padding: 1rem 2rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  text-transform: uppercase;
  margin-top: 2rem;
  position: relative;
  z-index: 2;
}

.see-more-btn:hover {
  background: var(--yellow);
  color: var(--black);
  transform: translate(-5px, -5px);
  box-shadow: 10px 10px 0 var(--magenta);
}

/* View Complete Profile Button */
.view-profile-btn {
  display: inline-block;
  background: var(--cyan);
  color: var(--black);
  font-family: "Archivo Black", sans-serif;
  font-size: 1.3rem;
  padding: 1.2rem 2.5rem;
  border: 2px solid var(--cyan);
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.view-profile-btn:hover {
  background: transparent;
  color: var(--cyan);
  border-color: var(--cyan);
  transform: translate(-5px, -5px);
  box-shadow: 10px 10px 0 var(--magenta);
}

/* Lightbox Styles */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.877);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

#lightbox.active {
  opacity: 1;
  pointer-events: all;
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border: 2px solid var(--yellow);
  box-shadow: 0 0 20px rgba(254, 218, 0, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
  object-fit: contain;
}

#lightbox.active img {
  transform: scale(1);
}

#lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  font-size: 3rem;
  cursor: pointer;
  transition: color 0.3s ease;
  line-height: 1;
}

#lightbox-close:hover {
  color: var(--magenta);
}

/* =========================================
   MOBILE RESPONSIVENESS ENHANCEMENTS
   ========================================= */

/* Tablet & Mobile Breakpoint (max-width: 900px) */
@media (max-width: 900px) {
  /* Hero Section */
  .hero {
    padding: 2rem 1.5rem;
    min-height: auto; /* Let content define height if needed, or keep min-height for full screen */
    min-height: 100vh;
  }

  .hero h1 {
    font-size: clamp(3.5rem, 10vw, 6rem);
    margin-bottom: 1rem;
  }

  /* Replace sidebar image with centered background image on mobile */
  .hero-sidebar-img {
    display: none;
  }

  /* Add main-image.jpg as background behind text */
  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("assets/main-image.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3; /* Text remains readable */
    z-index: 0;
    /* filter: grayscale(50%); */
    pointer-events: none;
  }

  .hero p {
    max-width: 100%;
    font-size: 1.2rem;
  }

  /* About Section */
  .about-section {
    padding: 4rem 1.5rem;
    background-attachment: scroll; /* Fixed background can be janky on mobile */
  }

  .about-grid {
    grid-template-columns: 1fr; /* Stack columns */
    gap: 3rem;
  }

  .about-text-column h2 {
    font-size: 3.5rem;
  }

  /* Reset Sample Works Grid to be more manageable */
  .sample-works-grid {
    gap: 2rem; /* Increased gap to separate images better on mobile */
  }

  .work-sample {
    margin-bottom: 2rem; /* Add margin bottom to ensure separation when stacked */
  }

  /* Contact Grid */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-image-area {
    order: -1; /* Show image/visual first or keep it bottom? Let's keep default or move */
    /* Usually on mobile, form first is better for utility */
  }
}

/* Mobile Breakpoint (max-width: 600px) */
@media (max-width: 600px) {
  /* Global Resets */
  .section {
    padding: 3rem 1.5rem;
  }

  /* Hero */
  .hero h1 {
    font-size: 3.5rem;
    line-height: 0.9;
  }

  .hero-sidebar-img {
    width: 80%;
    opacity: 0.1;
  }

  /* About */
  .about-text-column h2 {
    font-size: 3rem;
  }

  .about-copy p {
    font-size: 1.1rem;
  }

  /* Stack Sample Works 1 column */
  .sample-works-grid {
    grid-template-columns: 1fr;
  }

  .work-sample {
    aspect-ratio: 16/9; /* Wider cards on mobile look better */
  }

  /* Contact Page */
  .contact-section {
    padding: 2rem 1rem;
  }

  .contact-content h1 {
    font-size: 3rem;
  }

  .neo-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.2rem;
    text-align: center;
  }

  /* Portfolio Page Masonry - Handled by JS + Flex now, removing grid override */
  /* .masonry-grid {
    grid-template-columns: 1fr; 
    gap: 1.5rem;
  } */

  .portfolio-header {
    padding: 6rem 1rem 2rem 1rem; /* More top padding for nav */
  }
}

/* Fix for long email address on Contact Section */
.contact p a {
  word-break: break-all;
  font-size: clamp(1rem, 5vw, 2.5rem);
  line-height: 1.2;
  display: inline-block;
  padding: 0 10px;
}

.portfolio-header h1 {
  font-size: 3rem;
}

.portfolio-header-content {
  flex-direction: column;
  align-items: flex-start;
  gap: 2rem;
}

.portfolio-header-content .navigation {
  width: 100%;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
}

/* Mobile Extras */
@media (max-width: 900px) {
  .cursor-shape {
    display: none !important;
  }

  /* Make card titles visible by default on mobile since there is no hover */
  .card span {
    transform: translateY(0) !important;
    background: rgba(255, 0, 110, 0.8) !important;
  }

  /* Disable card rotation tilt on mobile if it feels weird */
  .card {
    transform: none !important;
  }
}

/* Toast Notification (Neo-Brutalist Style) */
#toast-alert {
  visibility: hidden;
  min-width: 300px;
  background-color: var(--yellow);
  color: var(--black);
  text-align: center;
  border: 4px solid var(--black);
  padding: 20px;
  position: fixed;
  z-index: 9999;
  left: 50%;
  transform: translateX(-50%);
  bottom: 30px;
  font-size: 1.5rem;
  font-weight: 700;
  font-family: "Bebas Neue", sans-serif;
  box-shadow: 8px 8px 0px var(--magenta);
  text-transform: uppercase;
}

#toast-alert.show {
  visibility: visible;
  animation:
    slideIn 0.5s,
    fadeOut 0.5s 2.5s forwards;
}

@keyframes slideIn {
  from {
    bottom: 0;
    opacity: 0;
  }
  to {
    bottom: 30px;
    opacity: 1;
  }
}

@keyframes fadeOut {
  from {
    bottom: 30px;
    opacity: 1;
  }
  to {
    bottom: 0;
    opacity: 0;
  }
}
