/* ═══════════════════════════════════════════
   Savran Creative Studio — Main Stylesheet
   Aesthetic: Dark editorial, luxury photography
   ═══════════════════════════════════════════ */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Outfit:wght@300;400;500;600&display=swap');

/* --- Reset & Variables --- */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}

:root {
  /* Brand palette — from SCS business card */
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-tertiary: #181818;
  --bg-card: #141414;
  --surface: #1e1e1e;

  --text-primary: #c2c2c2;
  --text-heading: #d8d8d8;
  --text-muted: #6a6a6a;
  --text-accent: #999999;

  --brand-silver: #a0a0a0;
  --brand-silver-light: #c8c8c8;
  --brand-hover: #e2e2e2;

  --border: rgba(255,255,255,0.06);
  --border-light: rgba(255,255,255,0.1);

  /* Typography */
  --font-display: 'Cormorant', Georgia, 'Times New Roman', serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Spacing */
  --section-pad: clamp(80px, 10vw, 140px);
  --container: 1320px;
  --gap: clamp(16px, 2vw, 32px);

  /* Transitions */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --duration: 0.6s;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text-primary);
  background: var(--bg-primary);
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

/* --- Section Label (small caps above titles) --- */
.section-label {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-label::before {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--text-muted);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1.1;
  color: var(--text-heading);
  margin-bottom: 24px;
}

/* --- Scroll Reveal --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--duration) var(--ease), transform var(--duration) var(--ease);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }


/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.nav.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 35px;
  width: auto;
  filter: brightness(0) invert(1) opacity(0.6);
  transition: filter 0.3s var(--ease);
}
.nav-logo:hover img {
  filter: brightness(0) invert(1) opacity(0.8);
}

.nav-menu-desktop {
  display: flex;
  align-items: center;
  gap: 0;
}

.nav-menu-mobile {
  display: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--text-accent);
  transition: color 0.3s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--brand-silver-light);
  transition: width 0.4s var(--ease);
}
.nav-links a:hover { color: var(--brand-hover); }
.nav-links a:hover::after { width: 100%; }

/* Language switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid var(--border-light);
}
.lang-switcher button {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.3s, background 0.3s;
}
.lang-switcher button:hover { color: var(--text-primary); }
.lang-switcher button.active {
  color: var(--text-heading);
  background: var(--surface);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  padding: 4px 0;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--text-accent);
  transition: transform 0.3s var(--ease), opacity 0.3s;
  transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }


/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */

.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  overflow: hidden;
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.5s var(--ease);
  will-change: opacity;
}
.hero-slide.active { opacity: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  animation: heroZoom 12s var(--ease) infinite alternate;
}
@keyframes heroZoom {
  0% { transform: scale(1.05); }
  100% { transform: scale(1.12); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg,
      rgba(10,10,10,0.3) 0%,
      rgba(10,10,10,0.1) 40%,
      rgba(10,10,10,0.5) 70%,
      rgba(10,10,10,0.92) 100%
    );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(60px, 8vh, 120px);
}
.hero-tagline {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.05;
  color: #e8e8e8;
  max-width: 700px;
  opacity: 0;
  transform: translateY(30px);
  animation: heroFadeIn 1.2s var(--ease) 0.3s forwards;
}
.hero-tagline em {
  font-style: italic;
  color: var(--brand-silver-light);
}
.hero-subtitle {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.15em;
  color: var(--text-accent);
  margin-top: 20px;
  opacity: 0;
  animation: heroFadeIn 1.2s var(--ease) 0.6s forwards;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-silver-light);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 14px 32px;
  border-radius: 0;
  transition: all 0.4s var(--ease);
  opacity: 0;
  animation: heroFadeIn 1.2s var(--ease) 0.9s forwards;
}
.hero-cta:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.hero-cta svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s var(--ease);
}
.hero-cta:hover svg { transform: translateY(3px); }

@keyframes heroFadeIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: heroFadeIn 1s var(--ease) 1.5s forwards;
}
.hero-scroll-indicator span {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: var(--text-muted);
  position: relative;
  overflow: hidden;
}
.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--brand-silver-light);
  animation: scrollDown 2s ease-in-out infinite;
}
@keyframes scrollDown {
  0% { top: -100%; }
  50% { top: 100%; }
  100% { top: 100%; }
}


/* ═══════════════════════════════════════════
   ABOUT
   ═══════════════════════════════════════════ */

.about {
  padding: var(--section-pad) 0;
  background: var(--bg-primary);
  position: relative;
}
.about::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-light), transparent);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.about-image-wrap {
  position: relative;
}
.about-image-wrap img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  filter: grayscale(20%);
  transition: filter 0.6s var(--ease);
}
.about-image-wrap:hover img { filter: grayscale(0%); }

.about-image-frame {
  position: absolute;
  top: -16px;
  left: -16px;
  right: 16px;
  bottom: 16px;
  border: 1px solid var(--border-light);
  pointer-events: none;
}

