/*
Theme Name: Sophia Private
Theme URI: https://example.com
Description: Luxury dark & gold model landing page
Version: 1.0
Author: Custom
*/

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

body {
  background: #0d0d0d;
  color: #e8e0d0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ── Page wrapper ── */
.sp-page {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: #0d0d0d;
}

/* ── Grain texture overlay ── */
.sp-grain {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── Gold top accent line ── */
.sp-topline {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, #c9a84c 30%, #f0d080 50%, #c9a84c 70%, transparent);
  z-index: 100;
}

/* ── Main layout ── */
.sp-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
}

/* ══════════════════════
   LEFT COLUMN
══════════════════════ */
.sp-left {
  display: flex;
  flex-direction: column;
  padding: 0;
  position: relative;
}

/* Main photo */
.sp-main-photo-wrap {
  position: relative;
  flex: 1;
  overflow: hidden;
  min-height: 520px;
}

.sp-main-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.8s ease;
}

.sp-main-photo-wrap:hover .sp-main-photo {
  transform: scale(1.03);
}

/* Dark gradient at bottom of main photo */
.sp-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(13,13,13,0) 50%,
    rgba(13,13,13,0.7) 85%,
    rgba(13,13,13,0.95) 100%
  );
  pointer-events: none;
}

/* Thumbnails row */
.sp-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3px;
  background: #0d0d0d;
}

.sp-thumb {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  display: block;
  cursor: pointer;
}

.sp-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease, filter 0.5s ease;
  filter: brightness(0.75) saturate(0.8);
}

.sp-thumb:hover img {
  transform: scale(1.08);
  filter: brightness(0.55) saturate(0.6);
}

/* Lock icon overlay on thumbnails */
.sp-thumb-lock {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: rgba(13,13,13,0.4);
  color: #c9a84c;
}

.sp-thumb:hover .sp-thumb-lock {
  opacity: 1;
}

/* Gold border on hover for thumb */
.sp-thumb::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1.5px solid transparent;
  transition: border-color 0.3s ease;
  pointer-events: none;
}
.sp-thumb:hover::after {
  border-color: #c9a84c;
}

/* ══════════════════════
   RIGHT COLUMN
══════════════════════ */
.sp-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 64px 80px 72px;
  position: relative;
  background: linear-gradient(135deg, #111 0%, #0d0d0d 60%, #0f0c08 100%);
}

/* Subtle gold vertical line on left edge of right column */
.sp-right::before {
  content: '';
  position: absolute;
  left: 0; top: 15%; bottom: 15%;
  width: 1px;
  background: linear-gradient(to bottom, transparent, #c9a84c 40%, #c9a84c 60%, transparent);
  opacity: 0.4;
}

/* EXCLUSIVE badge */
.sp-badge {
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 4px;
  color: #c9a84c;
  text-transform: uppercase;
  margin-bottom: 24px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.1s forwards;
}

/* Name / headline */
.sp-name {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 300;
  color: #f5edd8;
  line-height: 1.2;
  margin-bottom: 28px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.25s forwards;
}

/* Gold divider */
.sp-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 32px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.sp-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, #c9a84c, transparent);
  opacity: 0.5;
}
.sp-divider-line:last-child {
  background: linear-gradient(270deg, #c9a84c, transparent);
}

.sp-divider-diamond {
  color: #c9a84c;
  font-size: 9px;
  opacity: 0.8;
}

/* Bio text */
.sp-bio {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.9;
  color: #b0a89a;
  margin-bottom: 44px;
  max-width: 380px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.55s forwards;
}

/* CTA Button */
.sp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 36px;
  background: transparent;
  border: 1px solid #c9a84c;
  color: #c9a84c;
  font-family: 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease;
  align-self: flex-start;
  margin-bottom: 20px;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.7s forwards;
}

.sp-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: #c9a84c;
  transform: translateX(-101%);
  transition: transform 0.4s ease;
}

.sp-btn:hover { color: #0d0d0d; }
.sp-btn:hover::before { transform: translateX(0); }

.sp-btn-icon {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
}

.sp-btn span { position: relative; z-index: 1; }

/* Hint text below button */
.sp-hint {
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #4a4540;
  opacity: 0;
  animation: fadeUp 0.8s ease 0.85s forwards;
}

/* ── Animations ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════
   RESPONSIVE — Mobile
══════════════════════ */
@media (max-width: 900px) {
  .sp-layout {
    grid-template-columns: 1fr;
  }

  .sp-left {
    order: 1;
  }

  .sp-main-photo-wrap {
    min-height: 70vw;
    max-height: 520px;
  }

  .sp-right {
    order: 2;
    padding: 48px 28px 64px;
    background: #0d0d0d;
  }

  .sp-right::before { display: none; }

  .sp-name { font-size: clamp(24px, 7vw, 38px); }
  .sp-bio  { max-width: 100%; }
}

@media (max-width: 480px) {
  .sp-thumbs { gap: 2px; }
  .sp-right  { padding: 36px 20px 52px; }
}
