/**
 * Biyografi B — MicDrop About Us Clone
 * Scoped under .ce-bio-b to avoid conflicts
 */

/* =============================================
   PAGE WRAPPER
   ============================================= */
.ce-bio-b {
  position: relative;
  width: 100%;
  background-color: #feb5a0;
  font-family: 'Montserrat', sans-serif;
  color: #1a1a1a;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Kill WP default spacing & hide standard header/footer */
body.page-template-page-biyografi .wp-site-blocks {
  padding: 0 !important;
  margin: 0 !important;
}
body.page-template-page-biyografi .wp-site-blocks > * + * {
  margin-block-start: 0 !important;
}
body.page-template-page-biyografi .ce-header,
body.page-template-page-biyografi .ce-footer,
body.page-template-page-biyografi > .wp-site-blocks > header,
body.page-template-page-biyografi > .wp-site-blocks > footer {
  display: none !important;
}

/* WordPress wpautop fix */
.ce-bio-b > p,
.ce-bio-b__split-body > p:empty,
.ce-bio-b__full-body > p:empty {
  display: contents !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* =============================================
   HERO SECTION — Full-width background image
   ============================================= */
.ce-bio-b__hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 450px;
  max-height: 750px;
  background-size: auto 150%;
  background-position: center bottom;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 60px;
}

.ce-bio-b__hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.15) 50%,
    rgba(0, 0, 0, 0.5) 100%
  );
}

.ce-bio-b__hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
}

.ce-bio-b__hero-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(60px, 12vw, 160px);
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  line-height: 0.95;
  letter-spacing: 6px;
  margin: 0;
}

/* =============================================
   STATS / FEATURES — 4-column grid
   ============================================= */
.ce-bio-b__stats {
  padding: 80px 60px;
  background: #fff;
}

.ce-bio-b__stats-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.ce-bio-b__stat-title {
  font-family: 'Syne', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #1a1a1a;
  margin: 0 0 16px;
}

.ce-bio-b__stat-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.7;
  color: #555;
  margin: 0;
}

/* =============================================
   DIVIDER
   ============================================= */
.ce-bio-b__divider {
  max-width: 1200px;
  margin: 0 auto;
  height: 1px;
  background: #e0e0e0;
}

/* =============================================
   BIO SPLIT SECTION — Text left, Image right
   ============================================= */
.ce-bio-b__split {
  padding: 100px 60px;
  background: #fff;
}

.ce-bio-b__split-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.ce-bio-b__split-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c8876e;
  margin-bottom: 16px;
}

.ce-bio-b__split-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  text-transform: uppercase;
  color: #1a1a1a;
  line-height: 1.1;
  letter-spacing: 2px;
  margin: 0 0 32px;
}

.ce-bio-b__split-body p {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.8;
  color: #444;
  margin: 0 0 20px;
}

.ce-bio-b__split-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 14px 36px;
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: #fff;
  background: #1a1a1a;
  border: none;
  transition: background 0.3s ease;
}
.ce-bio-b__split-btn:hover {
  background: #c8876e;
}

.ce-bio-b__split-image {
  position: relative;
  overflow: hidden;
}
.ce-bio-b__split-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* =============================================
   PHOTO GRID — 4 columns, full-bleed
   ============================================= */
.ce-bio-b__photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  width: 100%;
}

.ce-bio-b__photo-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
}
.ce-bio-b__photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.ce-bio-b__photo-item:hover img {
  transform: scale(1.05);
}

.ce-bio-b__photo-label {
  position: absolute;
  top: 20px;
  left: 20px;
  font-family: 'Syne', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #fff;
  z-index: 2;
}

.ce-bio-b__photo-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.3) 0%, transparent 40%);
  pointer-events: none;
}

/* =============================================
   FULL BIO SECTION
   ============================================= */
.ce-bio-b__full {
  padding: 100px 60px;
  background: #fff;
}

.ce-bio-b__full-inner {
  max-width: 800px;
  margin: 0 auto;
}

.ce-bio-b__full-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #c8876e;
  margin-bottom: 16px;
}

.ce-bio-b__full-title {
  font-family: 'Syne', sans-serif;
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 800;
  text-transform: uppercase;
  color: #1a1a1a;
  line-height: 1.1;
  letter-spacing: 2px;
  margin: 0 0 48px;
}

.ce-bio-b__full-body p {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.9;
  color: #444;
  margin: 0 0 24px;
}

.ce-bio-b__full-body ul {
  list-style: none;
  padding: 0;
  margin: 32px 0;
}
.ce-bio-b__full-body ul li {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  line-height: 1.8;
  color: #444;
  padding-left: 20px;
  position: relative;
  margin-bottom: 12px;
}
.ce-bio-b__full-body ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #c8876e;
}

/* =============================================
   NUMBERS BAR
   ============================================= */
.ce-bio-b__numbers {
  padding: 60px;
  background: #1a1a1a;
}

.ce-bio-b__numbers-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
}

.ce-bio-b__number {
  text-align: center;
}

.ce-bio-b__number-val {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 48px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 2px;
}
.ce-bio-b__number-val em {
  font-style: normal;
  color: #c8876e;
}

.ce-bio-b__number-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 8px;
}

/* =============================================
   FOOTER
   ============================================= */
.ce-theme-b__footer {
  padding: 50px 60px;
  background: #111;
}

.ce-theme-b__footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.ce-theme-b__footer-logo img {
  height: 50px;
  width: auto;
  opacity: 0.7;
  transition: opacity 0.3s ease;
}
.ce-theme-b__footer-logo:hover img {
  opacity: 1;
}

.ce-theme-b__footer-nav {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.ce-theme-b__footer-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s ease;
}
.ce-theme-b__footer-nav a:hover {
  color: #c8876e;
}

.ce-theme-b__footer-copy {
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.25);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .ce-bio-b__stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .ce-bio-b__split-inner {
    gap: 48px;
  }
  .ce-bio-b__photo-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .ce-bio-b__hero {
    height: 70vh;
    min-height: 400px;
  }
  .ce-bio-b__hero-title {
    letter-spacing: 3px;
  }
  .ce-bio-b__stats {
    padding: 60px 24px;
  }
  .ce-bio-b__stats-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .ce-bio-b__split {
    padding: 60px 24px;
  }
  .ce-bio-b__split-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ce-bio-b__split-image {
    order: -1;
    max-height: 500px;
  }
  .ce-bio-b__full {
    padding: 60px 24px;
  }
  .ce-bio-b__numbers {
    padding: 40px 24px;
  }
  .ce-bio-b__numbers-inner {
    flex-wrap: wrap;
    gap: 32px;
  }
  .ce-bio-b__number {
    flex: 0 0 40%;
  }
  .ce-bio-b__number-val {
    font-size: 36px;
  }
  .ce-theme-b__footer {
    padding: 40px 24px;
  }
}

@media (max-width: 480px) {
  .ce-bio-b__hero {
    height: 60vh;
  }
  .ce-bio-b__stats-grid {
    grid-template-columns: 1fr;
  }
  .ce-bio-b__photo-grid {
    grid-template-columns: 1fr 1fr;
  }
  .ce-bio-b__photo-item {
    aspect-ratio: 1 / 1;
  }
  .ce-theme-b__footer-nav {
    gap: 16px;
  }
}
