/* ============================================================
   BOOK LIKE KING - ESCORT PUBLIC PROFILE PAGE STYLES
   ============================================================
   Sections:
   1. Base Styles
   2. Hero Background Section
   3. Profile Content
   4. Tabs
   5. Lightbox
   6. Responsive (Mobile)
   ============================================================ */


/* ============================================================
   1. BASE STYLES (Desktop & Global)
   ============================================================ */
body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', sans-serif;
  background: #f5f5f5;
  color: #333;
  font-size: 0.82rem;
}


/* ============================================================
   2. HERO BACKGROUND SECTION
   ============================================================ */
.profile-hero {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  border-bottom: 1px solid #ddd;
  transition: background-image 1s ease-in-out;
}

.profile-hero .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1;
}


/* ============================================================
   3. PROFILE CONTENT (Profile Image, Name, Buttons)
   ============================================================ */
.profile-header {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 25px 15px 10px;
}

.profile-pic {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  background: #fff;
  margin-bottom: 10px;
  cursor: pointer;
}

.profile-name {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  color: #fff;
}

.verified-badge {
  height: 18px;
}

.location {
  color: #ddd;
  margin-top: 5px;
  font-size: 0.75rem;
}

.btn-golden {
  margin-top: 10px;
  font-weight: 600;
  background: #d4af37;
  color: #000;
  border: none;
  font-size: 0.75rem;
}

.btn-golden:hover {
  background: #bfa133;
}


/* ============================================================
   4. TABS (Profile Navigation)
   ============================================================ */
.nav-tabs {
  border-bottom: 1px solid #ddd;
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
}

.nav-tabs .nav-item {
  flex: 1;
  text-align: center;
}

.nav-tabs .nav-link {
  color: #555;
  border: none;
  font-size: 0.75rem;
  padding: 6px;
}

.nav-tabs .nav-link.active {
  background: #d4af37;
  color: #000;
  font-weight: bold;
  border-radius: 5px 5px 0 0;
}

.tab-content {
  background: #fff;
  padding: 15px;
  border-radius: 0 0 8px 8px;
  border: 1px solid #ddd;
  margin-bottom: 40px;
  font-size: 0.78rem;
  line-height: 1.4;
}


/* ============================================================
   5. LIGHTBOX (Full Screen Image Viewer)
   ============================================================ */
#lightboxOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1050;
}

#lightboxOverlay img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
}

#lightboxOverlay .nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  color: #fff;
  cursor: pointer;
  user-select: none;
  padding: 10px;
}

#lightboxPrev {
  left: 20px;
}

#lightboxNext {
  right: 20px;
}


/* ============================================================
   6. RESPONSIVE STYLES (Mobile)
   ============================================================ */
@media (max-width: 768px) {
  /* MOBILE STYLING */
  .profile-hero {
    height: 300px;
  }

  .profile-pic {
    width: 90px;
    height: 90px;
  }

  .profile-name {
    font-size: 1.2rem;
  }

  .btn-golden {
    font-size: 0.7rem;
    padding: 4px 8px;
  }

  .tab-content {
    font-size: 0.72rem;
  }

  .nav-tabs .nav-link {
    font-size: 0.7rem;
    padding: 4px;
  }
}
