


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

:root {
  --navy:       #151f38;
  --navy-deep:  #0b1225;
  --navy-mid:   #1e2f55;
  --burgundy:   #6b1836;
  --burgundy-l: #8f2149;
  --gold:       #c8893a;
  --gold-l:     #e0a84e;
  --gold-d:     #9a6928;
  --cream:      #faf8f4;
  --cream-d:    #f2ede4;
  --ivory:      #fffef9;
  --white:      #ffffff;

  --text-dark:  #18182e;
  --text-mid:   #3a3a58;
  --text-muted: #686882;
  --text-light: #9799b8;

  --border:     rgba(21, 31, 56, 0.09);
  --border-l:   rgba(200, 137, 58, 0.22);

  --shadow-sm:  0 2px 10px rgba(21, 31, 56, 0.06);
  --shadow-md:  0 8px 32px rgba(21, 31, 56, 0.11);
  --shadow-lg:  0 24px 60px rgba(21, 31, 56, 0.16);
  --shadow-xl:  0 40px 100px rgba(21, 31, 56, 0.22);

  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.55s cubic-bezier(0.4, 0, 0.2, 1);

  --font-serif: 'Playfair Display', 'DM Serif Display', Georgia, serif;
  --font-sans:  'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --max-width: 1280px;
  --nav-height: 70px;
  --radius-sm:  10px;
  --radius-md:  18px;
  --radius-lg:  26px;
  --radius-xl:  36px;
}


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

body {
  font-family: var(--font-sans);
  background-color: var(--cream);
  color: var(--text-dark);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }


.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }


.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-height);
  background: rgba(250, 248, 244, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(250, 248, 244, 0.98);
  border-color: var(--border);
  box-shadow: 0 4px 24px rgba(21, 31, 56, 0.07);
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nav-logo { display: flex; align-items: center; gap: 0.5rem; }
.logo-text {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.logo-text strong { color: var(--burgundy); font-weight: 700; }

.nav-links { display: flex; align-items: center; gap: 0.15rem; }

.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.9rem;
  font-size: 0.855rem;
  font-weight: 500;
  color: var(--text-muted);
  border-radius: 10px;
  transition: var(--transition);
  position: relative;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--navy);
  background: rgba(21, 31, 56, 0.06);
}
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 50%;
  transform: translateX(-50%);
  width: 18px; height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-admin-btn {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid)) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.125rem !important;
  border-radius: 10px !important;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 14px rgba(21, 31, 56, 0.22);
}
.nav-admin-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(21, 31, 56, 0.28) !important;
  background: var(--navy-deep) !important;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle:hover { background: var(--cream-d); }


#app { min-height: 100vh; padding-top: var(--nav-height); }


.section { padding: 5.5rem 0; }
.section-sm { padding: 3.5rem 0; }
.section-lg { padding: 7.5rem 0; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy);
  line-height: 1.12;
  font-weight: 700;
  margin-bottom: 1rem;
}
.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

.divider {
  width: 52px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--burgundy));
  border-radius: 2px;
  margin: 1.25rem auto;
}
.divider-left { margin-left: 0; }


.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 1.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 12px;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  font-family: var(--font-sans);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0);
  transition: background 0.2s;
}
.btn:hover::after { background: rgba(255,255,255,0.08); }

.btn-primary {
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white);
  box-shadow: 0 4px 18px rgba(21, 31, 56, 0.22);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(21, 31, 56, 0.3);
  color: var(--white);
}

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-d));
  color: var(--white);
  box-shadow: 0 4px 18px rgba(200, 137, 58, 0.28);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(200, 137, 58, 0.38);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: rgba(21, 31, 56, 0.2);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
  backdrop-filter: blur(8px);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.6);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-burgundy {
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-l));
  color: var(--white);
  box-shadow: 0 4px 18px rgba(107, 24, 54, 0.28);
}
.btn-burgundy:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(107, 24, 54, 0.38);
  color: var(--white);
}

.btn-sm { padding: 0.55rem 1.2rem; font-size: 0.8rem; border-radius: 9px; }
.btn-lg { padding: 1.1rem 2.25rem; font-size: 1rem; }


.hero {
  min-height: 100vh;
  background: var(--navy-deep);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
}


.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 15% 50%, rgba(107, 24, 54, 0.22) 0%, transparent 55%),
    radial-gradient(ellipse 60% 70% at 85% 20%, rgba(200, 137, 58, 0.14) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 60% 80%, rgba(30, 47, 85, 0.6) 0%, transparent 60%);
}


.hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}

.hero-particles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 1; }
.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(200, 137, 58, 0.35);
  animation: floatParticle linear infinite;
}
@keyframes floatParticle {
  0%   { transform: translateY(105vh) scale(0); opacity: 0; }
  10%  { opacity: 1; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-10vh) scale(1.5); opacity: 0; }
}

.hero-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 5rem 2rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 2;
}

.hero-content { color: var(--white); }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-l);
  margin-bottom: 1.5rem;
  background: rgba(200, 137, 58, 0.1);
  border: 1px solid rgba(200, 137, 58, 0.2);
  padding: 0.4rem 0.875rem;
  border-radius: 30px;
  width: fit-content;
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.75rem, 5.5vw, 4.75rem);
  font-weight: 900;
  line-height: 1.03;
  color: var(--white);
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}
.hero-title .highlight {
  color: transparent;
  background: linear-gradient(135deg, var(--gold-l) 0%, #f0c070 50%, var(--gold-l) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  font-style: italic;
  display: block;
}

.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.68);
  line-height: 1.8;
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.08);
}
.hero-stat { display: flex; flex-direction: column; gap: 0.2rem; }
.hero-stat-number {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gold-l);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}


.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-books-display {
  position: relative;
  width: 100%;
  max-width: 400px;
}
.hero-book-stack {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  position: relative;
  height: 400px;
}
.hero-book-item {
  position: absolute;
  border-radius: 10px;
  box-shadow: 0 24px 64px rgba(0,0,0,0.5);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-book-item img { width:100%; height:100%; object-fit:cover; }
.hero-book-item:nth-child(1) {
  width:145px; height:210px;
  left:50%; transform:translateX(-50%) rotate(-9deg);
  z-index:1; top:55px;
}
.hero-book-item:nth-child(2) {
  width:165px; height:232px;
  left:50%; transform:translateX(-50%) rotate(2deg);
  z-index:3; top:30px;
}
.hero-book-item:nth-child(3) {
  width:138px; height:198px;
  left:50%; transform:translateX(-50%) rotate(11deg);
  z-index:2; top:65px;
}
.hero-book-item:hover {
  transform: translateX(-50%) rotate(0deg) translateY(-12px) !important;
  z-index: 10;
  box-shadow: 0 36px 80px rgba(0,0,0,0.6);
}


.hero-ring {
  position: absolute;
  width: 380px; height: 380px;
  border: 1px solid rgba(200, 137, 58, 0.12);
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  animation: spinSlow 30s linear infinite;
}
.hero-ring::after {
  content: '';
  position: absolute;
  width: 8px; height: 8px;
  background: var(--gold);
  border-radius: 50%;
  top: -4px; left: 50%;
  margin-left: -4px;
}
@keyframes spinSlow { to { transform: translate(-50%, -50%) rotate(360deg); } }

.hero-scroll-hint {
  position: absolute;
  bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255,255,255,0.3);
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  z-index: 2;
  animation: bounceScroll 2.5s ease-in-out infinite;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0.25));
}
@keyframes bounceScroll {
  0%,100% { transform: translateX(-50%) translateY(0); }
  50%      { transform: translateX(-50%) translateY(8px); }
}


.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }


.book-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
  cursor: pointer;
}
.book-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-l);
}

.book-card-cover {
  width: 100%;
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.book-card-cover img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}
.book-card:hover .book-card-cover img { transform: scale(1.07); }

.book-card-cover-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem; padding: 1.5rem;
}
.book-cover-emoji { font-size: 3.5rem; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.25)); }
.book-cover-title-text {
  font-family: var(--font-serif); font-size: 1.05rem;
  color: rgba(255,255,255,0.95); text-align: center;
  font-weight: 600; line-height: 1.3;
}
.book-cover-author-text {
  font-size: 0.75rem; color: rgba(255,255,255,0.6);
  text-align: center; font-style: italic;
}


.book-card-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,15,35,0.7) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.35s ease;
  display: flex;
  align-items: flex-end;
  padding: 1.25rem;
}
.book-card:hover .book-card-overlay { opacity: 1; }
.book-card-overlay-btn {
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.35);
  color: white;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font-sans);
}
.book-card-overlay-btn:hover { background: rgba(255,255,255,0.32); }

.book-card-badge {
  position: absolute;
  top: 1rem; left: 1rem;
  background: linear-gradient(135deg, var(--gold), var(--gold-d));
  color: var(--white);
  font-size: 0.62rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  border-radius: 30px;
  box-shadow: 0 3px 10px rgba(200, 137, 58, 0.4);
}

.book-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.book-category {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.5rem;
}
.book-card-title {
  font-family: var(--font-serif); font-size: 1.1rem;
  color: var(--navy); font-weight: 700;
  line-height: 1.3; margin-bottom: 0.4rem;
}
.book-card-publisher { font-size: 0.78rem; color: var(--text-muted); margin-bottom: 0.75rem; }
.book-card-desc {
  font-size: 0.865rem; color: var(--text-mid);
  line-height: 1.65; flex: 1; margin-bottom: 1.25rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.book-card-footer { display: flex; gap: 0.5rem; flex-wrap: wrap; }


.featured-books-section {
  padding: 6rem 0;
  background: var(--cream);
  position: relative;
}
.featured-books-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-l), transparent);
  opacity: 0.25;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 2rem;
}


.author-preview {
  background: linear-gradient(160deg, var(--navy-deep) 0%, #1a2040 60%, #12162e 100%);
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}
.author-preview::before {
  content: '';
  position: absolute;
  top: -30%; right: -5%;
  width: 550px; height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200, 137, 58, 0.08) 0%, transparent 70%);
  pointer-events: none;
}
.author-preview::after {
  content: '';
  position: absolute;
  bottom: -20%; left: -5%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(107, 24, 54, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.author-preview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.author-preview-image { display: flex; justify-content: center; }

.author-avatar-large {
  width: 310px; height: 370px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, #667eea, #764ba2);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 1rem;
  box-shadow: 0 30px 80px rgba(0,0,0,0.45), 0 0 0 1px rgba(255,255,255,0.06);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
}
.author-avatar-large::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.35));
}
.author-avatar-large img { width:100%; height:100%; object-fit:cover; }
.author-avatar-badge {
  position: absolute; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gold), var(--gold-d));
  color: var(--white);
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.06em;
  padding: 0.4rem 1.1rem;
  border-radius: 30px; white-space: nowrap;
  z-index: 1;
  box-shadow: 0 4px 14px rgba(200, 137, 58, 0.4);
}

.author-preview-content { color: var(--white); }
.author-preview-name {
  font-family: var(--font-serif);
  font-size: 2.75rem; font-weight: 700;
  margin-bottom: 0.4rem; color: var(--white);
}
.author-preview-title {
  color: var(--gold-l); font-size: 0.875rem;
  font-weight: 600; letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}
.author-preview-bio {
  color: rgba(255,255,255,0.72);
  line-height: 1.85; font-size: 0.975rem;
  margin-bottom: 2rem;
}
.author-expertise-tags { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 2rem; }
.expertise-tag {
  background: rgba(200, 137, 58, 0.12);
  border: 1px solid rgba(200, 137, 58, 0.25);
  color: var(--gold-l);
  font-size: 0.72rem; font-weight: 600;
  padding: 0.4rem 0.9rem; border-radius: 30px;
  transition: var(--transition);
}
.expertise-tag:hover {
  background: rgba(200, 137, 58, 0.22);
  transform: translateY(-2px);
}


.announcements-preview { padding: 5.5rem 0; background: var(--ivory); }
.announcements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 1.5rem;
}
.announcement-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  display: flex; flex-direction: column;
  gap: 0.75rem; position: relative;
}
.announcement-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-l);
}
.announcement-card.pinned { border-top: 3px solid var(--gold); }
.announcement-type {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  padding: 0.3rem 0.75rem; border-radius: 30px; width: fit-content;
}
.announcement-type.kitap    { background: rgba(107,24,54,0.08); color: var(--burgundy); }
.announcement-type.etkinlik { background: rgba(21,31,56,0.08); color: var(--navy); }
.announcement-type.haber    { background: rgba(200,137,58,0.1); color: var(--gold-d); }
.announcement-type.diger    { background: rgba(104,104,130,0.1); color: var(--text-muted); }
.announcement-title {
  font-family: var(--font-serif); font-size: 1.05rem;
  font-weight: 700; color: var(--navy); line-height: 1.3;
}
.announcement-date { font-size: 0.76rem; color: var(--text-light); display:flex;align-items:center;gap:0.35rem; }
.announcement-content { font-size: 0.875rem; color: var(--text-mid); line-height: 1.65; flex:1; }
.announcement-pin-badge { position:absolute;top:1rem;right:1rem;color:var(--gold);font-size:0.85rem; }


