/* ══════════════════════════════
   CSS VARIABLES
══════════════════════════════ */
:root {
  --grad: linear-gradient(135deg, #F472B6, #FB923C);
  --bg: #ffffff;
  --bg2: #fafafa;
  --bg-warm: #FFF5F2;
  --bg-dark: #111111;
  --border: #ebebeb;
  --border-light: #f5f5f5;
  --t1: #111111;
  --t2: #555555;
  --t3: #999999;
  --t4: #bbbbbb;
  --sidebar-width: 280px;
  --font-main: 'DM Sans', sans-serif;
  --font-head: 'Syne', sans-serif;
  --font-mono: 'DM Mono', monospace;
}

/* ══════════════════════════════
   RESET & BASE
══════════════════════════════ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  background: var(--bg);
  color: var(--t1);
  display: flex;
  min-height: 100vh;
}

img {
  max-width: 100%;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ══════════════════════════════
   SIDEBAR
══════════════════════════════ */
.sidebar {
  width: var(--sidebar-width);
  min-height: 100vh;
  background: var(--bg2);
  border-right: 1px solid var(--border);
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 36px 24px;
  z-index: 10;
}

/* Avatar */
.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  margin-bottom: 0;
}

.avatar-wrap {
  position: relative;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border);
}

.green-dot {
  width: 12px;
  height: 12px;
  background: #22c55e;
  border-radius: 50%;
  position: absolute;
  bottom: 3px;
  right: 3px;
  border: 2px solid var(--bg2);
  animation: pulse 2.5s infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(34,197,94,0.3); }
  50% { box-shadow: 0 0 0 5px rgba(34,197,94,0); }
}

/* Name */
.s-name {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--t1);
  text-align: center;
  margin-bottom: 10px;
  letter-spacing: 0em;
}

/* Tags */
.tags {
  display: flex;
  flex-direction: row;
  gap: 6px;
  width: 100%;
  margin-bottom: 28px;
  justify-content: center;
  flex-wrap: nowrap;
}

.tag {
  background: transparent;
  font-size: 11px;
  font-weight: 500;
  padding: 5px 7px;
  border-radius: 7px;
  border: 1px solid #EBEBEB;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-image: var(--grad);
  white-space: nowrap;
}

/* Nav */
.s-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
  margin-bottom: 32px;
}

.s-nav a {
  font-size: 14px;
  color: var(--t3);
  padding: 9px 14px;
  border-radius: 8px;
  font-weight: 400;
  transition: all 0.3s ease;
}

.s-nav a:hover {
  background: var(--border-light);
  color: var(--t1);
}

.s-nav a.active {
  background: var(--grad);
  color: white;
}

/* Tools */

.tools-section {
  width: 100%;
  margin-bottom: 24px;
}

.tools-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--t4);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.tools-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  width: 100%;
}

.tool {
  aspect-ratio: 1;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  font-family: var(--font-mono);
  cursor: default;
  transition: transform 0.15s;
  width: 100%;
}

.tool:hover {
  transform: scale(1.08);
}


/* Social */
.social-row {
  display: flex;
  gap: 7px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  width: 100%;
  justify-content: center;
  margin-top: 32px;
}

.social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  position: relative;
  background: transparent;
}

.social-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 0;
}

.social-btn:hover::before {
  opacity: 1;
}

.social-btn img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: filter 0.25s ease;
}

.social-btn:hover img {
  filter: brightness(0) invert(1);
}

/* ══════════════════════════════
   MAIN
══════════════════════════════ */
.main {
  margin-left: var(--sidebar-width);
  flex: 1;
  min-height: 100vh;
}

/* ══════════════════════════════
   WORK SECTION
══════════════════════════════ */

.section-work {
  padding: 48px 48px 64px;
  background: var(--bg);
  max-width: 1160px;
}
/* Bio */
.bio {
  font-size: 20px;
  font-weight: 300;
  color: var(--t2);
  line-height: 1.65;
  max-width: 600px;
  margin-bottom: 32px;
}

