/* ============================================
   BRUTALIST PORTFOLIO - STYLE SYSTEM
   Mohammed Muneer - Art Director & Visual Designer
   ============================================ */

/* ============================================
   CSS RESET & BASE
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background-color: #0b0b0b;
  color: #ffffff;
  line-height: 1.6;
  min-height: 100vh;
}

/* Slick Dark Scrollbars */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: #0b0b0b;
}

::-webkit-scrollbar-thumb {
  background: #333;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #444;
}

/* Firefox */
* {
  scrollbar-width: thin;
  scrollbar-color: #333 #0b0b0b;
}

img,
video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

/* ============================================
   TYPOGRAPHY SYSTEM
   ============================================ */

/* Import Inter from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Typography Scale */
.text-display {
  font-size: clamp(3rem, 8vw, 8rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}

.text-headline {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.text-title {
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.text-body {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
}

.text-caption {
  font-size: 0.875rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.text-small {
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Text Colors */
.text-muted {
  color: #6b6b6b;
}

.text-secondary {
  color: #9a9a9a;
}

/* ============================================
   LAYOUT SYSTEM
   ============================================ */

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.container-narrow {
  max-width: 1000px;
}

.container-wide {
  max-width: 1600px;
}

/* Spacing */
.section {
  padding: clamp(4rem, 10vw, 10rem) 0;
}

.section-sm {
  padding: clamp(2rem, 5vw, 5rem) 0;
}

/* ============================================
   HEADER / NAVIGATION
   ============================================ */

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 1.5rem 0;
  background: rgba(11, 11, 11, 0.9);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
}

.logo-img {
  height: 32px;
  width: auto;
  filter: brightness(0) invert(1);
}

.nav {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a9a9a;
  transition: color 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 1px;
  background: #ffffff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Mobile Nav Close Button - Hidden on desktop */
.nav-close {
  display: none;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: #0b0b0b;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transition: right 0.3s ease;
  }

  .nav.active {
    right: 0;
  }

  .nav-close {
    display: flex;
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 44px;
    height: 44px;
    background: none;
    border: 1px solid #333;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: border-color 0.2s ease, background-color 0.2s ease;
  }

  .nav-close:hover {
    border-color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
  }

  .nav-close svg {
    width: 20px;
    height: 20px;
    color: #ffffff;
  }

  .nav-link {
    font-size: 1.25rem;
  }

  .nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
  }

  .nav-toggle.active span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
  }
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 6rem 2rem 4rem;
}

.hero-logo {
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.hero-logo svg,
.hero-logo img {
  width: 60px;
  height: auto;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.hero-name {
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
  margin-bottom: clamp(1rem, 3vw, 2rem);
}

.hero-title {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 400;
  color: #6b6b6b;
  margin-bottom: clamp(1.5rem, 4vw, 3rem);
}

.hero-caption {
  font-size: clamp(0.875rem, 1.5vw, 1.125rem);
  font-weight: 400;
  color: #9a9a9a;
  max-width: 600px;
  letter-spacing: 0.02em;
}

/* Glassmorphism Portfolio Button */
.hero-cta {
  margin-top: clamp(2rem, 4vw, 3rem);
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.1);
}

/* ============================================
   CLIENTS SECTION
   ============================================ */

.clients-section {
  padding: clamp(2rem, 4vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
}

.section-heading {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6b6b;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Silver Shiny Gradient Divider */
.silver-divider {
  width: 100%;
  max-width: 300px;
  height: 1px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.1) 15%,
    rgba(192, 192, 192, 0.5) 30%,
    rgba(255, 255, 255, 0.8) 50%,
    rgba(192, 192, 192, 0.5) 70%,
    rgba(255, 255, 255, 0.1) 85%,
    transparent 100%
  );
}

.clients-container {
  display: flex;
  flex-direction: column;
  gap: 25px;
  max-width: 1000px;
  margin: 0 auto;
}

.clients-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 25px;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100px;
  height: 100px;
  transition: opacity 0.2s ease;
}

.client-logo:hover {
  opacity: 0.6;
}

.client-logo img,
.client-logo svg {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.9;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
  padding: clamp(3rem, 6vw, 5rem) 0;
  border-top: 1px solid #1a1a1a;
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(2rem, 5vw, 4rem);
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #9a9a9a;
  transition: color 0.2s ease;
}

.contact-item:hover {
  color: #ffffff;
}

.contact-icon {
  width: 20px;
  height: 20px;
  opacity: 0.7;
}

.contact-text {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ============================================
   PORTFOLIO GRID
   ============================================ */

.portfolio-header {
  padding: clamp(8rem, 15vw, 12rem) 0 clamp(3rem, 6vw, 5rem);
  text-align: center;
}

.portfolio-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1.5rem, 3vw, 2.5rem);
  padding-bottom: clamp(4rem, 10vw, 10rem);
}

@media (min-width: 640px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.project-card {
  display: block;
  position: relative;
  overflow: hidden;
}

.project-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: #151515;
}

.project-card-image img,
.project-card-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease, opacity 0.3s ease;
}

