/* ==========================================================================
   AYBERK RODOPLU — INTERACTIVE 3D WEBGL PORTFOLIO & LITERARY EXPERIENCE
   ========================================================================== */

:root {
  --bg-color: #05050b;
  --text-main: #f4f4f8;
  --text-muted: #9898b0;
  --accent-primary: #8c85ff;
  --accent-secondary: #ff2a5f;
  --accent-gold: #e6c17a;
  --glass-bg: rgba(14, 14, 24, 0.55);
  --glass-border: rgba(255, 255, 255, 0.12);
  --glass-glow: rgba(140, 133, 255, 0.18);
  --card-radius: 20px;
  --font-display: 'Cinzel', serif;
  --font-heading: 'Syne', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dynamic Scroll Style Themes */
body[data-theme="void"] {
  --bg-color: #05050b;
  --text-main: #f4f4f8;
  --text-muted: #9898b0;
  --accent-primary: #8c85ff;
  --accent-secondary: #5025d1;
  --glass-bg: rgba(12, 12, 24, 0.55);
  --glass-border: rgba(140, 133, 255, 0.22);
}

body[data-theme="brutalist"] {
  --bg-color: #09060c;
  --text-main: #ffffff;
  --text-muted: #b0a8ba;
  --accent-primary: #e0d8ff;
  --accent-secondary: #ff2a5f;
  --glass-bg: rgba(18, 12, 24, 0.65);
  --glass-border: rgba(255, 255, 255, 0.2);
}

body[data-theme="crimson"] {
  --bg-color: #0e0407;
  --text-main: #fdf2f4;
  --text-muted: #c29da6;
  --accent-primary: #ff3355;
  --accent-secondary: #a855f7;
  --glass-bg: rgba(26, 8, 14, 0.6);
  --glass-border: rgba(255, 51, 85, 0.25);
}

body[data-theme="nebula"] {
  --bg-color: #060414;
  --text-main: #f0f4ff;
  --text-muted: #9da8c8;
  --accent-primary: #a78bfa;
  --accent-secondary: #38bdf8;
  --glass-bg: rgba(13, 10, 34, 0.6);
  --glass-border: rgba(167, 139, 250, 0.25);
}

body[data-theme="monochrome"] {
  --bg-color: #eceef4;
  --text-main: #0c0d14;
  --text-muted: #4b4e63;
  --accent-primary: #1f1346;
  --accent-secondary: #5025d1;
  --glass-bg: rgba(255, 255, 255, 0.72);
  --glass-border: rgba(12, 13, 20, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-color);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
  transition: background-color 0.9s var(--transition-smooth), color 0.6s ease;
  selection-background-color: var(--accent-primary);
  selection-color: #fff;
}

::selection {
  background: var(--accent-primary);
  color: #ffffff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: #05050b;
}
::-webkit-scrollbar-thumb {
  background: var(--accent-primary);
  border-radius: 3px;
}

/* WebGL Fixed Canvas */
#webgl-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* Subtle Film Grain Overlay */
.noise-overlay {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* Custom Magnetic Cursor */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 9999;
  border-radius: 50%;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-primary);
  transition: transform 0.15s ease, background-color 0.3s ease;
}

.cursor-ring {
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--accent-primary);
  transition: width 0.3s var(--transition-smooth), height 0.3s var(--transition-smooth), border-color 0.3s ease, background-color 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 9px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
}

body.cursor-hover .cursor-ring {
  width: 68px;
  height: 68px;
  background: rgba(140, 133, 255, 0.15);
  backdrop-filter: blur(4px);
}

@media (pointer: coarse) {
  .cursor-dot, .cursor-ring {
    display: none;
  }
}

/* Scroll Progress Bar */
.scroll-progress-track {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.05);
}

.scroll-progress-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary), #38bdf8);
  box-shadow: 0 0 12px var(--accent-primary);
}

/* Style Mode HUD Badge */
.style-hud {
  position: fixed;
  bottom: 28px;
  left: 28px;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 18px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(16px);
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-main);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: all 0.5s var(--transition-smooth);
}

.style-hud-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-primary);
  box-shadow: 0 0 10px var(--accent-primary);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.style-switcher-pills {
  display: flex;
  gap: 4px;
  margin-left: 6px;
}