.quote-section {
  padding: 6rem 0;
  background: linear-gradient(150deg, var(--burgundy) 0%, #4a1024 100%);
  text-align: center; position: relative; overflow: hidden;
}
.quote-section::before {
  content: '"';
  position: absolute; top: -2rem; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-serif);
  font-size: 22rem; color: rgba(255,255,255,0.035);
  line-height: 1; pointer-events: none;
}
.quote-text {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 3vw, 2.1rem);
  color: var(--white); line-height: 1.65;
  max-width: 760px; margin: 0 auto 2rem;
  font-style: italic; position: relative; z-index: 1;
}
.quote-author {
  color: rgba(255,255,255,0.6); font-size: 0.875rem;
  font-weight: 600; letter-spacing: 0.06em;
  position: relative; z-index: 1;
}
.quote-author::before { content: '— '; }


.page-hero {
  background: linear-gradient(150deg, var(--navy-deep) 0%, var(--navy-mid) 100%);
  padding: 5rem 0 4rem;
  text-align: center; color: var(--white);
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 50px 50px;
}
.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700; margin-bottom: 1rem;
  color: var(--white); position: relative; z-index: 1;
}
.page-hero-subtitle {
  font-size: 1rem; color: rgba(255,255,255,0.62);
  max-width: 480px; margin: 0 auto;
  position: relative; z-index: 1;
}


.filter-tabs {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  justify-content: center; margin-bottom: 3rem;
}
.filter-tab {
  padding: 0.5rem 1.25rem;
  font-size: 0.84rem; font-weight: 600;
  border-radius: 30px;
  border: 2px solid var(--border);
  color: var(--text-mid); background: var(--white);
  cursor: pointer; transition: var(--transition);
}
.filter-tab:hover,
.filter-tab.active {
  background: var(--navy); border-color: var(--navy);
  color: var(--white); transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(21, 31, 56, 0.2);
}


.book-detail-layout {
  display: grid; grid-template-columns: 1fr 2fr;
  gap: 4rem; align-items: start; padding: 4rem 0;
}
.book-detail-cover-wrap { position: sticky; top: 100px; }
.book-detail-cover {
  aspect-ratio: 3/4; border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-xl);
  display: flex; align-items: center; justify-content: center;
}
.book-detail-cover img { width:100%; height:100%; object-fit:cover; }
.book-detail-purchase {
  margin-top: 1.5rem;
  background: var(--white); border-radius: var(--radius-md);
  padding: 1.5rem; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.book-detail-category {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.75rem;
}
.book-detail-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--navy); font-weight: 700; line-height: 1.12;
  margin-bottom: 0.75rem;
}
.book-detail-author { font-size: 1.1rem; color: var(--text-muted); margin-bottom: 2rem; font-style: italic; }
.book-specs-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem; padding: 1.5rem 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 2rem 0;
}
.book-spec-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-light); font-weight: 600; }
.book-spec-value { font-size: 0.9rem; color: var(--text-dark); font-weight: 600; margin-top: 0.2rem; }
.book-detail-description { font-size: 1rem; color: var(--text-mid); line-height: 1.9; white-space: pre-line; }
.book-author-note {
  background: linear-gradient(135deg, var(--cream), var(--cream-d));
  border-left: 4px solid var(--gold);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  padding: 1.5rem 1.75rem; margin: 2rem 0;
}
.book-author-note-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.5rem; }
.book-author-note-text { font-style: italic; color: var(--text-mid); line-height: 1.75; }
.similar-books { padding: 4rem 0; background: var(--cream-d); }


.about-hero-section {
  background: linear-gradient(150deg, var(--navy-deep), var(--navy));
  padding: 6rem 0; position: relative; overflow: hidden;
}
.about-grid {
  display: grid; grid-template-columns: 360px 1fr;
  gap: 5rem; align-items: start; padding: 5rem 0;
}
.about-image-section {
  position: sticky; top: 100px;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.about-avatar {
  width: 100%; aspect-ratio: 3/4;
  border-radius: var(--radius-xl);
  overflow: hidden; box-shadow: var(--shadow-xl);
  display: flex; align-items: center; justify-content: center;
  font-size: 6rem;
}
.about-avatar img { width:100%; height:100%; object-fit:cover; }
.about-social-links { display: flex; gap: 0.75rem; }
.about-social-link {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--white); border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); font-size: 0.875rem;
  transition: var(--transition); box-shadow: var(--shadow-sm);
}
.about-social-link:hover {
  background: var(--navy); border-color: var(--navy);
  color: var(--white); transform: translateY(-3px); box-shadow: var(--shadow-md);
}
.about-content-section h2 {
  font-family: var(--font-serif); font-size: 2.25rem; color: var(--navy); margin-bottom: 1rem;
}
.about-bio { font-size: 1rem; color: var(--text-mid); line-height: 1.9; white-space: pre-line; margin-bottom: 2.5rem; }
.expertise-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-bottom: 2.5rem; }
.expertise-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.875rem 1rem; background: var(--cream);
  border-radius: var(--radius-sm); border: 1px solid var(--border);
  transition: var(--transition);
}
.expertise-item:hover { background: var(--white); border-color: var(--border-l); transform: translateX(4px); }
.expertise-item i { color: var(--gold); font-size: 0.875rem; flex-shrink: 0; }
.expertise-item span { font-size: 0.855rem; font-weight: 500; color: var(--text-dark); }

/* ===== MEDYA — Premium Redesign ===== */

/* Hero */
.media-hero {
  position: relative; padding: 8rem 0 5rem; overflow: hidden;
  background: linear-gradient(160deg, #0d1628 0%, #1a2040 40%, #0f1329 100%);
}
.media-hero-bg {
  position: absolute; inset: 0;
  background: 
    radial-gradient(ellipse at 20% 50%, rgba(200,137,58,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 30%, rgba(107,24,54,0.06) 0%, transparent 50%);
  animation: mediaHeroPulse 8s ease-in-out infinite alternate;
}
@keyframes mediaHeroPulse {
  0% { opacity: 0.6; } 100% { opacity: 1; }
}
.media-hero-overlay {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255,255,255,0.015) 59px, rgba(255,255,255,0.015) 60px);
}
.media-hero-content { text-align: center; }
.media-hero-eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 1rem;
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase;
  color: var(--gold-l); margin-bottom: 1.5rem;
}
.media-hero-line { width: 40px; height: 1px; background: rgba(200,137,58,0.3); }
.media-hero-title {
  font-family: var(--font-serif); font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800; color: white; line-height: 1.05; margin-bottom: 0.75rem;
  background: linear-gradient(135deg, #fff 30%, var(--gold-l) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.media-hero-subtitle {
  color: rgba(255,255,255,0.45); font-size: 1rem; max-width: 500px; margin: 0 auto 2.5rem;
}
.media-hero-stats {
  display: flex; justify-content: center; gap: 2.5rem;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.06);
}
.media-hero-stat-num {
  font-family: var(--font-serif); font-size: 1.75rem; font-weight: 700;
  color: var(--gold-l); line-height: 1;
}
.media-hero-stat-label {
  font-size: 0.6rem; color: rgba(255,255,255,0.3); text-transform: uppercase;
  letter-spacing: 0.12em; margin-top: 0.25rem; font-weight: 600;
}

/* Featured Card */
.media-featured-section {
  padding: 0; margin-top: -2.5rem; position: relative; z-index: 5;
}
.media-featured-card {
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 0;
  background: var(--white); border-radius: 16px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  border: 1px solid var(--border);
  transition: all 0.4s ease;
}
.media-featured-card:hover { box-shadow: 0 25px 70px rgba(0,0,0,0.18); }
.media-featured-visual {
  aspect-ratio: 16/10; overflow: hidden; position: relative;
  background: linear-gradient(135deg, #1a2040, #0d1628);
  display: flex; align-items: center; justify-content: center;
}
.media-featured-visual:has(iframe) {
  overflow: visible; aspect-ratio: unset; padding-bottom: 56.25%; height: 0;
}
.media-featured-visual img { width: 100%; height: 100%; object-fit: cover; }
.media-featured-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(200,137,58,0.05), rgba(107,24,54,0.05));
}
.media-featured-play {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: rgba(0,0,0,0.2); cursor: pointer; transition: all 0.3s;
}
.media-featured-play:hover { background: rgba(0,0,0,0.35); }
.media-featured-play-btn {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,0.95); display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: 1.4rem; padding-left: 4px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
  transition: all 0.3s;
}
.media-featured-play:hover .media-featured-play-btn { transform: scale(1.1); }
.media-featured-info {
  padding: 2.5rem; display: flex; flex-direction: column; gap: 0.75rem; justify-content: center;
}
.media-featured-label {
  font-size: 0.6rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--gold); display: flex; align-items: center; gap: 0.4rem;
}
.media-featured-title {
  font-family: var(--font-serif); font-size: 1.5rem; font-weight: 700;
  color: var(--navy); line-height: 1.3;
}
.media-featured-desc { font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; }
.media-featured-date { font-size: 0.75rem; color: var(--text-light); }
.media-featured-cta {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.5rem; border-radius: 8px; font-size: 0.8rem; font-weight: 600;
  background: var(--navy); color: white; text-decoration: none;
  transition: all 0.3s; width: fit-content; margin-top: 0.5rem;
}
.media-featured-cta:hover { background: var(--gold); transform: translateY(-2px); }

/* Gallery Section */
.media-gallery-section { padding: 4rem 0 5rem; background: var(--cream); }

/* Filter Chips */
.media-filter-bar {
  display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2.5rem;
  justify-content: center;
}
.media-filter-chip {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 1.2rem; border-radius: 30px; border: 1px solid var(--border);
  background: var(--white); color: var(--text-muted); font-size: 0.78rem; font-weight: 600;
  cursor: pointer; transition: all 0.3s ease;
}
.media-filter-chip:hover { border-color: var(--gold); color: var(--navy); }
.media-filter-chip.active {
  background: var(--navy); color: white; border-color: var(--navy);
}
.media-filter-count {
  font-size: 0.65rem; background: rgba(0,0,0,0.08); padding: 0.1rem 0.45rem;
  border-radius: 10px; font-weight: 700;
}
.media-filter-chip.active .media-filter-count {
  background: rgba(255,255,255,0.15);
}

/* Masonry Grid */
.media-masonry {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.75rem;
}

/* Media Item Card */
.media-item {
  background: var(--white); border-radius: 14px; overflow: hidden;
  border: 1px solid var(--border); transition: all 0.35s ease;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.media-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.media-item-visual {
  aspect-ratio: 16/9; overflow: hidden; position: relative;
  background: var(--cream-d);
}
.media-item-visual:has(iframe) {
  overflow: visible; aspect-ratio: unset; padding-bottom: 56.25%; height: 0;
}
.media-item-visual img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s ease;
}
.media-item:hover .media-item-visual img { transform: scale(1.05); }
.media-item-placeholder {
  width: 100%; height: 100%; display: flex; align-items: center; justify-content: center;
}
.media-item-type-dot {
  position: absolute; top: 0.75rem; right: 0.75rem;
  width: 10px; height: 10px; border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255,255,255,0.8);
}
.media-item-play {
  position: absolute; inset: 0; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.5rem;
  background: rgba(0,0,0,0.15); cursor: pointer; transition: all 0.3s;
}
.media-item-play:hover { background: rgba(0,0,0,0.35); }
.media-play-circle {
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255,255,255,0.92); display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: 1.1rem; padding-left: 3px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transform: scale(0.9); transition: all 0.3s;
}
.media-item-play:hover .media-play-circle { transform: scale(1); }
.media-play-label {
  font-size: 0.65rem; font-weight: 700; color: white;
  letter-spacing: 0.1em; text-transform: uppercase; opacity: 0;
  transition: all 0.3s;
}
.media-item-play:hover .media-play-label { opacity: 1; }