/* Filters */
.filters {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.f-btn {
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--t3);
  font-size: 12px;
  font-family: var(--font-main);
  font-weight: 500;
  cursor: pointer;
  transition: all 0.18s;
}

.f-btn:hover {
  border-color: #ccc;
  color: var(--t2);
}

.f-btn.active {
  background: var(--grad);
  border: none;
  color: white;
}

/* Work Grid */
.work-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

/* Cards */
.work-card {
  border-radius: 12px;
  overflow: hidden;
  background: #f7f7f7;
  border: 1px solid var(--border-light);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  border-color: var(--border);
}

.card-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.work-card:hover .card-thumb img {
  transform: scale(1.03);
}

.card-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.work-card:hover .card-overlay {
  opacity: 1;
}

.overlay-text {
  font-size: 12px;
  font-family: var(--font-mono);
  color: white;
  letter-spacing: 0.1em;
  border: 1px solid rgba(255,255,255,0.4);
  padding: 8px 16px;
  border-radius: 6px;
}

.card-info {
  padding: 14px 16px 16px;
}

.card-cat {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--t4);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.card-title {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 600;
  color: var(--t1);
}

/* ══════════════════════════════
   TRUSTED BY STRIP
══════════════════════════════ */
.trusted-strip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  margin-bottom: 32px;
  overflow: hidden;
  border-bottom: 1px solid var(--border-light);
}

.trusted-label {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 0em;
  text-transform: lowercase;
  padding: 0 16px;
  background-image: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  white-space: nowrap;
  justify-content: flex-start;
}

.trusted-label::before {
  content: '';
  flex: 0.1;
  height: 1px;
  background: var(--border);
}

.trusted-label::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

.marquee {
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 80px, black 90%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 80px, black 90%, transparent 100%);
}
.trusted-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  /*opacity: 0.5;
  filter: grayscale(100%);
  transition: opacity 0.2s, filter 0.2s; */
  flex-shrink: 0;
}

/*.trusted-logo:hover {
  opacity: 1;
  filter: grayscale(0%);
}
*/


.marquee-inner {
  display: flex;
  gap: 54px;
  animation: marquee 30s linear infinite;
  width: max-content;
}

.marquee-inner span {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  color: var(--t3);
  white-space: nowrap;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ══════════════════════════════
   SECTION DIVIDER
══════════════════════════════ */
.section-divider {
  height: 1px;
  background: var(--border);
}

/* ══════════════════════════════
   ABOUT SECTION
══════════════════════════════ */
.section-about {
  padding: 72px 48px;
  background: var(--bg2);
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
  border-top: 1px solid var(--border);
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-block {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.block-title {
  font-family: var(--font-main);
  font-size: 11px;
  letter-spacing: 0.2em;
  color: var(--t4);
  text-transform: uppercase;
  margin-bottom: 16px;
  font-weight: 400;
}

/* Experience rows */
.exp-list {
  display: flex;
  flex-direction: column;
}

.exp-row {
  display: grid;
  grid-template-columns: 120px 180px 1fr;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  align-items: start;
}

.exp-row:first-child {
  border-top: 1px solid var(--border-light);
}

.exp-year {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--t4);
  padding-top: 1px;
  font-family: var(--font-main)
}

.exp-company {
  font-size: 13px;
  font-weight: 600;
  color: var(--t1);
}

.exp-role {
  font-size: 13px;
  color: var(--t2);
}

/* Languages */
.lang-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.lang-tag {
  font-size: 12px;
  padding: 6px 14px;
  border-radius: 6px;
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--t2);
}

/* Availability */
.availability {
  font-size: 13px;
  background-image: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.6;
  padding: 14px 18px;
  border-radius: 8px;
  background-color: var(--bg);
  border: 1px solid var(--border-light);
  border-left: 3px solid #E95C93;
}

/* Photo */
.about-photo {
  position: sticky;
  top: 48px;
}

.about-photo .photo {
  width: 100%;
  border-radius: 50%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid var(--border);
}

/* ══════════════════════════════
   CONTACT SECTION
══════════════════════════════ */
.section-contact {
  padding: 72px 48px 80px;
  background: var(--bg-warm);
  border-top: 1px solid var(--border);
}

.contact-heading {
  font-family: var(--font-head);
  font-size: 52px;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.0;
  margin-bottom: 12px;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-sub {
  font-size: 15px;
  color: var(--t3);
  margin-bottom: 48px;
  max-width: 480px;
  line-height: 1.6;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.15em;
  color: var(--t4);
  text-transform: uppercase;
  margin-bottom: 10px;
  margin-top: 20px;
}

.contact-label:first-child {
  margin-top: 0;
}

.email-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 14px;
  color: var(--t1);
  font-weight: 500;
  transition: all 0.18s;
}

.email-link:hover {
  border-color: var(--t1);
  background: var(--t1);
  color: white;
}

.social-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 13px;
  color: var(--t2);
  font-weight: 500;
  transition: all 0.18s;
}