.project-card-image video {
  pointer-events: none;
}

.project-card:hover .project-card-image img,
.project-card:hover .project-card-image video {
  transform: scale(1.05);
  opacity: 0.85;
}

.project-card-info {
  padding: 1.25rem 0;
}

.project-card-title {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
  letter-spacing: -0.01em;
}

.project-card-category {
  font-size: 0.75rem;
  font-weight: 400;
  color: #6b6b6b;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* ============================================
   PROJECT PAGE
   ============================================ */

.project-hero {
  padding: clamp(10rem, 20vw, 16rem) 0 clamp(4rem, 8vw, 8rem);
  text-align: center;
}

.project-meta {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6b6b;
  margin-bottom: 1.5rem;
}

.project-title {
  font-size: clamp(2.5rem, 7vw, 6rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.project-description {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  font-weight: 400;
  color: #9a9a9a;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Project Content Sections */
.project-content {
  padding-bottom: clamp(4rem, 10vw, 10rem);
}

.project-section {
  margin-bottom: clamp(2rem, 5vw, 4rem);
}

.project-section:last-child {
  margin-bottom: 0;
}

/* Full Width Media */
.project-media-full {
  width: 100%;
}

.project-media-full img,
.project-media-full video {
  width: 100%;
  height: auto;
}

/* Contained Media */
.project-media-contained {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 4rem);
}

.project-media-contained img,
.project-media-contained video {
  width: 100%;
  height: auto;
}

/* Media Grid - Two Column */
.project-media-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 2vw, 2rem);
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  max-width: 1400px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .project-media-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.project-media-grid img,
.project-media-grid video {
  width: 100%;
  height: auto;
}

/* Video Embed Container */
.video-embed {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  /* 16:9 aspect ratio */
  background: #151515;
}

.video-embed iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Project Text Section */
.project-text {
  max-width: 700px;
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) clamp(1.5rem, 5vw, 4rem);
}

.project-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.project-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: #9a9a9a;
  margin-bottom: 1.5rem;
}

.project-text p:last-child {
  margin-bottom: 0;
}

/* ============================================
   PROJECT NAVIGATION
   ============================================ */

.project-nav {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  border-top: 1px solid #1a1a1a;
}

.project-nav-link {
  flex: 1;
  padding: clamp(2rem, 4vw, 4rem) clamp(1.5rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  transition: background-color 0.2s ease;
}

.project-nav-link:hover {
  background-color: #111111;
}

.project-nav-link.next {
  text-align: right;
  align-items: flex-end;
  border-left: 1px solid #1a1a1a;
}

.project-nav-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.project-nav-title {
  font-size: clamp(1rem, 2vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.01em;
}

/* Back to Portfolio Link */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b6b6b;
  padding: clamp(2rem, 4vw, 4rem) 0;
  transition: color 0.2s ease;
}

.back-link:hover {
  color: #ffffff;
}

.back-link svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  padding: clamp(2rem, 4vw, 3rem) 0;
  border-top: 1px solid #1a1a1a;
  text-align: center;
}