.about-text p {
  font-size: clamp(15px, 1.1vw, 17px);
  color: var(--text-primary);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--border);
}
.stat-item {}
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(36px, 3.5vw, 52px);
  font-weight: 300;
  color: var(--text-heading);
  line-height: 1;
}
.stat-label {
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-top: 8px;
}


/* ═══════════════════════════════════════════
   SERVICES
   ═══════════════════════════════════════════ */

.services {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  margin-top: 60px;
  background: var(--border);
}

.service-card {
  background: var(--bg-secondary);
  padding: clamp(32px, 3vw, 56px);
  transition: background 0.5s var(--ease);
  position: relative;
}
.service-card:hover {
  background: var(--bg-tertiary);
}

.service-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 28px;
  color: var(--brand-silver);
}
.service-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.2;
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2vw, 30px);
  font-weight: 400;
  color: var(--text-heading);
  margin-bottom: 16px;
}

.service-card p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--text-primary);
  opacity: 0.8;
}

.service-partner {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.service-partner a {
  color: var(--brand-silver);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s;
}
.service-partner a:hover { border-color: var(--brand-silver); }


/* ═══════════════════════════════════════════
   PORTFOLIO
   ═══════════════════════════════════════════ */

.portfolio {
  padding: var(--section-pad) 0;
  background: var(--bg-primary);
  position: relative;
}

.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 40px;
  margin-bottom: 48px;
}
.portfolio-filters button {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  padding: 10px 24px;
  border: 1px solid var(--border);
  transition: all 0.3s var(--ease);
}
.portfolio-filters button:hover {
  color: var(--text-primary);
  border-color: var(--border-light);
}
.portfolio-filters button.active {
  color: var(--text-heading);
  border-color: var(--brand-silver);
  background: rgba(255,255,255,0.03);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
}

.portfolio-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  background: var(--bg-tertiary);
}
.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.8s var(--ease);
}
.portfolio-item:hover img {
  transform: scale(1.06);
  filter: brightness(0.6);
}

.portfolio-item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: clamp(16px, 2vw, 32px);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.7) 100%);
}
.portfolio-item:hover .portfolio-item-overlay { opacity: 1; }

.portfolio-item-overlay h3 {
  font-family: var(--font-display);
  font-size: clamp(18px, 1.6vw, 26px);
  font-weight: 400;
  color: #e8e8e8;
  margin-bottom: 4px;
}
.portfolio-item-overlay p {
  font-size: 12px;
  color: var(--text-accent);
  letter-spacing: 0.04em;
}

/* Portfolio item appear animation */
.portfolio-item {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
}
.portfolio-item.show {
  opacity: 1;
  transform: translateY(0);
}
.portfolio-item.hide {
  opacity: 0;
  transform: scale(0.95);
  position: absolute;
  pointer-events: none;
}


/* ═══════════════════════════════════════════
   LIGHTBOX
   ═══════════════════════════════════════════ */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.97);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
}
.lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-main {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  flex: 1;
  min-height: 0;
}

.lightbox-content {
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 85vw;
  max-height: calc(100vh - 180px);
}
.lightbox-content img {
  max-width: 85vw;
  max-height: calc(100vh - 180px);
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
}
.lightbox-content img.loaded { opacity: 1; }

.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2001;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  transition: background 0.3s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-close svg { width: 22px; height: 22px; }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  background: rgba(255,255,255,0.1);
  transition: background 0.3s;
  border-radius: 50%;
  z-index: 2001;
}
.lightbox-nav:hover {
  background: rgba(255,255,255,0.25);
}
.lightbox-nav svg { width: 28px; height: 28px; }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-bottom {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 12px 20px 16px;
  gap: 10px;
  flex-shrink: 0;
}

.lightbox-counter {
  font-size: 15px;
  font-weight: 500;
  color: #e0e0e0;
  letter-spacing: 0.12em;
}

.lightbox-thumbs {
  display: flex;
  gap: 6px;
  overflow-x: auto;
  max-width: 90vw;
  padding: 4px 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,0.2) transparent;
}
.lightbox-thumbs::-webkit-scrollbar {
  height: 4px;
}
.lightbox-thumbs::-webkit-scrollbar-track {
  background: transparent;
}
.lightbox-thumbs::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.2);
  border-radius: 2px;
}

.lightbox-thumb {
  width: 64px;
  height: 48px;
  flex-shrink: 0;
  border-radius: 3px;
  overflow: hidden;
  opacity: 0.4;
  cursor: pointer;
  transition: opacity 0.3s, outline 0.3s;
  outline: 2px solid transparent;
  outline-offset: 1px;
}
.lightbox-thumb:hover {
  opacity: 0.7;
}
.lightbox-thumb.active {
  opacity: 1;
  outline-color: #fff;
}
.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lightbox-title {
  position: absolute;
  top: 20px;
  left: 24px;
  font-family: var(--font-display);
  font-size: 22px;
  color: #e0e0e0;
  z-index: 2001;
}