.media-item-content { padding: 1.5rem; }
.media-item-meta {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 0.75rem; flex-wrap: wrap; gap: 0.5rem;
}
.media-item-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-size: 0.62rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; padding: 0.25rem 0.65rem; border-radius: 20px;
}
.media-item-time { font-size: 0.68rem; color: var(--text-light); }
.media-item-title {
  font-family: var(--font-serif); font-size: 1.05rem; font-weight: 700;
  color: var(--navy); line-height: 1.4; margin-bottom: 0.5rem;
}
.media-item-desc {
  font-size: 0.82rem; color: var(--text-muted); line-height: 1.65;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.media-item-link {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-size: 0.78rem; font-weight: 600; color: var(--gold-d);
  text-decoration: none; margin-top: 0.75rem; transition: all 0.25s;
}
.media-item-link:hover { color: var(--burgundy); gap: 0.6rem; }

/* Empty State */
.media-empty-state {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 4rem 2rem; text-align: center; gap: 1rem;
}
.media-empty-state i { font-size: 3rem; color: var(--text-light); opacity: 0.3; }
.media-empty-state h3 { font-size: 1.1rem; color: var(--text-muted); }
.media-empty-state p { font-size: 0.85rem; color: var(--text-light); }

/* Dark Mode */
body.dark-mode .media-featured-card { background: var(--navy-mid); border-color: rgba(255,255,255,0.06); }
body.dark-mode .media-featured-title { color: white; }
body.dark-mode .media-featured-desc { color: rgba(255,255,255,0.5); }
body.dark-mode .media-gallery-section { background: var(--navy-deep); }
body.dark-mode .media-item { background: var(--navy-mid); border-color: rgba(255,255,255,0.06); }
body.dark-mode .media-item-title { color: white; }
body.dark-mode .media-item-desc { color: rgba(255,255,255,0.4); }
body.dark-mode .media-filter-chip { background: var(--navy-mid); border-color: rgba(255,255,255,0.08); color: rgba(255,255,255,0.5); }
body.dark-mode .media-filter-chip.active { background: var(--gold); border-color: var(--gold); color: white; }

/* YouTube-specific styles */
.media-hero-subscribe {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.8rem; border-radius: 8px; font-size: 0.82rem; font-weight: 700;
  background: #ff0000; color: white; text-decoration: none;
  margin-top: 1.5rem; transition: all 0.3s;
  box-shadow: 0 4px 15px rgba(255,0,0,0.3);
}
.media-hero-subscribe:hover { background: #cc0000; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,0,0,0.4); }

.media-item-yt-badge {
  position: absolute; top: 0.65rem; right: 0.65rem;
  width: 28px; height: 20px; border-radius: 4px;
  background: #ff0000; display: flex; align-items: center; justify-content: center;
  color: white; font-size: 0.6rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.media-item-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: 0.75rem; padding-top: 0.75rem; border-top: 1px solid var(--border);
}

.media-section-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 1px solid var(--border);
}
.media-section-title {
  font-family: var(--font-serif); font-size: 1.4rem; font-weight: 700; color: var(--navy);
}
.media-section-count { font-size: 0.75rem; color: var(--text-light); font-weight: 600; }

/* CTA Section */
.media-cta-section {
  padding: 4rem 0; 
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}
.media-cta-icon { font-size: 3rem; color: #ff0000; margin-bottom: 1rem; }
.media-cta-title {
  font-family: var(--font-serif); font-size: 1.6rem; font-weight: 700;
  color: white; margin-bottom: 0.5rem;
}
.media-cta-desc { color: rgba(255,255,255,0.45); font-size: 0.9rem; margin-bottom: 1.5rem; }
.media-cta-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.8rem 2rem; border-radius: 8px; font-size: 0.85rem; font-weight: 700;
  background: #ff0000; color: white; text-decoration: none;
  transition: all 0.3s; box-shadow: 0 4px 15px rgba(255,0,0,0.3);
}
.media-cta-btn:hover { background: #cc0000; transform: translateY(-2px); }

body.dark-mode .media-section-title { color: white; }
body.dark-mode .media-item-footer { border-top-color: rgba(255,255,255,0.06); }

/* Mobile */
@media (max-width: 768px) {
  .media-hero { padding: 6rem 0 4rem; }
  .media-hero-title { font-size: 2rem; }
  .media-hero-stats { gap: 1.5rem; flex-wrap: wrap; }
  .media-featured-card { grid-template-columns: 1fr; }
  .media-featured-info { padding: 1.5rem; }
  .media-featured-title { font-size: 1.2rem; }
  .media-masonry { grid-template-columns: 1fr; gap: 1.25rem; }
  .media-filter-bar { gap: 0.4rem; }
  .media-filter-chip { padding: 0.45rem 0.9rem; font-size: 0.72rem; }
  .media-section-title { font-size: 1.1rem; }
  .media-cta-title { font-size: 1.3rem; }
}


.contact-grid {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 4rem; align-items: start; padding: 4rem 0;
}
.contact-info-card {
  background: linear-gradient(150deg, var(--navy-deep), var(--navy));
  border-radius: var(--radius-xl); padding: 3rem;
  color: var(--white); position: sticky; top: 100px;
}
.contact-info-title { font-family: var(--font-serif); font-size: 1.75rem; margin-bottom: 0.5rem; color: var(--white); }
.contact-info-subtitle { color: rgba(255,255,255,0.55); font-size: 0.875rem; margin-bottom: 2rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.25rem; margin-bottom: 2rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-item-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(200,137,58,0.18);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-l); font-size: 0.875rem; flex-shrink: 0;
}
.contact-item-label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(255,255,255,0.4); margin-bottom: 0.2rem; font-weight: 600; }
.contact-item-value { font-size: 0.95rem; color: var(--white); font-weight: 500; }
.contact-social { display: flex; gap: 0.75rem; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.08); }
.contact-social a {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(255,255,255,0.07);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.6); font-size: 0.875rem; transition: var(--transition);
}
.contact-social a:hover { background: var(--gold); color: var(--white); transform: translateY(-3px); }


.contact-form-card { background: var(--white); border-radius: var(--radius-xl); padding: 3rem; box-shadow: var(--shadow-md); }
.form-group { margin-bottom: 1.4rem; }
.form-label { display: block; font-size: 0.76rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase; color: var(--text-mid); margin-bottom: 0.5rem; }
.form-control {
  width: 100%; padding: 0.875rem 1.1rem;
  border: 2px solid var(--border); border-radius: var(--radius-sm);
  font-size: 0.95rem; color: var(--text-dark);
  background: var(--cream); transition: var(--transition); outline: none;
}
.form-control:focus { border-color: var(--navy); background: var(--white); box-shadow: 0 0 0 4px rgba(21,31,56,0.07); }
textarea.form-control { resize: vertical; min-height: 140px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-success {
  background: rgba(34,197,94,0.08); border: 1px solid rgba(34,197,94,0.25);
  color: #15803d; padding: 1rem 1.25rem; border-radius: var(--radius-sm);
  font-weight: 500; display: none; align-items: center; gap: 0.5rem;
}
.form-success.show { display: flex; }


.footer { background: var(--navy-deep); color: rgba(255,255,255,0.6); padding: 4.5rem 0 2rem; }
.footer-container {
  max-width: var(--max-width); margin: 0 auto; padding: 0 2rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem;
  padding-bottom: 3rem; border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo { font-family: var(--font-serif); font-size: 1.5rem; color: var(--white); display: block; margin-bottom: 0.5rem; }
.footer-tagline { font-size: 0.82rem; color: var(--gold-l); margin-bottom: 1.5rem; }
.footer-social { display: flex; gap: 0.75rem; }
.footer-social a {
  width: 36px; height: 36px; border-radius: 9px;
  background: rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 0.875rem; transition: var(--transition);
}
.footer-social a:hover { background: var(--gold); color: var(--white); transform: translateY(-3px); }
.footer-nav h4, .footer-books h4, .footer-contact h4 {
  color: var(--white); font-size: 0.76rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 1.25rem;
}
.footer-nav ul, .footer-books ul { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-nav a, .footer-books a { font-size: 0.875rem; color: rgba(255,255,255,0.48); transition: var(--transition); }
.footer-nav a:hover, .footer-books a:hover { color: var(--gold-l); }
.footer-contact p { font-size: 0.875rem; margin-bottom: 0.5rem; }
.footer-copy { font-size: 0.73rem; margin-top: 1.5rem; color: rgba(255,255,255,0.28); }


.toast {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  background: var(--navy); color: var(--white);
  padding: 1rem 1.5rem; border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex; align-items: center; gap: 0.75rem;
  font-size: 0.875rem; font-weight: 500;
  transform: translateY(100px); opacity: 0; transition: var(--transition);
}
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { background: #15803d; }
.toast.error   { background: #b91c1c; }


.breadcrumb {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 0.78rem; color: var(--text-light); margin-bottom: 0.75rem;
}
.breadcrumb a { color: var(--text-muted); cursor:pointer; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb .sep { color: var(--text-light); }


.scroll-top {
  position: fixed; bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  color: var(--white); border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.875rem;
  box-shadow: var(--shadow-md);
  cursor: pointer; opacity: 0; pointer-events: none;
  transform: translateY(10px); transition: var(--transition);
  z-index: 900; border: none;
}
.scroll-top.show { opacity: 1; pointer-events: all; transform: translateY(0); }
.scroll-top:hover { background: var(--burgundy); transform: translateY(-3px); box-shadow: var(--shadow-lg); }


.empty-state { text-align: center; padding: 5rem 2rem; color: var(--text-muted); }
.empty-state i { font-size: 3rem; margin-bottom: 1rem; opacity: 0.35; display: block; }
.empty-state h3 { font-size: 1.25rem; color: var(--text-mid); margin-bottom: 0.5rem; }


@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}

.animate-fade-up { animation: fadeInUp 0.55s ease forwards; }
.animate-fade-up-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-fade-up-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-fade-up-delay-3 { animation-delay: 0.3s; opacity: 0; }
.animate-fade-up-delay-4 { animation-delay: 0.4s; opacity: 0; }


@media (max-width: 1024px) {
  .hero-container        { grid-template-columns: 1fr; text-align: center; }
  .hero-visual           { display: none; }
  .hero-buttons          { justify-content: center; }
  .hero-stats            { justify-content: center; }
  .hero-subtitle         { margin-left: auto; margin-right: auto; }
  .author-preview-grid   { grid-template-columns: 1fr; }
  .about-grid            { grid-template-columns: 1fr; }
  .about-image-section   { position: static; flex-direction: row; align-items: center; }
  .contact-grid          { grid-template-columns: 1fr; }
  .contact-info-card     { position: static; }
  .book-detail-layout    { grid-template-columns: 1fr; }
  .book-detail-cover-wrap{ position: static; max-width: 280px; margin: 0 auto; }
  .footer-container      { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  :root { --nav-height: 62px; }
  .nav-links {
    display: none; position: absolute;
    top: var(--nav-height); left: 0; right: 0;
    background: var(--cream); flex-direction: column;
    padding: 1rem; border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md); z-index: 999;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: flex; }
  .books-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .announcements-grid { grid-template-columns: 1fr; }
  .media-grid { grid-template-columns: 1fr; }
  .expertise-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-container { grid-template-columns: 1fr; gap: 2rem; }
  .section { padding: 4rem 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 1.25rem; }
  .books-grid { grid-template-columns: 1fr; }
  .book-card-cover { aspect-ratio: 2/3; }
  .btn-lg { padding: 0.9rem 1.6rem; font-size: 0.9rem; }
  .contact-form-card, .contact-info-card { padding: 2rem; }
  .hero-title { font-size: 2.4rem; }
}

.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-navy   { color: var(--navy); }
.text-muted  { color: var(--text-muted); }
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}
.flex{display:flex}.flex-center{display:flex;align-items:center;justify-content:center}
.gap-1{gap:.5rem}.gap-2{gap:1rem}.w-full{width:100%}




.loading-screen {
  position: fixed; inset: 0; z-index: 99999;
  background: var(--navy-deep);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
.loading-screen.hidden {
  opacity: 0; visibility: hidden; pointer-events: none;
}
.loading-book {
  width: 80px; height: 100px; perspective: 600px;
  position: relative; margin-bottom: 2rem;
}
.loading-book-cover {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--burgundy), var(--burgundy-l));
  border-radius: 4px 10px 10px 4px;
  position: absolute; transform-origin: left center;
  animation: bookOpen 1.6s ease-in-out infinite;
  box-shadow: 0 8px 30px rgba(107,24,54,0.4);
}
.loading-book-cover::after {
  content: ''; position: absolute;
  left: 0; top: 0; bottom: 0; width: 4px;
  background: linear-gradient(90deg, rgba(0,0,0,0.3), transparent);
}
.loading-book-page {
  width: 95%; height: 96%;
  background: var(--cream);
  border-radius: 2px 8px 8px 2px;
  position: absolute; top: 2%; left: 3px;
  display: flex; align-items: center; justify-content: center;
}
.loading-book-page::before {
  content: '';
  width: 60%; height: 3px;
  background: repeating-linear-gradient(0deg,
    rgba(0,0,0,0.08) 0px, rgba(0,0,0,0.08) 2px,
    transparent 2px, transparent 8px);
  height: 60%;
}
@keyframes bookOpen {
  0%, 100% { transform: rotateY(0deg); }
  50% { transform: rotateY(-150deg); }
}
.loading-text {
  font-family: var(--font-serif);
  font-size: 1rem; color: rgba(255,255,255,0.5);
  letter-spacing: 0.15em;
  animation: loadPulse 1.6s ease-in-out infinite;
}
@keyframes loadPulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}


.reading-progress {
  position: fixed; top: 0; left: 0;
  width: 0%; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--burgundy));
  z-index: 10001;
  transition: width 0.05s linear;
  box-shadow: 0 0 8px rgba(200,137,58,0.5);
}


.page-transition-overlay {
  position: fixed; inset: 0; z-index: 9998;
  background: var(--navy-deep);
  transform: scaleY(0); transform-origin: bottom;
  pointer-events: none;
}
.page-transition-overlay.entering {
  animation: pageTransIn 0.35s ease forwards;
}
.page-transition-overlay.leaving {
  animation: pageTransOut 0.35s ease forwards;
}
@keyframes pageTransIn {
  0%   { transform: scaleY(0); transform-origin: bottom; }
  100% { transform: scaleY(1); transform-origin: bottom; }
}
@keyframes pageTransOut {
  0%   { transform: scaleY(1); transform-origin: top; }
  100% { transform: scaleY(0); transform-origin: top; }
}