.style-pill-btn {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(255,255,255,0.06);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.65rem;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.style-pill-btn.active,
.style-pill-btn:hover {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
  transform: scale(1.12);
}

/* Header & Navigation */
.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1280px, 94vw);
  z-index: 950;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 26px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 100px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.5s var(--transition-smooth);
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-main);
}

.brand-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--glass-border);
  background: #fff;
  padding: 2px;
  transition: transform 0.5s var(--transition-smooth);
}

.brand-logo:hover .brand-logo-img {
  transform: rotate(12deg) scale(1.08);
}

.brand-logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 100px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
  background: rgba(140, 133, 255, 0.14);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  border-radius: 100px;
  padding: 3px;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  border: none;
  background: transparent;
  color: var(--text-muted);
  padding: 6px 12px;
  border-radius: 100px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.lang-btn img {
  width: 16px;
  height: 12px;
  border-radius: 2px;
  object-fit: cover;
}

.lang-btn.active {
  background: var(--accent-primary);
  color: #ffffff;
  box-shadow: 0 2px 10px rgba(140, 133, 255, 0.4);
}

.mobile-menu-btn {
  display: none;
  background: transparent;
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  align-items: center;
  justify-content: center;
}

/* Main Content Wrapper */
main {
  position: relative;
  z-index: 2;
}

.section-stage {
  min-height: 100vh;
  width: min(1320px, 92vw);
  margin: 0 auto;
  padding: 130px 0 90px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
}

/* Section Header Tag */
.stage-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: var(--accent-primary);
  margin-bottom: 16px;
}

.stage-eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent-primary);
}

/* ==========================================================================
   STAGE 01: HERO (ANASAYFA / HOME)
   ========================================================================== */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
  min-height: 76vh;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.4rem);
  font-weight: 800;
  line-height: 1.04;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
  background: linear-gradient(135deg, var(--text-main) 30%, var(--accent-primary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.06em;
  margin-bottom: 32px;
}

/* Hero Book Showcase Card */
.hero-book-showcase {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  backdrop-filter: blur(16px);
  margin-bottom: 28px;
  max-width: 560px;
  transition: transform 0.4s var(--transition-smooth), border-color 0.4s ease;
}

.hero-book-showcase:hover {
  transform: translateY(-4px);
  border-color: var(--accent-primary);
}

.hero-book-spread {
  display: flex;
  align-items: center;
  gap: 6px;
  perspective: 900px;
  flex-shrink: 0;
}

.hero-book-spread img {
  height: 155px;
  width: auto;
  border-radius: 4px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.65);
  transition: transform 0.5s var(--transition-smooth);
}

.hero-book-spread:hover img:first-child {
  transform: rotateY(15deg) scale(1.04);
}
.hero-book-spread:hover img:last-child {
  transform: rotateY(-15deg) scale(1.04);
}

.hero-book-meta h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 6px;
  color: var(--text-main);
}

.hero-book-meta p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 12px;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  border-radius: 100px;
  background: linear-gradient(135deg, var(--accent-primary), #5025d1);
  color: #ffffff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 10px 30px rgba(103, 61, 230, 0.4);
  cursor: pointer;
  transition: all 0.35s var(--transition-smooth);
}

.btn-primary:hover {
  transform: translateY(-3px) scale(1.02);
  box-shadow: 0 16px 40px rgba(140, 133, 255, 0.6);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 100px;
  background: var(--glass-bg);
  color: var(--text-main);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  letter-spacing: 0.05em;
  text-decoration: none;
  border: 1px solid var(--accent-gold);
  box-shadow: 0 8px 25px rgba(230, 193, 122, 0.15);
  transition: all 0.35s var(--transition-smooth);
}

.btn-outline:hover {
  background: var(--accent-gold);
  color: #09060c;
  transform: translateY(-3px);
}

/* Social Icon Row */
.social-links-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.social-icon-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  backdrop-filter: blur(10px);
  transition: all 0.3s var(--transition-smooth);
}

.social-icon-btn svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.social-icon-btn:hover {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
  transform: translateY(-4px) rotate(6deg);
  box-shadow: 0 10px 24px rgba(140, 133, 255, 0.45);
}