/* ═══════════════════════════════════════════
   CONTACT
   ═══════════════════════════════════════════ */

.contact {
  padding: var(--section-pad) 0;
  background: var(--bg-secondary);
  position: relative;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  margin-top: 60px;
}

.contact-info-text {
  font-size: clamp(15px, 1.1vw, 17px);
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 48px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.contact-detail {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-detail-icon {
  width: 20px;
  height: 20px;
  color: var(--brand-silver);
  flex-shrink: 0;
  margin-top: 2px;
}
.contact-detail-icon svg { width: 100%; height: 100%; }
.contact-detail-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}
.contact-detail-value {
  font-size: 15px;
  color: var(--text-primary);
}

.contact-social-wrap {
  margin-top: 48px;
}
.contact-social {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}
.contact-social-label {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.contact-social a {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-accent);
  transition: all 0.3s var(--ease);
}
.contact-social a:hover {
  color: var(--text-heading);
  border-color: var(--brand-silver);
  background: rgba(255,255,255,0.03);
}
.contact-social a svg { width: 18px; height: 18px; }

/* Contact Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-group {
  position: relative;
}
.form-group input,
.form-group textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border-light);
  padding: 16px 0;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 300;
  color: var(--text-primary);
  transition: border-color 0.3s;
  outline: none;
}
.form-group textarea {
  min-height: 120px;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--brand-silver);
}
.form-group label {
  position: absolute;
  top: 16px;
  left: 0;
  font-size: 14px;
  color: var(--text-muted);
  pointer-events: none;
  transition: all 0.3s var(--ease);
}
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -8px;
  font-size: 11px;
  letter-spacing: 0.06em;
  color: var(--brand-silver);
}

.form-submit {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--brand-silver-light);
  border: 1px solid rgba(255,255,255,0.2);
  padding: 16px 40px;
  transition: all 0.4s var(--ease);
  margin-top: 8px;
}
.form-submit:hover {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}

.form-message {
  font-size: 14px;
  padding: 12px 0;
  display: none;
}
.form-message.success {
  display: block;
  color: #7cb87c;
}
.form-message.error {
  display: block;
  color: #c87c7c;
}


/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */

.footer {
  padding: 40px 0;
  background: var(--bg-primary);
  border-top: 1px solid var(--border);
}
.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1) opacity(0.4);
}
.footer-text {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.footer-text a {
  color: var(--text-accent);
  transition: color 0.3s;
}
.footer-text a:hover { color: var(--brand-silver-light); }
.footer-credit {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}
.footer-credit a {
  color: var(--text-accent);
  transition: color 0.3s;
}
.footer-credit a:hover { color: var(--brand-silver-light); }


/* ═══════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════ */

@media (max-width: 1024px) {
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  /* Navigation */
  .nav-toggle { display: flex; z-index: 10001; }
  .nav-menu-desktop { display: none; }
  .nav-menu-mobile {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 10000;
    background: #0a0a0a;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0;
  }
  .nav-menu-mobile.open {
    display: flex;
  }
  .nav-mobile-logo {
    height: 60px;
    width: auto;
    filter: brightness(0) invert(1) opacity(0.6);
    margin-bottom: 40px;
  }
  .nav-links {
    flex-direction: column;
    gap: 0;
  }
  .nav-links a {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 0.02em;
    padding: 16px;
    color: var(--text-heading);
  }
  .nav-links a::after { display: none; }
  .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--border-light);
  }

  /* About */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-image-wrap { max-width: 400px; }
  .about-image-frame { display: none; }

  .about-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  /* Portfolio */
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
  }
  .portfolio-filters {
    gap: 6px;
  }
  .portfolio-filters button {
    padding: 8px 16px;
    font-size: 11px;
  }

  /* Contact */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  /* Lightbox */
  .lightbox-nav {
    width: 40px;
    height: 40px;
  }
  .lightbox-nav svg { width: 22px; height: 22px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-content img {
    max-width: 95vw;
    max-height: calc(100vh - 200px);
  }
  .lightbox-title { font-size: 16px; }
  .lightbox-thumb {
    width: 48px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  .hero-tagline {
    font-size: clamp(32px, 9vw, 48px);
  }
  .about-stats {
    grid-template-columns: repeat(3, 1fr);
  }
  .stat-number {
    font-size: 28px;
  }
}


/* ═══════════════════════════════════════════
   UTILITY — GRAIN OVERLAY
   ═══════════════════════════════════════════ */

body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 99;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}


/* ═══════════════════════════════════════════
   LOADING STATE
   ═══════════════════════════════════════════ */

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--bg-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.6s var(--ease);
}
.site-loader.hidden {
  opacity: 0;
  pointer-events: none;
}
.site-loader-logo {
  height: 40px;
  filter: brightness(0) invert(1) opacity(0.4);
  animation: loaderPulse 1.5s ease-in-out infinite;
}
@keyframes loaderPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}