.whatsapp-float {
  position: fixed; bottom: 5.5rem; right: 2rem;
  z-index: 900;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  color: white; font-size: 1.6rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  cursor: pointer; border: none;
  transition: all 0.35s ease;
  animation: whatsappPulse 3s ease-in-out infinite;
}
.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 35px rgba(37,211,102,0.55);
}
.whatsapp-float .tooltip {
  position: absolute; right: calc(100% + 12px); top: 50%;
  transform: translateY(-50%);
  background: white; color: var(--text-dark);
  padding: 0.5rem 1rem; border-radius: 10px;
  font-size: 0.78rem; font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  opacity: 0; pointer-events: none; transition: all 0.3s ease;
}
.whatsapp-float .tooltip::after {
  content: ''; position: absolute;
  right: -6px; top: 50%; transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: white;
}
.whatsapp-float:hover .tooltip { opacity: 1; }
@keyframes whatsappPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37,211,102,0.45); }
  50% { box-shadow: 0 6px 24px rgba(37,211,102,0.45), 0 0 0 12px rgba(37,211,102,0.1); }
}


.theme-toggle {
  position: fixed; top: calc(var(--nav-height) + 1rem); right: 1.5rem;
  z-index: 9000;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.1rem;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.theme-toggle:hover {
  transform: rotate(30deg) scale(1.1);
  box-shadow: var(--shadow-md);
}
body.dark-mode {
  --navy: #e0e4ef;
  --navy-deep: #060a13;
  --navy-mid: #a3b1cc;
  --cream: #0f1424;
  --cream-d: #0b1020;
  --ivory: #111828;
  --white: #161d30;
  --text-dark: #e0e4ef;
  --text-mid: #b0b6cc;
  --text-muted: #8890a8;
  --text-light: #5a6380;
  --border: rgba(255,255,255,0.07);
  --shadow-sm: 0 2px 10px rgba(0,0,0,0.2);
  --shadow-md: 0 8px 32px rgba(0,0,0,0.3);
  --shadow-lg: 0 24px 60px rgba(0,0,0,0.4);
  --shadow-xl: 0 40px 100px rgba(0,0,0,0.5);
  color: #b0b6cc;
  background: #0b1020;
}

/* ============================================================
   DARK MODE — Global text color overrides (critical fix)
   ============================================================ */
/* Override ALL inline style color:var(--navy) */
body.dark-mode [style*="color:var(--navy)"],
body.dark-mode [style*="color: var(--navy)"] {
  color: #e0e4ef !important;
}
/* Override inline background:rgba(26,39,68) used as icon bg */
body.dark-mode [style*="background:rgba(26,39,68"] {
  background: rgba(200,137,58,0.1) !important;
  color: var(--gold-l) !important;
}
/* Override inline background:var(--cream) */
body.dark-mode [style*="background:var(--cream)"],
body.dark-mode [style*="background: var(--cream)"] {
  background: #0d1220 !important;
}
body.dark-mode [style*="background:var(--ivory)"],
body.dark-mode [style*="background: var(--ivory)"] {
  background: #111828 !important;
}
body.dark-mode [style*="background:var(--white)"],
body.dark-mode [style*="background: var(--white)"],
body.dark-mode [style*="background:#fff"],
body.dark-mode [style*="background: #fff"],
body.dark-mode [style*="background:white"],
body.dark-mode [style*="background: white"] {
  background: #161d30 !important;
}
body.dark-mode [style*="border-color:var(--navy)"],
body.dark-mode [style*="border-color: var(--navy)"] {
  border-color: rgba(255,255,255,0.1) !important;
}

/* Global heading + paragraph colors */
body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode h4, body.dark-mode h5, body.dark-mode h6 {
  color: #e0e4ef;
}
body.dark-mode p {
  color: #8890a8;
}
body.dark-mode a {
  color: #b0b6cc;
}
body.dark-mode a:hover {
  color: var(--gold-l);
}
body.dark-mode strong {
  color: #e0e4ef;
}
body.dark-mode li {
  color: #8890a8;
}
body.dark-mode td, body.dark-mode th {
  color: #b0b6cc;
  border-color: rgba(255,255,255,0.06);
}
body.dark-mode summary {
  color: #e0e4ef !important;
}
body.dark-mode details {
  background: #161d30 !important;
  border-color: rgba(255,255,255,0.06) !important;
}
body.dark-mode table {
  border-color: rgba(255,255,255,0.06);
}
body.dark-mode tr:nth-child(even) {
  background: rgba(255,255,255,0.02);
}
body.dark-mode .text-navy {
  color: #e0e4ef !important;
}

body.dark-mode .theme-toggle {
  background: var(--navy-mid);
  border-color: rgba(255,255,255,0.1);
  color: var(--gold-l);
}
body.dark-mode .navbar {
  background: rgba(11,18,37,0.95);
  border-bottom-color: rgba(255,255,255,0.04);
}
body.dark-mode .navbar.scrolled {
  background: rgba(11,18,37,0.98);
}
body.dark-mode .footer {
  background: #060a15;
}
body.dark-mode .book-card {
  background: #161d30;
  border-color: rgba(255,255,255,0.06);
}
body.dark-mode .announcement-card {
  background: #161d30;
  border-color: rgba(255,255,255,0.06);
}
body.dark-mode .contact-form-card {
  background: #161d30;
}
body.dark-mode .form-control {
  background: #0f1424;
  border-color: rgba(255,255,255,0.08);
  color: var(--text-dark);
}
body.dark-mode .whatsapp-float .tooltip {
  background: #161d30; color: var(--text-dark);
}
body.dark-mode .whatsapp-float .tooltip::after {
  border-left-color: #161d30;
}

/* ============================================================
   DARK MODE — Kendini Keşfet (Tests) Page
   ============================================================ */
body.dark-mode .tests-section {
  background: linear-gradient(175deg, #0f1424 0%, #111828 40%, #0d1220 100%);
}
body.dark-mode .tests-section::before {
  background:
    radial-gradient(ellipse 50% 40% at 15% 25%, rgba(200,137,58,0.04) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 85% 70%, rgba(26,39,68,0.06) 0%, transparent 50%);
}
body.dark-mode .tests-section .section-title { color: #e0e4ef; }
body.dark-mode .tests-section .section-desc { color: #8890a8; }

/* Lobby Cards */
body.dark-mode .test-lobby-card {
  background: #161d30;
  border-color: rgba(255,255,255,0.06);
  box-shadow: 0 4px 28px rgba(0,0,0,0.25);
}
body.dark-mode .test-lobby-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
  border-color: rgba(200,137,58,0.2);
}
body.dark-mode .lobby-icon-wrap {
  background: linear-gradient(135deg, rgba(200,137,58,0.15), rgba(200,137,58,0.05));
  border-color: rgba(200,137,58,0.15);
}
body.dark-mode .lobby-badge {
  background: rgba(200,137,58,0.1);
  border-color: rgba(200,137,58,0.15);
}
body.dark-mode .lobby-card-body h3 { color: #e0e4ef; }
body.dark-mode .lobby-card-body p { color: #8890a8; }
body.dark-mode .lobby-card-footer {
  border-top-color: rgba(255,255,255,0.06);
}
body.dark-mode .lobby-meta { color: #6b7394; }

/* Buttons — dark mode */
body.dark-mode .btn-gold-outline {
  border-color: var(--gold);
  color: var(--gold-l);
}
body.dark-mode .btn-gold-outline:hover {
  background: var(--gold);
  color: white;
  box-shadow: 0 8px 28px rgba(200,137,58,0.25);
}
body.dark-mode .btn-navy-outline {
  border-color: rgba(255,255,255,0.15);
  color: #b0b6cc;
}
body.dark-mode .btn-navy-outline:hover {
  background: rgba(255,255,255,0.08);
  color: white;
  border-color: rgba(255,255,255,0.2);
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}
body.dark-mode .btn-text { color: #6b7394; }
body.dark-mode .btn-text:hover {
  color: #e0e4ef;
  background: rgba(255,255,255,0.04);
}

/* Test Runner */
body.dark-mode .test-runner-container {
  background: #161d30;
  border-color: rgba(255,255,255,0.06);
  box-shadow: 0 12px 48px rgba(0,0,0,0.35);
}
body.dark-mode .runner-progress-text {
  background: rgba(200,137,58,0.1);
  border-color: rgba(200,137,58,0.15);
}
body.dark-mode .runner-progress-bar-wrap {
  background: rgba(255,255,255,0.06);
}
body.dark-mode .runner-question { color: #e0e4ef; }
body.dark-mode .option-btn {
  background: #1a2240;
  border-color: rgba(255,255,255,0.07);
}
body.dark-mode .option-btn:hover {
  border-color: rgba(200,137,58,0.3);
  background: rgba(200,137,58,0.06);
  box-shadow: 0 4px 16px rgba(200,137,58,0.1);
}
body.dark-mode .option-num {
  background: rgba(200,137,58,0.1);
  border-color: rgba(200,137,58,0.15);
}
body.dark-mode .option-text { color: #b0b6cc; }

/* Results */
body.dark-mode .test-results-container {
  background: #161d30;
  border-color: rgba(255,255,255,0.06);
  box-shadow: 0 16px 64px rgba(0,0,0,0.4);
}
body.dark-mode .results-badge {
  background: rgba(200,137,58,0.1);
  border-color: rgba(200,137,58,0.15);
}
body.dark-mode .results-score-title { color: #e0e4ef; }
body.dark-mode .results-score-title strong {
  background: linear-gradient(135deg, var(--gold-l), #e6a850);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
/* SVG score text */
body.dark-mode .results-score-ring-wrap text {
  fill: #e0e4ef !important;
}
/* Testimonial quote mark */
body.dark-mode .testimonial-card::before {
  color: var(--gold-l);
  opacity: 0.08;
}
body.dark-mode .testimonial-card {
  border-left-color: var(--gold);
}
body.dark-mode .testimonial-author-row {
  border-top-color: rgba(255,255,255,0.06);
}

/* Status Pills — dark mode */
body.dark-mode .results-status-pill.status-low {
  color: #4ade80; background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.2);
}
body.dark-mode .results-status-pill.status-mild {
  color: #fbbf24; background: rgba(234,179,8,0.12); border-color: rgba(234,179,8,0.2);
}
body.dark-mode .results-status-pill.status-moderate {
  color: #fb923c; background: rgba(249,115,22,0.12); border-color: rgba(249,115,22,0.2);
}
body.dark-mode .results-status-pill.status-severe {
  color: #f87171; background: rgba(239,68,68,0.12); border-color: rgba(239,68,68,0.2);
}

/* Report */
body.dark-mode .report-title { color: #e0e4ef; }
body.dark-mode .report-desc { color: #8890a8; }
body.dark-mode .advice-heading { color: #b0b6cc; }
body.dark-mode .advice-list li {
  background: rgba(200,137,58,0.04);
  border-color: rgba(200,137,58,0.08);
  color: #8890a8;
}

/* Book Card in Results */
body.dark-mode .results-book-card {
  background: #1a2240;
  border-color: rgba(255,255,255,0.06);
}
body.dark-mode .results-book-info h4 { color: #e0e4ef; }
body.dark-mode .results-book-desc { color: #8890a8; }

/* Divider */
body.dark-mode .results-divider {
  background: linear-gradient(to right, transparent, rgba(200,137,58,0.15), transparent);
}

/* Appointment Section */
body.dark-mode .appointment-title { color: #e0e4ef; }
body.dark-mode .appointment-desc { color: #8890a8; }
body.dark-mode .appointment-form label { color: #6b7394; }
body.dark-mode .input-wrap i { color: var(--gold); }
body.dark-mode .input-wrap input,
body.dark-mode .input-wrap textarea {
  background: #0f1424;
  border-color: rgba(255,255,255,0.08);
  color: #e0e4ef;
}
body.dark-mode .input-wrap input:focus,
body.dark-mode .input-wrap textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200,137,58,0.1);
}
body.dark-mode .input-wrap input::placeholder,
body.dark-mode .input-wrap textarea::placeholder {
  color: #5a6380;
}

/* Appointment Success */
body.dark-mode .appointment-success-box {
  background: rgba(34,197,94,0.06);
  border-color: rgba(34,197,94,0.15);
}
body.dark-mode .appointment-success-box h4 { color: #e0e4ef; }
body.dark-mode .appointment-success-box p { color: #8890a8; }

/* Glassmorphic in tests — dark */
body.dark-mode .tests-section .glassmorphic {
  background: rgba(22,29,48,0.85);
  border-color: rgba(255,255,255,0.06);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

/* ============================================================
   DARK MODE — Nefes Egzersizi (Breath) Page
   ============================================================ */
body.dark-mode .breath-section {
  background: linear-gradient(170deg, #060a15 0%, #0a0f1e 35%, #0d1628 60%, #060a15 100%);
}
body.dark-mode .breath-card,
body.dark-mode .main-exercise-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}
body.dark-mode .breath-settings-panel .glassmorphic {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}
body.dark-mode .panel-title { color: #e0e4ef; }
body.dark-mode .breath-option-card {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
}
body.dark-mode .breath-option-card:hover {
  border-color: rgba(200,137,58,0.2);
  background: rgba(200,137,58,0.04);
}
body.dark-mode .breath-option-card.active {
  border-color: var(--gold);
  background: rgba(200,137,58,0.08);
}
body.dark-mode .breath-option-card h4 { color: #e0e4ef; }
body.dark-mode .breath-option-card p { color: #6b7394; }
body.dark-mode .setting-label { color: #8890a8; }
body.dark-mode .preset-btn {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.08);
  color: #8890a8;
}
body.dark-mode .preset-btn:hover {
  border-color: rgba(200,137,58,0.2);
  color: var(--gold-l);
}
body.dark-mode .preset-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: white;
}
body.dark-mode .ambient-btn {
  background: rgba(255,255,255,0.03);
  border-color: rgba(255,255,255,0.06);
  color: #8890a8;
}
body.dark-mode .ambient-btn:hover {
  border-color: rgba(200,137,58,0.2);
  color: var(--gold-l);
}
body.dark-mode .ambient-btn.active {
  background: rgba(200,137,58,0.1);
  border-color: var(--gold);
  color: var(--gold-l);
}
body.dark-mode .info-col h4 { color: #e0e4ef; }
body.dark-mode .info-col p { color: #6b7394; }

/* ============================================================
   DARK MODE — Logo & Navbar
   ============================================================ */
body.dark-mode .logo-text {
  color: #e0e4ef;
}
body.dark-mode .logo-text strong {
  color: var(--gold-l);
}
body.dark-mode .nav-links a {
  color: #b0b6cc;
}
body.dark-mode .nav-links a:hover,
body.dark-mode .nav-links a.active {
  color: var(--gold-l);
}
body.dark-mode .nav-search-btn {
  color: #b0b6cc;
}
body.dark-mode .nav-toggle span {
  background: #b0b6cc;
}

/* ============================================================
   DARK MODE — Hero / Home Page
   ============================================================ */
body.dark-mode .hero-section {
  background: linear-gradient(175deg, #0d1628 0%, #111828 50%, #0f1424 100%);
}
body.dark-mode .hero-title { color: #e0e4ef; }
body.dark-mode .hero-subtitle { color: #8890a8; }
body.dark-mode .hero-desc { color: #6b7394; }
body.dark-mode .section-title { color: #e0e4ef; }
body.dark-mode .section-desc,
body.dark-mode .section-subtitle { color: #8890a8; }

/* ============================================================
   DARK MODE — Testimonials (Kullanıcı Yorumları)
   ============================================================ */
body.dark-mode .testimonial-card {
  background: rgba(22,29,48,0.85);
  border-color: rgba(255,255,255,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
body.dark-mode .testimonial-card:hover {
  border-color: rgba(200,137,58,0.15);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
body.dark-mode .testimonial-stars {
  color: #f59e0b;
}
body.dark-mode .testimonial-text {
  color: #b0b6cc;
}
body.dark-mode .testimonial-avatar {
  background: linear-gradient(135deg, var(--gold), #e6a850);
  color: white;
}
body.dark-mode .testimonial-author-name {
  color: #e0e4ef;
}
body.dark-mode .testimonial-author-book {
  color: #6b7394;
}

/* ============================================================
   DARK MODE — About Page
   ============================================================ */
body.dark-mode .about-section {
  background: linear-gradient(175deg, #0f1424 0%, #111828 50%, #0d1220 100%);
}
body.dark-mode .about-card {
  background: #161d30;
  border-color: rgba(255,255,255,0.06);
}
body.dark-mode .timeline-dot {
  background: var(--gold);
  border-color: #161d30;
}
body.dark-mode .timeline-line {
  background: rgba(255,255,255,0.06);
}
body.dark-mode .timeline-content {
  background: #161d30;
  border-color: rgba(255,255,255,0.06);
}
body.dark-mode .timeline-content h4 { color: #e0e4ef; }
body.dark-mode .timeline-content p { color: #8890a8; }
body.dark-mode .stat-card {
  background: #161d30;
  border-color: rgba(255,255,255,0.06);
}
body.dark-mode .stat-number { color: var(--gold-l); }
body.dark-mode .stat-label { color: #8890a8; }

/* ============================================================
   DARK MODE — Books Page
   ============================================================ */
body.dark-mode .books-section {
  background: linear-gradient(175deg, #0f1424 0%, #111828 50%, #0d1220 100%);
}
body.dark-mode .book-card {
  background: #161d30;
  border-color: rgba(255,255,255,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
body.dark-mode .book-card:hover {
  border-color: rgba(200,137,58,0.15);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
body.dark-mode .book-title { color: #e0e4ef; }
body.dark-mode .book-desc { color: #8890a8; }
body.dark-mode .book-meta { color: #6b7394; }

/* ============================================================
   DARK MODE — Contact Page
   ============================================================ */
body.dark-mode .contact-section {
  background: linear-gradient(175deg, #0f1424 0%, #111828 50%, #0d1220 100%);
}
body.dark-mode .contact-form-card {
  background: #161d30;
  border-color: rgba(255,255,255,0.06);
}
body.dark-mode .contact-info-card {
  background: #161d30;
  border-color: rgba(255,255,255,0.06);
}
body.dark-mode .contact-info-card h4 { color: #e0e4ef; }
body.dark-mode .contact-info-card p { color: #8890a8; }

/* ============================================================
   DARK MODE — Announcements Page
   ============================================================ */
body.dark-mode .announcements-section {
  background: linear-gradient(175deg, #0f1424 0%, #111828 50%, #0d1220 100%);
}
body.dark-mode .announcement-card {
  background: #161d30;
  border-color: rgba(255,255,255,0.06);
  box-shadow: 0 4px 24px rgba(0,0,0,0.25);
}
body.dark-mode .announcement-title { color: #e0e4ef; }
body.dark-mode .announcement-desc { color: #8890a8; }
body.dark-mode .announcement-date { color: #6b7394; }

/* ============================================================
   DARK MODE — Footer
   ============================================================ */
body.dark-mode .footer {
  background: #060a15;
  border-top: 1px solid rgba(255,255,255,0.04);
}
body.dark-mode .footer-logo { color: #e0e4ef; }
body.dark-mode .footer-tagline { color: #6b7394; }
body.dark-mode .footer h4 { color: #b0b6cc; }
body.dark-mode .footer a { color: #6b7394; }
body.dark-mode .footer a:hover { color: var(--gold-l); }
body.dark-mode .footer-copy { color: #5a6380; }

/* ============================================================
   DARK MODE — Modals & Overlays
   ============================================================ */
body.dark-mode .book-modal {
  background: #161d30;
  border-color: rgba(255,255,255,0.06);
}
body.dark-mode .book-modal-close { color: #b0b6cc; }
body.dark-mode .search-overlay {
  background: rgba(6,10,21,0.92);
}
body.dark-mode .search-box {
  background: #161d30;
  border-color: rgba(255,255,255,0.06);
}
body.dark-mode .search-input {
  background: #0f1424;
  border-color: rgba(255,255,255,0.08);
  color: #e0e4ef;
}
body.dark-mode .search-results {
  color: #b0b6cc;
}

/* ============================================================
   DARK MODE — Reading Progress & Misc
   ============================================================ */
body.dark-mode .reading-progress {
  background: var(--gold);
}
body.dark-mode .loading-screen {
  background: #060a15;
}
body.dark-mode .loading-text { color: #6b7394; }
body.dark-mode .music-toggle {
  background: #161d30;
  border-color: rgba(255,255,255,0.08);
  color: #b0b6cc;
}

/* ============================================================
   DARK MODE — Inline-styled sections override
   ============================================================ */
/* Testimonials section has inline background:var(--cream) */
body.dark-mode section[style*="background:var(--cream)"],
body.dark-mode section[style*="background: var(--cream)"] {
  background: #0d1220 !important;
}

/* Newsletter section */
body.dark-mode .newsletter-section {
  background: #0f1424 !important;
}
body.dark-mode .newsletter-section .section-title,
body.dark-mode .newsletter-section h3,
body.dark-mode .newsletter-section h2 { color: #e0e4ef; }
body.dark-mode .newsletter-section p { color: #8890a8; }
body.dark-mode .newsletter-section input {
  background: #161d30;
  border-color: rgba(255,255,255,0.08);
  color: #e0e4ef;
}
body.dark-mode .newsletter-section input::placeholder {
  color: #5a6380;
}

/* Media/Gallery page */
body.dark-mode .media-section {
  background: linear-gradient(175deg, #0f1424 0%, #111828 50%, #0d1220 100%);
}
body.dark-mode .media-card,
body.dark-mode .gallery-card {
  background: #161d30;
  border-color: rgba(255,255,255,0.06);
}
body.dark-mode .media-card:hover,
body.dark-mode .gallery-card:hover {
  border-color: rgba(200,137,58,0.15);
}

/* WhatsApp float — ensure visibility */
body.dark-mode .whatsapp-float {
  box-shadow: 0 4px 20px rgba(37,211,102,0.25);
}

/* Theme toggle button */
body.dark-mode .theme-toggle {
  background: #161d30;
  border-color: rgba(255,255,255,0.08);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
}

/* Generic card/section dark overrides */
body.dark-mode .card,
body.dark-mode .info-card,
body.dark-mode .feature-card {
  background: #161d30;
  border-color: rgba(255,255,255,0.06);
  color: #b0b6cc;
}
body.dark-mode .card h3,
body.dark-mode .card h4,
body.dark-mode .info-card h3,
body.dark-mode .info-card h4,
body.dark-mode .feature-card h3 {
  color: #e0e4ef;
}
body.dark-mode .card p,
body.dark-mode .info-card p,
body.dark-mode .feature-card p {
  color: #8890a8;
}

/* Form elements global dark */
body.dark-mode input,
body.dark-mode textarea,
body.dark-mode select {
  background: #0f1424;
  border-color: rgba(255,255,255,0.08);
  color: #e0e4ef;
}
body.dark-mode input:focus,
body.dark-mode textarea:focus,
body.dark-mode select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200,137,58,0.1);
}
body.dark-mode input::placeholder,
body.dark-mode textarea::placeholder {
  color: #5a6380;
}
body.dark-mode label {
  color: #8890a8;
}

/* Dividers in dark mode */
body.dark-mode .divider {
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  opacity: 0.3;
}

/* Links in dark mode */
body.dark-mode .section-header span[style*="color:var(--gold)"] {
  color: var(--gold-l) !important;
}



.typewriter-cursor {
  display: inline-block;
  width: 2px; height: 1.15em;
  background: var(--gold-l);
  margin-left: 3px;
  vertical-align: text-bottom;
  animation: cursorBlink 0.8s step-end infinite;
}
@keyframes cursorBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}


.counter-animated { display: inline-block; }


.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.revealed { 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; }

.reveal-left {
  opacity: 0; transform: translateX(-50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.revealed { opacity: 1; transform: translateX(0); }

.reveal-right {
  opacity: 0; transform: translateX(50px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right.revealed { opacity: 1; transform: translateX(0); }

.reveal-scale {
  opacity: 0; transform: scale(0.85);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-scale.revealed { opacity: 1; transform: scale(1); }


.testimonials-track {
  display: flex; gap: 1.5rem;
  animation: testimonialScroll 35s linear infinite;
  width: max-content;
}
.testimonials-track:hover { animation-play-state: paused; }
@keyframes testimonialScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.testimonial-card {
  min-width: 340px; max-width: 380px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem 2rem 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  border-left: 4px solid var(--gold);
  flex-shrink: 0;
  transition: var(--transition);
  position: relative;
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 1rem; right: 1.5rem;
  font-family: var(--font-serif);
  font-size: 4rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.12;
  pointer-events: none;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-left-color: var(--gold-l);
}
.testimonial-stars {
  color: #f59e0b; font-size: 0.9rem;
  margin-bottom: 1rem; letter-spacing: 3px;
}
.testimonial-text {
  font-family: var(--font-serif);
  font-size: 0.95rem; font-style: italic;
  color: var(--text-mid); line-height: 1.85;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.testimonial-author-row {
  display: flex; align-items: center; gap: 0.85rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.testimonial-avatar {
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #e6a850);
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(200,137,58,0.25);
  flex-shrink: 0;
}
.testimonial-author-name {
  font-weight: 700; font-size: 0.88rem; color: var(--navy);
}
.testimonial-author-book {
  font-size: 0.72rem; color: var(--text-muted);
  margin-top: 0.15rem;
}



.timeline-container {
  position: relative;
  padding-left: 3rem;
}
.timeline-container::before {
  content: '';
  position: absolute; left: 14px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--gold), rgba(200,137,58,0.1));
}
.timeline-item {
  position: relative;
  padding-bottom: 2.5rem;
  opacity: 0; transform: translateX(-20px);
  transition: all 0.5s ease;
}
.timeline-item.revealed {
  opacity: 1; transform: translateX(0);
}
.timeline-dot {
  position: absolute; left: -3rem; top: 0.15rem;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--gold);
  border: 3px solid var(--cream);
  box-shadow: 0 0 0 3px rgba(200,137,58,0.2);
  z-index: 1;
}
.timeline-year {
  font-size: 0.68rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 0.35rem;
}
.timeline-title {
  font-family: var(--font-serif);
  font-size: 1.1rem; font-weight: 700;
  color: var(--navy); margin-bottom: 0.25rem;
}
.timeline-desc {
  font-size: 0.85rem; color: var(--text-muted); line-height: 1.6;
}


@keyframes bounceScroll {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}




.book-card { perspective: 800px; }
.book-card-cover {
  transition: transform 0.6s ease;
  transform-style: preserve-3d;
}
.book-card:hover .book-card-cover {
  transform: rotateY(-12deg) scale(1.03);
  box-shadow: 12px 12px 30px rgba(0,0,0,0.25);
}


body.custom-cursor, body.custom-cursor * {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25z' fill='%23c8893a'/%3E%3Cpath d='M20.71 7.04a1 1 0 000-1.41l-2.34-2.34a1 1 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z' fill='%23151f38'/%3E%3C/svg%3E") 2 22, auto !important;
}
body.custom-cursor a, body.custom-cursor button,
body.custom-cursor [onclick], body.custom-cursor .btn {
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cpath d='M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25z' fill='%23e0a84e'/%3E%3Cpath d='M20.71 7.04a1 1 0 000-1.41l-2.34-2.34a1 1 0 00-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z' fill='%236b1836'/%3E%3C/svg%3E") 2 22, pointer !important;
}


.book-modal-overlay {
  position: fixed; inset: 0; z-index: 10000;
  background: rgba(11,18,37,0.85); backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all 0.35s ease;
}
.book-modal-overlay.active { opacity: 1; visibility: visible; }
.book-modal {
  background: var(--white); border-radius: 24px;
  max-width: 700px; width: 90%; max-height: 85vh;
  overflow-y: auto; position: relative;
  transform: scale(0.9) translateY(20px);
  transition: all 0.4s cubic-bezier(0.34,1.56,0.64,1);
  box-shadow: 0 40px 100px rgba(0,0,0,0.4);
}
.book-modal-overlay.active .book-modal {
  transform: scale(1) translateY(0);
}
.book-modal-close {
  position: absolute; top: 1rem; right: 1rem; z-index: 2;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(0,0,0,0.06); border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; cursor: pointer; color: var(--text-muted);
  transition: var(--transition);
}
.book-modal-close:hover { background: rgba(0,0,0,0.12); }
.book-modal-grid {
  display: grid; grid-template-columns: 200px 1fr; gap: 2rem;
  padding: 2.5rem;
}
.book-modal-cover {
  aspect-ratio: 3/4; border-radius: 12px; overflow: hidden;
  box-shadow: var(--shadow-md);
}
.book-modal-cover img { width: 100%; height: 100%; object-fit: cover; }
.book-modal-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 1rem; }
.book-modal-tag {
  background: rgba(26,39,68,0.07); color: var(--text-mid);
  font-size: 0.7rem; font-weight: 500;
  padding: 0.2rem 0.6rem; border-radius: 20px;
}


.search-overlay {
  position: fixed; inset: 0; z-index: 10002;
  background: rgba(11,18,37,0.92); backdrop-filter: blur(12px);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 15vh;
  opacity: 0; visibility: hidden;
  transition: all 0.3s ease;
}
.search-overlay.active { opacity: 1; visibility: visible; }
.search-box {
  width: 90%; max-width: 620px;
  transform: translateY(-20px);
  transition: all 0.4s ease;
}
.search-overlay.active .search-box { transform: translateY(0); }
.search-input-wrap {
  display: flex; align-items: center; gap: 1rem;
  background: var(--white); border-radius: 18px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.search-input-wrap i { color: var(--gold); font-size: 1.2rem; }
.search-input {
  flex: 1; border: none; outline: none;
  font-size: 1.15rem; font-family: var(--font-sans);
  color: var(--text-dark); background: transparent;
}
.search-input::placeholder { color: var(--text-light); }
.search-close-btn {
  background: none; border: none; color: rgba(255,255,255,0.5);
  font-size: 1.5rem; cursor: pointer; position: absolute;
  top: 2rem; right: 2rem;
}
.search-results {
  margin-top: 1rem; max-height: 50vh; overflow-y: auto;
  display: flex; flex-direction: column; gap: 0.5rem;
}
.search-result-item {
  display: flex; align-items: center; gap: 1rem;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px; padding: 1rem 1.25rem; cursor: pointer;
  transition: all 0.25s ease;
}
.search-result-item:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(200,137,58,0.2);
}
.search-result-icon {
  width: 40px; height: 40px; border-radius: 10px;
  background: rgba(200,137,58,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--gold-l); font-size: 0.9rem; flex-shrink: 0;
}
.search-result-title { font-weight: 600; color: white; font-size: 0.95rem; }
.search-result-sub { font-size: 0.78rem; color: rgba(255,255,255,0.4); }


.newsletter-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--cream), var(--cream-d));
  text-align: center;
}
.newsletter-form {
  display: flex; gap: 0.75rem; max-width: 480px; margin: 0 auto;
}
.newsletter-input {
  flex: 1; padding: 1rem 1.25rem;
  border: 2px solid var(--border); border-radius: 14px;
  font-size: 0.95rem; font-family: var(--font-sans);
  background: var(--white); outline: none;
  transition: var(--transition);
}
.newsletter-input:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(200,137,58,0.1); }


.share-buttons { display: flex; gap: 0.5rem; }
.share-btn {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; border: none; cursor: pointer;
  transition: var(--transition);
}
.share-btn:hover { transform: translateY(-3px); }
.share-btn.twitter { background: #1DA1F2; color: white; }
.share-btn.facebook { background: #1877F2; color: white; }
.share-btn.whatsapp { background: #25D366; color: white; }
.share-btn.linkedin { background: #0A66C2; color: white; }
.share-btn.copy { background: var(--navy); color: white; }


.lightbox-overlay {
  position: fixed; inset: 0; z-index: 10003;
  background: rgba(0,0,0,0.92);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden;
  transition: all 0.35s ease;
}
.lightbox-overlay.active { opacity: 1; visibility: visible; }
.lightbox-content {
  max-width: 90%; max-height: 85vh;
  border-radius: 12px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  transform: scale(0.9); transition: all 0.4s ease;
}
.lightbox-overlay.active .lightbox-content { transform: scale(1); }
.lightbox-content img { max-width: 100%; max-height: 85vh; display: block; }
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: none;
  color: white; font-size: 1.5rem; cursor: pointer;
  transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-nav {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: rgba(255,255,255,0.1); border: none;
  color: white; font-size: 1.2rem; cursor: pointer;
  transition: var(--transition);
}
.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-nav.prev { left: 1.5rem; }
.lightbox-nav.next { right: 1.5rem; }



.parallax-section { position: relative; overflow: hidden; }
.parallax-bg {
  position: absolute; inset: -20% 0;
  background-size: cover; background-position: center;
  will-change: transform;
}


.nav-search-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.5); font-size: 0.85rem;
  cursor: pointer; transition: var(--transition);
  margin-left: 0.5rem;
}
.nav-search-btn:hover { background: var(--gold); color: white; border-color: var(--gold); }

@media (max-width: 768px) {
  .book-modal-grid { grid-template-columns: 1fr; }
  .book-modal-cover { max-width: 160px; margin: 0 auto; }
  .newsletter-form { flex-direction: column; }
  .search-input-wrap { padding: 1rem; }
  body.custom-cursor, body.custom-cursor * { cursor: auto !important; }
  .hide-mobile { display: none !important; }
  .music-toggle { bottom: 1.25rem; left: 0.75rem; width: 38px; height: 38px; font-size: 0.85rem; }
  .nav-search-btn { width: 34px; height: 34px; font-size: 0.8rem; }
}



@keyframes floatPen {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}


.author-world-grid {
  display: grid;
  grid-template-columns: 200px 1fr 260px;
  gap: 2.5rem;
  align-items: start;
}


.author-stats-col {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.author-stat-card {
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 18px;
  padding: 1.25rem;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4,0,0.2,1);
  position: relative;
  overflow: hidden;
}

.author-stat-card::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 18px;
  background: radial-gradient(circle at 50% 0%, rgba(200,137,58,0.12) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.author-stat-card:hover {
  transform: translateY(-4px);
  border-color: rgba(200,137,58,0.25);
  box-shadow: 0 12px 40px rgba(200,137,58,0.1);
}

.author-stat-card:hover::before { opacity: 1; }

.author-stat-emoji { font-size: 1.5rem; margin-bottom: 0.3rem; position: relative; z-index: 1; }
.author-stat-num {
  font-family: var(--font-serif);
  font-size: 2rem; font-weight: 700;
  color: var(--gold-l); line-height: 1;
  position: relative; z-index: 1;
}
.author-stat-label {
  font-size: 0.6rem; color: rgba(255,255,255,0.35);
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-top: 0.2rem; font-weight: 600;
  position: relative; z-index: 1;
}


.author-photo-wrap {
  position: relative;
  width: 140px; height: 140px;
  margin: 0 auto 2rem;
}

.author-photo-ring {
  width: 140px; height: 140px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--gold), #92640f, var(--gold-l));
  position: relative;
  z-index: 2;
  animation: ringPulse 3s ease infinite;
}

@keyframes ringPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(200,137,58,0.2); }
  50% { box-shadow: 0 0 35px rgba(200,137,58,0.35); }
}

.author-photo-img {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  border: 3px solid #0a0f1e;
}

.author-photo-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(200,137,58,0.15) 0%, transparent 70%);
  z-index: 1;
  animation: glowPulse 4s ease infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.15); }
}


.author-name-card { text-align: center; margin-bottom: 1.5rem; }
.author-name-badge {
  display: inline-block;
  font-size: 0.65rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--gold-l);
  background: rgba(200,137,58,0.1);
  border: 1px solid rgba(200,137,58,0.2);
  padding: 0.3rem 1rem;
  border-radius: 30px;
  margin-bottom: 0.75rem;
}
.author-name-display {
  font-family: var(--font-serif);
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 900; color: white;
  line-height: 1.1; margin: 0;
}
.author-name-underline {
  width: 60px; height: 2px;
  background: linear-gradient(to right, transparent, var(--gold), transparent);
  margin: 0.75rem auto 0;
}


.author-bio-glass {
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px;
  padding: 2rem 2.25rem;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(10px);
  transition: all 0.4s ease;
}

.author-bio-glass:hover {
  border-color: rgba(200,137,58,0.15);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
}

.author-bio-quote-mark {
  position: absolute;
  top: -4px; left: 20px;
  font-family: var(--font-serif);
  font-size: 4rem; line-height: 1;
  color: rgba(200,137,58,0.15);
}

.author-bio-quote-mark-end {
  position: absolute;
  bottom: -18px; right: 20px;
  font-family: var(--font-serif);
  font-size: 4rem; line-height: 1;
  color: rgba(200,137,58,0.1);
}

.author-bio-text {
  color: rgba(255,255,255,0.65);
  line-height: 2; font-size: 0.92rem;
  text-indent: 1.5rem;
}


.author-expertise-pills {
  display: flex; flex-wrap: wrap; gap: 0.4rem;
}

.author-expertise-pill {
  background: rgba(200,137,58,0.06);
  border: 1px solid rgba(200,137,58,0.15);
  color: var(--gold-l);
  font-size: 0.68rem; font-weight: 600;
  padding: 0.35rem 0.85rem;
  border-radius: 30px;
  transition: all 0.3s ease;
}

.author-expertise-pill:hover {
  background: rgba(200,137,58,0.15);
  border-color: rgba(200,137,58,0.35);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(200,137,58,0.15);
}


.author-cta-primary {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: linear-gradient(135deg, #c8893a, #9a6928);
  color: white; border: none; border-radius: 14px;
  font-size: 0.875rem; font-weight: 700;
  cursor: pointer; font-family: var(--font-sans);
  box-shadow: 0 8px 28px rgba(200,137,58,0.3);
  transition: all 0.35s ease;
}

.author-cta-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(200,137,58,0.4);
}

.author-cta-outline {
  display: inline-flex; align-items: center; gap: 0.6rem;
  padding: 0.9rem 2rem;
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 14px;
  font-size: 0.875rem; font-weight: 600;
  cursor: pointer; font-family: var(--font-sans);
  transition: all 0.35s ease;
}

.author-cta-outline:hover {
  border-color: var(--gold);
  color: var(--gold-l);
  transform: translateY(-2px);
}


.author-timeline-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 1.5rem;
  margin-bottom: 1.25rem;
  transition: all 0.3s ease;
}

.author-timeline-card:hover {
  border-color: rgba(200,137,58,0.12);
}

.author-timeline-title {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 1.25rem;
}

.author-timeline-item {
  display: flex; gap: 1rem; align-items: flex-start;
  position: relative;
  padding-left: 1.5rem;
  padding-bottom: 1rem;
}

.author-timeline-item:last-child { padding-bottom: 0; }

.author-timeline-dot {
  position: absolute; left: 0; top: 0.35rem;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(200,137,58,0.5);
  z-index: 1;
}

.author-timeline-line {
  position: absolute; left: 4px; top: 14px;
  width: 2px; height: calc(100% - 10px);
  background: linear-gradient(to bottom, rgba(200,137,58,0.2), transparent);
}

.author-timeline-item:last-child .author-timeline-line { display: none; }

.author-timeline-degree {
  font-size: 0.825rem; font-weight: 600; color: white;
}

.author-timeline-school {
  font-size: 0.72rem; color: rgba(255,255,255,0.35);
  margin-top: 0.1rem;
}


.author-cert-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 20px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.author-cert-card:hover { border-color: rgba(200,137,58,0.15); }


.music-toggle {
  position: fixed;
  bottom: 1.5rem; left: 1.5rem;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(21,31,56,0.9);
  border: 1px solid rgba(200,137,58,0.25);
  color: var(--gold-l);
  font-size: 1rem;
  cursor: pointer;
  z-index: 999;
  display: flex; align-items: center; justify-content: center;
  transition: all 0.35s ease;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.music-toggle:hover {
  background: rgba(200,137,58,0.9);
  color: white;
  transform: scale(1.08);
  box-shadow: 0 6px 25px rgba(200,137,58,0.3);
}

.music-toggle.playing {
  background: rgba(200,137,58,0.15);
  border-color: var(--gold);
  animation: musicPulse 2s ease infinite;
}

.music-toggle.playing i {
  animation: musicBounce 1s ease infinite;
}

@keyframes musicPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200,137,58,0.25); }
  50% { box-shadow: 0 0 0 8px rgba(200,137,58,0); }
}

@keyframes musicBounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.15); }
}


@media (max-width: 1024px) {
  .author-world-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .author-stats-col {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }
  .author-stat-card { flex: 1; min-width: 140px; }
  .author-timeline-col { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .author-world-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .author-stats-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
  .author-stat-card { min-width: auto; }
  .author-photo-wrap { width: 110px; height: 110px; margin-bottom: 1.5rem; }
  .author-photo-ring { width: 110px; height: 110px; }
  .author-photo-glow { width: 140px; height: 140px; }
  .author-name-display { font-size: 1.75rem; }
  .author-bio-glass { padding: 1.5rem; }
  .author-bio-text { font-size: 0.85rem; }
  .author-cta-primary, .author-cta-outline {
    padding: 0.75rem 1.5rem; font-size: 0.8rem; width: 100%; justify-content: center;
  }
  .floating-pen-icon { display: none; }
  .author-world-section { padding: 4rem 0 3rem !important; }
}


/* ============================================================
   NEFES EGZERSİZİ (Breath Exercise) — Premium Meditation UI
   ============================================================ */
.breath-section {
  padding: 5rem 0 4rem;
  min-height: 100vh;
  background: linear-gradient(170deg, #0a0f1e 0%, #0f1a30 35%, #131f3a 60%, #0d1628 100%);
  position: relative;
  overflow: hidden;
}
.breath-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 30% 20%, rgba(200,137,58,0.06) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 75% 75%, rgba(107,24,54,0.08) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(26,39,68,0.3) 0%, transparent 50%);
  pointer-events: none;
}
.breath-section .section-header { margin-bottom: 3rem; }
.breath-section .section-title {
  color: white;
  background: linear-gradient(135deg, #ffffff 0%, #f5d08a 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.breath-section .section-subtitle {
  color: var(--gold-l);
  font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.65rem;
}
.breath-section .section-desc {
  color: rgba(255,255,255,0.5);
  max-width: 620px; margin: 0 auto; font-size: 0.95rem; line-height: 1.8;
}
.breath-section .divider {
  background: linear-gradient(to right, transparent, var(--gold), transparent);
}

/* Glassmorphic card base */
.glassmorphic {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 20px;
}
.tests-section .glassmorphic {
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(26,39,68,0.06);
  box-shadow: 0 8px 32px rgba(26,39,68,0.06);
}

/* Grid Layout */
.breath-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
  position: relative;
  z-index: 1;
}

/* Main Exercise Card */
.breath-card {
  padding: 2rem;
  position: relative;
}
.main-exercise-card {
  padding: 2.5rem 2rem 2rem;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
  position: relative; overflow: hidden;
}
.main-exercise-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 50% 40%, rgba(200,137,58,0.05) 0%, transparent 60%);
  pointer-events: none;
}

/* Session Progress Bar */
.session-progress-bar-wrap {
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px; background: rgba(255,255,255,0.06); border-radius: 3px 3px 0 0; overflow: hidden;
}
.session-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #f5d08a, var(--gold));
  background-size: 200% 100%;
  animation: progressShimmer 2s linear infinite;
  border-radius: 3px;
  transition: width 1s linear;
}
@keyframes progressShimmer {
  0% { background-position: 0% 50%; }
  100% { background-position: 200% 50%; }
}

/* Breathing Circle */
.breath-circle-container {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  width: 260px; height: 260px;
  margin: 1.5rem 0;
}
.breath-ring-outer {
  position: absolute; inset: -15px;
  border: 1px solid rgba(200,137,58,0.1);
  border-radius: 50%;
  animation: ringRotate 20s linear infinite;
}
.breath-ring-outer::before {
  content: ''; position: absolute; top: -3px; left: 50%; transform: translateX(-50%);
  width: 6px; height: 6px; border-radius: 50%; background: var(--gold);
  box-shadow: 0 0 12px rgba(200,137,58,0.4);
}
.breath-ring-middle {
  position: absolute; inset: -6px;
  border: 1px dashed rgba(255,255,255,0.06);
  border-radius: 50%;
  animation: ringRotate 15s linear infinite reverse;
}
@keyframes ringRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.breath-circle {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(200,137,58,0.25) 0%, rgba(26,39,68,0.6) 50%, rgba(13,22,40,0.9) 100%);
  box-shadow:
    0 0 60px rgba(200,137,58,0.15),
    0 0 120px rgba(200,137,58,0.05),
    inset 0 0 40px rgba(200,137,58,0.08);
  display: flex; align-items: center; justify-content: center;
  position: relative;
  transition: transform 4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 1s ease;
}
.breath-circle.expand {
  transform: scale(1.3);
  box-shadow:
    0 0 80px rgba(200,137,58,0.25),
    0 0 160px rgba(200,137,58,0.1),
    inset 0 0 60px rgba(200,137,58,0.15);
}
.breath-circle.shrink {
  transform: scale(0.75);
  box-shadow:
    0 0 30px rgba(200,137,58,0.1),
    0 0 60px rgba(200,137,58,0.03),
    inset 0 0 20px rgba(200,137,58,0.05);
}
.breath-circle.hold {
  animation: holdPulse 2s ease-in-out infinite;
}
@keyframes holdPulse {
  0%, 100% { box-shadow: 0 0 80px rgba(200,137,58,0.25), inset 0 0 60px rgba(200,137,58,0.15); }
  50% { box-shadow: 0 0 100px rgba(200,137,58,0.35), inset 0 0 80px rgba(200,137,58,0.2); }
}

.breath-circle-content {
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  position: relative; z-index: 1;
}
.breath-instruction {
  font-family: var(--font-serif);
  font-size: 2.5rem; font-weight: 700;
  color: white;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
  transition: all 0.3s ease;
}
.breath-timer {
  font-family: var(--font-sans);
  font-size: 0.85rem; font-weight: 600;
  color: var(--gold-l); letter-spacing: 0.1em;
}

/* Status Pill */
.breath-status-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.4s ease;
}
.breath-status-pill.inhale {
  color: #4ade80; background: rgba(74,222,128,0.1); border-color: rgba(74,222,128,0.2);
}
.breath-status-pill.hold {
  color: var(--gold-l); background: rgba(200,137,58,0.1); border-color: rgba(200,137,58,0.2);
}
.breath-status-pill.exhale {
  color: #60a5fa; background: rgba(96,165,250,0.1); border-color: rgba(96,165,250,0.2);
}
.breath-status-pill.hold-out {
  color: #c084fc; background: rgba(192,132,252,0.1); border-color: rgba(192,132,252,0.2);
}

/* Actions */
.breath-actions {
  display: flex; justify-content: center; gap: 1rem;
  margin-top: 0.5rem;
}
.btn-gold {
  display: inline-flex; align-items: center; gap: 0.65rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #c8893a, #9a6928);
  color: white; border: none; border-radius: 14px;
  font-size: 0.95rem; font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(200,137,58,0.35);
  transition: all 0.35s ease;
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(200,137,58,0.45);
}
.btn-danger {
  display: inline-flex; align-items: center; gap: 0.65rem;
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, #dc2626, #991b1b);
  color: white; border: none; border-radius: 14px;
  font-size: 0.95rem; font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(220,38,38,0.3);
  transition: all 0.35s ease;
}
.btn-danger:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(220,38,38,0.4);
}
.btn-large {
  padding: 1.1rem 2.75rem; font-size: 1rem;
}

/* Settings Panel */
.breath-settings-panel {
  display: flex; flex-direction: column; gap: 1.5rem;
}
.panel-title {
  font-family: var(--font-serif);
  font-size: 1.1rem; font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  display: flex; align-items: center; gap: 0.6rem;
}
.panel-title i { font-size: 1rem; }
.text-gold { color: var(--gold-l) !important; }

/* Technique Cards */
.breath-options {
  display: flex; flex-direction: column; gap: 0.75rem;
}
.breath-option-card {
  padding: 1rem 1.25rem;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  cursor: pointer;
  transition: all 0.3s ease;
}
.breath-option-card:hover {
  border-color: rgba(200,137,58,0.2);
  background: rgba(200,137,58,0.04);
}
.breath-option-card.active {
  border-color: rgba(200,137,58,0.35);
  background: rgba(200,137,58,0.08);
  box-shadow: 0 4px 20px rgba(200,137,58,0.1);
}
.breath-option-card .option-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 0.4rem;
}
.breath-option-card h4 {
  font-family: var(--font-sans);
  font-size: 0.88rem; font-weight: 700;
  color: white; margin: 0;
}
.breath-option-card .badge {
  padding: 0.2rem 0.6rem;
  border-radius: 20px;
  font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background: rgba(200,137,58,0.15);
  color: var(--gold-l);
  border: 1px solid rgba(200,137,58,0.2);
}
.breath-option-card p {
  font-size: 0.78rem; color: rgba(255,255,255,0.4);
  line-height: 1.5; margin: 0;
}

/* Time & Sound Settings */
.setting-group {
  margin-bottom: 1.25rem;
}
.setting-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: rgba(255,255,255,0.35);
  margin-bottom: 0.75rem; display: block;
}
.time-presets {
  display: flex; gap: 0.5rem;
}
.preset-btn {
  flex: 1;
  padding: 0.65rem 0.75rem;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.03);
  color: rgba(255,255,255,0.5);
  font-size: 0.78rem; font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.3s ease;
}
.preset-btn:hover {
  border-color: rgba(200,137,58,0.2);
  color: white;
}
.preset-btn.active {
  background: linear-gradient(135deg, rgba(200,137,58,0.2), rgba(200,137,58,0.08));
  border-color: rgba(200,137,58,0.4);
  color: var(--gold-l);
  box-shadow: 0 2px 12px rgba(200,137,58,0.15);
}
.preset-btn:disabled {
  opacity: 0.4; cursor: not-allowed;
}

.ambient-options {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0.5rem;
}
.ambient-btn {
  display: flex; flex-direction: column; align-items: center; gap: 0.3rem;
  padding: 0.75rem 0.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.06);
  background: rgba(255,255,255,0.02);
  color: rgba(255,255,255,0.4);
  font-size: 0.68rem; font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.3s ease;
}
.ambient-btn i { font-size: 1.1rem; }
.ambient-btn:hover {
  border-color: rgba(200,137,58,0.2);
  color: white;
}
.ambient-btn.active {
  background: rgba(200,137,58,0.1);
  border-color: rgba(200,137,58,0.35);
  color: var(--gold-l);
  box-shadow: 0 2px 12px rgba(200,137,58,0.12);
}

/* Info Footer */
.breath-info-footer {
  margin-top: 3rem;
  padding: 2.5rem;
  position: relative; z-index: 1;
}
.info-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.info-col {
  text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 0.75rem;
}
.info-col i {
  font-size: 1.75rem; color: var(--gold-l);
  width: 56px; height: 56px;
  display: flex; align-items: center; justify-content: center;
  border-radius: 16px;
  background: rgba(200,137,58,0.08);
  border: 1px solid rgba(200,137,58,0.12);
}
.info-col h4 {
  font-family: var(--font-serif);
  font-size: 1rem; font-weight: 700;
  color: white; margin: 0;
}
.info-col p {
  font-size: 0.82rem; color: rgba(255,255,255,0.4);
  line-height: 1.6; margin: 0;
}


/* ============================================================
   KENDİNİ KEŞFET (Tests) — Premium Assessment UI
   ============================================================ */
.tests-section {
  padding: 5rem 0 4rem;
  min-height: 100vh;
  background: linear-gradient(175deg, var(--cream) 0%, var(--ivory) 40%, #f0ebe2 100%);
  position: relative;
}
.tests-section::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 50% 40% at 15% 25%, rgba(200,137,58,0.06) 0%, transparent 55%),
    radial-gradient(ellipse 40% 50% at 85% 70%, rgba(26,39,68,0.04) 0%, transparent 50%);
  pointer-events: none;
}
.tests-section .section-header { margin-bottom: 3rem; position: relative; z-index: 1; }
.tests-section .section-title { color: var(--navy); }
.tests-section .section-subtitle {
  color: var(--gold);
  font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; font-size: 0.65rem;
}
.tests-section .section-desc {
  color: var(--text-mid);
  max-width: 640px; margin: 0 auto; font-size: 0.92rem; line-height: 1.8;
}

/* =========================
   LOBBY GRID — Test Cards
   ========================= */
.tests-lobby-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 2rem;
  position: relative; z-index: 1;
}
.test-lobby-card {
  background: white;
  border-radius: 24px;
  padding: 0;
  border: 1px solid rgba(26,39,68,0.06);
  box-shadow: 0 4px 28px rgba(26,39,68,0.05);
  transition: all 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column;
}
.test-lobby-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), #f5d08a, var(--gold));
  opacity: 0; transition: opacity 0.35s ease;
}
.test-lobby-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(26,39,68,0.12);
  border-color: rgba(200,137,58,0.15);
}
.test-lobby-card:hover::before { opacity: 1; }

/* Card Header */
.lobby-card-header {
  display: flex; justify-content: space-between; align-items: flex-start;
  padding: 2rem 2rem 0;
}
.lobby-icon-wrap {
  width: 64px; height: 64px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: var(--gold);
  background: linear-gradient(135deg, rgba(200,137,58,0.12), rgba(200,137,58,0.04));
  border: 1px solid rgba(200,137,58,0.12);
}
.lobby-badge {
  display: inline-flex; align-items: center;
  padding: 0.3rem 0.85rem;
  border-radius: 20px;
  font-size: 0.62rem; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold);
  background: rgba(200,137,58,0.08);
  border: 1px solid rgba(200,137,58,0.12);
}

/* Card Body */
.lobby-card-body {
  padding: 1.5rem 2rem 0;
  flex: 1;
}
.lobby-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1.2rem; font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.65rem; line-height: 1.35;
}
.lobby-card-body p {
  font-size: 0.84rem; color: var(--text-mid);
  line-height: 1.7; margin: 0;
}

/* Card Footer */
.lobby-card-footer {
  padding: 1.5rem 2rem 2rem;
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem;
  border-top: 1px solid rgba(26,39,68,0.05);
  margin-top: 1.5rem;
}
.lobby-meta {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.72rem; font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}
.lobby-meta i {
  color: var(--gold); font-size: 0.68rem;
}
.lobby-card-footer .btn {
  margin-left: auto;
}

/* Gold Outline Button */
.btn-gold-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  background: transparent;
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 12px;
  font-size: 0.82rem; font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.35s ease;
  text-decoration: none;
}
.btn-gold-outline:hover {
  background: var(--gold);
  color: white;
  box-shadow: 0 8px 28px rgba(200,137,58,0.3);
  transform: translateY(-2px);
}

/* Navy Outline Button */
.btn-navy-outline {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.7rem 1.5rem;
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
  border-radius: 12px;
  font-size: 0.82rem; font-weight: 700;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.35s ease;
  text-decoration: none;
}
.btn-navy-outline:hover {
  background: var(--navy);
  color: white;
  box-shadow: 0 6px 24px rgba(26,39,68,0.2);
  transform: translateY(-2px);
}

/* btn-text */
.btn-text {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.5rem 0.75rem;
  background: transparent; border: none;
  color: var(--text-mid);
  font-size: 0.82rem; font-weight: 600;
  font-family: var(--font-sans);
  cursor: pointer;
  transition: all 0.3s ease;
  border-radius: 8px;
}
.btn-text:hover {
  color: var(--navy);
  background: rgba(26,39,68,0.04);
}

/* btn-small */
.btn-small { padding: 0.55rem 1.25rem; font-size: 0.78rem; }


/* =========================
   TEST RUNNER — Active Test
   ========================= */
.test-runner-container {
  max-width: 720px; margin: 0 auto;
  background: white;
  border-radius: 24px;
  padding: 2.5rem;
  border: 1px solid rgba(26,39,68,0.06);
  box-shadow: 0 12px 48px rgba(26,39,68,0.08);
  position: relative; z-index: 1;
}

/* Runner Header */
.runner-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 1.5rem;
}
.runner-progress-text {
  font-size: 0.72rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold);
  background: rgba(200,137,58,0.08);
  padding: 0.35rem 1rem;
  border-radius: 20px;
  border: 1px solid rgba(200,137,58,0.12);
}

/* Runner Progress Bar */
.runner-progress-bar-wrap {
  height: 6px;
  background: rgba(26,39,68,0.06);
  border-radius: 6px;
  margin-bottom: 2.5rem; overflow: hidden;
}
.runner-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #f5d08a);
  border-radius: 6px;
  transition: width 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Runner Question */
.runner-question-card {
  text-align: center;
  transition: all 0.3s ease;
}
.runner-question-card.leaving {
  opacity: 0; transform: translateX(-30px);
}
.runner-question {
  font-family: var(--font-serif);
  font-size: 1.3rem; font-weight: 600;
  color: var(--navy);
  line-height: 1.65;
  margin-bottom: 2.5rem;
  max-width: 580px; margin-left: auto; margin-right: auto;
}

/* Runner Options */
.runner-options {
  display: flex; flex-direction: column; gap: 0.75rem;
  max-width: 520px; margin: 0 auto;
}
.option-btn {
  display: flex; align-items: center; gap: 1rem;
  padding: 1.1rem 1.5rem;
  border-radius: 16px;
  border: 2px solid rgba(26,39,68,0.07);
  background: white;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: all 0.3s ease;
  text-align: left;
  width: 100%;
}
.option-btn:hover {
  border-color: rgba(200,137,58,0.35);
  background: rgba(200,137,58,0.03);
  transform: translateX(6px);
  box-shadow: 0 4px 16px rgba(200,137,58,0.08);
}
.option-btn:active {
  transform: translateX(6px) scale(0.98);
}
.option-num {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 800;
  color: var(--gold);
  background: rgba(200,137,58,0.08);
  border: 1px solid rgba(200,137,58,0.12);
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.option-btn:hover .option-num {
  background: var(--gold);
  color: white;
  border-color: var(--gold);
}
.option-text {
  font-size: 0.92rem; font-weight: 500;
  color: var(--text-dark);
  line-height: 1.4;
}


/* =========================
   TEST RESULTS — Feedback
   ========================= */
.test-results-container {
  max-width: 860px; margin: 0 auto;
  background: white;
  border-radius: 28px;
  padding: 3rem;
  border: 1px solid rgba(26,39,68,0.06);
  box-shadow: 0 16px 64px rgba(26,39,68,0.1);
  position: relative; z-index: 1;
}

/* Results Header */
.results-header { margin-bottom: 2.5rem; }
.results-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  border-radius: 20px;
  font-size: 0.68rem; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--gold);
  background: rgba(200,137,58,0.08);
  border: 1px solid rgba(200,137,58,0.12);
  margin-bottom: 1.25rem;
}
.results-score-title {
  font-family: var(--font-serif);
  font-size: 1.75rem; font-weight: 600;
  color: var(--navy);
  margin-bottom: 1.25rem;
}
.results-score-title strong {
  font-size: 2.25rem;
  background: linear-gradient(135deg, var(--gold), #e6a850);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* Status Pill */
.results-status-pill {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.04em;
  transition: all 0.3s ease;
}
.results-status-pill.status-low {
  color: #166534; background: rgba(34,197,94,0.1); border: 1px solid rgba(34,197,94,0.2);
}
.results-status-pill.status-mild {
  color: #854d0e; background: rgba(234,179,8,0.1); border: 1px solid rgba(234,179,8,0.2);
}
.results-status-pill.status-moderate {
  color: #c2410c; background: rgba(249,115,22,0.1); border: 1px solid rgba(249,115,22,0.2);
}
.results-status-pill.status-severe {
  color: #991b1b; background: rgba(239,68,68,0.1); border: 1px solid rgba(239,68,68,0.2);
}

/* Results Body Grid */
.results-body-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

/* Clinical Report Column */
.results-clinical-report { }
.report-title {
  font-family: var(--font-serif);
  font-size: 1.1rem; font-weight: 700;
  color: var(--navy);
  display: flex; align-items: center; gap: 0.6rem;
  margin-bottom: 1rem;
}
.report-title i { font-size: 0.95rem; }
.report-desc {
  font-size: 0.88rem; color: var(--text-mid);
  line-height: 1.75; margin-bottom: 1.5rem;
}

/* Advice */
.advice-heading {
  font-family: var(--font-sans);
  font-size: 0.88rem; font-weight: 700;
  color: var(--navy);
  display: flex; align-items: center; gap: 0.5rem;
  margin-bottom: 1rem;
}
.text-success { color: #22c55e !important; }
.advice-list {
  list-style: none; padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 0.85rem;
}
.advice-list li {
  display: flex; gap: 0.65rem; align-items: flex-start;
  font-size: 0.84rem; color: var(--text-mid);
  line-height: 1.7;
  padding: 0.85rem 1rem;
  background: rgba(200,137,58,0.03);
  border-radius: 12px;
  border: 1px solid rgba(200,137,58,0.06);
}
.advice-list li i {
  color: var(--gold); margin-top: 0.35rem; flex-shrink: 0; font-size: 0.6rem;
}

/* Book Card Column */
.results-book-card {
  padding: 1.75rem;
  background: var(--cream);
  border-radius: 20px;
  border: 1px solid rgba(26,39,68,0.05);
}
.results-book-flex {
  display: flex; gap: 1.25rem;
  margin-top: 1rem;
}
.results-book-cover-wrap {
  width: 110px; flex-shrink: 0;
}
.results-book-img {
  width: 100%; border-radius: 10px;
  box-shadow: 0 6px 20px rgba(26,39,68,0.12);
}
.results-book-info h4 {
  font-family: var(--font-serif);
  font-size: 1rem; font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.35rem;
}
.results-book-tagline {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.65rem !important;
}
.results-book-desc {
  font-size: 0.78rem; color: var(--text-mid);
  line-height: 1.65;
  margin-bottom: 1rem !important;
}

/* Divider */
.results-divider {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200,137,58,0.2), transparent);
  margin: 2.5rem 0;
}

/* Appointment Section */
.results-appointment-section {
  position: relative;
}
.appointment-title {
  font-family: var(--font-serif);
  font-size: 1.25rem; font-weight: 700;
  color: var(--navy);
  display: flex; align-items: center; justify-content: center; gap: 0.6rem;
  margin-bottom: 0.75rem;
}
.appointment-desc {
  font-size: 0.88rem; color: var(--text-mid);
  line-height: 1.7;
  max-width: 560px; margin: 0 auto 2rem;
}

/* Appointment Form */
.appointment-form { max-width: 640px; margin: 0 auto; }
.form-row-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}
.appointment-form .form-group {
  display: flex; flex-direction: column; gap: 0.4rem;
}
.appointment-form label {
  font-size: 0.74rem; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-muted);
}
.input-wrap {
  position: relative;
  display: flex; align-items: center;
}
.input-wrap i {
  position: absolute; left: 1rem;
  color: var(--gold); font-size: 0.82rem;
  pointer-events: none;
}
.input-wrap input,
.input-wrap textarea {
  width: 100%;
  padding: 0.85rem 1rem 0.85rem 2.75rem;
  border: 2px solid rgba(26,39,68,0.08);
  border-radius: 12px;
  font-size: 0.88rem; font-weight: 500;
  font-family: var(--font-sans);
  color: var(--text-dark);
  background: white;
  transition: all 0.3s ease;
}
.input-wrap input:focus,
.input-wrap textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(200,137,58,0.08);
}

/* Appointment Success */
.appointment-success-box {
  padding: 2.5rem;
  text-align: center;
  background: rgba(34,197,94,0.04);
  border-radius: 20px;
  border: 1px solid rgba(34,197,94,0.12);
}
.appointment-success-box h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem; font-weight: 700;
  color: var(--navy);
  margin: 0 0 0.6rem;
}
.appointment-success-box p {
  font-size: 0.88rem; color: var(--text-mid);
  line-height: 1.7;
  max-width: 480px; margin: 0 auto;
}

/* Button Group */
.button-group {
  display: flex; flex-wrap: wrap; gap: 0.75rem;
}

/* hover-lift utility */
.hover-lift { transition: transform 0.4s ease, box-shadow 0.4s ease; }
.hover-lift:hover { transform: translateY(-8px); }

/* text-left utility */
.text-left { text-align: left; }


/* ============================================================
   RESPONSIVE — Breath & Tests
   ============================================================ */
@media (max-width: 900px) {
  .breath-grid { grid-template-columns: 1fr; }
  .breath-circle-container { width: 220px; height: 220px; }
  .breath-circle { width: 170px; height: 170px; }
  .breath-instruction { font-size: 2rem; }
  .info-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .ambient-options { grid-template-columns: repeat(2, 1fr); }
  .tests-lobby-grid { grid-template-columns: 1fr; }
  .results-body-grid { grid-template-columns: 1fr; }
  .results-book-card { order: -1; }
}
@media (max-width: 600px) {
  .breath-section { padding: 3.5rem 0 3rem; }
  .breath-card { padding: 1.25rem; }
  .main-exercise-card { padding: 1.5rem 1rem 1.25rem; }
  .breath-circle-container { width: 190px; height: 190px; }
  .breath-circle { width: 150px; height: 150px; }
  .breath-instruction { font-size: 1.75rem; }
  .breath-timer { font-size: 0.75rem; }
  .btn-gold, .btn-danger { padding: 0.85rem 1.75rem; font-size: 0.85rem; }
  .time-presets { flex-direction: column; }
  .preset-btn { text-align: center; }
  .tests-section { padding: 3.5rem 0 3rem; }
  .test-runner-container { padding: 1.5rem; border-radius: 18px; }
  .test-results-container { padding: 1.75rem; border-radius: 18px; }
  .runner-question { font-size: 1.1rem; margin-bottom: 1.75rem; }
  .option-btn { padding: 0.9rem 1.1rem; border-radius: 12px; }
  .results-score-title { font-size: 1.35rem; }
  .results-score-title strong { font-size: 1.75rem; }
  .form-row-grid { grid-template-columns: 1fr; }
  .results-book-flex { flex-direction: column; align-items: center; text-align: center; }
  .results-book-cover-wrap { width: 140px; }
  .lobby-card-header { padding: 1.5rem 1.5rem 0; }
  .lobby-card-body { padding: 1.25rem 1.5rem 0; }
  .lobby-card-footer { padding: 1.25rem 1.5rem 1.5rem; }
}