/* Right Side: 3D Diamond Portrait Portal */
.hero-visual-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.diamond-portal-wrapper {
  position: relative;
  width: min(370px, 75vw);
  height: min(370px, 75vw);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  transform-style: preserve-3d;
  perspective: 1000px;
}

.diamond-frame {
  width: 74%;
  height: 74%;
  transform: rotate(45deg);
  border-radius: 24px;
  overflow: hidden;
  border: 2px solid rgba(140, 133, 255, 0.45);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(140, 133, 255, 0.25);
  position: relative;
  background: #0a0a14;
  transition: all 0.5s var(--transition-smooth);
}

.diamond-frame:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85), 0 0 60px rgba(230, 193, 122, 0.35);
}

.diamond-frame img {
  width: 142%;
  height: 142%;
  object-fit: cover;
  transform: rotate(-45deg) translate(0%, -14%);
  filter: grayscale(100%) contrast(1.12);
  transition: filter 0.6s ease, transform 0.6s var(--transition-smooth);
}

.diamond-frame:hover img {
  filter: grayscale(20%) contrast(1.15);
  transform: rotate(-45deg) translate(0%, -14%) scale(1.06);
}

.diamond-orbit-ring {
  position: absolute;
  inset: -12px;
  border: 1px dashed rgba(140, 133, 255, 0.3);
  border-radius: 50%;
  animation: spinOrbit 28s linear infinite;
  pointer-events: none;
}

@keyframes spinOrbit {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ==========================================================================
   STAGE 02: GALERİ (3D INTERACTIVE ART GALLERY & TESTIMONIALS)
   ========================================================================== */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 48px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.6;
}

.gallery-3d-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  perspective: 1400px;
  margin-bottom: 42px;
}

.art-card-3d {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  aspect-ratio: 3 / 4.8;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.art-card-3d:hover {
  border-color: var(--accent-primary);
  box-shadow: 0 28px 65px rgba(140, 133, 255, 0.3);
}

.art-card-img-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
}

.art-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition-smooth), filter 0.5s ease;
}

.art-card-3d:hover .art-card-img-wrap img {
  transform: scale(1.08);
}

.art-card-glare {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255, 255, 255, 0.22), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.art-card-3d:hover .art-card-glare {
  opacity: 1;
}

.art-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5, 5, 11, 0.92) 0%, rgba(5, 5, 11, 0.2) 45%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px 20px;
  transform: translateZ(30px);
}

.art-card-index {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--accent-primary);
  letter-spacing: 0.18em;
  margin-bottom: 4px;
}

.art-card-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.art-card-tag {
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
}

.gallery-footer-bar {
  display: flex;
  justify-content: center;
  margin-bottom: 64px;
}

/* Testimonials Glass Cards */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  padding: 32px;
  backdrop-filter: blur(18px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--transition-smooth), border-color 0.4s ease;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-primary);
}

.testimonial-stars {
  color: var(--accent-gold);
  font-size: 1.1rem;
  letter-spacing: 4px;
}

.testimonial-quote {
  font-size: 1.12rem;
  line-height: 1.65;
  color: var(--text-main);
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-author img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent-primary);
}

.testimonial-author-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
}

/* ==========================================================================
   STAGE 03: HAKKINDA (ABOUT & VISUAL ARTWORK SHOWCASE)
   ========================================================================== */
.about-top-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

.about-bio-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  padding: 40px;
  backdrop-filter: blur(20px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.about-bio-card p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 20px;
}

.about-bio-card p:last-child {
  margin-bottom: 0;
}

.about-portrait-card {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  aspect-ratio: 1 / 1;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.55);
}

.about-portrait-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition-smooth);
}

.about-portrait-card:hover img {
  transform: scale(1.05);
}

.about-duality-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 56px;
}

.duality-art-panel {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  aspect-ratio: 1 / 1;
  cursor: pointer;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.duality-art-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--transition-smooth);
}

.duality-art-panel:hover img {
  transform: scale(1.06);
}

.duality-caption {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  padding: 14px 18px;
  background: rgba(8, 8, 16, 0.78);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.78rem;
}

/* Book Signing Event Gallery (İmza Gününden Fotoğraflar) */
.signing-gallery-showcase {
  margin-bottom: 56px;
  padding: 40px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  backdrop-filter: blur(22px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.signing-header-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--glass-border);
}