.footer-text {
  font-size: 0.75rem;
  font-weight: 400;
  color: #6b6b6b;
  letter-spacing: 0.02em;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hidden {
  display: none !important;
}

/* Focus States for Accessibility */
a:focus-visible,
button:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

/* Selection Style */
::selection {
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

/* ============================================
   LOADING & TRANSITIONS
   ============================================ */

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Fade Up Animation (swipe up effect) */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Page Transition */
.page-transition {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0b0b0b;
  z-index: 9999;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.page-transition.active {
  opacity: 1;
  pointer-events: auto;
}

/* ============================================
   MEDIA QUERIES - FINE TUNING
   ============================================ */

@media (max-width: 640px) {
  .hero-name {
    letter-spacing: -0.02em;
  }

  .contact-grid {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .project-nav {
    flex-direction: column;
  }

  .project-nav-link.next {
    text-align: left;
    align-items: flex-start;
    border-left: none;
    border-top: 1px solid #1a1a1a;
  }
}

/* High DPI Screen Adjustments */
@media (-webkit-min-device-pixel-ratio: 2),
(min-resolution: 192dpi) {
  body {
    -webkit-font-smoothing: subpixel-antialiased;
  }
}

/* Reduced Motion Preference */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */

.contact-hero {
  padding: clamp(8rem, 15vw, 12rem) 0 0;
  text-align: center;
}

.contact-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  font-weight: 600;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.contact-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #6b6b6b;
  max-width: 500px;
  margin: 0 auto clamp(2rem, 4vw, 3rem);
}

.contact-hero .silver-divider {
  margin-bottom: 0;
}

.contact-content {
  padding: clamp(3rem, 6vw, 5rem) 0 clamp(5rem, 10vw, 10rem);
}

/* Animated Title */
.animate-title {
  position: relative;
  display: inline-block;
  background: linear-gradient(
    90deg,
    #ffffff 0%,
    #ffffff 40%,
    #c0c0c0 50%,
    #ffffff 60%,
    #ffffff 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    background-position: 100% 0;
  }
  50% {
    background-position: 0% 0;
  }
  100% {
    background-position: 100% 0;
  }
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 500px;
  margin: 0 auto;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem;
  border: 1px solid #1a1a1a;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.contact-method:hover {
  border-color: #333;
  background-color: #111;
}

.contact-method-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.contact-method-icon svg {
  width: 100%;
  height: 100%;
  color: #6b6b6b;
}

.contact-method:hover .contact-method-icon svg {
  color: #ffffff;
}

.contact-method-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-method-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6b6b6b;
}

.contact-method-value {
  font-size: 1rem;
  color: #ffffff;
}

.contact-location {
  text-align: center;
  margin-top: clamp(3rem, 6vw, 5rem);
}

.contact-location-text {
  font-size: 0.875rem;
  color: #6b6b6b;
}

/* ============================================
   PROJECT MODAL (Polished)
   ============================================ */

.project-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.project-modal.active {
  opacity: 1;
  visibility: visible;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  cursor: pointer;
}

.modal-container {
  position: relative;
  width: 95%;
  max-width: 1600px;
  max-height: 90vh;
  background: #0b0b0b;
  border: 1px solid #1a1a1a;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 10;
  width: 40px;
  height: 40px;
  background: rgba(11, 11, 11, 0.8);
  border: 1px solid #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.modal-close:hover {
  border-color: #ffffff;
  background-color: #ffffff;
}

.modal-close svg {
  width: 16px;
  height: 16px;
  color: #ffffff;
  transition: color 0.2s ease;
}

.modal-close:hover svg {
  color: #0b0b0b;
}

.modal-scroll {
  overflow-y: auto;
  max-height: 90vh;
}

.modal-header {
  text-align: center;
  padding: 3rem 2rem 2rem;
  border-bottom: 1px solid #1a1a1a;
}

.modal-category {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #6b6b6b;
  margin-bottom: 0.5rem;
}

.modal-title {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.modal-images {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: #111;
}

.modal-images img,
.modal-images video {
  width: 100%;
  height: auto;
  display: block;
}

.modal-images video {
  background: #000;
}

.modal-footer {
  padding: 2rem;
  border-top: 1px solid #1a1a1a;
  text-align: center;
  background: #0b0b0b;
}

.modal-cta {
  font-size: 0.875rem;
  color: #6b6b6b;
  margin-bottom: 1rem;
}

.modal-contact-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.modal-contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #9a9a9a;
  padding: 0.75rem 1.25rem;
  border: 1px solid #333;
  transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease;
}

.modal-contact-link:hover {
  color: #0b0b0b;
  border-color: #ffffff;
  background-color: #ffffff;
}

.modal-contact-link svg {
  width: 16px;
  height: 16px;
}

/* Mobile modal adjustments */
@media (max-width: 640px) {
  .modal-container {
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    border: none;
  }

  .modal-scroll {
    max-height: 100vh;
  }

  .modal-header {
    padding: 4rem 1.5rem 1.5rem;
  }

  .modal-footer {
    padding: 1.5rem;
  }

  .modal-contact-links {
    flex-direction: column;
    gap: 0.75rem;
  }

  .modal-contact-link {
    justify-content: center;
  }
}

/* ============================================
   RESPONSIVE - PHONE PORTRAIT
   ============================================ */

@media (max-width: 480px) {
  .hero-name {
    font-size: clamp(2rem, 12vw, 3.5rem);
  }

  .hero-title {
    font-size: 1rem;
  }

  .hero-caption {
    font-size: 0.875rem;
    padding: 0 1rem;
  }

  .clients-container,
  .clients-row {
    gap: 15px;
  }

  .client-logo {
    width: 70px;
    height: 70px;
  }

  .portfolio-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }

  .project-card-title {
    font-size: 0.9rem;
  }

  .contact-method {
    padding: 1rem;
    gap: 1rem;
  }

  .contact-method-value {
    font-size: 0.9rem;
    word-break: break-all;
  }
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (min-width: 481px) and (max-width: 768px) {
  .hero-name {
    font-size: clamp(2.5rem, 10vw, 4.5rem);
  }

  .clients-container,
  .clients-row {
    gap: 20px;
  }

  .client-logo {
    width: 80px;
    height: 80px;
  }
}

/* ============================================
   RESPONSIVE - PC LANDSCAPE
   ============================================ */

@media (min-width: 1024px) {
  .hero {
    padding: 6rem 4rem 4rem;
  }

  .hero-name {
    font-size: clamp(4rem, 7vw, 6rem);
  }

  .clients-container {
    max-width: 1000px;
    margin: 0 auto;
  }

  .portfolio-grid {
    gap: 2rem;
  }

  .contact-methods {
    max-width: 600px;
  }

  .contact-method {
    padding: 2rem;
  }
}

/* Large screens */
@media (min-width: 1400px) {
  .hero-name {
    font-size: 6rem;
  }

  .portfolio-title {
    font-size: 5rem;
  }
}