.social-link:hover {
  border-color: var(--t1);
  color: var(--t1);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  color: var(--t4);
  text-transform: uppercase;
}

.form-input,
.form-textarea {
  padding: 12px 16px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--bg);
  font-size: 14px;
  font-family: var(--font-main);
  color: var(--t1);
  outline: none;
  transition: border-color 0.18s;
  resize: none;
}

.form-input:focus,
.form-textarea:focus {
  border-color: #F472B6;
}

.form-textarea {
  height: 120px;
}

.submit-btn {
  padding: 13px 28px;
  border-radius: 8px;
  background: var(--grad);
  color: white;
  font-size: 13px;
  font-family: var(--font-main);
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.18s;
  align-self: flex-start;
  letter-spacing: 0.02em;
}

.submit-btn:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
.footer {
  padding: 24px 48px;
  background: var(--bg-dark);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #555;
  letter-spacing: 0.05em;
}

.footer-socials {
  display: flex;
  gap: 6px;
}

.footer-social {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #1a1a1a;
  border: 1px solid #2a2a2a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-mono);
  color: #555;
  transition: all 0.18s;
}

.footer-social:hover {
  background: #F472B6;
  color: white;
  border-color: #F472B6;
}

/* ══════════════════════════════
   MODAL
══════════════════════════════ */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(6px);
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s;
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: all;
}

.modal {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 16px;
  width: 100%;
  max-width: 760px;
  max-height: 88vh;
  overflow-y: auto;
  transform: translateY(20px) scale(0.98);
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1);
  position: relative;
}

.modal-backdrop.open .modal {
  transform: translateY(0) scale(1);
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--border-light);
  border: 1px solid var(--border);
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.15s;
  z-index: 5;
}

.modal-close:hover {
  background: var(--t1);
  color: white;
}

.modal-content {
  padding: 32px;
}

/* Modal scrollbar */
.modal::-webkit-scrollbar { width: 4px; }
.modal::-webkit-scrollbar-track { background: transparent; }
.modal::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }

/* ══════════════════════════════
   MODAL CONTENT STYLES
══════════════════════════════ */
.modal-cat {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  color: var(--t4);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.modal-title {
  font-family: var(--font-head);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.modal-desc {
  font-size: 14px;
  color: var(--t2);
  line-height: 1.7;
  margin-bottom: 24px;
}

/* Video Section Player Styling */
.modal-videos {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 15px;
  margin-bottom: 25px;
  width: 100%;
}

.modal-video-wrap {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* Keeps a clean, responsive 16:9 widescreen ratio */
  height: 0;
  border-radius: 8px;
  overflow: hidden;
  background-color: #000; /* Dark background placeholder while loading */
}

.modal-video-wrap iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.modal-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 24px;
}

.modal-images img {
  border-radius: 8px;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.modal-link {
  display: inline-block;
  margin-bottom: 24px;
  font-size: 13px;
  font-weight: 600;
  color: #F472B6;
  transition: opacity 0.18s;
}

.modal-link:hover {
  opacity: 0.7;
}

.modal-meta {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--t4);
  text-transform: uppercase;
}

.meta-val {
  font-size: 13px;
  color: var(--t2);
  font-weight: 500;
}