.signing-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-gold);
  background: rgba(230, 193, 122, 0.12);
  border: 1px solid rgba(230, 193, 122, 0.35);
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 10px;
}

.signing-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.2vw, 2.5rem);
  font-weight: 700;
  color: var(--text-main);
}

.signing-subtitle {
  font-size: 0.98rem;
  color: var(--text-muted);
  max-width: 440px;
  line-height: 1.6;
}

.signing-bento-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(235px, 1fr));
  gap: 20px;
  perspective: 1400px;
  align-items: start;
}

.signing-photo-card {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: rgba(10, 9, 18, 0.85);
  cursor: pointer;
  transform-style: preserve-3d;
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.5);
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
}

.signing-photo-card:hover {
  border-color: var(--accent-gold);
  box-shadow: 0 22px 50px rgba(230, 193, 122, 0.28);
}

.signing-img-frame {
  width: 100%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  background: #07060d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.signing-card-landscape .signing-img-frame {
  aspect-ratio: 4 / 3;
}

.signing-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform 0.6s var(--transition-smooth);
}

.signing-photo-card:hover img {
  transform: scale(1.04);
}

.signing-card-caption {
  padding: 12px 14px;
  background: rgba(12, 11, 22, 0.92);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 500;
}

.signing-card-num {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--accent-gold);
  padding: 2px 7px;
  border-radius: 6px;
  background: rgba(230, 193, 122, 0.16);
  border: 1px solid rgba(230, 193, 122, 0.3);
  flex-shrink: 0;
}

/* About Book Feature Banner */
.about-book-banner {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  padding: 40px;
  backdrop-filter: blur(20px);
}

.about-book-banner h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 16px;
}

.about-book-banner p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.about-book-preview {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.about-book-preview img {
  max-height: 290px;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.65);
  transition: transform 0.4s var(--transition-smooth);
}

.about-book-preview img:hover {
  transform: translateY(-8px) scale(1.03);
}

/* ==========================================================================
   STAGE 04: KİTAPLARIM & 3D INTERACTIVE BOOK + 24 GLOBAL STORES
   ========================================================================== */
.books-showcase-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

/* Interactive 3D CSS + WebGL Synchronized Book Artifact */
.book-3d-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 40px 20px;
  background: radial-gradient(circle at center, rgba(140, 133, 255, 0.16) 0%, transparent 70%);
  border-radius: var(--card-radius);
  border: 1px solid var(--glass-border);
  position: relative;
}

.book-3d-viewport {
  width: 260px;
  height: 390px;
  perspective: 1400px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  cursor: grab;
}

.book-3d-viewport:active {
  cursor: grabbing;
}

.book-3d-object {
  width: 240px;
  height: 365px;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateY(-28deg) rotateX(8deg);
  transition: transform 0.6s var(--transition-smooth);
}

.book-3d-object.flipped-back {
  transform: rotateY(-195deg) rotateX(6deg);
}

.book-3d-object.flipped-spine {
  transform: rotateY(-90deg) rotateX(0deg);
}

.book-face {
  position: absolute;
  backface-visibility: hidden;
  border-radius: 3px;
}

.book-face-front {
  width: 240px;
  height: 365px;
  transform: translateZ(14px);
  background-size: cover;
  background-position: center;
  box-shadow: inset 4px 0 10px rgba(255,255,255,0.15), 0 20px 50px rgba(0,0,0,0.8);
}

.book-face-back {
  width: 240px;
  height: 365px;
  transform: rotateY(180deg) translateZ(14px);
  background-size: cover;
  background-position: center;
  box-shadow: inset -4px 0 10px rgba(255,255,255,0.15), 0 20px 50px rgba(0,0,0,0.8);
}

.book-face-spine {
  width: 28px;
  height: 365px;
  left: 106px;
  transform: rotateY(-90deg) translateZ(120px);
  background-size: cover;
  background-position: center;
}

.book-face-pages {
  width: 26px;
  height: 359px;
  top: 3px;
  left: 107px;
  transform: rotateY(90deg) translateZ(118px);
  background: repeating-linear-gradient(
    90deg,
    #e8e4dc 0px,
    #e8e4dc 2px,
    #cfc9be 2px,
    #cfc9be 4px
  );
}

.book-controls-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
}

.book-ctrl-btn {
  padding: 8px 16px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--glass-border);
  color: var(--text-main);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.book-ctrl-btn.active,
.book-ctrl-btn:hover {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
}

.book-details-panel {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  padding: 40px;
  backdrop-filter: blur(20px);
}

.book-details-panel h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 12px;
}

.book-quote-pill {
  display: inline-block;
  padding: 8px 16px;
  border-left: 3px solid var(--accent-primary);
  background: rgba(140, 133, 255, 0.08);
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 22px;
}

.book-details-panel p {
  font-size: 1.04rem;
  line-height: 1.8;
  color: var(--text-main);
  margin-bottom: 24px;
}

.book-isbn-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.isbn-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  padding: 6px 12px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--glass-border);
  color: var(--text-muted);
}

/* Global Store Links Matrix (All 24 Original Links Preserved) */
.stores-vault-container {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--card-radius);
  padding: 36px;
  backdrop-filter: blur(20px);
}

.stores-vault-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.stores-vault-header h4 {
  font-family: var(--font-display);
  font-size: 1.5rem;
}

.stores-filter-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.store-filter-btn {
  padding: 7px 15px;
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.store-filter-btn.active,
.store-filter-btn:hover {
  background: var(--accent-primary);
  color: #fff;
  border-color: var(--accent-primary);
}

.stores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
  gap: 14px;
}

.store-link-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--glass-border);
  text-decoration: none;
  color: var(--text-main);
  transition: all 0.3s var(--transition-smooth);
  overflow: hidden;
}

.store-link-card:hover {
  background: rgba(140, 133, 255, 0.14);
  border-color: var(--accent-primary);
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.store-card-info {
  min-width: 0;
  flex: 1;
}

.store-card-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
}

.store-region-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  padding: 2px 7px;
  border-radius: 4px;
  background: rgba(140, 133, 255, 0.2);
  color: var(--accent-primary);
  font-weight: 600;
}

.store-domain-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-raw-url {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-arrow-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.store-link-card:hover .store-arrow-icon {
  transform: translate(2px, -2px);
  background: var(--accent-primary);
  color: #fff;
}

/* ==========================================================================
   STAGE 05: İLETİŞİM & KONUM (CONTACT & LOCATION)
   ========================================================================== */
.contact-stage-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: stretch;
}

.contact-form-panel {
  position: relative;
  border-radius: var(--card-radius);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(22px);
  padding: 42px;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.35);
}

.contact-bg-art {
  position: absolute;
  inset: 0;
  background-image: url('assets/bg-telephone.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.14;
  pointer-events: none;
  mix-blend-mode: luminosity;
}

.contact-form-inner {
  position: relative;
  z-index: 1;
}

.contact-form-inner h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 8px;
}

.contact-form-inner p {
  color: var(--text-muted);
  margin-bottom: 28px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 14px 18px;
  border-radius: 12px;
  border: 1px solid var(--glass-border);
  background: rgba(12, 12, 22, 0.55);
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

body[data-theme="monochrome"] .form-control {
  background: rgba(255, 255, 255, 0.85);
  color: #0c0d14;
}

.form-control:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(140, 133, 255, 0.2);
}

textarea.form-control {
  min-height: 130px;
  resize: vertical;
}

/* Location Panel */
.location-panel {
  border-radius: var(--card-radius);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  backdrop-filter: blur(22px);
  padding: 42px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.35);
}

.location-panel h3 {
  font-family: var(--font-display);
  font-size: 2rem;
  margin-bottom: 10px;
}

.location-desc {
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.location-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 24px;
}

.location-meta-box {
  padding: 16px;
  border-radius: 14px;
  background: rgba(140, 133, 255, 0.08);
  border: 1px solid var(--glass-border);
}

.location-meta-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-primary);
  margin-bottom: 6px;
}

.location-meta-val {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
}

.map-frame-wrap {
  width: 100%;
  height: 240px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
}

.map-frame-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: contrast(1.05) saturate(0.85);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 2;
  background: rgba(10, 16, 40, 0.85);
  border-top: 1px solid var(--glass-border);
  backdrop-filter: blur(24px);
  padding: 64px 0 36px;
  color: #f4f4f8;
}

.footer-inner {
  width: min(1320px, 92vw);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1.2fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  margin-bottom: 12px;
  color: #ffffff;
}

.footer-col p {
  color: #9898b0;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.footer-email-link {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent-primary);
  text-decoration: none;
  padding: 10px 18px;
  border-radius: 10px;
  background: rgba(140, 133, 255, 0.1);
  border: 1px solid rgba(140, 133, 255, 0.25);
  transition: all 0.3s ease;
}

.footer-email-link:hover {
  background: var(--accent-primary);
  color: #fff;
}

.footer-newsletter-form {
  display: flex;
  gap: 10px;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-family: var(--font-body);
}

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  color: #9898b0;
  font-size: 0.85rem;
}

/* ==========================================================================
   LIGHTBOX MODAL FOR ARTWORKS
   ========================================================================== */
.art-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(4, 4, 10, 0.92);
  backdrop-filter: blur(20px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.art-lightbox.open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 88vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.85);
}

.lightbox-caption {
  margin-top: 16px;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: #fff;
}

.lightbox-close {
  position: absolute;
  top: -18px;
  right: -18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: var(--accent-primary);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Toast Notification */
.toast-msg {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 2500;
  background: var(--accent-primary);
  color: #fff;
  padding: 14px 24px;
  border-radius: 12px;
  font-family: var(--font-heading);
  font-weight: 600;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.4s var(--transition-smooth);
}

.toast-msg.show {
  transform: translateY(0);
  opacity: 1;
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */
@media (max-width: 1080px) {
  .hero-grid,
  .about-top-grid,
  .about-book-banner,
  .books-showcase-layout,
  .contact-stage-grid {
    grid-template-columns: 1fr;
  }

  .gallery-3d-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .signing-bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .site-header {
    padding: 10px 14px;
    top: 10px;
  }

  .brand-logo-text {
    font-size: 0.85rem;
    letter-spacing: 0.08em;
  }

  .brand-logo-img {
    width: 34px;
    height: 34px;
  }

  .nav-links {
    position: fixed;
    top: 66px;
    left: 3vw;
    right: 3vw;
    background: rgba(10, 10, 20, 0.96);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    flex-direction: column;
    padding: 20px;
    display: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  }

  .nav-links.mobile-open {
    display: flex;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }

  .section-stage {
    padding: 96px 0 64px;
    min-height: auto;
  }

  .hero-grid {
    gap: 32px;
    min-height: auto;
  }

  .diamond-portal-wrapper {
    width: min(260px, 68vw);
    height: min(260px, 68vw);
    margin: 12px auto 20px;
  }

  .gallery-3d-grid,
  .testimonials-grid,
  .about-duality-grid,
  .location-meta-grid,
  .stores-grid {
    grid-template-columns: 1fr;
  }

  .signing-bento-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .signing-gallery-showcase {
    padding: 24px 18px;
  }

  .hero-book-showcase {
    flex-direction: column;
    text-align: center;
    padding: 18px;
  }

  .hero-cta-row {
    justify-content: center;
  }

  .social-links-row {
    justify-content: center;
  }

  .about-bio-card,
  .about-book-banner,
  .book-details-panel,
  .stores-vault-container,
  .contact-form-panel,
  .location-panel,
  .testimonial-card {
    padding: 24px 18px;
  }

  .book-3d-viewport {
    width: 220px;
    height: 330px;
    touch-action: none;
  }

  .book-3d-object {
    transform: scale(0.88) rotateY(-24deg) rotateX(6deg);
  }

  .duality-caption {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    font-size: 0.7rem;
    padding: 10px 14px;
  }

  .footer-newsletter-form {
    flex-direction: column;
  }

  .style-hud {
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: max-content;
    max-width: 94vw;
    padding: 8px 14px;
    font-size: 0.62rem;
    gap: 8px;
  }

  #styleHudText {
    max-width: 145px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
}

@media (max-width: 420px) {
  .brand-logo-text {
    display: none;
  }

  .hero-title {
    font-size: 2.35rem;
  }

  .signing-bento-grid {
    grid-template-columns: 1fr;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }
}
